buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies...

46
#DevOpSec - Killing the buzz?

Transcript of buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies...

Page 1: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

#DevOpSec - Killing the buzz?

Page 2: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

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: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

A special note about this presentation!anytime i include a “buzzword” in a slide...

i will also include this:

Page 4: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

Agendasetting the stage

× blue team× red team× fight!

tricks are for script kiddies× techniques× tools

wrapup

Page 5: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 6: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

devops

Page 7: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

stresses communications, collaboration, integration,

automation and measurement of cooperation between

software developers and other IT professionals

Page 8: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

devops goals?

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

Page 9: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

devops methods?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: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

so basically…devops wants to set you free!

Page 11: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 12: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

Security

Page 13: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

the processes and methodologies involved with

keeping information confidential, available, and

assuring its integrity.

Page 14: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

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

Page 15: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

“continuous annoyment”?policy

× creation× enforcement

audit× compliance testing× log management & review

simulation× penetration test× phishing | social engineering

Page 16: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

so basically…security wants to bust your kneecaps!

Page 17: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

thus we get this.

Page 18: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

can we even?

Page 19: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

no more of that

Page 20: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

common conflicts

devops: × everyone can access

everything so things get 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 we want...

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

access control process flow culture / mindset

Page 21: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

ultimately different goals?dev - build cool thingsops - run cool thingssec - break all the things

nod to @codesoda

Page 22: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 23: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

get over it & move

on

Page 24: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

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

Page 25: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

“I wish security would stop getting

in our way at the last minute”

- every devops pro ever

Page 26: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 27: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

devopsec is a

thing!

Page 28: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

Also known as...

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

Page 29: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

dev & ops & sec work together in all phases

× design × development× deployment× maintenance

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

Page 30: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

how does this help security?continuous security delivery

× use the pipeline to meet compliance & audit objectives× CD/CI lends itself well to rapid patching

continuous monitoring× use feedback loops from prod to feed ‘attack-driven defense’

improves security awareness× everyone is involved

Page 31: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

× 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

some suggestions:

Page 32: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

compliance as code?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: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

the devopsec

cycle

Page 34: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

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: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 37: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 39: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 41: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty
Page 43: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

next-gen wafSome interesting new devopsec tech is coming out in the WAF market (like SignalSciences)

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

Page 44: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

wrapup

Page 45: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

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

devops + security is cool

Page 46: buzz? Killing the #DevOpSec · 2017-05-19 · × red team × fight! tricks are for script kiddies × techniques × tools wrapup. devops. ... pen testing (oob) red teaming bug bounty

say devopsec one more time...