35
APPSEC BEHAVIORS FOR DEVOPS BREED SECURITY CULTURE CHANGE Copyright © Security Journey, 2017

AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

APPSEC BEHAVIORS FOR DEVOPS BREED SECURITY CULTURE CHANGE

Copyright©SecurityJourney,2017

Page 2: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

AboutChrisRomeo

• CEO/Co-Founder/SecurityCultureHacker@SecurityJourney

• Experience

• 20yearsinthesecurityworld,CISSP,CSSLP

• 10 yearsatCisco,leadingtheCiscoSecurityNinjaprogram &CSDL

• SpeakeratRSA,AppSecUSA,AppSecEU,&ISC2SecurityCongress

• Co-hostofthe#AppSec PodCast

• OwnerofaDevOpsbuildpipeline;consultingwithcompaniestryingtofigureoutAppSec +DevOps @edgeroute

Copyright©SecurityJourney,2017

Page 3: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Behaviorsàmindset,skillsà skillsets

Page 4: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Agenda

• TheStateofDevOpsandSecurity• DevOpsCulture• SecurityComponentsforDevOps• CreatingaDevOps+SecurityCulture• SecurityBehaviorsandHabits• ConclusionandKeyTakeaways

Page 5: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the
Page 6: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

ADevOps

Page 7: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

DevOpsaccordingtoDevOpsBorat

Page 8: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the
Page 9: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Allthingscontinuous

Continuous

Integration Delivery Deployment Security? SecurityTest?

Page 10: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

SoWhat?

WhydoesPSIRTcare?

Page 11: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

5thingspeopleHATEaboutDevOps

1. Everyonethinksit'sallaboutAutomation.

2. "True"DevOpsapparentlyhavenoprocesses- becauseDevOpstakescareofthat.

3. TheEmergenceofthe"DevOps'DevOp",apseudointellectualloudlyspewingtheoriesaboutdistantlyunrelatedfieldsthatareentirelyirrelevantandspeakingatconferences.

4. PeopleconstantlypointingtoEtsy,Facebook&NetflixasDevOps.Let'spromotethestoriesofcompaniesthatbetterrepresentthemarketatlarge.

5. LackoffitforanyonewhoisnotinaDevorOpsrole.

Page 12: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

ADevOpsculture

1. Thingsmovefast

2. Smallpiecesofworkcheckedinoften

3. Autonomousteamswithtransparency;Nosilos

4. Buildingqualityintothedevelopmentprocess

5. Feedback/eliminateblame/embracefailure

6. Automation

Page 13: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Namingrights

Page 14: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Securitycomponentstogofast

Security best practices

Threat modeling Static analysis

Security code review

Dynamic analysis

Vulnerability scanning

3rd Party SW / Dependency

checkerRed Teaming PSIRT

Page 15: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

ADevOps+SecuritySecuritybestpracticesThreatmodeling

Staticanalysis

Securitycodereview

Dynamicanalysis

Vulnerabilityscanning

3rd PartySW/Dependencychecker PSIRTRedTeaming

Page 16: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Securityculture

“Whathappens{withsecurity}whenpeoplearelefttotheirown

devices.”--TimFerriss

Page 17: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

1. Applicationsecurityisaboutthepeople.

2. Thepeopleintroducethevulnerabilities.

3. SecurityinDevOpsmustchangethepeople.

Page 18: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Definingfeaturesofasustainable DevOpssecurity

culture

Deliberateand

disruptive

EliminateSecurityBlame

BuildingQualityANDSecurityIn

SecurityTransparency

Nosecuritysilo

Page 19: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

CultureHacking Community Automation

Howdoweembedacultureofsecurity?

Page 20: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Lightweight

Welldefined

Clearstartandfinishpoint

WhyandROI

Easilyrepeatable

Securitybehavior

Security Behavior – a manner of behaving that

decreases danger, risk, or threat

Page 21: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Securitybehaviorvs.securityprocess

Step 1 Step 2 Step 3

Page 22: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Securityhabits

Routine

Reward

Reminder

Page 23: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Buildsecurityin

Securitybestpractices

DesiredOutcome HabitGeneration

• Awidespreadattitude/culturechange

• Considerationofsecuritybestpracticesearly

• ExplainWHYtheyshouldcare

• Demonstratehowbestpracticesaredone

• Understandthenegativecase,ornotdoingthem

Page 24: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Uncoverdesignsecurityproblems

Threatmodeling

DesiredOutcome HabitGeneration

• Choosethedesigndecisionthatprotectstheconfidentialityandintegrityofcustomerdata

• Showdevelopershowtocreateathreatmodel

• Quicklymovetothreatmodelinganactivedesignonwhichtheyareworking

• Enablethesecuritylightbulb

Page 25: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Reacttoautomatedsecuritybugs

Dynamicanalysis

DesiredOutcome HabitGeneration

• Interpretautomatedsecuritynotificationsasagiftandnotacurse

• Positiontheinterruptionasclosetothedevaspossible(IDEbasedSA)

• Aggressivelylimitfalsepositives– donotscanforeverythinginthebeginning

Staticanalysis Vulnerabilityscanning

Page 26: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Detectsecurityflawsinother’scode

Securitycodereview

DesiredOutcome HabitGeneration

• Findtheerrorsinthecodethatcouldbeexploitediftheyreachproduction(thosemissedbyautomatedscans)

• Forceasecuritycodereviewinthecodecommitprocess

• Requireasecurity+1foreachcheck-in

• Teachyourdevelopersthefundamentalsecuritylessonsoftheirlanguages,andhowtofindthoseissuesincode

Page 27: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Eradicate3rd partysoftwarevuln’s

3rd PartySW/DependencyChecking

DesiredOutcome HabitGeneration

• Eliminateknownvulnerablecomponentsatdeploytime

• Breakthebuildonadependencycheckerfailure

Page 28: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Bemeantoyourcode

RedTeaming

DesiredOutcome HabitGeneration

• Uncoverflawsusingactivetesting,fixthoseflaws,andpushthefixestoproductionasfastaspossible.

• Instilltheideathatyourcodewillbeattacked

• Providethetimeandtoolsforeveryonetospendtimeattacking

Page 29: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Respondinatimelyandorganizedfashion

PSIRT

DesiredOutcome HabitGeneration

• PartnershipbetweendevandPSIRTtoalleviateanysecuritybugsintheshortestamountoftimepossible

• TalktoandeducatedevelopersaboutthePSIRTmission

Page 30: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Summary

Security Behaviors for DevOps

Build Security In

Uncover design security problems

React to automated security bugs

Detect security flaws in other’s code

Eradicate 3rd party software vuln’s

Be mean to your code

Respond in a timely and organized fashion

Page 31: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Securitybehaviorsthroughsecuritycommunity

People MonthlyTraining

SecurityDays

InternalCapturethe

FlagConferences

Buildasecurity[advocate,guild,champion]program

Page 32: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

ApplyWhatYouHaveLearnedToday

■ Nextweek:– AssessyourorganizationalDevOpsandsecurityculture– SurveyDevOpspopulationtogaugeresponsetosecurity

■ Inthefirstthreemonths:

– Prioritizesecuritybehaviorsandformaplan– Focusonthesecuritybehaviorthatisyourtoppriorityandinvestinmakingitsuccessful

■ Withinsixmonths:

– Branchouttoyourtopthreesecuritybehaviorsandfocusin■ Withinoneyear:

– Rolloutallthesecuritybehaviors

Page 33: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Keytakeaways

1. JustcallitDevOpsandfocusonmakingsecurityanaturalpartofbuildingstuff.

2. Securitybehaviorsembedsecuritywithoutalltheoverhead.

3. Securitycommunitybolsterssecuritybehavior.

Page 34: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Resourcestolearnmore

https://techbeacon.com/contributors/chris-romeo

Page 35: AppSec Behaviors for DevOps Breed Security Culture Change€¦ · Security Journey • Experience • 20 years in the security world, CISSP, CSSLP • 10years at Cisco, leading the

Q+AandThankyou!

ChrisRomeo,CEO/Co-Founder

[email protected]

www.securityjourney.com

@edgeroute,@SecurityJourney