DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads ›...

47
DevSecOps Shift Left Security Prioritizing Incident Response using Security Posture Assessment and Attack Surface Analysis

Transcript of DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads ›...

Page 1: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

DevSecOps – Shift Left Security

Prioritizing Incident Response using Security Posture

Assessment and Attack Surface Analysis

Page 2: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Themes

Page 3: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Vulnerabilities are Low Hanging Fruit

Page 4: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Why so many breaches that Anti-Virus missed…?

2015 largest disclosed breaches

Page 5: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Known Critical Vulnerabilities are Increasing

0

1,000

2,000

3,000

4,000

5,000

6,000

7,000

8,000

9,000

2011 2012 2013 2014 2015 2016

Vulnerabilities

Total High (CVSS 7-10)

Page 6: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

WannaCry

Retrospective

Page 7: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

WannaCry Timeline and Remediation

0

100

200

300

400

500

600

700

THO

USA

ND

S

EternalBlue Exploit WannaCry MS17-010 Patch Release

Authenticated / Agent Detection

Continued + Unauthenticated Detection

Page 8: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes
Page 9: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Endpoint Breach Prevention by Reducing

Attack Surfaces

Page 10: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Discover

and

Know your

Assets

1

Page 11: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Detect

and

Measure

Vulnerabilities

2

Page 12: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Prioritize

Remediation

3

Page 13: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Identify

and

Deploy

Patches

4

Page 14: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Exercise: “I already know all my assets…”

Page 15: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Auto-Deploy Qualys Cloud Agent (Vuln)

Page 16: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Vulnerability Results

Page 17: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Exploitability Posture

Page 18: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Get Proactive – Reduce the Attack Surface!

Page 19: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Get Visibility

into your Public

Clouds

Page 20: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Common AWS Misconfigurations

Page 21: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Continuous

Security

Monitoring

Page 22: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Actionable Responses – Reduce Attack Surface

Page 23: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Can Security Teams do

better?

Page 24: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Digital Transformation – Priorities

Source: https://news.microsoft.com/apac/2017/02/20/80-of-business-leaders-believe-they-need-to-be-a-digital-business-to-succeed-microsoft-study/microsoft-digital-transformation-infographic-asia

Page 25: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes
Page 26: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Digital Transformation – Barriers

Source: https://news.microsoft.com/apac/2017/02/20/80-of-business-leaders-believe-they-need-to-be-a-digital-business-to-succeed-microsoft-study/microsoft-digital-transformation-infographic-asia

Page 27: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes
Page 28: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

DevSecOps = / DevOps + Security

Page 29: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

False Approach ~ False Start ~ Failure

Plan Code Test Package Release Deploy Monitor Operate

Dev Ops

Secu

rity

Secu

rity

Secu

rity

Secu

rity

Secu

rity

Secu

rity

Secu

rity

wait! wait! wait! wait! wait! wait!

Page 30: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Security + DevOps = a Revolt or Left Out?

Source: https://theclumpany.wordpress.com/2015/08/09/pitchforks-and-flaming-torches/

Page 31: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Food Safety is a Security Problem

Source: http://www.foodengineeringmag.com/articles/88990-tech-update-metal-detection-xray-inspection-

Page 32: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

DevSecOps – Shift in Thinking

Page 33: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Shift Time

Page 34: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Case Study: Financial Services Mobile Wallet

Page 35: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Before: Lack of Security Automation Delays Release

At least two weeks until the AMI is certified for production

Vulnerability Management Teams

Machine Builders VM Scan/Report

48 Hours

VM Scan/Report 48 Hours

Page 36: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Security

Born in the Cloud: New builds in AWS every 60 days

Automated Regression & Test-Driven Development

Docker containers abstracts applications from OS

DevOps

Commercial/Open Source vulnerabilities are detected & fixed on same release cadence

Automated regression finds patch issues faster

OS vulnerabilities are patched separate from Applications

1

2

3

Page 37: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

After: Security at the Source in DevOps Pipeline

APPROVE and

PUBLISH

QUALYS ASSESS

ON DEV

INSTANCES

OS

Qualys

Scanner

AUTOMATICALY

ADD QUALYS

CLOUD AGENT

OS

Qualys

Agent

AMAZON MACHINE

IMAGE (AMI)

Qualys

Agent

Page 38: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Vulnerability Metric Benefits

Page 39: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Shift Techniques

Page 40: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Case Study: One of Largest Ecommerce Companies

Page 41: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Prevent Software Check-Ins that use Vulnerable Libraries

Apply Technique

Tag Vulnerable Libraries in Source Control

1

Shift Technique

Automatically open tickets for Developers on security issues

Apply Technique

Vulnerabilities in Production are Treated as Defects

Shift Technique

2

Excessive Remediation Times are escalated to CEO

Apply Technique

Open Vulnerabilities Reported to Business Unit VPs

Shift Technique

3

Page 42: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Shift Tools

Find/Implement the right tools for the DevOps Processes…

... But: You may not need to procure new tools

APIs, Integrations, Self-Service UIs Collaborate with current vendors on your DevOps plans

Page 43: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Case Study: Financial Investment Services

Page 44: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Solution Challenge

400+ Web Apps in production

Web Security Assessment found they had a lot of “easily” mitigated app vulnerabilities

Integrated the production Web Security Assessment tool into DevOps processes via API

Automatically create Jira bugs for App Development to fix XSS and SQL Injection issues

Continuously assess Web Apps in the dev process so issues are not re-introduced

Hard for developers to fix security issues in production

1

2

3

Page 45: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Integrate Production Security Tools into DevOps

Selenium

Qualys WAS

Jira Issues

Selenium

Qualys WAS

Jira Issues

Page 46: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

DevSecOps: Practical Steps to Get Started

Page 47: DevSecOps Shift Left Security - Incident Response Consortium › wp-content › uploads › DevSecO… · Integrated the production Web Security Assessment tool into DevOps processes

Open Q &A