BlackHat Asia DevSecOps

BlackHat Asia 2019 Singapore, Singapore
1 / 25
Slide 1 of BlackHat Asia DevSecOps
Slide 2 of BlackHat Asia DevSecOps
Slide 3 of BlackHat Asia DevSecOps
Slide 4 of BlackHat Asia DevSecOps
Slide 5 of BlackHat Asia DevSecOps
Slide 6 of BlackHat Asia DevSecOps
Slide 7 of BlackHat Asia DevSecOps
Slide 8 of BlackHat Asia DevSecOps
Slide 9 of BlackHat Asia DevSecOps
Slide 10 of BlackHat Asia DevSecOps
Slide 11 of BlackHat Asia DevSecOps
Slide 12 of BlackHat Asia DevSecOps
Slide 13 of BlackHat Asia DevSecOps
Slide 14 of BlackHat Asia DevSecOps
Slide 15 of BlackHat Asia DevSecOps
Slide 16 of BlackHat Asia DevSecOps
Slide 17 of BlackHat Asia DevSecOps
Slide 18 of BlackHat Asia DevSecOps
Slide 19 of BlackHat Asia DevSecOps
Slide 20 of BlackHat Asia DevSecOps
Slide 21 of BlackHat Asia DevSecOps
Slide 22 of BlackHat Asia DevSecOps
Slide 23 of BlackHat Asia DevSecOps
Slide 24 of BlackHat Asia DevSecOps
Slide 25 of BlackHat Asia DevSecOps

Abstract

Introduces DevSecOps — integrating security into DevOps pipelines to achieve “Secure by Default” outcomes through automation, tooling categories, and the cultural changes required for success.

AI Generated Summary

AI Generated Content Disclaimer

Note: This summary is AI-generated and may contain inaccuracies, errors, or omissions. If you spot any issues, please contact the site owner for corrections. Errors or omissions are unintended.

This deck is “DevSecOps: What, Why and How”, presented at BlackHat ASIA 2019. In a concise 25 slide format it covers the definition of DevSecOps as an effort to strive for “Secure by Default”, the case for shifting security left, the pipeline stages where security controls get injected, the tools of the trade, tool selection criteria, cloud security considerations, the cultural side including security champions, four case studies of security failures, and what remains necessary beyond DevSecOps.

Summary

The deck introduces the presenter as Director at NotSoSecure Global Services, a boutique consulting firm specialized in training and consulting, with a sysadmin, development and security background, owner of AndroidTamer and Codevigilant. A disclaimer sets ground rules: the tool list is not exhaustive, no tool or vendor is endorsed, and every environment is different, so ideas must be tested and validated before implementation.

DevSecOps is defined as an effort to strive for “Secure by Default” through three moves: integrate security in tools, create a Security as Code culture, and promote cross skilling. The justification is that DevOps moves at rapid pace and traditional security just can’t keep up. A shift left diagram shows that catching a SQL injection at the automated source code review stage means fewer man day effort and no new deployments. The how is stated plainly: DevSecOps is Automation + Cultural Changes.

The pipeline injection slide maps controls to stages: pre-commit hooks and IDE plugins at the developer, secrets management, SAST and SCA pre-build, DAST post-build, manual pentesting for business logic flaws at QA/staging, security in Infrastructure as Code, compliance as code, and alerting and monitoring in production, with vulnerability management spanning the whole. The tools of trade slides place named tools in categories with preference given to open source tools and no endorsements. Tool selection criteria add API/CLI access, 15 minute max execution, containerization, machine readable output, and configurability against false positives and negatives.

The cloud section explains the changing threat landscape: identity and access management, billing attacks, IaC driven audit and linting, security groups, permissions, rogue or shadow admins, and forgotten resources. The cultural section insists automation alone will not solve the problems: inclusive culture matters, security mindset should be encouraged especially outside the security team, allies should be built as security champions, and the blame game avoided. The security champion model is one person per team bridging Dev, Sec and Ops, with cross skilling opportunities for everyone and collaboration incentivized through internal bug bounties and sponsored trainings.

Four case studies pair failures with prevention, from unmonitored assets and exposed auth tokens to misconfigured cloud assets and code disclosure. An “Is it Enough” slide answers that periodic penetration tests and continuous bug bounty remain the rite of passage, feedback must be acted upon, and risk acceptance documentation is the worst case scenario, not the first bet. References include BlackHat 2017, Sonatype 2018, Snyk 2019 and Veracode reports. Key takeaways: security is everyone’s responsibility, embrace security as an integral part of the process, and DevSecOps is not a one size fit all since your mileage will vary.

Key Themes

  • What is DevSecOps: An effort to strive for “Secure by Default” by integrating security in tools, creating a Security as Code culture, and promoting cross skilling across teams.
  • Why DevSecOps and Shifting Left: DevOps velocity outpaces traditional security, so security must be part of the process; catching a SQL injection early via automated source code review costs fewer man days and no new deployments.
  • Pipeline Stages: Pre-commit hooks and IDE plugins, secrets management, SAST and SCA pre-build, DAST post-build, manual pentesting for business logic at QA/staging, and IaC security, compliance as code, alerting, monitoring and vulnerability management in production.
  • Tools of the Trade and Selection Criteria: Open source preference across threat modeling, pre-commit, IDE, secrets, SCA, infrastructure and vulnerability management categories; pipeline tools need API/CLI access, 15 minute max execution, containerization, minimal licensing limits, machine readable output and FP/FN configurability.
  • Cloud Security Considerations: The threat landscape shifts to identity and access management, billing attacks, security groups, resource permissions, rogue or shadow admins, and forgotten resources, with IaC enabling quick audit and linting.
  • Cultural Aspect and Security Champions: Automation alone will not solve the problems; collaboration, inclusive culture, security mindset outside the security team and avoiding the blame game are equally required, with one champion per team bridging Dev, Sec and Ops.
  • Case Studies: Unmonitored assets, exposed auth tokens, misconfigured cloud assets and misconfiguration-driven code disclosure, each paired with its prevention strategy.
  • Beyond DevSecOps: Periodic penetration testing and continuous bug bounty stay essential, feedback must be actioned, and risk acceptance documentation is the worst case resort, not the first.

Notable Points

  1. A pipeline tool must complete execution from start to final output in 15 minutes max, have API or command line access, be containerized or scriptable, produce parsable machine readable output (JSON/XML, no stdout), carry minimal licensing limitations (parallel scans or threads), and be configurable to counter false negatives and false positives.
  2. Pre-commit hook tools named: truffleHog and Git Hound; IDE plugin: CAT.net; secret management: Keywhiz.
  3. Threat modeling tools: ThreatSpec and the Microsoft Threat Modeling Tool; SCA: Retire.js; infrastructure scan: Docker Bench for Security; vulnerability management: Jackhammer.
  4. The slide deck states preference is given to open source tools and that no specific tool or vendor is endorsed; the tool list is explicitly not exhaustive.
  5. Shift left economics: one SQL Injection caught at automated source code review means fewer man day effort and no new deployments.
  6. Cloud focus areas: identity and access management, billing attacks, security groups, permissions to resources, rogue/shadow admins, and forgotten resources leading to compromises or billing.
  7. Security champion structure: a single person per team, bridging Dev, Sec and Ops, with internal bug bounties, sponsored parties/get-togethers, and sponsored cross skilling trainings as collaboration incentives.
  8. Case study prevention mapping: recurring asset inventory and automated assessments; pre-commit hooks plus continuous repository monitoring for leaked tokens; continuous monitoring and review of cloud assets and config; patching plus continuous monitoring for code disclosure.
  9. References cited: BlackHat US 2017 “Practical Tips for Defending Web Applications in the Age of DevOps”, Sonatype 2018 State of the Software Supply Chain Report, Snyk opensourcesecurity-2019, and Veracode State of Software Security report.
  10. Risk acceptance documentation is framed as the worst case scenario, not the first bet, and feedback from pen tests and bug bounties must be acted upon.

Notable Quotes

“Effort to strive for “Secure by Default””

“DevOps moves at rapid pace, traditional security just can’t keep up”

“DevSecOps is Automation + Cultural Changes”

“Automation alone will not solve the problems”

“DevSecOps is not a one size fit all: your mileage will vary”

“Security is everyone responsibility”

Embed This Presentation

See Also