DevSecOps
What Why and How?
Anant Shrivastava
@anantshri
NotSoSecure Global Services
Director NotSoSecure Global Services
Sysadmin / Development / Security
Trainer / Speaker: BlackHat, Nullcon, RootConf, RuxCon, IPExpo, C0c0n
Project Owner: Android Tamer, Code Vigilant
Contributor: null, G4H, OWASP and more
https://anantshri.info (@anantshri on social platforms)
About: Anant Shrivastava
2
โ— What is DevSecOps?
โ— Why do we need DevSecOps?
โ— How do we do DevSecOps?
โ— Integrate Security in DevOps Pipeline
โ— Tools of Trade
โ— Sample Implementation (On Prem and Cloud Native)
โ— Case Studies
Agenda
3
โ— I will be listing a lot of tools, Itโ€™s not an exhaustive list
โ— I don't endorse or recommend any specific tool / vendor
โ— Every environment is different: Test and validate before
implementing any ideas
Disclaimer
4
Effort to strive for โ€œSecure by Defaultโ€
โ— Integrate Security via tools
โ— Create Security as Code culture
โ— Promote cross skilling
What is DevSecOps?
5
โ— DevOps moves at rapid pace, traditional security just canโ€™t
keep up
โ— DevSecOps makes it easier to manage rapid pace of
development & large scale secure deployments
โ— DevSecOps allows for much smoother scaling of process
โ— Security as part of process is the only way to ensure safety
Why do we need DevSecOps?
6
Shifting Left saves cost & time
7
Developer
Source
Code
Repository
Build
CI/CD
Server
Staging/
QA
Production Monitoring
Suite of
Security
Test
Shifting Left saves cost & time
8
1 SQL Injection
Fewer Man Day Effort
No New Deployments
Automated Source
Code Review
Developer
Source
Code
Repository
Build
CI/CD
Server
Staging/QA Production Monitoring
Suite of
Security
Test
โ— DevSecOps is Automation + Cultural Changes
โ— Integrate security tools into your DevOps Pipeline
โ— Enable cultural changes to embrace DevSecOps
How do we do DevSecOps?
9
Pre-Commit
Hooks
IDE Plugins
Developer
Secrets
Management
Code
Repository
CI/CD Server
Static Application
Security
Testing(SAST)
Source
Composition
Analysis (SCA)
Pre-Build
Dynamic
Application
Security
Testing(DAST)
Post-Build
Build Artifacts
versioning against
code commits
Artifact
Repository
Manual Web
Application
Pentesting
Business Logic
Flaws
QA/Staging
Security in Iaac
Compliance as
Code
Alerting &
Monitoring
Production
Vulnerability Management
Injecting Sec in DevOps
10
DevOps Pipeline
DevSecOps Pipeline
DevOps ---> DevSecOps
โ— Sensitive information such as the access keys, access
tokens, SSH keys etc. are often erroneously leaked due to
accidental git commits
โ— Pre-commit hooks can be installed on developerโ€™s
workstations to avoid the same
โ— Work on pure Regex-based approach for filtering sensitive
data
โ— If developers want they can circumvent this step hence use
it like a defense in depth but don't fully rely on it
Pre-Commit Hooks
12
โ— IDE Plugin's provide quick actionable pointer to developers
โ— It is useful to stop silly security blunders
โ— Work on pure Regex-based approach
โ— If developers want they can circumvent this step hence use
it like a defense in depth but don't fully rely on it
IDE Security Plugin
13
โ— Often credentials are stored in config files
โ— Leakage can result in abuse scenario
โ— Secrets Management allows you to
tokenize the information
Secrets Management
14
โ— We donโ€™t write software's, we build on frameworks
โ— Biggest portion of software is now third party libraries
โ— Major languages provide module managements
โ— PIP, NPM, Gems, go get, perl cpan, php packager and more
โ— Software Composition Analysis performs checks to identify
vulnerable/outdated 3rd
party libraries
Software Composition Analysis
15
โ— White-box security testing using automated tools
โ— Useful for weeding out low-hanging fruits like SQL Injection,
Cross-Site Scripting, insecure libraries etc
โ— Tool by default configured with generic setting, needs
manual oversight for managing false-positives
Static Analysis Security Testing
16
โ— Black/Grey-box security testing using automated tools
โ— SAST may not get full picture without application deployment
โ— DAST will help in picking out deployment specific issues
โ— Results from DAST and SAST can be compared to weed out
false-positives
โ— Tools may need prior set of configuration settings to give
good results
Dynamic Analysis Security Testing
17
โ— Infrastructure as a code allows you to document and
version control the infra
โ— It also allows you to perform audit on the infrastructure
โ— Docker / K8s infra relies on base images
โ— Environment is as secure as the base image
โ— Base images need to be minimal in nature and need to be
assessed to identify inherited vulnerabilities
Security in Infrastructure as Code
18
โ— Compliance could be industry standard (PCI DSS, HIPAA,
SOX) or org specific
โ— Compliance is essentially a set of rules and hence can be
converted into written test cases
โ— Having written code format this can again be version
controlled
Compliance as Code
19
โ— All the tools discussed above result in report fatigue
โ— Every tool has a different style of presentation
โ— A central dashboard is required to normalize the data
โ— Vulnerability Management System can then be integrated to
bug tracking systems to allow devs to work on items
Vulnerability Management
20
โ— Monitoring is needed for two end goals
โ— Understand if our security controls are effective
โ— What and where we need to improve
โ— To test Security control effectiveness:
โ— When did an attack occur
โ— Was it blocked or not
โ— What level of access was achieved
โ— what data was bought in and bought out
Alerting and Monitoring
21
โ— With recent advancements assets now should include
anything and everything where organization data resides
โ— With rapid development & provisioning the asset inventory
can't be a static inventory
โ— We need to monitor the assets constantly both on premise
and Cloud
Reference: https://redhuntlabs.com/blog/redifining-assets-a-modern-perspective.html
Asset Monitoring
22
Sample Implementation - Java
A simplistic flow of DevSecOps Pipeline incorporating various stages
https://www.youtube.com/watch?v=7ILrzYLpr14
Tools of The Trade
24
Pre-Commit Hooks
Software Composition Analysis
Static Analysis Security Testing
(SAST)
Secret Management
Threat Modelling Tools ThreatSpec
Microsoft Threat
Modeling Tool
Retire.js
IDE Plugins CAT.net
Git HoundtruffleHog
Keywhiz
Preference given to open-source tools; we donโ€™t endorse any tool
Tools of The Trade
25
Dynamic Analysis Security
Testing (DAST)
Security in Infrastructure as
Code
Compliance as Code
Vulnerability Management
WAF
Preference given to open-source tools; we donโ€™t endorse any tool
Docker Bench for Security
โ— API / command line access
โ— Execution start to final output should be 15 minutes max
โ— Tools should be Containerizable / scriptable
โ— Minimal licensing limitations (parallel scans or threads)
โ— Output format parsable / machine readable (no to stdout,
yes to json / xml)
โ— Configurable to counter false negatives / false positives
To be or Not to Be in Pipeline
26
โ— Pipeline to be tweaked based on Milestone (Initiative/Epic/Story)
โ— Remember initial onboarding is tedious
โ— Ensure dataset dependent tool get frequent data refresh
โ— Sample optimization
โ— Only CSS Changes: no need for SCA
โ— Only pom.xml or gradle changes: no need of SAST
โ— If Infra as code has zero changes skip or fast track infra scan
โ— Ensure to run full (non optimized) pipeline periodically
Pipeline Optimization
โ— Different programming languages need different tools for
static analysis and software composition analysis
โ— Some tools support multiple languages like sonarqube
โ— Others are focused on one language
Does Programming Language Matter
28
Language Specific Tools
29
JAVA
PHP
Python
Ruby/Rails
Languages Software Composition Analysis Source Code Static Analysis
.NET DotNET Retire
SafeNuGet
ClearlyDefined
Node JS
ClearlyDefined
graudit
graudit
graudit
DotNet
Security
Guard
Brakeman graudit
Preference given to open-source tools; we donโ€™t endorse any tool
NodeJsScan
npm-check
DevSecOps Lab - Ruby
DevSecOps Lab - PHP
DevSecOps Lab - Python
DevSecOps Lab - NodeJS
โ— The Threat Landscape changes
- Identity and Access Management
- Asset Inventory
- Billing
โ— Infrastructure as Code allows quick audit / linting
โ— Focus more on:
- Security groups
- Permissions to resources
- Rogue / shadow admins
- Forgotten resources (compromises / billing)
What about Cloud
34
โ— Different Service Providers Approach Security Differently
โ— All of them provide some of the ingredient in-house
โ— Irrespective of Cloud provider some tools will still need to
be sourced
โ— Static Code Analysis Tool
โ— Dynamic Code Analysis Tool
โ— Software Composition Analysis
โ— Vulnerability Management Tool
Cloud Native Approach to Security
35
AWS Cloud Native DevSecOps
36https://youtu.be/i38-YQsnqfw
Cloud Native Dev[Sec]Ops
37
Conventional Infra AWS Azure GCP
Source Code Management Bitbucket, Github, Gitlab etc.. AWS CloudCommit Azure Repos Cloud Source Repositories
Infrastructure As a Code Chef, Puppet, Ansible more.. Amazon CloudFormation Azure DevTest Labs Cloud Code
CI/CD Server
Jenkins, Bamboo, Gitlab,
Travis CI, Circleci more
AWS CodeBuild
AWS CodeDeploy
AWS CodePipeline
Azure Pipelines, Azure Test Plans Cloud Build, Tekton
Artifactory Repository
jFrog Artifactory,
Sonatype Nexus, more..
Amazon S3 Azure Artifacts Cloud Firestore
Stg/Prod Servers
VMWare,
On-premises servers
EC2
ECS (Elastic Containers)
EKS (Elastic Kubernetes)
Virtual Machines,
Azure Lab Services,
Azure Kubernetes Service (AKS)
Compute Engine,
App Engine,
Shielded VMs
Monitoring & Alert Nagios, Graphite, Grafana AWS CloudWatch Azure Monitor, Network Watcher Access Transparency
Firewall Modsecurity
AWS Firewall Manager, AWS
WAF
Azure Firewall Application Gateway
DLP MyDLP, OpenDLP Amazon Macie Azure Information Protection Cloud Data Loss Prevention
Threat Detection Snort, Kismet Amazon GuardDuty
Azure Advanced Threat
Protection
Event Threat Detection (beta)
Vulnerability Scanning OpenVAS, Nessus Amazon Inspector Azure Security Center Cloud Security Scanner
Secrets Management Hashicorp Vault, Docker Secrets AWS Secrets Manager Azure Key Vault Secrets management
โ— Automation alone will not solve the problems
โ— Encourage security mindset especially if outside sec team
โ— Cultivate/Identify common goals for greater good
โ— Build allies (security champions) in company
โ— Focus on collaboration and inclusive culture
โ— Avoid Blame Game
Security team should try to eliminate the need of dedicated security team
Cultural Aspect
38
โ— Bridge between Dev, Sec and Ops teams
โ— Single Person per team
โ— Everyone provided with similar cross skilling opportunities
โ— Incentivize other teams to collaborate with Sec team
โ—‹ Internal Bug bounties
โ—‹ Sponsor Interactions (Parties / get-togethers)
โ—‹ Sponsor cross skilling trainings for other teams
Security Champion
39
Security Enablers
40
People
โ€ข Build relationships between
teams, donโ€™t isolate
โ€ข Identify, nurture security
conscious individuals
โ€ข Empower Dev / ops to
deliver better and faster
and secure, instead of
blocking.
โ€ข Focus on solutions instead
of blaming
Process
โ€ข Involve security from get-go
(design or ideation phase)
โ€ข Fix by priority, donโ€™t
attempt to fix it all
โ€ข Security Controls must be
programmable and
automated wherever
possible
โ€ข DevSecOps Feedback
process must be smooth
and governed
Technology
โ€ข Templatize scripts/tools per
language/platform
โ€ข Adopt security to devops
flow donโ€™t expect others to
adopt security
โ€ข Keep an eye out for simpler
and better options and be
pragmatic to test and use
new tools
Generic Case Study
41
Case Studies โ€“ Fannie Mae
42https://www.slideshare.net/DevSecOpsDays/fannie-mae-devsecops-journey-with-chitra-elango-and-john-willis
Case Studies โ€“ Fannie Mae
43https://www.slideshare.net/DevSecOpsDays/fannie-mae-devsecops-journey-with-chitra-elango-and-john-willis
Case Studies โ€“ ABN Amro
44https://www.slideshare.net/derweeksglobal/abn-amro-devsecops-journey
Case Studies โ€“ ABN Amro
45https://www.slideshare.net/derweeksglobal/abn-amro-devsecops-journey
Negative Case Studies
46
Cloud Assets Misconfiguration
Prevention: Continuous monitoring and review of cloud assets and config
โ— Rite of passage by periodic pen test and continuous bug bounty
โ— It's not just important to get feedback but to also action on them
โ— Risk Acceptance Documentation should be the worst case scenario
not your first bet
Is it Enough?
47
โ— Did we secure the security controls
โ— DevSecOops: If attacker controls security
tools / build chain It has limitless power
โ— Ensure the same practice is followed back
again for these tools
โ— Security role doesn't means you get to
circumvent the rules
โ— Follow basic security hygiene we always
keep talking about
โ— Secure configuration
โ— Patching Policy
Who Watches the Watcher
48
โ€ขhttps://www.blackhat.com/docs/us-17/thursday/us-17-Lackey-Practical%20Tips-for-Defendin
g-Web-Applications-in-the-Age-of-DevOps.pdf
โ€ขhttps://www.sonatype.com/hubfs/2018%20State%20of%20the%20Software%20Supply%20
Chain%20Report.pdf
โ€ขhttps://snyk.io/opensourcesecurity-2019/
โ€ขhttps://scaling-threat-detection.awssecworkshops.com/
โ€ขhttps://www.veracode.com/state-of-software-security-report
References
49
โ— Security is everyone responsibility
โ— Embrace security as an integral part of the process, use feedback to
refine the process
โ— DevSecOps is not a one size fit all: your mileage will vary
Key Takeaways
50
@anantshri
anant@notsosecure.com

DevSecOps: What Why and How : Blackhat 2019

  • 1.
    DevSecOps What Why andHow? Anant Shrivastava @anantshri NotSoSecure Global Services
  • 2.
    Director NotSoSecure GlobalServices Sysadmin / Development / Security Trainer / Speaker: BlackHat, Nullcon, RootConf, RuxCon, IPExpo, C0c0n Project Owner: Android Tamer, Code Vigilant Contributor: null, G4H, OWASP and more https://anantshri.info (@anantshri on social platforms) About: Anant Shrivastava 2
  • 3.
    โ— What isDevSecOps? โ— Why do we need DevSecOps? โ— How do we do DevSecOps? โ— Integrate Security in DevOps Pipeline โ— Tools of Trade โ— Sample Implementation (On Prem and Cloud Native) โ— Case Studies Agenda 3
  • 4.
    โ— I willbe listing a lot of tools, Itโ€™s not an exhaustive list โ— I don't endorse or recommend any specific tool / vendor โ— Every environment is different: Test and validate before implementing any ideas Disclaimer 4
  • 5.
    Effort to strivefor โ€œSecure by Defaultโ€ โ— Integrate Security via tools โ— Create Security as Code culture โ— Promote cross skilling What is DevSecOps? 5
  • 6.
    โ— DevOps movesat rapid pace, traditional security just canโ€™t keep up โ— DevSecOps makes it easier to manage rapid pace of development & large scale secure deployments โ— DevSecOps allows for much smoother scaling of process โ— Security as part of process is the only way to ensure safety Why do we need DevSecOps? 6
  • 7.
    Shifting Left savescost & time 7 Developer Source Code Repository Build CI/CD Server Staging/ QA Production Monitoring Suite of Security Test
  • 8.
    Shifting Left savescost & time 8 1 SQL Injection Fewer Man Day Effort No New Deployments Automated Source Code Review Developer Source Code Repository Build CI/CD Server Staging/QA Production Monitoring Suite of Security Test
  • 9.
    โ— DevSecOps isAutomation + Cultural Changes โ— Integrate security tools into your DevOps Pipeline โ— Enable cultural changes to embrace DevSecOps How do we do DevSecOps? 9
  • 10.
    Pre-Commit Hooks IDE Plugins Developer Secrets Management Code Repository CI/CD Server StaticApplication Security Testing(SAST) Source Composition Analysis (SCA) Pre-Build Dynamic Application Security Testing(DAST) Post-Build Build Artifacts versioning against code commits Artifact Repository Manual Web Application Pentesting Business Logic Flaws QA/Staging Security in Iaac Compliance as Code Alerting & Monitoring Production Vulnerability Management Injecting Sec in DevOps 10
  • 11.
  • 12.
    โ— Sensitive informationsuch as the access keys, access tokens, SSH keys etc. are often erroneously leaked due to accidental git commits โ— Pre-commit hooks can be installed on developerโ€™s workstations to avoid the same โ— Work on pure Regex-based approach for filtering sensitive data โ— If developers want they can circumvent this step hence use it like a defense in depth but don't fully rely on it Pre-Commit Hooks 12
  • 13.
    โ— IDE Plugin'sprovide quick actionable pointer to developers โ— It is useful to stop silly security blunders โ— Work on pure Regex-based approach โ— If developers want they can circumvent this step hence use it like a defense in depth but don't fully rely on it IDE Security Plugin 13
  • 14.
    โ— Often credentialsare stored in config files โ— Leakage can result in abuse scenario โ— Secrets Management allows you to tokenize the information Secrets Management 14
  • 15.
    โ— We donโ€™twrite software's, we build on frameworks โ— Biggest portion of software is now third party libraries โ— Major languages provide module managements โ— PIP, NPM, Gems, go get, perl cpan, php packager and more โ— Software Composition Analysis performs checks to identify vulnerable/outdated 3rd party libraries Software Composition Analysis 15
  • 16.
    โ— White-box securitytesting using automated tools โ— Useful for weeding out low-hanging fruits like SQL Injection, Cross-Site Scripting, insecure libraries etc โ— Tool by default configured with generic setting, needs manual oversight for managing false-positives Static Analysis Security Testing 16
  • 17.
    โ— Black/Grey-box securitytesting using automated tools โ— SAST may not get full picture without application deployment โ— DAST will help in picking out deployment specific issues โ— Results from DAST and SAST can be compared to weed out false-positives โ— Tools may need prior set of configuration settings to give good results Dynamic Analysis Security Testing 17
  • 18.
    โ— Infrastructure asa code allows you to document and version control the infra โ— It also allows you to perform audit on the infrastructure โ— Docker / K8s infra relies on base images โ— Environment is as secure as the base image โ— Base images need to be minimal in nature and need to be assessed to identify inherited vulnerabilities Security in Infrastructure as Code 18
  • 19.
    โ— Compliance couldbe industry standard (PCI DSS, HIPAA, SOX) or org specific โ— Compliance is essentially a set of rules and hence can be converted into written test cases โ— Having written code format this can again be version controlled Compliance as Code 19
  • 20.
    โ— All thetools discussed above result in report fatigue โ— Every tool has a different style of presentation โ— A central dashboard is required to normalize the data โ— Vulnerability Management System can then be integrated to bug tracking systems to allow devs to work on items Vulnerability Management 20
  • 21.
    โ— Monitoring isneeded for two end goals โ— Understand if our security controls are effective โ— What and where we need to improve โ— To test Security control effectiveness: โ— When did an attack occur โ— Was it blocked or not โ— What level of access was achieved โ— what data was bought in and bought out Alerting and Monitoring 21
  • 22.
    โ— With recentadvancements assets now should include anything and everything where organization data resides โ— With rapid development & provisioning the asset inventory can't be a static inventory โ— We need to monitor the assets constantly both on premise and Cloud Reference: https://redhuntlabs.com/blog/redifining-assets-a-modern-perspective.html Asset Monitoring 22
  • 23.
    Sample Implementation -Java A simplistic flow of DevSecOps Pipeline incorporating various stages https://www.youtube.com/watch?v=7ILrzYLpr14
  • 24.
    Tools of TheTrade 24 Pre-Commit Hooks Software Composition Analysis Static Analysis Security Testing (SAST) Secret Management Threat Modelling Tools ThreatSpec Microsoft Threat Modeling Tool Retire.js IDE Plugins CAT.net Git HoundtruffleHog Keywhiz Preference given to open-source tools; we donโ€™t endorse any tool
  • 25.
    Tools of TheTrade 25 Dynamic Analysis Security Testing (DAST) Security in Infrastructure as Code Compliance as Code Vulnerability Management WAF Preference given to open-source tools; we donโ€™t endorse any tool Docker Bench for Security
  • 26.
    โ— API /command line access โ— Execution start to final output should be 15 minutes max โ— Tools should be Containerizable / scriptable โ— Minimal licensing limitations (parallel scans or threads) โ— Output format parsable / machine readable (no to stdout, yes to json / xml) โ— Configurable to counter false negatives / false positives To be or Not to Be in Pipeline 26
  • 27.
    โ— Pipeline tobe tweaked based on Milestone (Initiative/Epic/Story) โ— Remember initial onboarding is tedious โ— Ensure dataset dependent tool get frequent data refresh โ— Sample optimization โ— Only CSS Changes: no need for SCA โ— Only pom.xml or gradle changes: no need of SAST โ— If Infra as code has zero changes skip or fast track infra scan โ— Ensure to run full (non optimized) pipeline periodically Pipeline Optimization
  • 28.
    โ— Different programminglanguages need different tools for static analysis and software composition analysis โ— Some tools support multiple languages like sonarqube โ— Others are focused on one language Does Programming Language Matter 28
  • 29.
    Language Specific Tools 29 JAVA PHP Python Ruby/Rails LanguagesSoftware Composition Analysis Source Code Static Analysis .NET DotNET Retire SafeNuGet ClearlyDefined Node JS ClearlyDefined graudit graudit graudit DotNet Security Guard Brakeman graudit Preference given to open-source tools; we donโ€™t endorse any tool NodeJsScan npm-check
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
    โ— The ThreatLandscape changes - Identity and Access Management - Asset Inventory - Billing โ— Infrastructure as Code allows quick audit / linting โ— Focus more on: - Security groups - Permissions to resources - Rogue / shadow admins - Forgotten resources (compromises / billing) What about Cloud 34
  • 35.
    โ— Different ServiceProviders Approach Security Differently โ— All of them provide some of the ingredient in-house โ— Irrespective of Cloud provider some tools will still need to be sourced โ— Static Code Analysis Tool โ— Dynamic Code Analysis Tool โ— Software Composition Analysis โ— Vulnerability Management Tool Cloud Native Approach to Security 35
  • 36.
    AWS Cloud NativeDevSecOps 36https://youtu.be/i38-YQsnqfw
  • 37.
    Cloud Native Dev[Sec]Ops 37 ConventionalInfra AWS Azure GCP Source Code Management Bitbucket, Github, Gitlab etc.. AWS CloudCommit Azure Repos Cloud Source Repositories Infrastructure As a Code Chef, Puppet, Ansible more.. Amazon CloudFormation Azure DevTest Labs Cloud Code CI/CD Server Jenkins, Bamboo, Gitlab, Travis CI, Circleci more AWS CodeBuild AWS CodeDeploy AWS CodePipeline Azure Pipelines, Azure Test Plans Cloud Build, Tekton Artifactory Repository jFrog Artifactory, Sonatype Nexus, more.. Amazon S3 Azure Artifacts Cloud Firestore Stg/Prod Servers VMWare, On-premises servers EC2 ECS (Elastic Containers) EKS (Elastic Kubernetes) Virtual Machines, Azure Lab Services, Azure Kubernetes Service (AKS) Compute Engine, App Engine, Shielded VMs Monitoring & Alert Nagios, Graphite, Grafana AWS CloudWatch Azure Monitor, Network Watcher Access Transparency Firewall Modsecurity AWS Firewall Manager, AWS WAF Azure Firewall Application Gateway DLP MyDLP, OpenDLP Amazon Macie Azure Information Protection Cloud Data Loss Prevention Threat Detection Snort, Kismet Amazon GuardDuty Azure Advanced Threat Protection Event Threat Detection (beta) Vulnerability Scanning OpenVAS, Nessus Amazon Inspector Azure Security Center Cloud Security Scanner Secrets Management Hashicorp Vault, Docker Secrets AWS Secrets Manager Azure Key Vault Secrets management
  • 38.
    โ— Automation alonewill not solve the problems โ— Encourage security mindset especially if outside sec team โ— Cultivate/Identify common goals for greater good โ— Build allies (security champions) in company โ— Focus on collaboration and inclusive culture โ— Avoid Blame Game Security team should try to eliminate the need of dedicated security team Cultural Aspect 38
  • 39.
    โ— Bridge betweenDev, Sec and Ops teams โ— Single Person per team โ— Everyone provided with similar cross skilling opportunities โ— Incentivize other teams to collaborate with Sec team โ—‹ Internal Bug bounties โ—‹ Sponsor Interactions (Parties / get-togethers) โ—‹ Sponsor cross skilling trainings for other teams Security Champion 39
  • 40.
    Security Enablers 40 People โ€ข Buildrelationships between teams, donโ€™t isolate โ€ข Identify, nurture security conscious individuals โ€ข Empower Dev / ops to deliver better and faster and secure, instead of blocking. โ€ข Focus on solutions instead of blaming Process โ€ข Involve security from get-go (design or ideation phase) โ€ข Fix by priority, donโ€™t attempt to fix it all โ€ข Security Controls must be programmable and automated wherever possible โ€ข DevSecOps Feedback process must be smooth and governed Technology โ€ข Templatize scripts/tools per language/platform โ€ข Adopt security to devops flow donโ€™t expect others to adopt security โ€ข Keep an eye out for simpler and better options and be pragmatic to test and use new tools
  • 41.
  • 42.
    Case Studies โ€“Fannie Mae 42https://www.slideshare.net/DevSecOpsDays/fannie-mae-devsecops-journey-with-chitra-elango-and-john-willis
  • 43.
    Case Studies โ€“Fannie Mae 43https://www.slideshare.net/DevSecOpsDays/fannie-mae-devsecops-journey-with-chitra-elango-and-john-willis
  • 44.
    Case Studies โ€“ABN Amro 44https://www.slideshare.net/derweeksglobal/abn-amro-devsecops-journey
  • 45.
    Case Studies โ€“ABN Amro 45https://www.slideshare.net/derweeksglobal/abn-amro-devsecops-journey
  • 46.
    Negative Case Studies 46 CloudAssets Misconfiguration Prevention: Continuous monitoring and review of cloud assets and config
  • 47.
    โ— Rite ofpassage by periodic pen test and continuous bug bounty โ— It's not just important to get feedback but to also action on them โ— Risk Acceptance Documentation should be the worst case scenario not your first bet Is it Enough? 47
  • 48.
    โ— Did wesecure the security controls โ— DevSecOops: If attacker controls security tools / build chain It has limitless power โ— Ensure the same practice is followed back again for these tools โ— Security role doesn't means you get to circumvent the rules โ— Follow basic security hygiene we always keep talking about โ— Secure configuration โ— Patching Policy Who Watches the Watcher 48
  • 49.
  • 50.
    โ— Security iseveryone responsibility โ— Embrace security as an integral part of the process, use feedback to refine the process โ— DevSecOps is not a one size fit all: your mileage will vary Key Takeaways 50 @anantshri anant@notsosecure.com