team with devops transform your security · open and clear communication – ensuring that the team...

69
© Copyright 2018 Pivotal Software, Inc. All rights Reserved. Version 1.0 Paul Czarkowski @pczarkowski Transform your Security Team with DevOps

Upload: others

Post on 21-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

© Copyright 2018 Pivotal Software, Inc. All rights Reserved. Version 1.0

Paul Czarkowski@pczarkowski

Transform your Security Team with DevOps

Page 2: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

© Copyright 2018 Pivotal Software, Inc. All rights Reserved. Version 1.0

Paul Czarkowski@pczarkowski

Transform your DevOps Practice with Security

Page 3: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 4: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Cover w/ Image

Agenda

■ Who I Am

■ Compliance

■ DevOps

■ DevOps + Compliance

■ Q+A

Page 5: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Compliance ?

Page 6: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

What is Compliance ?

Self Imposed

● CIS Controls / Benchmarks

● Security Technical Implementation Guide (STIG)

● Allowed opensource licenses

Regulatory

● PCI (US)

● HIPAA (US)

● Sarbanes-Oxley (US)

● EU GDPR

● NZ Information Security Manual (NZISM)

Page 7: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Verification

Validation of compliance based onControls in place.

● Checklists● External Auditors

Checklists

Practice, Policy or Procedure established to meet compliance

requirements.

● Spreadsheets● Checklists● Sharepoint Pages

Specifications

Documentation of requirements that need to be met in order to be

compliant.

● PDFs● Verbose

Compliance Controls Audit

Page 8: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Example of Compliance Specifications

Page 9: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Example of Compliance Specifications

Page 10: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 11: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

ComplianceOfficer Operations Security

Officer Auditor

Page 12: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

DevOps

Page 13: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 14: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 15: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 16: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 17: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 18: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 19: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

http://blog.d2-si.fr/2016/02/22/devopsconnection/

Page 20: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 21: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Rugged DevOps

DevSecOps

Secure DevOps

Page 22: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

https://www.devsecopsdays.com/articles/its-just-a-name

Page 23: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 24: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 25: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

DevOps + Compliance

Page 26: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Embedded OS(Windows & Linux)

NSX-T

CPI (15 methods)

v1

v2

v3...

CVEs

Product UpdatesJava | .NET | NodeJS

Pivotal Application Service (PAS)

Application Code & Frameworks Buildpacks | Spring Boot | Spring Cloud |

Steeltoe

Elastic | Packaged Software | Spark

Pivotal Container Service (PKS)

>cf push >kubectl run

YOU build the containerWE build the container

vSphereAzure &

Azure StackGoogle CloudAWSOpenstack

PivotalNetwork

“3Rs”

Github

Concourse

Concourse

Pivotal ServicesMarketplace

Pivotal and Partner Products

Continuousdelivery

Public Cloud Services

Customer Managed Services

Ope

n S

ervi

ce B

roke

r A

PI

Repair — CVEs

Repave Rotate — Credhub

Page 27: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

PIVOTAL CLOUD FOUNDRY OPS

Powered by BOSH

BOSH is an open source tool for release engineering, deployment, lifecycle management, and monitoring of distributed systems.

BOSHPackaging w/ embedded OS

Server provisioning on any IaaS

Software deployment across availability zones

Health monitoring (server AND processes)

Self-healing w/ Resurrector

Storage management

Rolling upgrades via canaries

Easy scaling of clusters

Page 28: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

PIVOTAL CLOUD FOUNDRY OPS

Powered by BOSH

BOSH is an open source tool for release engineering, deployment, lifecycle management, and monitoring of distributed systems.

BOSHPackaging w/ embedded OS

Server provisioning on any IaaS

Software deployment across availability zones

Health monitoring (server AND processes)

Self-healing w/ Resurrector

Storage management

Rolling upgrades via canaries

Easy scaling of clusters

Page 29: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

PIVOTAL CLOUD FOUNDRY OPS

Powered by BOSH

BOSH is an open source tool for release engineering, deployment, lifecycle management, and monitoring of distributed systems.

BOSHPackaging w/ embedded OS

Server provisioning on any IaaS

Software deployment across availability zones

Health monitoring (server AND processes)

Self-healing w/ Resurrector

Storage management

Rolling upgrades via canaries

Easy scaling of clusters

Page 30: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 31: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 32: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 33: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 34: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 35: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 36: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 37: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Culture

Page 38: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 39: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Adopting a DevOps culture

Despite varying approaches to describing high-performance teams there is a set of common characteristics that are recognised to lead to success.

● Participative leadership – using a democratic leadership style that involves and engages team members● Effective decision-making – using a blend of rational and intuitive decision making methods, depending on that

nature of the decision task● Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective

communication methods and channels● Valued diversity – valuing a diversity of experience and background in team, contributing to a diversity of

viewpoints, leading to better decision making and solutions● Mutual trust – trusting in other team members and trusting in the team as an entity● Clear goals – goals that are developed using SMART criteria; also each goal must have personal meaning and

resonance for each team member, building commitment and engagement● Defined roles and responsibilities – each team member understands what they must do (and what they must not

do) to demonstrate their commitment to the team and to support team success● Positive atmosphere – an overall team culture that is open, transparent, positive, future-focused and able to

deliver success

https://en.wikipedia.org/wiki/High-performance_teams

Page 40: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Lean

Page 41: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

https://imgur.com/gallery/kMJWs

Page 42: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

https://www.slideshare.net/KarenMartinGroup/value-stream-mapping-in-office-service-setttings

Page 43: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Mappable Processes that include Security / Compliance

Application Release

● Vulnerability Scanning

● Security Scanning (sql injection etc)

● License Scanning

● Attribution

Compliance Audits

● Vulnerability Scanning

● Security Scanning (sql injection etc)

● Package updates

● OS inspection

Infrastructure Provisioning

● OS Hardening

● Firewalling

● User Management

● Remote logging and auditing

● Intrusion Detection

● Vulnerability Scanning

Page 44: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Value Stream map for Provisioning a New Server

Current State

PrepareRequest

Network/ VLANs

Launch VM/ Install OS

Test Compliance Deliver

1-5days

1-5days

1-5days

1-5days

1-2days

1-2days

1-2days

1-2days

Page 45: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Value Stream map for Provisioning a New Server

Future State

Deploy VM

ConfigureVM

Test Compliance Deliver

1-5days

1-5days

1-5days

1-2hours

1-2hours

1-2Hours

Page 46: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Value Stream map for Provisioning a New Server

Future State

Page 47: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 48: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Automation

Page 49: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 50: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

● Implements STIG controls via Ansible playbooks● Opensource project started at Rackspace● Plays well with existing config management● Easily override problematic controls

● Extends RSPEC for Compliance testing● Similar to Serverspec, but better.● Easy to go from serverspec to inspec● Inspec-STIG is all of STIG already written into

inspec tests.

Page 51: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Source: @petecheslock

Page 52: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Example of Compliance Specifications

Page 53: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 54: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 55: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 56: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 57: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 58: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 59: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 60: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 61: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Measurement

Page 62: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 63: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 64: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Sharing

Page 65: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels
Page 66: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

What’s Next ?

Page 67: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Other Security / Compliance tools

● Gauntlt ( Security Testing Framework )

● Metasploit ( Penetration Testing)

● Syntribos ( API security testing)

● Pivotal LicenseFinder ( Scanning licenses of dependencies )

● Snort ( Intrusion Detection )

● Fossology ( license compliance )

● OpenVAS ( vulnerability scanning )

● OSSEC ( Intrustion Detection )

Page 68: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Questions ?

Page 69: Team with DevOps Transform your Security · Open and clear communication – ensuring that the team mutually constructs shared meaning, using effective communication methods and channels

Transforming How The World Builds Software

© Copyright 2018 Pivotal Software, Inc. All rights Reserved.