Top Banner
#DevOpSec - Killing the buzz?
46

Dev opsec killing-the_buzz

Apr 13, 2017

Download

Technology

Jason Ross
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dev opsec killing-the_buzz

#DevOpSec -Killing the buzz?

Page 2: Dev opsec killing-the_buzz

Hello!i’m a security consultant at NCC Group. you can find me:× on twitter as @rossja× pretty much everywhere else as algorythm

Page 3: Dev opsec killing-the_buzz

anytime i include a“buzzword” in a slide...

i will also include this:

Page 4: Dev opsec killing-the_buzz

setting the stage× blue team× red team× fight!tricks are for script kiddies× techniques× toolswrapup

Page 5: Dev opsec killing-the_buzz
Page 6: Dev opsec killing-the_buzz

devops

Page 7: Dev opsec killing-the_buzz

stresses communications, collaboration, integration,

automation and measurement of cooperation between

software developers and other IT professionals

Page 8: Dev opsec killing-the_buzz

1.rapid development2.continuous deployment3.quick scaling4.instant rollback

Page 9: Dev opsec killing-the_buzz

continuous (delivery | deployment | measurement)× orchestration & automation× infrastructure as code× feedback loops from users/production

virtualization× cloud× containers

revision control× git (is anyone using anything else at this point?)

Page 10: Dev opsec killing-the_buzz

so basically…devops wants to set you free!

Page 11: Dev opsec killing-the_buzz
Page 12: Dev opsec killing-the_buzz

Security

Page 13: Dev opsec killing-the_buzz

the processes and methodologies involved with

keeping information confidential, available, and

assuring its integrity.

Page 14: Dev opsec killing-the_buzz

to “serve and protect”× hosts & data× the business× end-users

Page 15: Dev opsec killing-the_buzz

policy× creation× enforcementaudit× compliance testing× log management & reviewsimulation× penetration test× phishing | social engineering

Page 16: Dev opsec killing-the_buzz

so basically…security wants to bust your kneecaps!

Page 17: Dev opsec killing-the_buzz

thus we get this.

Page 18: Dev opsec killing-the_buzz

can we even?

Page 19: Dev opsec killing-the_buzz

no more of that

Page 20: Dev opsec killing-the_buzz

devops:× everyone can access

everything so thingsget done

infosec:× least-privilege,

separation of duties

devops:× rapid, constant

update - often in prod

infosec:× strict review, isolated

env

devops:× we need to be able to

do whatever wewant...

infosec:you can only do what we letyou...

access control process flow culture / mindset

Page 21: Dev opsec killing-the_buzz

dev - build cool thingsops - run cool thingssec - break all the things

nod to @codesoda

Page 22: Dev opsec killing-the_buzz
Page 23: Dev opsec killing-the_buzz

get over it & move

on

Page 24: Dev opsec killing-the_buzz

“I wish developers would get security involved sooner” - every security pro ever

Page 25: Dev opsec killing-the_buzz

“I wish security would stop getting

in our way at the last minute”

- every devops pro ever

Page 26: Dev opsec killing-the_buzz
Page 27: Dev opsec killing-the_buzz

devopsec is a

thing!

Page 28: Dev opsec killing-the_buzz

Also known as...

(look how friendly it is!) ---->>

Page 29: Dev opsec killing-the_buzz

dev & ops & sec work together in all phases

× design

× development

× deployment

× maintenance

image taken shamelessly fromhttps://newrelic.com/devops/lifecycle

Page 30: Dev opsec killing-the_buzz

continuous security delivery× use the pipeline to meet compliance & audit objectives× CD/CI lends itself well to rapid patchingcontinuous monitoring× use feedback loops from prod to feed ‘attack-driven defense’improves security awareness× everyone is involved

Page 31: Dev opsec killing-the_buzz

× inject code analysis tools into the dev process× enforce fixes prior to deployment

× automate attacks against pre-prod code× prevent vulnerable code from reaching prod

× implement “compliance as code” strategies

Page 32: Dev opsec killing-the_buzz

make security part of the pipeline× setup requires time and effort× may involve learning new ways of working× it is worth it (really…)

Page 33: Dev opsec killing-the_buzz

the devopsec

cycle

Page 34: Dev opsec killing-the_buzz

sourcerepo

binaryrepo

production repo

precommit

continuous integration

acceptance

production

● static analysis● security unit testing● alert on high-risk changes

● dynamic analysis● automated fuzzing● pen testing (oob)

● red teaming● bug bounty● incident response

● threat model● ide checks● peer review

Page 35: Dev opsec killing-the_buzz
Page 36: Dev opsec killing-the_buzz

× OWASP Proactive Controls (shift security left!)

code peer review tools:× Gerrit× Phabricator× Atlassian Crucible

Page 37: Dev opsec killing-the_buzz
Page 38: Dev opsec killing-the_buzz

chef vaultkeywhizlib/deps checkers:× OWASP Dependency Check× Retire.js× Bundler Audit× SourceClear (commercial)

Page 39: Dev opsec killing-the_buzz
Page 40: Dev opsec killing-the_buzz

× hardening.io× dynamic scanning tools (nessus, etc.)× OWASP ZAP× Jenkins ZAP plugin× Mittn× Gauntlt× BDD-Security

Page 41: Dev opsec killing-the_buzz
Page 42: Dev opsec killing-the_buzz

ansible | chef | puppet | salt | dockerdynamic scanning tools (nessus, etc.)bugcrowdsimian armyaws inspectorscout2 (NCC Group tool)

Page 43: Dev opsec killing-the_buzz

Some interesting new devopsec tech is comingout in the WAF market(like SignalSciences)

Chaim will be talking more about WAF stuff inhis talk, up next.

Page 44: Dev opsec killing-the_buzz

wrapup

Page 45: Dev opsec killing-the_buzz

integrating the two requires culture shiftthere will be lots to work outit can be awesome when it’s done rightlook to industry leaders like AWS/Netflix

Page 46: Dev opsec killing-the_buzz

say devopsec one more time...