- Talk: BlackHat Asia 2019: DevSecOps What Why and How
- Talk: BlackHat Asia 2019 Executive Summit: DevSecOps What Why and How
The video of the session is available now
The video of the session is available now
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.
DevSecOps: What, Why and How was presented at BlackHat ASIA 2019 in a compact 25-slide format. The deck introduces DevSecOps as the practice of reaching “Secure by Default” by folding security into DevOps pipelines, makes the shift-left business case, maps security controls to every pipeline stage, walks through tool categories and the criteria for admitting a tool into the pipeline, and closes on culture, security champions, and four short case studies.
The what: DevSecOps is an effort to strive for “Secure by Default” by integrating security into tools, creating a Security as Code culture, and promoting cross-skilling across development, operations, and security. The why: DevOps moves at a rapid pace and traditional security cannot keep up, so security has to become part of the process itself. The shifting-left slide put numbers on the argument: catch a single SQL injection at the developer or source code stage through automated source code review and it costs fewer man-days and no new deployments.
The how split into automation plus cultural change. A pipeline diagram injected controls at each stage: pre-commit hooks and IDE plugins at the developer, secrets management at the code repository, SAST and SCA at pre-build on the CI/CD server, DAST post-build, manual web application pentesting for business logic flaws in QA/staging, and security in Infrastructure as Code, compliance as code, alerting and monitoring, and vulnerability management in production.
Tools of the trade came with a disclaimer: the list is not exhaustive and no tool is endorsed, with preference given to open source. Named tools included Git Hound and truffleHog for pre-commit hooks, CAT.net as an IDE plugin, Keywhiz for secret management, ThreatSpec and the Microsoft Threat Modeling Tool for threat modeling, Retire.js for software composition analysis, Docker Bench for Security for infrastructure scanning, and Jackhammer for vulnerability management. The “to be or not to be in pipeline” slide then set admission criteria: API or command line access, execution start to final output within 15 minutes max, containerized or scriptable, minimal licensing limitations, machine-readable output (no stdout, yes to JSON/XML), and configurability against false negatives and false positives.
The cloud section flagged a changed threat landscape: identity and access management, billing attacks, security groups, permissions to resources, rogue or shadow admins, and forgotten resources that lead to compromises or surprise bills, with Infrastructure as Code enabling quick audits and linting. The culture section argued automation alone will not solve the problems: encourage a security mindset outside the security team, build allies as security champions, one person per team bridging Dev, Sec, and Ops, incentivize collaboration with internal bug bounties and sponsored cross-skilling, and avoid the blame game.
Four generic case studies closed the loop, each with a prevention: unaccounted and unmonitored assets (recurring asset inventory and automated assessments), auth tokens accidentally exposed (pre-commit hooks and continuous repository monitoring), cloud assets misconfiguration (continuous monitoring and review of cloud assets and config), and misconfiguration leading to code disclosure (patching and continuous monitoring of assets). The final slides asked “is it enough” and answered no: periodic penetration tests and continuous bug bounty remain, feedback has to be actioned, risk acceptance documentation should be the worst case scenario rather than the first bet, and DevSecOps is not a one size fit all because every environment is different.
“DevOps moves at rapid pace, traditional security just can’t keep up”
“DevSecOps is Automation + Cultural Changes”
“Execution start to final output should be 15 minutes max”
“Automation alone will not solve the problems”
“Risk Acceptance Documentation should be the worst case scenario not your first bet”
“Security is everyone responsibility”
“DevSecOps is not a one size fit all: your mileage will vary”