SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
Histoire vraie : Implémenter le
SecDevOps en entreprise
Votre Narrateur
• Guillaume Croteau
– Application Security Engineer II, Bentley Systems
– Génie Logiciel @ uLaval
– GIAC-GWEB
– (a essayé) OSCP
Chapitre 0: Prélude
• Critères de sécurité chez Bentley Systems
– Obligatoires
– Optionnels
• Vérification manuelle des sign-off de sécurité
– Couverture minimale
• Bentley Systems a 300 produits actifs
– Erreur humaine possible (je le sais, je le fait)
Chapitre 0: Prélude
Chapitre 0: Prélude
Chapitre 1: Premiers (faux) pas
• On veut automatiser la vérification
manuelle des critères de sécurité pour
les releases
• On donne la tâche à des
stagières/onboarders
• On ne définit pas de backlog ni de
plan précis
• Pas de supervision ni de mentor
Chapitre 1: Premiers (faux) pas
• Après > 2 mois, toujours rien
d’automatisé
• «Ça va marcher la semaine
prochaine» (à chaque semaine)
• On demande des résultats, mais rien
n’est livré
• À qui la faute?
Chapitre 2: L’ultimatum
• DevOps sera fonctionnel chez Bentley Systems dans 5 mois
• On a une date de livraison
• Arrivé du Scorecard, nos critères de sécurité doivent y être intégrés
• Tous les critères de sécurité obligatoires doivent être automatisé d’ici
cette date
• On a une plateforme à supporter (Azure DevOps, p.k.a. VSTS)
Chapitre 2: L’ultimatum
• Comprendre ce qu’il y a à faire:
– Scorecard = gardien des releases automatisés
• En d’autre termes, vérification des critères (de sécurité)
– Certaines tâches de sécurité peuvent être automatisées dans Azure DevOps
• ZAP
• Nmap
• Sslyze
• Etc.
• Ce sont 2 efforts différents mais complémentaires qui se font en parallèle
et en collaboration avec l’équipe d’automatisation
Chapitre 3: Un nouveau départ
• Player 2 joined the game (spoiler, c’est moi)
• On a besoin d’un plan
– Backlog
– 3 phases
• Phase 1: tous les critères obligatoires sont automatisés, (minimum viable product)
• Phase 2: tous les critères optionnels sont automatisés
• Phase 3: on améliore les vérifications existantes
• On a besoin d’une direction et d’une stratégie
– Approche Breadth-First pour les 2 premières phases
– Depth-First approach pour la 3e phase (amélioration continue)
– Première phase doit être livré pour la date de l’ultimatum
• On part à neuf, comme si les dernières semaines n’avaient simplement jamais
existé
Chapitre 3: Un nouveau départ
• On est pressé, donc on prend notre temps
Chapitre 3: Un nouveau départ
• Unit Tests
• Integration Tests
• Pull Requests
• Continuous Integration
Chapitre 3: Un nouveau départ
Chapitre 4: Premiers (vrai) pas
• On livre une automatisation à la fois, en commençant par les plus
faciles à implémenter
• On livre un outil fonctionnel dans un environnement temporaire
• En parallèle, on fait les démarches pour créer le produit
– Paperasse administrative
– Se perdre dans les processus pas super clairs pour un néophyte de
création de produits
– Environnements (DEV, QA, PROD)
– Release pipeline
– Build pipelines
Chapitre 5: Pendant ce temps
• Automatisation des scans de sécurité
– ZAP Passif
– Nmap
– Sslyze
Chapitre 6: Le grand jour
• Les critères obligatoires de sécurités sont
tous automatisés
– du moins le minimum
• Les premiers produits chanceux
commencent à utiliser Azure DevOps
pour faire leurs release
– Début satisfaisant (de notre point de vue)
– La vérification automatisée est solide et
fiable
Chapitre 7: (Petite) Catastrophe
Chapitre 7: (Petite) Catastrophe
Chapitre 7: (Petite) Catastrophe
Chapitre 8: C’est optionnel
• Pendant les prochains mois, implémentation
des vérifications optionnelles
– Test unitaires par rapport à la sécurité
– Logs de sécurité
– Threat Models
– Etc.
Chapitre 8: C’est optionnel
Chapitre 9: Pendant ce temps (part II)
• ZAP Actif
– Roule automatiquement sur nos produits en QA
les fins de semaines (ou quand l’on veut)
– Utilise les tests d’intégrations pour aider ZAP
(surtout pour les REST API purs)
Chapitre 10: Pousse pas trop
• Idée: prenons avantage du fait que nous pouvons
pousser de nouveaux critères de sécurité
facilement!
• Interdisons le support de TLS 1.0 du jour au
lendemain!
– Les services on seulement à passer à 1.2 en changeant
une variable et c’est fini .. non..?
Chapitre 10: Pousse pas trop
• Oh we were so wrong
– Des services qui doivent attendre que
les clients se mettent à jour
– Plusieurs releases ont commencé à
être bloqués
– Nous avons inversé le changement
Chapitre 10: Pousse pas trop
• Lesson: meilleure communication nécessaire
Chapitre 11: Amélioration continue
• CredScan
• Black Duck
• Performance
• Abandon de TLS 1.0 (progressif)
• Vérification de secrets dans les logs
• Amélioration de divers automatisation
• Future
– npm audit
– OWASP Dependency Check?
– Burp Enterprise?
– Meilleur support pour les produits basés sur NodeJs
– BinSkim?
Chapitre 12: Outro

Weitere ähnliche Inhalte

Empfohlen

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
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
 

Empfohlen (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
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
 

OWASP Quebec - Histoire vraie : Implémenter le SecDevOps en entreprise

  • 1. Histoire vraie : Implémenter le SecDevOps en entreprise
  • 2. Votre Narrateur • Guillaume Croteau – Application Security Engineer II, Bentley Systems – Génie Logiciel @ uLaval – GIAC-GWEB – (a essayé) OSCP
  • 3. Chapitre 0: Prélude • Critères de sécurité chez Bentley Systems – Obligatoires – Optionnels • Vérification manuelle des sign-off de sécurité – Couverture minimale • Bentley Systems a 300 produits actifs – Erreur humaine possible (je le sais, je le fait)
  • 6. Chapitre 1: Premiers (faux) pas • On veut automatiser la vérification manuelle des critères de sécurité pour les releases • On donne la tâche à des stagières/onboarders • On ne définit pas de backlog ni de plan précis • Pas de supervision ni de mentor
  • 7. Chapitre 1: Premiers (faux) pas • Après > 2 mois, toujours rien d’automatisé • «Ça va marcher la semaine prochaine» (à chaque semaine) • On demande des résultats, mais rien n’est livré • À qui la faute?
  • 8. Chapitre 2: L’ultimatum • DevOps sera fonctionnel chez Bentley Systems dans 5 mois • On a une date de livraison • Arrivé du Scorecard, nos critères de sécurité doivent y être intégrés • Tous les critères de sécurité obligatoires doivent être automatisé d’ici cette date • On a une plateforme à supporter (Azure DevOps, p.k.a. VSTS)
  • 9. Chapitre 2: L’ultimatum • Comprendre ce qu’il y a à faire: – Scorecard = gardien des releases automatisés • En d’autre termes, vérification des critères (de sécurité) – Certaines tâches de sécurité peuvent être automatisées dans Azure DevOps • ZAP • Nmap • Sslyze • Etc. • Ce sont 2 efforts différents mais complémentaires qui se font en parallèle et en collaboration avec l’équipe d’automatisation
  • 10. Chapitre 3: Un nouveau départ • Player 2 joined the game (spoiler, c’est moi) • On a besoin d’un plan – Backlog – 3 phases • Phase 1: tous les critères obligatoires sont automatisés, (minimum viable product) • Phase 2: tous les critères optionnels sont automatisés • Phase 3: on améliore les vérifications existantes • On a besoin d’une direction et d’une stratégie – Approche Breadth-First pour les 2 premières phases – Depth-First approach pour la 3e phase (amélioration continue) – Première phase doit être livré pour la date de l’ultimatum • On part à neuf, comme si les dernières semaines n’avaient simplement jamais existé
  • 11. Chapitre 3: Un nouveau départ • On est pressé, donc on prend notre temps
  • 12. Chapitre 3: Un nouveau départ • Unit Tests • Integration Tests • Pull Requests • Continuous Integration
  • 13. Chapitre 3: Un nouveau départ
  • 14. Chapitre 4: Premiers (vrai) pas • On livre une automatisation à la fois, en commençant par les plus faciles à implémenter • On livre un outil fonctionnel dans un environnement temporaire • En parallèle, on fait les démarches pour créer le produit – Paperasse administrative – Se perdre dans les processus pas super clairs pour un néophyte de création de produits – Environnements (DEV, QA, PROD) – Release pipeline – Build pipelines
  • 15. Chapitre 5: Pendant ce temps • Automatisation des scans de sécurité – ZAP Passif – Nmap – Sslyze
  • 16. Chapitre 6: Le grand jour • Les critères obligatoires de sécurités sont tous automatisés – du moins le minimum • Les premiers produits chanceux commencent à utiliser Azure DevOps pour faire leurs release – Début satisfaisant (de notre point de vue) – La vérification automatisée est solide et fiable
  • 17. Chapitre 7: (Petite) Catastrophe
  • 18. Chapitre 7: (Petite) Catastrophe
  • 19. Chapitre 7: (Petite) Catastrophe
  • 20. Chapitre 8: C’est optionnel • Pendant les prochains mois, implémentation des vérifications optionnelles – Test unitaires par rapport à la sécurité – Logs de sécurité – Threat Models – Etc.
  • 21. Chapitre 8: C’est optionnel
  • 22. Chapitre 9: Pendant ce temps (part II) • ZAP Actif – Roule automatiquement sur nos produits en QA les fins de semaines (ou quand l’on veut) – Utilise les tests d’intégrations pour aider ZAP (surtout pour les REST API purs)
  • 23. Chapitre 10: Pousse pas trop • Idée: prenons avantage du fait que nous pouvons pousser de nouveaux critères de sécurité facilement! • Interdisons le support de TLS 1.0 du jour au lendemain! – Les services on seulement à passer à 1.2 en changeant une variable et c’est fini .. non..?
  • 24. Chapitre 10: Pousse pas trop • Oh we were so wrong – Des services qui doivent attendre que les clients se mettent à jour – Plusieurs releases ont commencé à être bloqués – Nous avons inversé le changement
  • 25. Chapitre 10: Pousse pas trop • Lesson: meilleure communication nécessaire
  • 26. Chapitre 11: Amélioration continue • CredScan • Black Duck • Performance • Abandon de TLS 1.0 (progressif) • Vérification de secrets dans les logs • Amélioration de divers automatisation • Future – npm audit – OWASP Dependency Check? – Burp Enterprise? – Meilleur support pour les produits basés sur NodeJs – BinSkim?