SlideShare a Scribd company logo
To m D u c k e r i n g & P a t D o w n e y
SECURING THE PIPELINE
Ideas, practices and food for thought to improve the
security surrounding regular delivery of software to
production.
WHO ARE WE AND WHAT DO WE KNOW?
2
Dev OpsTom
& Pat
WHO ARE WE AND WHAT DO WE KNOW?
3
Dev Ops
Sec
Tom
& Pat
WHAT HAVE WE SEEN?
4
Insecure
& Fast
“Over secure”
& Slow
WHAT HAPPENS IN HERE?
5
User accounts

Secure coding

Algorithm choice
Penetration

testing
What about
the pipeline!?
YOUR BUILD SYSTEM
IS PRODUCTION!
6
SECURING THE
PIPELINE
From head to tail
7
PIPELINE
8
Workstation
Code
Repo
CI Server
Build
Agent
Deploy
Agent
Pkg
Repo
Local
Cache
Prod.
Staging
QA
3rd party
code
Devs
PIPELINE
9
Workstation
Code
Repo
CI Server
Build
Agent
Deploy
Agent
Pkg
Repo
Local
Cache
Prod.
Staging
QA
3rd party
code
Devs
SHARED ACCOUNTS
10
Pa$$w0rd2015
SECURE WORKSTATIONS
11
WHO COMMITED?
12
commit 4698b247268f053299230843dd1ae68e4d15a7e3
Author: You can put anything here <mickey.mouse@foo.com>
Date: Mon Jul 6 16:23:06 2015 +0100
#837: Send logs via syslog
Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua. At vero eos et
accusam et justo duo dolores et ea rebum. Stet clita kasd
gubergren, no sea takimata sanctus est.
KEYS OR PASSWORDS?
13
USE HTTPS OR SSH
14
There’s simply no good reason not to.
CENTRALISED CONTROL
15
Code Repo User Directory
PIPELINE
16
Workstation
Code
Repo
CI Server
Build
Agent
Deploy
Agent
Pkg
Repo
Local
Cache
Prod.
Staging
QA
3rd party
code
Devs
HOW MUCH IS *YOUR* CODE?
17
WHERE TO START?
18
Use modelling and threat analysis to prioritise the susceptible
Discover what you depend on
Assess the origin of that code for maturity of security practices
PIPELINE
19
Workstation
Code
Repo
CI Server
Build
Agent
Deploy
Agent
Pkg
Repo
Local
Cache
Prod.
Staging
QA
3rd party
code
Devs
CI SERVER & IT’S AGENTS
20
It’s a remote execution problem
Separate agents to avoid compromises
Isolate builds using chroots and containers
PIPELINE
21
Workstation
Code
Repo
CI Server
Build
Agent
Deploy
Agent
Pkg
Repo
Local
Cache
Prod.
Staging
QA
3rd party
code
Devs
PACKAGING
22
Use package system facilities to verify and sign code
But lots of them need “root” :(
Containers and unikernels offer a possible approach
But they’re immature in other ways :(
PIPELINE
23
Workstation
Code
Repo
CI Server
Build
Agent
Deploy
Agent
Pkg
Repo
Local
Cache
Prod.
Staging
QA
3rd party
code
Devs
DEPLOYMENT EXECUTION
24
Deploy
Agent
Web
Server
Service A
Data
Store
Service B
Service C
Push deployments with:
automated key based ssh!
and rights to install as root!
to all machines!
Limit the commands (e.g. via
sudo and ssh)
Consider a notification and pull
based approach
KEEPING SECRETS
25
KEY, CERT & SECRET MANAGEMENT
26
Secrets required for credentials
Try to use PKI where you can
If it has to be a password then
encrypt them per environment.
Try not to move private keys
Plan for rotation
There’s a chaining problem. It’s
hard.
CONTROL VS. AUDIT
27
CONTROL VS. AUDIT
28
Stop bad thing from being possible Know when a bad thing happened
Impact of the threat is
greater than impact on
productivity
Productivity impacted
too much to stop it
completely
Need to know
immediately
Acceptable to know
afterwards
THE “NSA” WAY
29
Log all the things
Alert on bad things
Look for patterns
Tell everyone that you’re doing it (unlike the NSA)
COMPLIANCE
30
SEGREGATION OF DUTIES
31
Not always explicitly mandated so RTFM
Good principle: “no single person…”
Bring it forward in the pipeline with pairing, PRs and code reviews
HOW TO GET THERE?
32
HOW TO GET THERE?
33
Dev Sec Ops
Collaborative
Goal
HOW TO GET THERE?
34
Structured & Objective
HOW TO GET THERE?
35
No Silver Bullet.
Hard things still hard
QUESTIONS?
36
Tom Duckering 

tduckeri@thoughtworks.com
@tomduckering


Pat Downey 

pdowney@thoughtworks.com
@pat_downey
THANK YOU

More Related Content

PDF
ThoughtWorks Technology Radar Roadshow - Brisbane
Thoughtworks
 
PDF
[muCon2017]DevSecOps: How to Continuously Integrate Security into DevOps
Daniel Oh
 
PDF
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
VMware Tanzu
 
PDF
Jenkins in the real world - DevOpsCon 2017
Gianluca Arbezzano
 
PDF
Embracing Observability in CI/CD with OpenTelemetry
Cyrille Le Clerc
 
PDF
Observability
Diego Pacheco
 
PDF
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Richard Bullington-McGuire
 
PPTX
DevSecOps reference architectures 2018
Sonatype
 
ThoughtWorks Technology Radar Roadshow - Brisbane
Thoughtworks
 
[muCon2017]DevSecOps: How to Continuously Integrate Security into DevOps
Daniel Oh
 
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
VMware Tanzu
 
Jenkins in the real world - DevOpsCon 2017
Gianluca Arbezzano
 
Embracing Observability in CI/CD with OpenTelemetry
Cyrille Le Clerc
 
Observability
Diego Pacheco
 
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Richard Bullington-McGuire
 
DevSecOps reference architectures 2018
Sonatype
 

What's hot (20)

PDF
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...
Puppet
 
PDF
Enterprise DevOps Series: Using VS Code & Zowe
DevOps.com
 
PDF
LFX Nov 16, 2021 - Find vulnerabilities before security knocks on your door
Eric Smalling
 
PDF
The DevSecOps Builder’s Guide to the CI/CD Pipeline
James Wickett
 
PDF
Cloud Native Engineering with SRE and GitOps
Weaveworks
 
PDF
E bpf and profilers
LibbySchulze
 
PDF
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
PDF
From Monolith to K8s - Spring One 2020
Mauricio (Salaboy) Salatino
 
PDF
Building security into the pipelines
Vandana Verma
 
PDF
MJC 2021: "Debugging Java Microservices Running on Kubernetes with Telepresence"
Daniel Bryant
 
PDF
Cloud native development without the toil
Ambassador Labs
 
PPTX
360° Kubernetes Security: From Source Code to K8s Configuration Security
DevOps.com
 
PDF
Scale DevSecOps with your Continuous Integration Pipeline
DevOps.com
 
PDF
Embacing service-level-objectives of your microservices in your Cl/CD
Nebulaworks
 
PDF
use case ibm k8s_service+devops
Shoichiro Sakaigawa
 
PDF
What is Google Cloud Good For at DevFestInspire 2021
Robert John
 
PDF
CNCF Webinar Series: "Creating an Effective Developer Experience on Kubernetes"
Daniel Bryant
 
PDF
DevSecOps What Why and How
NotSoSecure Global Services
 
PDF
Google Cloud Build - Sfeir Lunch Janvier 2019
Gaëlle Acas
 
PDF
PKI in DevOps: How to Deploy Certificate Automation within CI/CD
DevOps.com
 
PuppetConf 2016: Keynote: Pulling the Strings to Containerize Your Life - Sco...
Puppet
 
Enterprise DevOps Series: Using VS Code & Zowe
DevOps.com
 
LFX Nov 16, 2021 - Find vulnerabilities before security knocks on your door
Eric Smalling
 
The DevSecOps Builder’s Guide to the CI/CD Pipeline
James Wickett
 
Cloud Native Engineering with SRE and GitOps
Weaveworks
 
E bpf and profilers
LibbySchulze
 
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
From Monolith to K8s - Spring One 2020
Mauricio (Salaboy) Salatino
 
Building security into the pipelines
Vandana Verma
 
MJC 2021: "Debugging Java Microservices Running on Kubernetes with Telepresence"
Daniel Bryant
 
Cloud native development without the toil
Ambassador Labs
 
360° Kubernetes Security: From Source Code to K8s Configuration Security
DevOps.com
 
Scale DevSecOps with your Continuous Integration Pipeline
DevOps.com
 
Embacing service-level-objectives of your microservices in your Cl/CD
Nebulaworks
 
use case ibm k8s_service+devops
Shoichiro Sakaigawa
 
What is Google Cloud Good For at DevFestInspire 2021
Robert John
 
CNCF Webinar Series: "Creating an Effective Developer Experience on Kubernetes"
Daniel Bryant
 
DevSecOps What Why and How
NotSoSecure Global Services
 
Google Cloud Build - Sfeir Lunch Janvier 2019
Gaëlle Acas
 
PKI in DevOps: How to Deploy Certificate Automation within CI/CD
DevOps.com
 
Ad

Viewers also liked (20)

PPT
Next Generation Leadership: Integrated Talent Management for Robust Talent Pi...
National HRD Network
 
PDF
Web browsers & the realtime web
Phil Leggetter
 
PDF
Workshop The Family - Automate Your Startup
Gentlenode Studio
 
PPTX
My inspirational person english
Pao Tati
 
PDF
CaseTalk Transformations - 10 slide intro
Marco Wobben
 
DOC
Waarom schuift paleis andere schaakstukken naar voor?
Thierry Debels
 
PPT
kyle
iloveamanda
 
PPT
Build Your Confidence Muscles: Three Tips and Three Challenges
Lisa Braithwaite
 
PDF
Timmy Global Health Presentation
Matt Cummings
 
DOCX
Curriculum Vitae Gary Smith
Gary Smith
 
DOCX
Revision SD 4 SEMESTER GENAP T.P. 2015-2016 UNIT 16
Agnes Yodo
 
PPTX
Vplyv online kampaní na offline výsledky
ADMA Asociácia digitálnych marketingových agentúr
 
PDF
Bilingue si cresce - un incontro sul bilinguismo infantile
Esedra Srl
 
PPTX
Github
piyush khadse
 
PPTX
Web Tricks
Amy Jorgensen
 
PDF
Audi summary
JCDecauxUK
 
DOCX
Equipo 3 planificador aamtic con ajustes de retroalimentación version 2.
Polo Apolo
 
PDF
Griffin Farley's Beautiful Minds
Elijah Hawkins
 
PPTX
El petroleo
Maria Heredia
 
PDF
Timeline of Emerging Science & Technology
Imperial College London
 
Next Generation Leadership: Integrated Talent Management for Robust Talent Pi...
National HRD Network
 
Web browsers & the realtime web
Phil Leggetter
 
Workshop The Family - Automate Your Startup
Gentlenode Studio
 
My inspirational person english
Pao Tati
 
CaseTalk Transformations - 10 slide intro
Marco Wobben
 
Waarom schuift paleis andere schaakstukken naar voor?
Thierry Debels
 
Build Your Confidence Muscles: Three Tips and Three Challenges
Lisa Braithwaite
 
Timmy Global Health Presentation
Matt Cummings
 
Curriculum Vitae Gary Smith
Gary Smith
 
Revision SD 4 SEMESTER GENAP T.P. 2015-2016 UNIT 16
Agnes Yodo
 
Vplyv online kampaní na offline výsledky
ADMA Asociácia digitálnych marketingových agentúr
 
Bilingue si cresce - un incontro sul bilinguismo infantile
Esedra Srl
 
Web Tricks
Amy Jorgensen
 
Audi summary
JCDecauxUK
 
Equipo 3 planificador aamtic con ajustes de retroalimentación version 2.
Polo Apolo
 
Griffin Farley's Beautiful Minds
Elijah Hawkins
 
El petroleo
Maria Heredia
 
Timeline of Emerging Science & Technology
Imperial College London
 
Ad

Similar to Securing the Pipeline (20)

PDF
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
PDF
Docker In Bank Unrated
Aleksandr Tarasov
 
PPTX
Pipeline your pipelines!
Giulio Vian
 
PDF
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Weaveworks
 
PDF
TMF2014 CI-CD Workshop Michael Palotas
KJR
 
PDF
DIY Transparent Release Management_2024_07.pdf
Oleh Sklyarenko
 
PPTX
Cloud Platform Symantec Meetup Nov 2014
Miguel Zuniga
 
PPTX
AzureDay Kyiv 2016 Release Management
Sergii Kryshtop
 
PDF
the grinder testing certification
Vskills
 
PDF
Enterprise-Grade DevOps Solutions for a Start Up Budget
DevOps.com
 
PDF
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
PPTX
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
PPTX
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
PDF
Improve Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Acquia
 
PPTX
Simplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - Sydney
Abhinav Gupta
 
PDF
Deploy 22 microservices from scratch in 30 mins with GitOps
Opsta
 
PPTX
The Hacking Games - A Road to Post Exploitation Meetup - 20240222.pptx
lior mazor
 
PDF
Codecoon - A technical Case Study
Michael Lihs
 
PDF
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...
André Goliath
 
PPTX
Devops Journey - internet tech startup
Viresh Doshi
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
Docker In Bank Unrated
Aleksandr Tarasov
 
Pipeline your pipelines!
Giulio Vian
 
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Weaveworks
 
TMF2014 CI-CD Workshop Michael Palotas
KJR
 
DIY Transparent Release Management_2024_07.pdf
Oleh Sklyarenko
 
Cloud Platform Symantec Meetup Nov 2014
Miguel Zuniga
 
AzureDay Kyiv 2016 Release Management
Sergii Kryshtop
 
the grinder testing certification
Vskills
 
Enterprise-Grade DevOps Solutions for a Start Up Budget
DevOps.com
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
Improve Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Acquia
 
Simplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - Sydney
Abhinav Gupta
 
Deploy 22 microservices from scratch in 30 mins with GitOps
Opsta
 
The Hacking Games - A Road to Post Exploitation Meetup - 20240222.pptx
lior mazor
 
Codecoon - A technical Case Study
Michael Lihs
 
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...
André Goliath
 
Devops Journey - internet tech startup
Viresh Doshi
 

More from Thoughtworks (20)

PDF
Design System as a Product
Thoughtworks
 
PDF
Designers, Developers & Dogs
Thoughtworks
 
PDF
Cloud-first for fast innovation
Thoughtworks
 
PDF
More impact with flexible teams
Thoughtworks
 
PDF
Culture of Innovation
Thoughtworks
 
PDF
Dual-Track Agile
Thoughtworks
 
PDF
Developer Experience
Thoughtworks
 
PDF
When we design together
Thoughtworks
 
PDF
Hardware is hard(er)
Thoughtworks
 
PDF
Customer-centric innovation enabled by cloud
Thoughtworks
 
PDF
Amazon's Culture of Innovation
Thoughtworks
 
PDF
When in doubt, go live
Thoughtworks
 
PDF
Don't cross the Rubicon
Thoughtworks
 
PDF
Error handling
Thoughtworks
 
PDF
Your test coverage is a lie!
Thoughtworks
 
PDF
Docker container security
Thoughtworks
 
PDF
Redefining the unit
Thoughtworks
 
PPTX
Technology Radar Webinar UK - Vol. 22
Thoughtworks
 
PDF
A Tribute to Turing
Thoughtworks
 
PDF
Rsa maths worked out
Thoughtworks
 
Design System as a Product
Thoughtworks
 
Designers, Developers & Dogs
Thoughtworks
 
Cloud-first for fast innovation
Thoughtworks
 
More impact with flexible teams
Thoughtworks
 
Culture of Innovation
Thoughtworks
 
Dual-Track Agile
Thoughtworks
 
Developer Experience
Thoughtworks
 
When we design together
Thoughtworks
 
Hardware is hard(er)
Thoughtworks
 
Customer-centric innovation enabled by cloud
Thoughtworks
 
Amazon's Culture of Innovation
Thoughtworks
 
When in doubt, go live
Thoughtworks
 
Don't cross the Rubicon
Thoughtworks
 
Error handling
Thoughtworks
 
Your test coverage is a lie!
Thoughtworks
 
Docker container security
Thoughtworks
 
Redefining the unit
Thoughtworks
 
Technology Radar Webinar UK - Vol. 22
Thoughtworks
 
A Tribute to Turing
Thoughtworks
 
Rsa maths worked out
Thoughtworks
 

Recently uploaded (20)

PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Simple and concise overview about Quantum computing..pptx
mughal641
 

Securing the Pipeline