taming rainbow shitting unicorns - pvib · devsecops: summary •align dev, sec, bus, and ops...

60
Taming rainbow shitting unicorns A story on DevSecOps Dave van Stein | PVIB CISO 28

Upload: others

Post on 20-May-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Taming rainbowshitting unicorns

A story on DevSecOps

Dave van Stein | PVIB CISO 28

Page 2: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Who am [email protected]

@Dave_von_S

nl.linkedin.com/in/dvstein

github.com/davevs

Page 3: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Disclaimer

Page 4: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Agile makes you more agile!

Page 5: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Security?

Page 6: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Security & Agile?

Page 7: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Security has many faces

Page 8: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

One way to do it

Page 9: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Pentests at the end of sprints

Page 10: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Mandatory policy checks

Page 11: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

The Result

Page 12: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

A better idea

Page 13: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

A change from this

Page 14: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

To this

Page 15: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

While preventing this

Page 16: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

100% secure?

Page 17: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Agile? DevOps? DevSecOps?

Page 18: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

The classic approach

Page 19: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Agile

Page 20: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

DevOps

Page 21: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

DevSecOps

Page 22: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Agile: the important bits

Page 23: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Agile: the important bits

Page 24: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

The real goal

Page 25: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Where does security fit in?

Page 26: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Agile Security

Page 27: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack
Page 28: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Security Thresholds

Page 29: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Agile Risk Self Assessment

Page 30: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Define thresholds

Page 31: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Security Stakeholdership

Page 32: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Story mapping

Page 33: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Threat model the story map

Page 34: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack
Page 35: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack
Page 36: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Security Education

Page 37: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Make a plan

Page 38: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Start a Security Guild

Page 39: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Start hacking yourself

Page 40: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Security Engineering

Page 41: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Why patching is hard

Page 42: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Classical deployments

Page 43: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

DevOps = automation

Page 44: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

OTAP in DevOps

Page 45: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Use Secure Building blocks

Page 46: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Provide sandboxes for experiments

Page 47: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Set some groundrules

Page 48: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Set some groundrules

Page 49: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Assess new blocks

Page 50: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Patching 2.0

Page 51: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Incident response

Page 52: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Monitoring

Page 53: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Make it a feedback loop

Page 54: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack
Page 55: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Audit Automation

Versioncontrol

StoryMapping

ContinuousDelivery

Page 56: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Automate everything

Page 57: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

Continuous security

Page 58: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

DevSecOps: summary

• Align Dev, Sec, Bus, and Ops

• Standardize and simplify

• Automate, automate, automate

• Know your value

• Attack yourself

• Learn, teach and train

Page 59: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack

More information!

• Training ‘DevOps for CISO’

→ 19 juli & 6 september

→https://training.xebia.com/security/devops-for-ciso

→Discount code: PVIBCISO

• Whitepaper: ‘The IT manager guide to DevOps’

→https://xebialabs.com/resources/whitepapers/the-it-managers-guide-to-devops/

• Whitepaper: ‘Becoming an agile security officer’

→https://pages.xebia.com/becoming-an-agile-software-security-officer

Page 60: Taming rainbow shitting unicorns - PvIB · DevSecOps: summary •Align Dev, Sec, Bus, and Ops •Standardize and simplify •Automate, automate, automate •Know your value •Attack