helen bravo director of product management at … › europe2013 › sites › eclipsecon...shiro,...

31
DevOps and Security: It’s Happening. Right Now. Helen Bravo Director of Product Management at Checkmarx [email protected]

Upload: others

Post on 06-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

DevOps and Security: It’s Happening. Right Now.

Helen Bravo

Director of Product Management at Checkmarx

[email protected]

Page 2: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

• Intro to DevOps

• Integrating security within DevOps

– Problems with traditional controls

– Steps to DevOps security

Agenda

Page 3: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

What is DevOps About?

An unstoppable deployment process

� in small chunks of time

Page 4: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

DevOps is Happening

Companies that have adopted DevOps

Page 5: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Can TRADITIONAL

web application

security controls fit

in"

� a DevOps environment?!

Page 6: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Traditional Web Application Security Controls

• Penetration Testing

• WAF (Web Application Firewall)

• Code Analysis

Page 7: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Penetration Testing- Takes Time!

Page 8: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Penetration Testing

– 300 pages report

– 3 weeks assessment time

– 2 weeks to get it into development

Page 9: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Web Application Firewall (WAF)

Thinking Continuous

Deployment?

Think Continuous

Configuration!

Page 10: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Code Analysis

• Setup time

• Running time

• Analysis time

� just too slow!

Page 11: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can
Page 12: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

� Do Nothing?

Page 13: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Required: A New Secure SDLC Approach

Page 14: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Step by Step

Page 15: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Step 1: Plan for Security

Page 16: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

• Identify unsecured APIs and frameworks

• Map security sensitive code portions. E.g. password

changes mechanism, user authentication

mechanism.

• Anticipate regulatory problems, plan for it.

Step 1: Plan for Security

Page 17: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Step 2: Engage the Developers.

And Be Engaged

Page 18: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

• Connect developers to security

– Going to OWASP? Bring a developer with you!

• Is your house on fire? Share the details with your

developers.

• Have an open door approach

• Set up an online collaboration platform E.g. Jive,

Confluence etc.

Step 2: Engage the Developers. And Be Engaged

Page 19: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Step 3: Arm the Developers

Page 20: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

• Secure frameworks:

– Use a secure framework such as Spring Security, JAAS, Apache

Shiro, Symfony2

– ESAPI is a very useful OWASP security framework

• SCA tools that can provide security feedback on pre-commit stage.

– Rapid response

– Small chunks

Step 3: Arm the Developer

Page 21: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Step 3: Automate the Process

Page 22: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

• Integrate within your build (Jenkins, Bamboo,

TeamCity, etc.)

– SAST

– DAST

• Fail the build if security does not pass the bar.

Step 3: Automate the Process

Page 23: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

DevelopCode

CommitSource Control

Build Trigger

Unit Tests

Deploy

to

ProductionDeploy to

Test Env

Report

&

Notify

Publish to

release

repository

Continuous Deployment

Page 24: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

DevelopCode

CommitSource Control

Build Trigger

Tests

Deploy

to

ProductionDeploy

to Test

Env

Report

&

Notify

Publish to

release

repository

Automatic

security

test

SCA

Test

Security within Continuous Deployment

Page 25: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Step 5: Use Old Tools Wisely

Page 26: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Step 5: Use Old Tools Wisely

• Periodic pen testing

• WAF on main functions

• Code review for security sensitive code portions.

Page 27: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Summary

Page 28: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

• DevOps is happening. Right Now.

– During the time of this talk, Amazon has released

75 features and bug fixes.

• Security should not be compromised

• Don’t be overwhelmed. Start small

Summary

Page 29: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

The 3 Takeaways

1. Plan from the ground

2. Engage with your developers

3. Integrate security into automatic build

process.

Page 30: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Questions?

Page 31: Helen Bravo Director of Product Management at … › europe2013 › sites › eclipsecon...Shiro, Symfony2 – ESAPI is a very useful OWASP security framework • SCA tools that can

Thank you

[email protected]