agile and security. oil and water? - secretchipmunk.com · agile operating model 6 agile overview...

50
Agile and Security. Oil and Water? Ron Parker | @scmunk

Upload: others

Post on 27-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Agile and Security.

Oil and Water?

Ron Parker | @scmunk

Page 2: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

2

This is the condensed version of the presentation. We skip straight to the point and leave out the entertaining story of how salad

dressing holds the key to agile security. Please read the notes as you go along.

If you would like to hear the whole story please visit YouTube and watch the video.

https://www.youtube.com/watch?v=TrUaYlAg888

Thanks again to @IronGeek and @BsidesNash for the

video production.

Page 3: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

3

Some things just don’t mix well. Like Oil and Water.

Page 4: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

4

Page 5: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

5

agile and security

Page 6: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Agile Operating Model

6

Agile Overview

Agile Teams

Attributes

Coordination Team

Support/Infrastructure

Security Expert

•  Accountable

•  Self organizing

•  Move at their own pace

•  Use their own methods

•  Wait on as little as possible

•  Continuously improving

•  Quality as a goal

•  Delivery as a goal

•  Customer focused

Other Experts • Polices

• Training • Tools

Page 7: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

7

Security

High Level

•  CIA+AA

•  Privacy

•  Compliance

•  Brand

Task Areas

•  Identity management

•  Access management

•  Vulnerability management

•  Secure coding

•  Security testing

•  Configuration management

•  Disaster recovery

•  Third party integration

•  Mobile

•  Cloud

•  API security

Policy Standard Guideline

Page 8: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

8

Security

High Level

•  CIA+AA

•  Privacy

•  Compliance

•  Brand

Task Areas

•  Identity management

•  Access management

•  Vulnerability management

•  Secure coding

•  Security testing

•  Configuration management

•  Disaster recovery

•  Third party integration

•  Mobile

•  Cloud

•  API security

Policy Standard Guideline

Assurance Believing and Knowing

Page 9: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

9

Security needs to mix with the agile approach of the business.

Page 10: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

10

Mixing security and agile

Security

Agile

Page 11: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Apply effort

Page 12: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

More effort

Page 13: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Stop and turn your back

Page 14: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

14

Page 15: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

15

Security

Agile

Page 16: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

16

Page 17: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

17

•  Too many meetings with security driving them •  Development teams wait in frustration •  Insecure code gets released into the wild •  No positive or negative security testing •  Data security issues •  Data privacy issues •  Simple things are missed like the OWASP Top 10 •  The same questions are repeatedly asked regarding security •  Compliance issues – customers don’t like how you treat their

data •  The same questions are repeatedly asked regarding security •  We the same bad things over and over

Stuff that really happens

Security and agile – not a natural mix.

Page 18: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

18

The problem

This knowledge

That knowledge

Slow Speed

Fast Speed

Me You

•  Different goals •  Different organizations •  Numbers of people

•  Different knowledge •  Not at hand (easy)

•  Process speed •  Timeliness •  Governance

Knowledge Issues

Resource Speed

Mixed People

Page 19: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

19

Why do we want the mix?

We have goals beyond

just doing development and

just doing basic security.

We need secure development.

Page 20: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

20

Page 21: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

21

What would these goals be?

ENABLE with knowledge and process SCALE security with enabled people ASSURE with enablement and scale

Page 22: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

22

emulsifier

Page 23: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

23

Start again with an emulsifier

Emulsifier

Security

Agile

Page 24: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Mix

√ √

Page 25: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Science happens

√ √

Page 26: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •
Page 27: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

27

What can bring Security and Agile together?

Page 28: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

28

Security Development Lifecycle

Security Emulsifier

Page 29: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

29

re· hash Verb put (old ideas or material) into a new form without significant change or improvement. "he contented himself with occasional articles in journals, rehashing his own work“ (not that any infosec analyst would do that)

Wait, we have heard this before

Page 30: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

30

Solution

Enable •  Work themselves

•  Find it themselves

•  Know it themselves

•  At their pace

Scale •  Knowledge driven

•  Process driven

•  Not Security People driven

Assure •  Remember what is

important

•  Check during and after

•  Framework for familiarity

Security Development Lifecycle

Page 31: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Work

A B C DNormal Implementation

Agile Teams

Security

Tribal Security

Knowledge

WAIT

Page 32: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

q Security Item q Security Item q Security Item q Security Item q …

Work

SDL Checklist

A B C DAgile Implementation

Security Info and Tool

Repository

Agile Teams

Security

Page 33: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

33

The SDL is our Security Emulsifier.

So how do we get one?

Page 34: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

34

Timeout for Checklists

•  Not checklist management •  Used in complex or high pressure situations •  Doctors, astronauts, pilots - ScrumMasters

Acts as a reminder but also gives you sequence and may also give you alternate paths

Page 35: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

OpenSAMM Open Software Assurance Maturity Model

•  Four major functions •  Each function has three practices •  Each practice has multiple activities

•  Assess the organization’s maturity •  Build a security program •  Define and measure security

activities •  Built in metrics and measures

Page 36: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

SAMM Functions

Page 37: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

SAMM Practice

Page 38: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Each Practice has Maturity Levels

Page 39: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

Activity – SR 1 A

Page 40: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

40

Methodologies may vary

Page 41: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

41

Phases

Inception At the beginning before creation begins – usually once per project

Iteration One or more times

Release Something is produced, may be production or even pre-production

External Outside iterations or releases – maybe in parallel

Page 42: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

42

Activities

Inception •  Training

•  Vuln management

•  Security contacts

•  Risk assessment

Iteration •  NFR for security

•  Attacker profile

•  Security stories

•  Static code analysis

•  Security architecture

Release •  Document deployment

•  Document DR

•  Penetration testing

External •  Vendor assessment

•  3rd-party service creation

Page 43: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

43

Atypical SDL Activities

•  Role engineering •  Access Control requests •  Access Control models •  Integration of application level security •  Privacy requirements •  Customer requirements •  Disaster Recovery design and

documentation •  Security Poker •  Security Stories •  Security Retrospective •  Security Spikes

Many lifecycles are just concerned with the core security testing/coding. Real security is much

larger than that.

Page 44: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

44

Page 45: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

45

Security Owner

•  Is a single person with a role

•  The contact for security concerns

•  The SDL subject matter expert for the team

•  Keeper of the List

•  Is accountable for security activities and artifacts

Page 46: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

46

Wiki – You Got What I Need

You Need •  Flexible but smart pages

•  Knowledgebase

•  Easy access and update

•  Searchable

•  Expandable repository

Wiki’s Got •  Crowdsourcing driven

•  As many pages as you need

•  Document as you go

•  Easy formatting

•  History/version for each page

•  Categories and tags

•  Easy relationship linking

Page 47: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

47

•  Involve stakeholders (developers, product owners, compliance)

•  Read OpenSAMM materials •  Determine your current assurance

maturity level •  Determine your target level •  Determine actions needed to reach your

target •  Work with your audit/controls department

on what they may need •  Assign an owner for each action •  Build your basic Wiki with your primary

actions •  Build a list of current tools •  Build a list of current standards and

guidelines •  Begin a list of missing tools, standards

and guidelines •  Use the Wiki to house knowledgebase

items

•  Educate your Security Owners (initial ones)

•  Educate your general population •  Run a pilot project where a security

member is embedded on the team •  Use feedback from pilot to streamline

actions •  Metric, track number of projects using the

SDL •  Assess through feedback whether the

actions are necessary and correct •  Add new actions that move you towards

your assurance target •  Rinse and repeat

The Real Implementation List

Page 48: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

48

Goals for Agile and Security

Security Development Lifecycle

ENABLE with knowledge and process SCALE security with enabled people ASSURE with enablement and scale

Page 49: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

49

OpenSDL

The OpenSDL is an Open Security Development Lifecycle that can be used an example or as a starting point to build out a modern SDL. It is based on OWASP work and sits on top of a community driven platform. Please take a look. The home site has a more detailed explanation.

http://www.opensdl.com

Page 50: Agile and Security. Oil and Water? - secretchipmunk.com · Agile Operating Model 6 Agile Overview Agile Teams Attributes Coordination Team Support/Infrastructure Security Expert •

50

Agile and Security. Oil and Water?

Ron Parker @scmunk http://www.secretchipmunk.com

Thanks!