+ All Categories
Home > Technology > DevOps & Security: Here & Now

DevOps & Security: Here & Now

Date post: 04-Nov-2014
Category:
Upload: checkmarx
View: 617 times
Download: 3 times
Share this document with a friend
Description:
How do you integrate security within a Continuous Deployment (CD) environment - where every 5 minutes a feature, an enhancement, or a bug fix needs to be released? Traditional application security tools which require lengthy periods of configuration, tuning and application learning have become irrelevant in these fast-pace environments. Yet, falling back only on the secure coding practices of the developer cannot be tolerated. Secure coding requires a new approach where security tools become part of the development environment – and eliminate any unnecessary overhead. By collaborating with development teams, understanding their needs and requirements, you can pave the way to a secure deployment in minutes.
Popular Tags:
31
DevOps and Security: It’s Happening. Right Now. Helen Bravo Director of Product Management at Checkmarx [email protected]
Transcript
Page 1: DevOps & Security: Here & Now

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

Helen Bravo

Director of Product Management at Checkmarx

[email protected]

Page 2: DevOps & Security: Here & Now

• Intro to DevOps

• Integrating security within DevOps

– Problems with traditional controls

– Steps to DevOps security

Agenda

Page 3: DevOps & Security: Here & Now

What is DevOps About?

An unstoppable deployment process

… in small chunks of time

Page 4: DevOps & Security: Here & Now

DevOps is Happening

Companies that have adopted DevOps

Page 5: DevOps & Security: Here & Now

Can TRADITIONAL

web application

security controls fit

in…

… a DevOps environment?!

Page 6: DevOps & Security: Here & Now

Traditional Web Application Security Controls

• Penetration Testing

• WAF (Web Application Firewall)

• Code Analysis

Page 7: DevOps & Security: Here & Now

Penetration Testing- Takes Time!

Page 8: DevOps & Security: Here & Now

Penetration Testing

– 300 pages report

– 3 weeks assessment time

– 2 weeks to get it into development

Page 9: DevOps & Security: Here & Now

Web Application Firewall (WAF)

Thinking Continuous

Deployment?

Think Continuous

Configuration!

Page 10: DevOps & Security: Here & Now

Code Analysis

• Setup time

• Running time

• Analysis time

… just too slow!

Page 11: DevOps & Security: Here & Now
Page 12: DevOps & Security: Here & Now

… Do Nothing?

Page 13: DevOps & Security: Here & Now

Required: A New Secure SDLC Approach

Page 14: DevOps & Security: Here & Now

Step by Step

Page 15: DevOps & Security: Here & Now

Step 1: Plan for Security

Page 16: DevOps & Security: Here & Now

• 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: DevOps & Security: Here & Now

Step 2: Engage the Developers.And Be Engaged

Page 18: DevOps & Security: Here & Now

• 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: DevOps & Security: Here & Now

Step 3: Arm the Developers

Page 20: DevOps & Security: Here & Now

• 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: DevOps & Security: Here & Now

Step 3: Automate the Process

Page 22: DevOps & Security: Here & Now

• 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: DevOps & Security: Here & Now

DevelopCode

CommitSource Control

Build Trigger

Unit Tests

Deploy

to

ProductionDeploy to Test Env

Report& Notify

Publish to release repository

Continuous Deployment

Page 24: DevOps & Security: Here & Now

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: DevOps & Security: Here & Now

Step 5: Use Old Tools Wisely

Page 26: DevOps & Security: Here & Now

Step 5: Use Old Tools Wisely

• Periodic pen testing

• WAF on main functions

• Code review for security sensitive code portions.

Page 27: DevOps & Security: Here & Now

Summary

Page 28: DevOps & Security: Here & Now

• 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: DevOps & Security: Here & Now

The 3 Takeaways

1. Plan from the ground

2. Engage with your developers

3. Integrate security into automatic build process.

Page 30: DevOps & Security: Here & Now

Questions?

Page 31: DevOps & Security: Here & Now

Thank you

[email protected]


Recommended