Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Security scanning overview
Search
tetiana chupryna
February 16, 2019
Programming
1
86
Security scanning overview
We’ll talk about different types of vulnerabilities, scanning tools and the whole process per se.
tetiana chupryna
February 16, 2019
Tweet
Share
More Decks by tetiana chupryna
See All by tetiana chupryna
GitLab, Journey In Time
brytannia
0
22
Security Scanning with GitLab
brytannia
0
50
Время Ruby
brytannia
0
110
Microservice communication with RabbitMQ
brytannia
0
89
Язык программирования за 5 мучительных минут
brytannia
0
79
Если у вас в руках молоток
brytannia
1
160
Continuous delivery with Codeship
brytannia
0
75
Neo4j a bit of math and magic
brytannia
0
73
Other Decks in Programming
See All in Programming
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
490
動作確認やテストで漏れがちな観点3選
starfish719
6
1k
Grafana Cloudとソラカメ
devoc
0
140
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
220
Introduction to kotlinx.rpc
arawn
0
670
定理証明プラットフォーム lapisla.net
abap34
1
1.8k
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
5
3.9k
Unity Android XR入門
sakutama_11
0
150
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
240
DROBEの生成AI活用事例 with AWS
ippey
0
130
Spring gRPC について / About Spring gRPC
mackey0225
0
220
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
Making Projects Easy
brettharned
116
6k
Building Applications with DynamoDB
mza
93
6.2k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
GraphQLとの向き合い方2022年版
quramy
44
13k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Transcript
Security Scanning Overview Tetiana Chupryna Feb 16 2018 Kyiv
Te(a)ti(y)ana
GitLab Te(a)ti(y)ana
GitLab Secure Te(a)ti(y)ana
GitLab Secure dogs Te(a)ti(y)ana
None
Security Scanning
Application Security Security Scanning
Information Security Application Security Security Scanning
None
Application security • Defend assets • Search vulnerabilities • Prevent
attacks • Disarm treats
a story
Alice
Alice
Alice Bob
Alice Bob Trudy
Alice Bob Trudy
Alice Bob Walter
Common Weakness Enumeration (CWE) • Common language for describing software
security weaknesses • Standard measuring stick for software security tools • Common baseline standard for weakness identification, mitigation, and prevention efforts
Common Vulnerabilities and Exposures (CVE) • List of known vulnerabilities
inside products • Widely used by many services
Vulnerability • What? (Identifier, Name, Description) • Where? (Location) •
How critical? (Severity) • How confident? (Confidence)
Level 1 Your code is a problem
SAST • Static Application Security Testing • Testing from inside
out (white-box) • Technology dependent
Tools (owasp.org) • Brakeman - Rails • Codesake Dawn -
Ruby (~)
DAST • Dynamic Application Security Testing • Testing from outside
(black box) • Live attack on staging • HTTP - lingua-franca
ZAProxy • OWASP Zed Attack Proxy Project • Open source
What else? • Secrets detection • Interactive Application Security Testing
(IAST) • Fuzzing
Top 10 Rails vulnerabilities • Failure to Restrict URL Access
• Preventing SQLi in Ruby • Cross-Site Scripting (XSS) • Injection • Cross-Site Request Forgery (CSRF) • Insecure Cryptographic Storage • Broken Authentication and Session Management • Invalidated Redirects and Forwards • Insecure Direct Object References • Insufficient Transport Layer Protection • Security Misconfiguration
Level 2 Other’s code is a problem
Dependency Scanning • Software Composition Analysis • Tricky one
Alice Bob Trudy Heidi
“Given enough eyeballs, all bugs are shallow.” –Linus Torvalds
ShellShock existed in the OpenSSL library for more than 22
years
Tools • OWASP Dependency-Check • Gemnasium (part of GitLab) •
snyk.io
Level 3 It’s not about code anymore
Container scanning • Scanning Docker images for known vulnerabilities •
cause there are dependencies as well
Tools • Clair • Docker Trusted Registry
None
Alice Bob Trudy Walter
None
DevOpsSec
Do I need it?
No
Yes
What we do in GitLab? • One tool to rule
them all. • Insert secure tools into DevOps cycle. • Tool to help Security Analysts. • Auto-remediate functionality.
Security Dashboard
Use with pipeline sast: image: docker:stable variables: DOCKER_DRIVER: overlay2 allow_failure:
true services: - docker:stable-dind script: - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - docker run --env SAST_CONFIDENCE_LEVEL="${SAST_CONFIDENCE_LEVEL:-3}" --volume "$PWD:/code" --volume /var/run/docker.sock:/var/run/docker.sock "registry.gitlab.com/gitlab-org/security-products/sast:$SP_VERSION" /app/bin/run /code artifacts: reports: sast: gl-sast-report.json
Available features • SAST • DAST • Dependency Scanning •
Container Scanning • License Management • … and more!
Stay safe!
Photo Credits • @bichon_frise_ally • @hongeunyeong • @arang2o_o • @tofupuppers
Security Scanning Overview