SlideShare une entreprise Scribd logo
1  sur  45
Télécharger pour lire hors ligne
Working with Developers for
Fun and Progress
About Me
● Red Team at Redspin
● SB OWASP + AppSec California + Bay Area OWASP
● Green Team at Bugcrowd
● Blue Team at Segment
The Slides are Online, I’m Online
● Link to Slideshare
● @leifdreizler
Topics
● Training
● Threat Modeling
● Vendor Adoption
● What’s Next?
Security Goes Left
Security Goes Left
● Hard to staff a large security org
● Not efficient to find bugs in prod
Source: https://www.experimentus.com/itm/W_06_00055_The_Cost_of_Defects.htm
Security Goes Left
● Hard to staff a large security org
● Not efficient to find bugs in prod
Tanya Janca, @shehackspurple Source: https://code.likeagirl.io/pushing-left-like-a-boss-part-1-80f1f007da95
● Devs want to build good software
● Devs need to be security minded
Training
● Part 1 - Think Like an Attacker
● Part 2 - Secure Code Review
Source: Security Solutions for Hyperconnectivity and the Internet of Things
Think Like an Attacker - Creating Relevant Content
● Bug bounty submissions
● Pentests
● Internal findings
Pre Training Setup
● Install OWASP Juice Shop
● Install Burp Suite Community
OWASP Juice Shop
Source: https://www.owasp.org/index.php/OWASP_Juice_Shop_Project
Hands-On Training Schedule
1. Vuln category 1 (Slides + Examples)
2. Vuln category 2
3. Interactive Training (Burp Suite + Juice Shop)
4. Vuln category 3
5. Vuln category 4
6. Interactive Training
Source: https://www.dreamstime.com/royalty-free-stock-photography-computer-hacker-hands-image8278907
https://bkimminich.gitbooks.io/pwning-owasp-juice-shop/content/
Hands-on Training
Secure Code Review
● XSS
● Broken Access Control
● Secrets management
● Error handling
● SSRF
● Crypto
Influenced by OWASP Secure Coding Cheat Sheet
● Defence Against the Dark Web, etc.
Source: Your Personal Password Vault: A Password Journal and Logbook
Leif’s Hawaiian Shirt Store
Leif has rushed through building a new Hawaiian shirt store with React. Is there
anything wrong with it?
server.jsApp.js
McAfee’s Hawaiian Shirt Store
John has built an “unhackable store”
server.jsApp.js
App.js
server.js
AppSec Training
● Meet new eng hires
● Common vuln types
● “Security Judgment”
● Think about PRs in new ways
● Have fun!
Reviews
Threat Modeling
@jonathanmarcil - https://www.youtube.com/watch?v=KGy_KCRUGd4
Threat Modeling
Threat Modeling
Source: https://reqtest.com/general/a-bug-goes-skateboarding-on-boehms-curve/
Threat Model Prep
● Eng Team provides Sec with:
○ Links to repos
○ Architecture Diagrams
○ Docs
Source: https://articles.microservices.com/an-alternative-way-of-visualizing-microservice-architecture-837cbee575c1
Threat Model Prep
● Eng Team provides Sec with:
○ Links to repos
○ Architecture Diagrams
○ Docs
● Everyone should be thinking
about threats
○ Bonus points for getting EM/PMs
involved
Source: https://thegeekyleader.com/2014/12/07/good-and-bad-software-engineering-manager/
Threat Model
● Our process works best w/ 2+ people from Sec
○ Leader + Note-taker
● Leader keeps the conversation moving
● Note-taker creates Attack Tree and Issue Spreadsheet
Issue Spreadsheet
●
Jonathan Marcil: Threat Modeling Toolkit AppSecCali 2018
Attack Tree
Source: https://schd.ws/hosted_files/appseccalifornia2018/54/Threat%20Modeling%20Toolkit%20-%20AppSecCali.pptx
Threat Modeling Benefits
● Great way to meet engineers
● Information exchange
○ Get engineers thinking about security in new ways
○ Learn more about systems you’re supposed to help protect
● Uncover existing risks
● Prevent problems in future development
Vendor Adoption
● Partner with Eng During Trial Process
● Create Implementation Examples
● Spread Awareness
● Integrate with Existing Tooling
Source: https://www.itbusinessedge.com/slideshows/nine-questions-to-ask-when-selecting-a-security-vendor.html
Example - Snyk
● Security eval - tested on various repos
● Partnered with App team
● Presented at Eng all hands
● Security submitted PRs to core repos
● Wrote Integration with Directory
Snyk is a tool to help companies manage vulnerabilities in their dependencies.
Directory Integration
What’s Next?
● Security 1337erboard
What’s Next?
● Security 1337erboard
● CTF
What’s Next?
● Security 1337erboard
● CTF
● Security ↔ Engineering Embed
Security → Engineering Embed
● Great way to meet devs
● Shows you can build useful features/tools
● Sec learns eng process/tooling/constraints
Security → Engineering Embed
● Great way to meet devs
● Shows you can build useful features/tools
● Sec learns eng process/tooling/constraints
What’s Next?
● Security 1337erboard
● CTF
● Security ↔ Engineering Embed
● Have Better Security Metrics
Influential Presentations
● Astha Singhal/Patrick Thomas - We Come Bearing Gifts: Enabling Product
Security with Culture and Cloud (AppSec CA 2018) -
https://www.youtube.com/watch?v=L1WaMzN4dhY
● John Melton - Starting an AppSec Program: An Honest Retrospective
(LocoMocoSec 2018) - https://www.youtube.com/watch?v=ETkHISgEh3g
● Neil Matatall/Brent Johnson - Twubhubbook: Like an AppSec Program, but for
Startups (AppSec CA 2017) -
https://www.youtube.com/watch?v=JEE7wXHa1kY
● Tanya Janca - Pushing Left, Like a Boss (DevSecCon Singapore 2018) -
https://www.youtube.com/watch?v=8kqtrX6C10c
Closing Thoughts
Working with Developers for Fun and Progress

Contenu connexe

Dernier

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Dernier (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

En vedette

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Working with Developers for Fun and Progress

  • 1. Working with Developers for Fun and Progress
  • 2. About Me ● Red Team at Redspin ● SB OWASP + AppSec California + Bay Area OWASP ● Green Team at Bugcrowd ● Blue Team at Segment
  • 3. The Slides are Online, I’m Online ● Link to Slideshare ● @leifdreizler
  • 4. Topics ● Training ● Threat Modeling ● Vendor Adoption ● What’s Next?
  • 6. Security Goes Left ● Hard to staff a large security org ● Not efficient to find bugs in prod Source: https://www.experimentus.com/itm/W_06_00055_The_Cost_of_Defects.htm
  • 7. Security Goes Left ● Hard to staff a large security org ● Not efficient to find bugs in prod Tanya Janca, @shehackspurple Source: https://code.likeagirl.io/pushing-left-like-a-boss-part-1-80f1f007da95 ● Devs want to build good software ● Devs need to be security minded
  • 8. Training ● Part 1 - Think Like an Attacker ● Part 2 - Secure Code Review Source: Security Solutions for Hyperconnectivity and the Internet of Things
  • 9. Think Like an Attacker - Creating Relevant Content ● Bug bounty submissions ● Pentests ● Internal findings
  • 10. Pre Training Setup ● Install OWASP Juice Shop ● Install Burp Suite Community
  • 11. OWASP Juice Shop Source: https://www.owasp.org/index.php/OWASP_Juice_Shop_Project
  • 12. Hands-On Training Schedule 1. Vuln category 1 (Slides + Examples) 2. Vuln category 2 3. Interactive Training (Burp Suite + Juice Shop) 4. Vuln category 3 5. Vuln category 4 6. Interactive Training Source: https://www.dreamstime.com/royalty-free-stock-photography-computer-hacker-hands-image8278907 https://bkimminich.gitbooks.io/pwning-owasp-juice-shop/content/
  • 14.
  • 15. Secure Code Review ● XSS ● Broken Access Control ● Secrets management ● Error handling ● SSRF ● Crypto Influenced by OWASP Secure Coding Cheat Sheet ● Defence Against the Dark Web, etc. Source: Your Personal Password Vault: A Password Journal and Logbook
  • 16. Leif’s Hawaiian Shirt Store Leif has rushed through building a new Hawaiian shirt store with React. Is there anything wrong with it? server.jsApp.js
  • 17. McAfee’s Hawaiian Shirt Store John has built an “unhackable store” server.jsApp.js
  • 20. AppSec Training ● Meet new eng hires ● Common vuln types ● “Security Judgment” ● Think about PRs in new ways ● Have fun!
  • 22.
  • 23. Threat Modeling @jonathanmarcil - https://www.youtube.com/watch?v=KGy_KCRUGd4
  • 26. Threat Model Prep ● Eng Team provides Sec with: ○ Links to repos ○ Architecture Diagrams ○ Docs Source: https://articles.microservices.com/an-alternative-way-of-visualizing-microservice-architecture-837cbee575c1
  • 27. Threat Model Prep ● Eng Team provides Sec with: ○ Links to repos ○ Architecture Diagrams ○ Docs ● Everyone should be thinking about threats ○ Bonus points for getting EM/PMs involved Source: https://thegeekyleader.com/2014/12/07/good-and-bad-software-engineering-manager/
  • 28. Threat Model ● Our process works best w/ 2+ people from Sec ○ Leader + Note-taker ● Leader keeps the conversation moving ● Note-taker creates Attack Tree and Issue Spreadsheet
  • 30. ● Jonathan Marcil: Threat Modeling Toolkit AppSecCali 2018
  • 32. Threat Modeling Benefits ● Great way to meet engineers ● Information exchange ○ Get engineers thinking about security in new ways ○ Learn more about systems you’re supposed to help protect ● Uncover existing risks ● Prevent problems in future development
  • 33. Vendor Adoption ● Partner with Eng During Trial Process ● Create Implementation Examples ● Spread Awareness ● Integrate with Existing Tooling Source: https://www.itbusinessedge.com/slideshows/nine-questions-to-ask-when-selecting-a-security-vendor.html
  • 34. Example - Snyk ● Security eval - tested on various repos ● Partnered with App team ● Presented at Eng all hands ● Security submitted PRs to core repos ● Wrote Integration with Directory Snyk is a tool to help companies manage vulnerabilities in their dependencies.
  • 36.
  • 38. What’s Next? ● Security 1337erboard ● CTF
  • 39. What’s Next? ● Security 1337erboard ● CTF ● Security ↔ Engineering Embed
  • 40. Security → Engineering Embed ● Great way to meet devs ● Shows you can build useful features/tools ● Sec learns eng process/tooling/constraints
  • 41. Security → Engineering Embed ● Great way to meet devs ● Shows you can build useful features/tools ● Sec learns eng process/tooling/constraints
  • 42. What’s Next? ● Security 1337erboard ● CTF ● Security ↔ Engineering Embed ● Have Better Security Metrics
  • 43. Influential Presentations ● Astha Singhal/Patrick Thomas - We Come Bearing Gifts: Enabling Product Security with Culture and Cloud (AppSec CA 2018) - https://www.youtube.com/watch?v=L1WaMzN4dhY ● John Melton - Starting an AppSec Program: An Honest Retrospective (LocoMocoSec 2018) - https://www.youtube.com/watch?v=ETkHISgEh3g ● Neil Matatall/Brent Johnson - Twubhubbook: Like an AppSec Program, but for Startups (AppSec CA 2017) - https://www.youtube.com/watch?v=JEE7wXHa1kY ● Tanya Janca - Pushing Left, Like a Boss (DevSecCon Singapore 2018) - https://www.youtube.com/watch?v=8kqtrX6C10c