Top Banner
AppSec is dead. Long live DevSecOps! CTO, Secure Code Warrior [email protected] Matias Madou
31

AppSec is dead. Long live DevSecOps!

Feb 21, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: AppSec is dead. Long live DevSecOps!

AppSec is dead. Long live DevSecOps!

CTO, Secure Code Warrior

[email protected]

Matias Madou

Page 2: AppSec is dead. Long live DevSecOps!

Hi, I’m Matias.

Matias Madou, Ph.D.Co-founder and CTO

Matias is the CTO and co-founder of Secure Code Warrior. Matias holds a Ph.D.in computer engineering from Ghent University, where he studied applicationsecurity through program obfuscation, working primarily on static analysissolutions. With his Ph.D., he moved to the U.S. to join Fortify Software(acquired by HP) and stayed seven years to build out his career. Starting as anintern, he became the research architect for all the runtime solutions spanningFortify and ArcSight products. During his time at Fortify, he thought it was fartoo easy to find security problems in code if you never teach the developer howto write secure code in the first place. With this in mind he started SenseiSecurity; a company that eventually merged with Secure Code Warrior. Whenhe is not at his desk as part of Team Awesome, he enjoys being on stagepresenting at conferences including BSIMM, RSA Conference, BlackHat andDefCon.

Page 3: AppSec is dead. Long live DevSecOps!

Today’s Agenda

• The (ongoing) impossibility of writing secure code

• The software security person today

• Creating secure code today:– Culture

– Automation

– Measurement

– Sharing

• Conclusion• Q&A

Page 4: AppSec is dead. Long live DevSecOps!

Evolution of bugs, from past to present

The (ongoing) impossibility of writing secure code

Page 5: AppSec is dead. Long live DevSecOps!

Failures in code cost money.Ariane 5 Rocket

• $7 billion

• 10 years of work

Technical:

• Velocity: 64-bit float

• Convert to 16-bit int

• Overflow

• Error handling suppressed (performance)

Page 6: AppSec is dead. Long live DevSecOps!

SQLi for Christmas… in 2008.

Page 7: AppSec is dead. Long live DevSecOps!

Is software security still a problem?

“If we have data, let's look at the data. If all we have our opinions, let's go with mine.”

~ Jim Barksdale, former CEO of Netscape

● 1 in 3 newly scanned applications had SQLi over the past 5 years~ Cisco

● 111BN lines of code are written by developers every year~ CSO Online

● It is 30x more expensive to fix vulnerable committed code, than to secure it in the IDE from the beginning.

● Average global cost of a data breach in 2020: $3.86 million

Page 8: AppSec is dead. Long live DevSecOps!

Today’s AppSec approach

Page 9: AppSec is dead. Long live DevSecOps!

Why is this not resolved yet?

1) Fix known security issues

2) Do not introduce new issues 700+ categories of problems!

Ton of overhead!

Scale of AppSec team?

Security knows about issues in code

Never ending story…

1 In 100 devs

Page 10: AppSec is dead. Long live DevSecOps!

AppSec, DevSec, SWSec...you name it

The software security person today

Page 11: AppSec is dead. Long live DevSecOps!

The brain anatomy AppSec: What they do

Finding common vulnerabilities over and over

Losing sleep over the cybersecurity skills shortage

Trying to build the right team while navigating impending digital doom

Dealing with the tough security questions: a.k.a. Doing the job they were originally hired to do

Trying to avoid burnout, missed deadlines, and feature focused developers

Page 12: AppSec is dead. Long live DevSecOps!

Mo’ money mo’ problems

Money

Proble

ms

CodeVulne

rabilities

Page 13: AppSec is dead. Long live DevSecOps!

The security person HAS to understand code!

Move from:

● Tasked with finding - not fixing - vulnerabilities● “Breakers”, not “builders”

To:

● Understanding code!

… and we need to get serious about closing the cybersecurity skills gap with the (awesome) resources in front of us.

Page 14: AppSec is dead. Long live DevSecOps!

Software Development Lifecycle

Creating secure code today

Page 15: AppSec is dead. Long live DevSecOps!

Methodologies come and go, but where is security?

DevOps

Each stage has improved processes, collaboration and continuous deployment… but security remains back-of-mind.

Page 16: AppSec is dead. Long live DevSecOps!

Software Security in the new world

• Well, what it is not:

Work smarter, not harder and faster!

Evolution of waterfall to Agile/DevOps,How should software security adapt and follow this trend?

Page 17: AppSec is dead. Long live DevSecOps!

What are the pillars of DevOps success?

CA(L)MS:1. Culture2. Automation3. (Lean)4. Measurement5. Sharing

Put the Sec in there, please?

Page 18: AppSec is dead. Long live DevSecOps!

1) Culture: Everybody + Proactive instead of reactive

Page 19: AppSec is dead. Long live DevSecOps!

1) Culture fit for developers

Provide developers with solutions to write secure code that appeal to developers.

Developer should see the benefit:

● Highly sought-after● A cut above average developers● More lucrative job opportunities● Instrumental in the battle

against cyberattacks and data breaches

Mindset for developers: Aware that the only good code is secure code.

Page 20: AppSec is dead. Long live DevSecOps!

1) Culture: example on cultural fit

Vs.

Page 21: AppSec is dead. Long live DevSecOps!

2) Automation

Automated security testing:

• Take the tools that work for your tech stack and company culture

• Don’t slow down the build. Coffee test. • Include all security tests < 5min

• Parallelize the rest

• Don’t block the build or release. You have to be really sure. Exception: Security credentials, for example.

• Integrated ChatOps. Integrate in the developers world

• Use stand-alone containers for all tests. No dependencies

Page 22: AppSec is dead. Long live DevSecOps!

4) Measurement

Measuring is hard! Find ways to help.

● Security should be an enabler instead of a blocker.

● “Let me help you get that in production!”

● Support speed of delivery● Support time to market goals

Page 23: AppSec is dead. Long live DevSecOps!

5) Sharing: Break The Cycle of Recurring Vulnerabilities

LOCATE

Security Expert tests and finds vulnerabilities

RECURRENCE

Bug reappears

IDENTIFY

Results loaded into Bug tracking system

SHARE

Knowledge disappears into ‘black

hole’

FIX

Developer finds wayto fix the problem

Cycle of Recurring

Vulnerabilities

+125RECURRINGVULNERABILITIES

Source: NIST

Page 24: AppSec is dead. Long live DevSecOps!

5) Sharing: Share your knowledge wiselyFixedIdentified

Developer

AppSecxAST SecurityChampion

Unidentified

SecurityReportxAST

Share Knowledge

Build and retain valuable knowledge! Introduce a common language between AppSec and developers increases collaboration and efficiency.

Instantly fix in developers workflow

Page 25: AppSec is dead. Long live DevSecOps!

John DoeSoftware Engineer, DevNet

John has been a developer for over 15 years. He has a strong passion for understanding the needs of the Scrum Alliance community and developing new programs that drive learning, engagement and growth.

Page 26: AppSec is dead. Long live DevSecOps!

Make developers security

superheroes

Page 27: AppSec is dead. Long live DevSecOps!

Developers are your DevSecOps heroes.

● Let developers get hands-on and learn by doing

● When security training is engaging and delivered in the languages and frameworks that are actually used, it is a powerful learning experience

● Give developers the time to train

● Empower them to level up as a developer, while leaving behind boring assessments and tick-the-box training.

Page 28: AppSec is dead. Long live DevSecOps!

Engaging and Competitive platform to upskill developers

Page 29: AppSec is dead. Long live DevSecOps!

5,000+ unique training exercises offered in 40 coding languages and frameworks

Page 30: AppSec is dead. Long live DevSecOps!

Matias Madou, Ph.D.

CTO and Co-Founder

Secure Code Warrior

+32 495 25 49 78

[email protected]

@mmadou

www.linkedin.com/in/matiasmadou/

Page 31: AppSec is dead. Long live DevSecOps!