SlideShare a Scribd company logo
A DevOps State of Mind:
Continuous Security with
DevSecOps + Containers
Chris Van Tuin
Chief Technologist, NA West / Silicon Valley
cvantuin@redhat.com
β€œOnly the Paranoid Survive”
- Andy Grove, 1998
Retail Finance Media
Transportation
?
?
SOFTWARE DISRUPTS BUSINESS
DEV QA OPS
Walled off people, walled off processes, walled off technologies
β€œTHROW IT OVER THE WALL”
Time to Value
Months to
Years
Weeks and
Months
Days
and
Weeks
IT MUST EVOLVE TO STAY AHEAD OF DEMANDS
DevOpsDaysRiga 2017: Chris Van Tuin - A DevOps State of Mind: Continuous Security with DevSecOps + Containers
DevOpsDaysRiga 2017: Chris Van Tuin - A DevOps State of Mind: Continuous Security with DevSecOps + Containers
DEV QA OPS
Open organization + 

cross-functional teams
Software factory
automation
Linux + Containers
IaaS
Orchestration
CI/CD
Source Control Management
Collaboration
Build and Artifact Management
Testing
Frameworks
OpenSource
CI/CD pipelines
with feedback
Culture Process Technology
+ +
BREAKING DOWN THE WALLS WITH DEVOPS
DEV QA OPS
SECURITY IS AN AFTERTHOUGHT
| SECURITY |
β€œPatch?
The servers are behind the firewall.”
- Anonymous (far too many to name), 2005 - …
http://www.informationisbeautiful.net/visualizations/worlds-biggest-data-breaches-hacks/
DevSecOps
End to End Security
+ +
SECURITY
DEV
QA OPS
Linux + Containers
IaaS
Orchestration
CI/CD
Source Control Management
Collaboration
Build and Artifact Management
Testing
Frameworks
OpenSource
Culture Process Technology
APPLICATION DELIVERY VIA CONTAINERS
docker.io
RegistryPrivate
RegistryRed Hat
Certified
FROM fedora:latest
CMD echo β€œHello”
Build file
Physical, Virtual, Cloud
Image Container
Build RunShip
CONTAINERS: BUILD, SHIP, RUN
Scheduling Monitoring
Persistence
DiscoveryLifecycle & health
Scaling Aggregation Security
MORE THAN CONTAINERS…
DevSecOps
End to End Security
+ +
<β€”β€”β€”β€”β€”β€”β€” SECURITY β€”β€”β€”β€”β€”β€”β€”>
DEV
QA OPS
4
● Are there known vulnerabilities in
the application layer?
● Are the runtime and OS layers up
to date?
● How frequently will the container
be updated and how will I know
when it’s updated?
CONTENT: EACH LAYER MATTERS
CONTAINER
OS
RUNTIME
APPLICATION
Are there known vulnerabilities 

in each application layer?
Are the runtime and OS layers 

up to date?
How frequently will the container
be updated and how will I know
when its updated?
IS THE CONTAINER ENVIRONMENT SECURE?
Is the image from a trusted source?
Can I quickly deploy a security update at scale?
Is my multi-tenant host secure?
Container
host
Network
isolation
Storage
API & Platform
access
Monitoring &
Logging
Federated
clusters
Registry
{}
Builds CI/CDImages
SECURING CONTAINERS
CONTAINER HOST SECURITY
RHEL Kernel
Hardware (Intel, AMD) or Virtual Machine
Containers ContainersContainers
Unit File
Docker
Image
DOCKER CLI
SYSTEMD
Cgroups Namespaces SELinux
Drivers
CONTAINERS ARE LINUX
Hardware (Intel, AMD) or Virtual Machine
Containers ContainersContainers
Unit File
Docker ImageKUBERNETES / DOCKER
SYSTEMD
Cgroups Namespaces SELinux
Drivers
Best Practices
β€’ Don’t run as root
β€’ Limit SSH Access
β€’ Use namespaces
β€’ Define resource quotas
β€’ Enable logging
β€’ Apply Security Errata
β€’ Apply Security Context
and seccomp filters
http://blog.kubernetes.io/2016/08/security-best-practices-kubernetes-deployment.html
seccomp
CONTAINER HOST SECURITY
CONTAINER IMAGE SECURITY
4
● Are there known vulnerabilities in
the application layer?
● Are the runtime and OS layers up
to date?
● How frequently will the container
be updated and how will I know
when it’s updated?
CONTENT: EACH LAYER MATTERS
CONTAINER
OS
RUNTIME
APPLICATION
CONTENT: EACH LAYER MATTERS
AYER MATTERS
CONTAINER
OS
RUNTIME
APPLICATION
JAR CONTAINER
A CONVERGED SOFTWARE SUPPLY CHAIN
DevOpsDaysRiga 2017: Chris Van Tuin - A DevOps State of Mind: Continuous Security with DevSecOps + Containers
code config data
Kubernetes
configmaps
secrets
Container
image
Traditional 

data services,
Kubernetes 

persistent volumes
TREAT CONTAINERS AS IMMUTABLE
IMAGE SIGNING
Validate what images and version are running
CONTAINER REGISTRY SECURITY
64% of official images in Docker Hub 

contain high priority security vulnerabilities
examples:
ShellShock (bash)
Heartbleed (OpenSSL)
Poodle (OpenSSL)
Source: Over 30% of Official Images in Docker Hub Contain High Priority Security Vulnerabilities, Jayanth Gummaraju, Tarun Desikan, and Yoshio Turner, BanyanOps,
May 2015 (http://www.banyanops.com/pdf/BanyanOps-AnalyzingDockerHub-WhitePaper.pdf)
WHAT’S INSIDE THE CONTAINER MATTERS
PRIVATE REGISTRY
CI WITH CONTAINERS
CI/CD with Security
FROM fedora:latest
CMD echo β€œHello”
Build file
Build
Best Practices
β€’ Treat as a Blueprint
β€’ Don’t login to build/configure
β€’ Version control build file
β€’ Be explicit with versions, not latest
β€’ Each Run creates a new layer
BUILDS
Security
CONTINUOUS INTEGRATION WITH SECURITY SCAN
CUSTOM SUPPLY CHAIN
Compliance and Vulnerability Audits
with OpenSCAP
AUTOMATED SECURITY SCANNING with OpenSCAP
ReportsScan
SCAP Security
Guide
for RHEL
CCE-27002-5
Set Password Minimum
Length
Content
Scan physical servers, virtual machines, docker images and containers

for Security Policy Compliance (CCEs) and known Security Vulnerabilities (CVEs)
Standard Docker Host Security Profile
Java Runtime Environment (JRE)
Upstream Firefox STIG
RHEL OSP STIG
Red Hat Corporate Profile for Certified Cloud Providers (RH CCP)
STIG for Red Hat Enterprise Linux 6, 7 Server
STIG for Red Hat Virtualization Hypervisor
Common Profile for General-Purpose Debian Systems
Common Profile for General-Purpose Fedora Systems
Common Profile for General-Purpose Ubuntu Systems
Payment Card Industry – Data Security Standard (PCI-DSS) v3
U.S. Government Commercial Cloud Services (C2S)
CNSSI 1253 Low/Low/Low Control Baseline for Red Hat Enterprise Linux 7
Criminal Justice Information Services (CJIS) Security Policy
Unclassified Information in Non-federal Information Systems and Organizations (NIST 800-171)
U.S. Government Configuration Baseline (NIAP OSPP v4.0, USGCB, STIG)
Security Policies in SCAP Security Guide (partial)
SECURITY POLICY REPORT
SECURITY POLICY REMEDIATION
SECURITY VULNERABILITY REPORT
CD WITH CONTAINERS
CD with Security
CONTINUOUS DEPLOYMENT WITH CONTAINERS
CONTINUOUS DELIVERY DEPLOYMENT STRATEGIES
DEPLOYMENT STRATEGIES
β€’ Blue / Green deployment
β€’ Rolling updates
β€’ Canary deployments
β€’ A / B testing
Version 1
BLUE / GREEN DEPLOYMENT
Route
Version 1
BLUE / GREEN DEPLOYMENT
Version 1.2
Version 1 Tests / CI
BLUE / GREEN DEPLOYMENT
Version 1.2
Version 1 Version 1.2
BLUE / GREEN DEPLOYMENT
Route
Version 1.2
Version 1
BLUE / GREEN DEPLOYMENT
Rollback
Route
Version 1.2
Version 1 Version 1Version 1
Version 1.2
`
Tests / CI
ROLLING UPDATES with ZERO DOWNTIME
Deploy new version and wait until it’s ready…
Version 1 Version 1 V1.2
Health Check:
Readiness 

Probe
e.g. tcp, http, script
V1
Each container/pod is updated one by one
Version 1.2
50%
Version 1 V1 V1.2
Each container/pod is updated one by one
Version 1.2Version 1.2Version 1.2
100%
Container
host
Network
isolation
Storage
API & Platform
access
Monitoring &
Logging
Federated
clusters
Registry
{}
Builds CI/CDImages
SECURING CONTAINERS
Deployment
Frequency
Lead
Time
Deployment

Failure Rate
Mean Time
to Recover
99.999
Service
Availability
DEVSECOPS METRICS
Compliance
Score
THANK YOU
linkedin: Chris Van Tuin
email: cvantuin@redhat.com
twitter: @chrisvantuin

More Related Content

PPTX
Q Con New York 2015 Presentation - Conjur
PDF
Securing your Container Environment with Open Source
PDF
PLNOG 5: Eric Ziegast, Zbigniew Jasinski - DNSSEC
PDF
Here Be Dragons: Security Maps of the Container New World
PPTX
Secure development on Kubernetes by Andreas Falk
PDF
Как Ρ€Π°Π·Π²Π΅Ρ€Π½ΡƒΡ‚ΡŒ ΠΊΠ°ΠΌΠΏΡƒΡΠ½ΡƒΡŽ ΡΠ΅Ρ‚ΡŒ Cisco Π·Π° 10 ΠΌΠΈΠ½ΡƒΡ‚? НовыС Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ для Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚...
PDF
(03 2013) guide to kali linux
PDF
Новая эра ΠΊΠΎΡ€ΠΏΠΎΡ€Π°Ρ‚ΠΈΠ²Π½Ρ‹Ρ… сСтСй с Cisco Catalyst 9000 ΠΈ Π΄Ρ€ΡƒΠ³ΠΈΠ΅ ΠΈΠ½Π½ΠΎΠ²Π°Ρ†ΠΈΠΈ для ΠΌΠ°...
Q Con New York 2015 Presentation - Conjur
Securing your Container Environment with Open Source
PLNOG 5: Eric Ziegast, Zbigniew Jasinski - DNSSEC
Here Be Dragons: Security Maps of the Container New World
Secure development on Kubernetes by Andreas Falk
Как Ρ€Π°Π·Π²Π΅Ρ€Π½ΡƒΡ‚ΡŒ ΠΊΠ°ΠΌΠΏΡƒΡΠ½ΡƒΡŽ ΡΠ΅Ρ‚ΡŒ Cisco Π·Π° 10 ΠΌΠΈΠ½ΡƒΡ‚? НовыС Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ для Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚...
(03 2013) guide to kali linux
Новая эра ΠΊΠΎΡ€ΠΏΠΎΡ€Π°Ρ‚ΠΈΠ²Π½Ρ‹Ρ… сСтСй с Cisco Catalyst 9000 ΠΈ Π΄Ρ€ΡƒΠ³ΠΈΠ΅ ΠΈΠ½Π½ΠΎΠ²Π°Ρ†ΠΈΠΈ для ΠΌΠ°...

What's hot (19)

PDF
Open network architecture e book
PDF
BASIC OVERVIEW OF KALI LINUX
PDF
Hardening Linux and introducing Securix Linux
PPTX
How far is too far? The Hybrid Cloud Distance Factor
Β 
PPTX
Open source security tools for Kubernetes.
PPTX
Cloud Platform Symantec Meetup Nov 2014
PDF
Coscup2018 itri android-in-cloud
PDF
Take a step forward from user to maintainer or developer in open source secur...
Β 
PDF
SecPod: A Framework for Virtualization-based Security Systems
PDF
FOSE 2011: DNSSEC and the Government, Lessons Learned
PPTX
DevSecOps: Security With DevOps
PDF
Monitoring & Securing Microservices in Kubernetes
PDF
Webinar NETGEAR - Acronis e Netgear - Soluzione per le Aziende
PPTX
Full disclosure-vulnerabilities
PDF
Containers in depth – Understanding how containers work to better work with c...
PPTX
Bandit and Gosec - Security Linters
DOCX
AndrianinaSystemNetworkAdmin
PPTX
OpenStack Security Project
PPTX
Azure conf mm_wa_mese_ol
Open network architecture e book
BASIC OVERVIEW OF KALI LINUX
Hardening Linux and introducing Securix Linux
How far is too far? The Hybrid Cloud Distance Factor
Β 
Open source security tools for Kubernetes.
Cloud Platform Symantec Meetup Nov 2014
Coscup2018 itri android-in-cloud
Take a step forward from user to maintainer or developer in open source secur...
Β 
SecPod: A Framework for Virtualization-based Security Systems
FOSE 2011: DNSSEC and the Government, Lessons Learned
DevSecOps: Security With DevOps
Monitoring & Securing Microservices in Kubernetes
Webinar NETGEAR - Acronis e Netgear - Soluzione per le Aziende
Full disclosure-vulnerabilities
Containers in depth – Understanding how containers work to better work with c...
Bandit and Gosec - Security Linters
AndrianinaSystemNetworkAdmin
OpenStack Security Project
Azure conf mm_wa_mese_ol
Ad

Similar to DevOpsDaysRiga 2017: Chris Van Tuin - A DevOps State of Mind: Continuous Security with DevSecOps + Containers (20)

PDF
The Sysdig Secure DevOps Platform
PPTX
The How and Why of Container Vulnerability Management
PPTX
The How and Why of Container Vulnerability Management
PDF
Dockercon eu tour 2015 - Devoxx Casablanca
PDF
Containers - Portable, repeatable user-oriented application delivery. Build, ...
PDF
2008-09-09 IBM Interaction Conference, Red Hat Update for System z
PDF
Frictionless Application Development: Radically Change How You Secure and Mo...
PPTX
SQL Server 2017 on Linux Introduction
PDF
Transforming Application Delivery with PaaS and Linux Containers
PDF
Docker security introduction-task-2016
PDF
2008-07-30 IBM Teach the Teacher (IBM T3), Red Hat Update for System z
PDF
Inside Triton, July 2015
PPTX
Executive Briefing: The Why, What, and Where of Containers
Β 
PDF
Bridging The Cloud and Application Security Gaps Meetup 15102024
PPTX
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
PDF
5 Ways to Secure Your Containers for Docker and Beyond
PDF
DELLEMC_Portfolio_hyperlinks_Complete
PPTX
Open Source Security Tools for Big Data
PPTX
Open Source Security Tools for Big Data
PPTX
Docker - Demo on PHP Application deployment
The Sysdig Secure DevOps Platform
The How and Why of Container Vulnerability Management
The How and Why of Container Vulnerability Management
Dockercon eu tour 2015 - Devoxx Casablanca
Containers - Portable, repeatable user-oriented application delivery. Build, ...
2008-09-09 IBM Interaction Conference, Red Hat Update for System z
Frictionless Application Development: Radically Change How You Secure and Mo...
SQL Server 2017 on Linux Introduction
Transforming Application Delivery with PaaS and Linux Containers
Docker security introduction-task-2016
2008-07-30 IBM Teach the Teacher (IBM T3), Red Hat Update for System z
Inside Triton, July 2015
Executive Briefing: The Why, What, and Where of Containers
Β 
Bridging The Cloud and Application Security Gaps Meetup 15102024
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
5 Ways to Secure Your Containers for Docker and Beyond
DELLEMC_Portfolio_hyperlinks_Complete
Open Source Security Tools for Big Data
Open Source Security Tools for Big Data
Docker - Demo on PHP Application deployment
Ad

More from DevOpsDays Riga (20)

PDF
DevOpsDaysRiga 2017: Mark Smalley - Kill DevOps
PDF
DevOpsDaysRiga 2018: Serhat Can - The Rocky Path to Migrating Production Appl...
PPTX
DevOpsDaysRiga 2018: Uldis Karlovs-Karlovskis - DevOpsDays Ignite Karaoke - S...
PDF
DevOpsDaysRiga 2018: Anton Babenko - What you see is what you get… for AWS in...
PDF
DevOpsDaysRiga 2018: Juris Puce - GDPR and other security regulation imposed ...
PPTX
DevOpsDaysRiga 2018: Heather Wild - Keep Yourself Alive -Stopping the effects...
PDF
DevOpsDaysRiga 2018: Philipp Krenn - Building Distributed Systems in Distribu...
PPTX
DevOpsDaysRiga 2018: Antonio Pigna - Put the brAIn into your DevOps workflow
PPTX
DevOpsDaysRiga 2018: Christina Aldan - Fearing the Robot Overlords
PDF
DevOpsDaysRiga 2018: Jan de Vries - Realising the power of antifragility is l...
PDF
DevOpsDaysRiga 2018: Ken Mugrage - DevOps and DevOpsDays - Where it started, ...
PDF
DevOpsDaysRiga 2018: Matty Stratton - How Do You Infect Your Organization Wit...
PDF
DevOpsDaysRiga 2018: Eric Skoglund, Lars Albertsson - Kubernetes as data plat...
PPTX
DevOpsDaysRiga 2018: Jon Hall - DevOps in the enterprise: how "swarming" can ...
PDF
DevOpsDaysRiga 2018: Stas Zvinyatskovsky - Transformation: how big can you dr...
PDF
DevOpsDaysRiga 2018: Joep Piscaer - Reducing inertia with Public Cloud and Op...
PDF
DevOpsDaysRiga 2018: Andrey Adamovich - DevOps Transformations: Tools vs Culture
PDF
DevOpsDaysRiga 2018: Thiago de Faria - Chaos while deploying ML and making su...
PDF
DevOpsDaysRiga 2018: Anton Arhipov - Build pipelines with TeamCity
PDF
DevOpsDaysRiga 2018: Neil Crawford - Trunk based development, continuous depl...
DevOpsDaysRiga 2017: Mark Smalley - Kill DevOps
DevOpsDaysRiga 2018: Serhat Can - The Rocky Path to Migrating Production Appl...
DevOpsDaysRiga 2018: Uldis Karlovs-Karlovskis - DevOpsDays Ignite Karaoke - S...
DevOpsDaysRiga 2018: Anton Babenko - What you see is what you get… for AWS in...
DevOpsDaysRiga 2018: Juris Puce - GDPR and other security regulation imposed ...
DevOpsDaysRiga 2018: Heather Wild - Keep Yourself Alive -Stopping the effects...
DevOpsDaysRiga 2018: Philipp Krenn - Building Distributed Systems in Distribu...
DevOpsDaysRiga 2018: Antonio Pigna - Put the brAIn into your DevOps workflow
DevOpsDaysRiga 2018: Christina Aldan - Fearing the Robot Overlords
DevOpsDaysRiga 2018: Jan de Vries - Realising the power of antifragility is l...
DevOpsDaysRiga 2018: Ken Mugrage - DevOps and DevOpsDays - Where it started, ...
DevOpsDaysRiga 2018: Matty Stratton - How Do You Infect Your Organization Wit...
DevOpsDaysRiga 2018: Eric Skoglund, Lars Albertsson - Kubernetes as data plat...
DevOpsDaysRiga 2018: Jon Hall - DevOps in the enterprise: how "swarming" can ...
DevOpsDaysRiga 2018: Stas Zvinyatskovsky - Transformation: how big can you dr...
DevOpsDaysRiga 2018: Joep Piscaer - Reducing inertia with Public Cloud and Op...
DevOpsDaysRiga 2018: Andrey Adamovich - DevOps Transformations: Tools vs Culture
DevOpsDaysRiga 2018: Thiago de Faria - Chaos while deploying ML and making su...
DevOpsDaysRiga 2018: Anton Arhipov - Build pipelines with TeamCity
DevOpsDaysRiga 2018: Neil Crawford - Trunk based development, continuous depl...

Recently uploaded (20)

PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PDF
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
PPT
tcp ip networks nd ip layering assotred slides
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
Β 
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
Funds Management Learning Material for Beg
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
artificial intelligence overview of it and more
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
DOCX
Unit-3 cyber security network security of internet system
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
Β 
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
Sims 4 Historia para lo sims 4 para jugar
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Slides PDF The World Game (s) Eco Economic Epochs.pdf
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
tcp ip networks nd ip layering assotred slides
Triggering QUIC, presented by Geoff Huston at IETF 123
Β 
Introuction about ICD -10 and ICD-11 PPT.pptx
Funds Management Learning Material for Beg
An introduction to the IFRS (ISSB) Stndards.pdf
artificial intelligence overview of it and more
WebRTC in SignalWire - troubleshooting media negotiation
PptxGenJS_Demo_Chart_20250317130215833.pptx
international classification of diseases ICD-10 review PPT.pptx
Unit-3 cyber security network security of internet system
Unit-1 introduction to cyber security discuss about how to secure a system
RPKI Status Update, presented by Makito Lay at IDNOG 10
Β 
Cloud-Scale Log Monitoring _ Datadog.pdf
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Sims 4 Historia para lo sims 4 para jugar
SAP Ariba Sourcing PPT for learning material
Decoding a Decade: 10 Years of Applied CTI Discipline

DevOpsDaysRiga 2017: Chris Van Tuin - A DevOps State of Mind: Continuous Security with DevSecOps + Containers