46
#DevOpSec - Killing the buzz?

buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

#DevOpSec - Killing the buzz?

Page 2: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

Agendasetting the stage

× blue team× red team× fight!

tricks are for script kiddies× techniques× tools

wrapup

Page 5: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 6: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

devops

Page 7: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

stresses communications, collaboration, integration,

automation and measurement of cooperation between

software developers and other IT professionals

Page 8: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

devops goals?

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

Page 9: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

so basically…devops wants to set you free!

Page 11: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 12: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

Security

Page 13: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

the processes and methodologies involved with

keeping information confidential, available, and

assuring its integrity.

Page 14: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

security goals?

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

Page 15: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

“continuous annoyment”?policy

× creation× enforcement

audit× compliance testing× log management & review

simulation× penetration test× phishing | social engineering

Page 16: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

so basically…security wants to bust your kneecaps!

Page 17: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

thus we get this.

Page 18: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

can we even?

Page 19: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

no more of that

Page 20: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

ultimately different goals?

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

nod to @codesoda

Page 22: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 23: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

get over it & move

on

Page 24: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

“I wish developers would get security involved sooner”

- every security pro ever

Page 25: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

“I wish security would stop getting

in our way at the last minute”

- every devops pro ever

Page 26: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 27: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

devopsec is a

thing!

Page 28: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

Also known as...

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

Page 29: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

× 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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

the devopsec

cycle

Page 34: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 37: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 39: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 41: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,
Page 43: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

next-gen waf

Some 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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

wrapup

Page 45: buzz? Killing the #DevOpSec - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

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 - Rochester Security Summitdevops: × everyone can access everything so things get done infosec: × least-privilege, separation of duties devops: × rapid,

say devopsec one more time...