Introduction to
DevSecOps
Kunwar Atul (@kunwaratulhax0r)
root@whoami
• Kunwar Atul
• Yet another Appsec and DevSecOps Guy
• Break – Fix – Repeat
• Part time Bug Hunter
• Synack Red Team Member
• OWASP MASVS Hindi Contributor (Ongoing
Project)
• DevSecOps University Contributor
• I Love Knowing What’s Going On (emerging vulns,
tools, PoC), CTFs, Offensive Security Work, Cricket,
and no compromise with food and coffee.
• Social media- kunwaratulhax0r
What is
DevOps
• DevOps is a software development method
that highlights collaboration and open
communication between teams basically it
reduce the gap between teams.
What is DevOps
• DevOps is all about Process.
• DevOps is about Connections.
• DevOps is about Tools.
• DevOps is about Automating Everything.
• Continuous Software Delivery.
DevOps Goals
• Automated Provisioning
• No Downtime Deployments
• Monitoring
• Automated Builds and Testing
What Happens in DevOps
Automate everything using tools
 Continuous Development
 Continuous Integration
 Continuous Testing
 Continuous Deployment
 Continuous Monitoring
Finally
• Great Customer Satisfaction
• Increased Productivity
Planning Phase
• In the planning phase all the details related to
current build will be logged in the JIRA and
Yutrack.
Development Phase
• For Source Code Management we have GIT and
SVN. These tools will help us in maintaining the
code.
Build Phase
• They help you package your code into
executable files which can then be produced into
the testing environment.
Testing Phase
• For continuous testing we will use Robotic
Process Automation and some other reusability
code.
Release Phase
• For the release phase, automate tools like
bamboo are used in the releasing a build.
Deployment Phase
• After the code is tested and ready it will be
deployed into production or the non-developer
machine at this stage.
Operation Phase
• In the operation phase everything will be
monitored by using Security Incident and Event
Management (SIEM Tools) for security alerts and
misbehavior of application.
Monitor Phase
• In the monitoring phase, continuous feedbacks
will be taken from customers and will be
monitoring them.
Challenges
(Without
DevSecOps)
Challenges Without DevSecOps
• With the fast pace of development in the Agile world, there is a lack of focus on security during the
development process.
• The quality of the solution is often compromised from a security standpoint
while focusing on feature deliverables during the Agile development lifecycle.
• Further, it costs the organization's reputation when critical vulnerabilities are found in shipped solution(s).
• Customer sensitive data is compromised due to lack of security testing focus.
• A lot of manual effort in order to perform security testing can lead to a delay in uncovering critical
vulnerabilities and, further, may result in either delaying the deliverables or shipping them with unknown
vulnerabilities.
What is DevSecOps
Development
SecurityOperations
DevSecOps is a software
development concept or mindset
that aims at unifying development,
operations, and security as a single
process in SDLC.
What is DevSecOps
• Security of the CI/CD Pipeline
• Automated IAM roles, Jenkins server hardening, etc.
• Security in the CI/CD Pipeline
• Automated security tests, code analysis etc.
• Security Automation
• Automated Incident Response Remediation, forensics etc.
• DevOps = Efficiencies that speed up this lifecycle.
• DevSecOps = Validate building blocks without slowing lifecycle.
DevSecOps: How Important is it?
• Agile took us from months to days to deliver software.
• DevOps took us from months to minutes to deploy software.
• More applications are mission critical.
• Now security has become the bottleneck.
DevSecOps makes
everyone
responsible for
Security, because
Security is not
one-person job.
People: What type of Skills are
Required?
9
2.5 2.5
2.5
2.5
9
2.5
9
2.5
0
2
4
6
8
10
12
14
16
Developer Sysadmin Security Engineer
Skills Chart
Dev Sec Ops
Security
Champions
The Main Course
• Vulnerability Scans and Assessments
• Threat Modelling
• Secure Code Reviews (Static Code Analysis)
• Penetration Testing
Pushing Left, Like a Boss, Tanya Janca, DevSecCon 2018 Singapore
The Gravy
• Educating developers on Secure Coding
• Practices with workshops, talk, lessons
• Secure Coding Standards
• Responsible Disclosures
• Secure Code Library and other reference materials, creating custom tools
Pushing Left, Like a Boss, Tanya Janca, DevSecCon 2018 Singapore
The Dessert
• Bug Bounty Programs
• CTF’s
• Red Team Exercises
Pushing Left, Like a Boss, Tanya Janca, DevSecCon 2018 Singapore
DevSecOps
Pipeline for
Appsec
Best Practices for DevSecOps
• Train development teams to develop secure code.
• Track security issues the same as software issues.
• If infrastructure is now code, then security should be code.
• Integrate security controls in the software pipeline.
• Automate security test in the build process.
• Detect known vulnerabilities during the pipeline.
• Monitor security in the production for known states
• Inject failure to ensure security is hardend.
References
1
https://www.slide
share.net/Amazon
WebServices/intro
duction-to-
devsecops
2
https://www.slide
share.net/Sumo_L
ogic/you-build-it-
you-secure-it-
introduction-to-
devsecops
3
https://dzone.com
/articles/devsecop
s-overview
4
https://www.devs
eccon.com/wp-
content/uploads/2
017/07/DevSecOp
s-whitepaper.pdf
5
https://www.slide
share.net/narudo
mr/devsecops-101
6
https://www.slide
share.net/sethukri
shna3/introductio
n-to-devsecops-
107904125
7
https://www.slide
share.net/DevOpsI
ndonesia/the-
state-of-devsecops
8
https://www.slide
share.net/Dragon
Be/devops-or-
devsecops
Q/A
Thank You
Reach me: @kunwaratulhax0r

Introduction to DevSecOps OWASP Ahmedabad