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
94
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
24
Security Scanning with GitLab
brytannia
0
56
Время Ruby
brytannia
0
110
Microservice communication with RabbitMQ
brytannia
0
92
Язык программирования за 5 мучительных минут
brytannia
0
88
Если у вас в руках молоток
brytannia
1
180
Continuous delivery with Codeship
brytannia
0
78
Neo4j a bit of math and magic
brytannia
0
75
Other Decks in Programming
See All in Programming
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
220
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
4
1.7k
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
800
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
480
あなたの知らない「動画広告」の世界 - iOSDC Japan 2025
ukitaka
0
460
開発生産性を上げるための生成AI活用術
starfish719
3
350
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.2k
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
4.8k
uniqueパッケージの内部実装を支えるweak pointerの話
magavel
0
960
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
220
The Flutter Journey of Building a Live Streaming App — With a Side of Performance Tuning
u503
1
100
Back to the Future: Let me tell you about the ACP protocol
terhechte
0
140
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
3k
Rails Girls Zürich Keynote
gr2m
95
14k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
970
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Done Done
chrislema
185
16k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
For a Future-Friendly Web
brad_frost
180
9.9k
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