innotech austin 2017: the path of devops enlightenment for infosec

130
@WICKETT The Path of DevOps Enlightenment for InfoSec INNOTECH AUSTIN 2017 JAMES WICKETT

Upload: james-wickett

Post on 21-Jan-2018

214 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

The Path of DevOps Enlightenment for InfoSec

INNOTECH AUSTIN 2017

JAMES WICKETT

Page 2: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Want the slides and referenced links?

[email protected]

Page 3: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ HEAD OF RESEARCH AT SIGNAL SCIENCES

‣ ORGANIZER OF DEVOPS DAYS AUSTIN

‣ LYNDA.COM AUTHOR ON DEVOPS

‣ BLOG AT THEAGILEADMIN.COM

@WICKETT

Page 4: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ DEVOPS IS CHANGING AND THERE IS A BIG RISK TO LOSE OUR WAY.

‣ SECURITY IS IN CRISIS

‣ SECURITY AT FORWARD-LEANING SHOPS HAVE FOUND THE NEW WAY.

‣ LET’S JUXTAPOSE THE OLD WAY AND THE NEW WAY OF SECURITY IN DEVOPS.

SUMMARY

Page 5: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ WHY DO WE HAVE DEVOPS?

‣ DID WE BUILD DEVOPS PROPERLY?

‣ IS THE DEVOPS CULTURE LOST?

‣ CAN WE GET IT BACK?

‣ CAN WE PROTECT DEVOPS FROM FURTHER DISTORTION?

QUESTIONS ON MY MIND

Page 6: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

My Journey

Page 7: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ WEB AND ECOMM FOR $1B COMPANY

‣ BRUTAL ONCALL ROTATIONS

‣ +24HR DEPLOYMENTS

‣ WATERFALL, WATERFALL, WATERFALL

‣ FRIENDS ARE BORN FROM ADVERSITY

FIRST BIGCO JOB

Page 8: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ IN 2007 WENT STARTUP AND AWS CLOUD

‣ LEARNED A BIT ABOUT FAILURE AND HAPPINESS

‣ REJOINED OLD TEAM IN 2010 FOR NEW CLOUD VENTURE BACK IN BIGCO

CLOUDING FOR PROFIT

Page 9: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ DEVOPS AND INFRA AS CODE

‣ NOT CD, BUT DEPLOYS DAILY

‣ AT BIGCO DELIVERED 4 SAAS PRODUCTS IN 2 YEARS WITH DEVOPS AND CLOUD

ENTER DEVOPS

Page 10: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ FOUND RUGGED SOFTWARE

‣ MET GENE KIM IN 2012 IN A BAR IN AUSTIN

‣ CREATED GAUNTLT

‣ LATER, JOINED SIGNAL SCIENCES

DEVOPS AND SECURITY

Page 11: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

DevOps is Friendship

Page 12: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Compassion for Ops

Page 13: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

10:1

Dev:Ops

Page 14: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Labor Inequity Permeates IT Ranks

Page 15: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

100:10:1

Dev:Ops:Sec

Page 16: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Yet, I remained optimistic for DevOps+Security

Page 17: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

ENTER DOUBTS

Page 18: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ DEVOPS ON A BUS AT RSA

‣ EXPO FLOOR AT DOCKER CON AND THE DEVOPS TOOLCHAIN

TWO EVENTS

Page 19: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

HAD WE ALLOWED DEVOPS TO BE A NEW GIMMICK OR SLOGAN ?

Page 20: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

WHAT HAD DEVOPS BECOME?

Page 21: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ WHY DO WE HAVE DEVOPS?

‣ DID WE BUILD DEVOPS PROPERLY?

‣ IS THE DEVOPS CULTURE LOST?

‣ CAN WE GET IT BACK?

‣ CAN WE PROTECT DEVOPS FROM FURTHER DISTORTION?

QUESTIONING DEVOPS

Page 22: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OUR ROOTS: FRIENDSHIP

Page 23: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

There is irony in my story…

Page 24: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ TEACH THREE DEVOPS CLASSES IN THE DEVOPS FOUNDATIONS SERIES AT LYNDA / LINKEDIN LEARNING

‣ WORK AT A POPULAR VENDOR OF DEVSECOPS SOLUTIONS

‣ WRITE DEVOPS AND SECURITY ARTICLES AS PART OF MY ROLE AT SIGNAL SCIENCES

Page 25: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Back to Our Roots

Page 26: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

CULTURE IS THE MOST IMPORTANT ASPECT TO DEVOPS

SUCCEEDING IN THE ENTERPRISE

- PATRICK DEBOIS

Page 27: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 28: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ MUTUAL UNDERSTANDING

‣ SHARED LANGUAGE

‣ SHARED VIEWS

‣ COLLABORATIVE TOOLING

4 KEYS TO CULTURE

Page 29: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

FRIENDSHIP

Page 30: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Make a connection and friend through our

journey today at All Day DevOps

Page 31: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Security is in Crisis

Page 32: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Companies are spending a great deal on security, but we read of massive computer-related attacks. Clearly something is wrong.

The root of the problem is twofold: we’re protecting the wrong things,

and we’re hurting productivity in the process.

THINKING SECURITY, STEVEN M. BELLOVIN 2015

Page 33: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 34: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

[Security by risk assessment] introduces a dangerous fallacy: that structured inadequacy is almost as

good as adequacy and that underfunded security efforts plus risk

management are about as good as properly funded security work

Page 35: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Security is often the cultural outlier in an

organization

Page 36: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

many security teams work with a worldview where their goal is to inhibit change as much as possible

Page 37: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

“SECURITY PREFERS A SYSTEM POWERED OFF AND UNPLUGGED”

- DEVELOPER

Page 38: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

“…THOSE STUPID DEVELOPERS”

- SECURITY PERSON

Page 39: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

It is 30 times cheaper to fix security defects in dev

vs. Prod

NIST, 2002, The Economic Impacts of Inadequate Infra for Software Testing

Page 40: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

It is 30 times cheaper to fix security defects in dev

vs. Prod

NIST, 2002, The Economic Impacts of Inadequate Infra for Software Testing

Page 41: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Security must Change or Die

Page 42: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

“every aspect of managing WAFs is an ongoing process. This is the antithesis of set it and forget it technology. That is the real point of this research. To maximize value from your WAF you need to go in with everyone’s eyes open to the effort required

to get and keep the WAF running productively.”

- WHITEPAPER FROM AN UNDISCLOSED WAF VENDOR

Page 43: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 44: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Bottleneck Approach

Page 45: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

THE AVERAGE TIME TO DELIVER CORPORATE IT PROJECTS HAS INCREASED FROM ~8.5 MONTHS TO OVER 10

MONTHS IN THE LAST 5 YEARS

Revving up your Corporate RPMs, Fortune Magazine, Feb 1, 2016

THE GROWTH OF [SECURITY] FUNCTIONS WHICH IS TOO OFTEN POORLY COORDINATED… [RESULTING IN] A PROLIFERATION OF NEW TASKS IN THE AREAS OF COMPLIANCE, PRIVACY AND DATA PROTECTION.

Page 46: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Many security professionals have a hard time adapting their existing practices to a world where requirements can change every few weeks, or where they are never written down at all.

Page 47: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 48: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 49: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Security didn’t get an invite to the DevOps

party! - John Willis (@botchagalupe)

“You Build It, You Secure It” DOES 2017

Page 50: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Read-only containers and serverless shift the

security story to almost 100% application security

Page 51: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

DevOps A New Traveling Companion

for Security (…and probably the only way to survive)

Page 52: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

High performers spend 50 percent less time remediating security issues than

low performers. By better integrating information security objectives into daily work, teams achieve higher levels of IT performance and build

more secure systems. 2016 State of DevOps Report

Page 53: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

High performing orgs achieve quality by incorporating

security (and security teams) into the delivery process

2016 State of DevOps Report

Page 54: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

http://www.youtube.com/watch?v=jQblKuMuS0Y

Page 55: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

The New Path

Page 56: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 57: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 58: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

A security team who embraces openness about what it does and

why, spreads understanding. - Rich Smith

Page 59: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Runtime is arguably the most important place to

create feedback loops

Page 60: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ ACCOUNT TAKEOVER ATTEMPTS

‣ AREAS OF THE SITE UNDER ATTACK

‣ MOST LIKELY VECTORS OF ATTACK

‣ BUSINESS LOGIC FLOWS

DETECT WHAT MATTERS

Page 61: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 62: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Are you under attack?

Page 63: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Where?

Page 64: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Which is a better feedback loop?

Source: Zane Lackey, Signal Sciences

Page 65: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Options: RASP, NGWAF or Web Protection Platform

Page 66: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ SURFACE LEVEL

‣ WHAT WENT WRONG? HOW DID IT BREAK? HOW DO WE FIX IT?

‣ DEEPER LEVEL

‣ WHAT ARE THINGS THAT WENT INTO MAKING IT NOT AS BAD AS IT COULD HAVE BEEN?

ALL INCIDENTS CAN BE WORSE

Source: John Allspaw, DOES 2017

Page 67: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 68: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ POLICIES AND PROCEDURES IN PLACE

‣ EFFECTIVE EXECUTION OF THOSE POLICIES TO ALLOW YOU TO KEEP FUNCTIONING

‣ MOST OF PCI AND OTHER FRAMEWORKS PROVIDE REASONABLY GOOD PRACTICES *IF* YOU REMOVE ALL THE WATERFALL BITS

UNDERSTAND AUDITORS

Page 69: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

[Deploys] can be treated as standard or routine changes that have been pre-approved by management, and that don’t require a heavyweight change review meeting.

Page 70: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

Separation of Duties Considered Harmful

Page 71: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

PCI 6.4.2

Page 72: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

In environments where one individual performs multiple roles (for example,

administration and security operations), duties may be assigned such that no single

individual has end-to-end control of a process without an independent checkpoint.

(aka Auditable Delivery Pipeline)

Page 73: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Developers with Access to Production, Oh My!!!

https://www.schellmanco.com/blog/2012/12/auditing-devops-developers-with-access-to-production/

Page 74: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Check out DevOps Audit Defense Toolkit

https://cdn2.hubspot.net/hubfs/228391/Corporate/DevOps_Audit_Defense_Toolkit_v1.0.pdf

Page 75: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 76: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ ADD IN CHAOS TO YOUR SYSTEM AND APPLICATION

‣ CHAOS MONKEY

‣ ANTI-FRAGILE

‣ RELEASE IT! BOOK

CHAOS ENGINEERING

Page 77: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 78: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ ADDS MISCONFIG TO THE STACK AND CHECKS TO SEE IF IT GETS DETECTED

‣ NEW OPEN SOURCE TOOL!

‣ RUNS AS A LAMBDA

CHAOS SLINGR

Page 79: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ I AM BEING PEN TESTED ANYWAY, WHY NOT FIND OUT WHAT THEY ARE FINDING?

‣ 24/7 PEN TESTING

‣ BUILDS DEVELOPER CONFIDENCE

‣ FINDS MIX OF LOW HANGING FRUIT AND SOMETIMES MUCH MORE!

BUG BOUNTIES

Page 80: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ HACKERONE

‣ BUGCROWD

BUG BOUNTY OPTIONS

Page 81: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 82: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 83: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ NO PERIMETER SECURITY

‣ ASSUME COMPROMISE

‣ INSTRUMENT ALL LAYERS

‣ EXTENDS FROM LAPTOPS TO WEB APPS TO CUSTOMER ACCOUNTS

ZERO TRUST NETWORKS

Page 84: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 85: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ DON’T SLOW DELIVERY

‣ CONTINUOUS TESTING AND VALIDATION

‣ TESTING ON THE SIDE OF THE PIPELINE

‣ PENETRATION TESTING OUTSIDE OF DELIVERY

FAST AND NON-BLOCKING

Page 86: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Currently, at Signal Sciences we do about 15

deploys per day

Page 87: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Roughly 10,000 deploys in the last 2.5 yrs

Page 88: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 89: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

CD is how little you can deploy at a time

Page 90: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

We optimized for cycle time—the time from code

commit to production

Page 91: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

Gave power to the team to deploy

Page 92: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Signal Sciences is a software as a service

company and a security company

Page 93: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Security is part of CI/CD and the overall delivery

pipeline

Page 94: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣DESIGN

‣INHERIT

‣BUILD

‣DEPLOY

‣OPERATE

PIPELINE PHASES

Page 95: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣INHERIT

‣BUILD

‣OPERATE

SECURITY CONSIDERATIONS

What have I bundled into my app that leaves me

vulnerable?

Do my build acceptance tests and integration tests

catch security issues before release?

Am I being attacked right now? Is it working?

Page 96: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 97: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Be Mean to Your Code

Page 98: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

The goal should be to come up with a set of automated tests that probe and check security configurations and runtime system behavior for security features that will execute every time the system is built and every time it is deployed.

Page 99: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Security tools are intractably noisy and

difficult to use

Page 100: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

A method of collaboration was needed for devs, ops

and security eng.

Page 101: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

There needed to be a new language to span the

parties

Page 102: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Started Gauntlt 4 years ago

Page 103: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 104: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Open source, MIT License

Gauntlt comes with pre-canned steps that hook security testing tools

Gauntlt does not install tools

Gauntlt wants to be part of the CI/CD pipeline

Be a good citizen of exit status and stdout/stderr

Page 105: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

gauntlt.org

Page 106: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 107: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 108: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 109: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

$ gem install gauntlt

# download example attacks from github # customize the example attacks # now you can run gauntlt

$ gauntlt

Page 110: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

@slow @finalFeature: Look for cross site scripting (xss) using arachni against a URL

Scenario: Using arachni, look for cross site scripting and verify no issues are found Given "arachni" is installed And the following profile: | name | value | | url | http://localhost:8008 | When I launch an "arachni" attack with: """ arachni —check=xss* <url> """ Then the output should contain "0 issues were detected."

Given

When

Then

What?

Page 111: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

“We have saved millions of dollars using Gauntlt for the largest healthcare industry

project.”

- Aaron Rinehart, UnitedHealthCare

Page 112: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

http://bit.ly/2s8P1Ll

Page 113: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ 8 LABS FOR GAUNTLT

‣ HOW TO USE GAUNTLT FOR NETWORK CHECKS

‣ GAUNTLT FOR XSS, SQLI, OTHER APSES

‣ HANDLING REPORTING

‣ USING ENV VARS

‣ CI SYSTEM SETUP

WORKSHOP INCLUDES:

Page 114: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

github.com/gauntlt/gauntlt-demo

Page 115: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

github.com/gauntlt/gauntlt-starter-kit

Page 116: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

SOURCE: THE THREE WAYS OF

DEVOPS, GENE KIM

Page 117: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 118: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 119: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Most teams use Gauntlt in Docker containers

Page 120: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

https://github.com/gauntlt/gauntlt-docker

Page 121: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 122: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 123: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Red Team Mondays at Intuit

Page 124: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

But, but, containers!

Page 125: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Page 126: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OVER 30% OF OFFICIAL IMAGES IN DOCKER HUB CONTAIN HIGH PRIORITY

SECURITY VULNERABILITIES

https://banyanops.com/blog/analyzing-docker-hub/

Page 127: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

OLD PATH VS. NEW PATHEmbrace Secrecy Create Feedback LoopsJust Pass Audit! Compliance adds ValueEnforce Stability Create Chaos

Build a Wall Zero Trust NetworksSlow Validation Fast and Non-blocking

Certainty Testing Adversity TestingTest when Done Shift LeftProcess Driven The Paved Road

Page 128: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

‣ MAKE IT EASY FOR PEOPLE TO DO THE RIGHT THING

‣ JASON CHAN, NETFLIX

‣ GOLD IMAGES

‣ BLESSED BUILDS AND DEPENDENCIES

THE PAVED ROAD

Page 129: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Don’t be a blocker, be an enabler of the business

Page 130: Innotech Austin 2017: The Path of DevOps Enlightenment for InfoSec

@WICKETT

Want the slides and referenced links?

[email protected]