SlideShare a Scribd company logo
1© Copyright 2013 Coveros, Inc. All rights reserved.
Gene Gotimer, Senior Architect
gene.gotimer@coveros.com
2© Copyright 2013 Coveros, Inc. All rights reserved.
 Coveros helps organizations accelerate the delivery of
business value through secure, reliable software
About Coveros
3© Copyright 2013 Coveros, Inc. All rights reserved.
Security Testing
 Late in the cycle
 Issues are not remediated
 Needs ROI: lower cost, better results, or both
4© Copyright 2013 Coveros, Inc. All rights reserved.
Security Testing
 Consider open-source and free tools
 Opportunities in Continuous Delivery and Cloud
Identify low effort opportunities using free
and open-source tools
5© Copyright 2013 Coveros, Inc. All rights reserved.
Continuous Integration
 Merge work frequently
 Code commits to source control
 Unit tests run automatically
 No long integration cycle at the end
 Fix code when we find problems
 Build-Test-Commit cycle = rapid feedback
6© Copyright 2013 Coveros, Inc. All rights reserved.
Continuous Delivery
 Every build potentially releasable
 Release is a business decision
 Extrapolation of Continuous Integration
– Deploys
– Functional tests
– Load and performance tests
– Security tests
 Build-Test-Commit-Deploy-Test-Release cycle
7© Copyright 2013 Coveros, Inc. All rights reserved.
Cloud Computing
 Can’t wait for long procurement
 Public or Private clouds
 Works well with Continuous Delivery
– Easy to deploy
– New environments whenever
8© Copyright 2013 Coveros, Inc. All rights reserved.
Maturity Model for Security Testing
 Level 0: No Security Testing
 Level 1: Unit Testing and Static Analysis
 Level 2: Automated Deploys and Functional Testing
 Level 3: Automated Configuration Management
 Level 4: Cloud Deployments
 Level 5: Continuous Delivery
9© Copyright 2013 Coveros, Inc. All rights reserved.
Maturity Model for Security Testing
 Level 0: No Security Testing
 Level 1: Unit Testing and Static Analysis
 Level 2: Automated Deploys and Functional Testing
 Level 3: Automated Configuration Management
 Level 4: Cloud Deployments
 Level 5: Continuous Delivery
10© Copyright 2013 Coveros, Inc. All rights reserved.
Maturity Model for Security Testing
 Level 0: No Security Testing
 Level 1: Unit Testing and Static Analysis
 Level 2: Automated Deploys and Functional Testing
 Level 3: Automated Configuration Management
 Level 4: Cloud Deployments
 Level 5: Continuous Delivery
11© Copyright 2013 Coveros, Inc. All rights reserved.
Level 1: Unit Testing and Static Analysis
 Unit Tests:
– Confidence to make changes
– Error handling
– General logic errors
– Bounds checking
– Edge conditions
12© Copyright 2013 Coveros, Inc. All rights reserved.
Level 1: Unit Testing and Static Analysis
 Static Analysis:
– Common errors
– Unused variables
– SQL injection
– Cross-Site Scripting (XSS)
– Hard-coded passwords
13© Copyright 2013 Coveros, Inc. All rights reserved.
Level 1: Unit Testing and Static Analysis
 Unit testing:
 JUnit for Java
 NUnit for .Net
 PyUnit for Python
 PHPUnit for PHP
 Static Analysis:
 Sonar for many languages
 PMD for Java
 FindBugs for Java
 PHPMD for PHP
 FxCop for .Net
 PyChecker for Python
 pylint for Python
14© Copyright 2013 Coveros, Inc. All rights reserved.
Maturity Model for Security Testing
 Level 0: No Security Testing
 Level 1: Unit Testing and Static Analysis
 Level 2: Automated Deploys and Functional Testing
 Level 3: Automated Configuration Management
 Level 4: Cloud Deployments
 Level 5: Continuous Delivery
15© Copyright 2013 Coveros, Inc. All rights reserved.
Level 2: Automated Deploys and Functional Testing
 Automated Deploys:
– Frequent security scans
– Rapid feedback
– Web application scanners:
 w3af
 wapiti
 Skipfish
– Start basic, add tuning
16© Copyright 2013 Coveros, Inc. All rights reserved.
Level 2: Automated Deploys and Functional Testing
 Functional Testing:
– Access control
– Data protection
– Web Application testing:
 Selenium
17© Copyright 2013 Coveros, Inc. All rights reserved.
Level 2: Automated Deploys and Functional Testing
 Proxies:
– Better coverage
– XSS and Cross-Site Request Forgery (XSRF)
– URLs for logs to augment spidering
– Data leakage
– Web application proxies:
 OWASP Zed Attack Proxy (ZAP) Project
 OWASP WebScarab
 Ratproxy
18© Copyright 2013 Coveros, Inc. All rights reserved.
Maturity Model for Security Testing
 Level 0: No Security Testing
 Level 1: Unit Testing and Static Analysis
 Level 2: Automated Deploys and Functional Testing
 Level 3: Automated Configuration Management
 Level 4: Cloud Deployments
 Level 5: Continuous Delivery
19© Copyright 2013 Coveros, Inc. All rights reserved.
Level 3: Automated Configuration Management
 Deployment/Configuration:
 Puppet
 Chef
 Provisioning:
 Cobbler
 Kickstart
 Windows Deployment Services
 Completely new systems or build on templates
 Repeatable configuration management
20© Copyright 2013 Coveros, Inc. All rights reserved.
Level 3: Automated Configuration Management
 Complete system scans
 OpenVAS
 Nmap
 Nikto2
21© Copyright 2013 Coveros, Inc. All rights reserved.
Maturity Model for Security Testing
 Level 0: No Security Testing
 Level 1: Unit Testing and Static Analysis
 Level 2: Automated Deploys and Functional Testing
 Level 3: Automated Configuration Management
 Level 4: Cloud Deployments
 Level 5: Continuous Delivery
22© Copyright 2013 Coveros, Inc. All rights reserved.
Level 4: Cloud Deployments
 On-demand environments
– Long running scans in parallel
– Production-sized machines, even temporarily
– Failover and high-availability
 Multiple client systems in parallel
– Race conditions
– Multi-user interactions
23© Copyright 2013 Coveros, Inc. All rights reserved.
Level 4: Cloud Deployments
 Web performance testing frameworks:
 Apache Jmeter: Java-based UI
• HTTP, HTTPS, SOAP, JDBC, LDAP, JMS, SMTP,
POP, IMAP
 ab, ApacheBench: command-line
 The Grinder: Jython and Clojure
 Gatling: Scala
24© Copyright 2013 Coveros, Inc. All rights reserved.
Maturity Model for Security Testing
 Level 0: No Security Testing
 Level 1: Unit Testing and Static Analysis
 Level 2: Automated Deploys and Functional Testing
 Level 3: Automated Configuration Management
 Level 4: Cloud Deployments
 Level 5: Continuous Delivery
25© Copyright 2013 Coveros, Inc. All rights reserved.
Level 5: Continuous Delivery
 Release ready for production
 Continuous deployment
 High levels of automation
 Dashboards
– Custom development
26© Copyright 2013 Coveros, Inc. All rights reserved.
Personal Experience
 Agile development grew into Continuous Delivery
 Automated deploys with Puppet
 Selenium functional tests
 JMeter performance tests
27© Copyright 2013 Coveros, Inc. All rights reserved.
Personal Experience
 Security testing lagged
 Excuses:
– The “official” tool is expensive.
– It would take a lot of time to acquire and then to
configure it.
– We don’t have time.
– It isn’t our responsibility.
– The security team wouldn’t accept our scans anyway.
 Open-source tools
 Focus on security, not compliance
 Limited time
28© Copyright 2013 Coveros, Inc. All rights reserved.
Personal Experience
 Web application scans with w3af
 Vulnerability assessments with OpenVAS
 Security standards checks with Openscap
 Initial implementation ~ a day each
 No more freebies
29© Copyright 2013 Coveros, Inc. All rights reserved.
Conclusion
 Earlier security testing
– Less likely to skip
– More likely to remediate
 Open-source tools
 Other testing as foundation
 Gradually add more security tests
 Continuous Delivery and Cloud Computing give security
testing opportunities
30© Copyright 2013 Coveros, Inc. All rights reserved.
Questions?
Gene Gotimer
Email: gene.gotimer@coveros.com
Twitter: @CoverosGene

More Related Content

What's hot (19)

PPTX
Building a high quality+ products with SCA
Suman Sourav
 
PDF
Sec4dev 2021 - Catch Me If You can : Continuous Delivery vs. Security Assurance
Abdessamad TEMMAR
 
PDF
Why should developers care about container security?
Eric Smalling
 
PPTX
Continuous and Visible Security Testing with BDD-Security
Stephen de Vries
 
PDF
Devops security-An Insight into Secure-SDLC
Suman Sourav
 
PDF
DevSecOps: What Why and How : Blackhat 2019
NotSoSecure Global Services
 
PDF
Building Security in Using CI
Coveros, Inc.
 
PPTX
Automating security tests for Continuous Integration
Stephen de Vries
 
PPTX
Rapid software testing and conformance with static code analysis
Rogue Wave Software
 
PPTX
Continuous Security Testing with Devops - OWASP EU 2014
Stephen de Vries
 
PPTX
Open Source Libraries - Managing Risk in Cloud
Suman Sourav
 
PPTX
Unit testing : what are you missing for security
Suman Sourav
 
PPTX
Implementing an Application Security Pipeline in Jenkins
Suman Sourav
 
PDF
A Successful SAST Tool Implementation
Checkmarx
 
PPTX
OWASP AppSec EU - SecDevOps, a view from the trenches - Abhay Bhargav
Abhay Bhargav
 
PPTX
DevOps in a Regulated and Embedded Environment (AgileDC)
Arjun Comar
 
PPTX
Test parallelization using Jenkins
Rogue Wave Software
 
PDF
Continuous Delivery in a Legacy Shop - One Step at a Time
Gene Gotimer
 
PDF
Security in CI/CD Pipelines: Tips for DevOps Engineers
DevOps.com
 
Building a high quality+ products with SCA
Suman Sourav
 
Sec4dev 2021 - Catch Me If You can : Continuous Delivery vs. Security Assurance
Abdessamad TEMMAR
 
Why should developers care about container security?
Eric Smalling
 
Continuous and Visible Security Testing with BDD-Security
Stephen de Vries
 
Devops security-An Insight into Secure-SDLC
Suman Sourav
 
DevSecOps: What Why and How : Blackhat 2019
NotSoSecure Global Services
 
Building Security in Using CI
Coveros, Inc.
 
Automating security tests for Continuous Integration
Stephen de Vries
 
Rapid software testing and conformance with static code analysis
Rogue Wave Software
 
Continuous Security Testing with Devops - OWASP EU 2014
Stephen de Vries
 
Open Source Libraries - Managing Risk in Cloud
Suman Sourav
 
Unit testing : what are you missing for security
Suman Sourav
 
Implementing an Application Security Pipeline in Jenkins
Suman Sourav
 
A Successful SAST Tool Implementation
Checkmarx
 
OWASP AppSec EU - SecDevOps, a view from the trenches - Abhay Bhargav
Abhay Bhargav
 
DevOps in a Regulated and Embedded Environment (AgileDC)
Arjun Comar
 
Test parallelization using Jenkins
Rogue Wave Software
 
Continuous Delivery in a Legacy Shop - One Step at a Time
Gene Gotimer
 
Security in CI/CD Pipelines: Tips for DevOps Engineers
DevOps.com
 

Similar to Better Security Testing: Using the Cloud and Continuous Delivery (20)

PDF
Better Security Testing: Using the Cloud and Continuous Delivery
TechWell
 
PDF
Continuous Delivery in a Legacy Shop—One Step at a Time
TechWell
 
PPTX
Experiences Bringing CD to a DoD Project
Gene Gotimer
 
PDF
Continuous Delivery in a Legacy Shop - One Step at a Time
Coveros, Inc.
 
PPTX
A better faster pipeline for software delivery, even in the government
Gene Gotimer
 
PPTX
Add Security Testing Tools to Your Delivery Pipeline
Gene Gotimer
 
PPTX
Testing in a Continuous Delivery Pipeline - Better, Faster, Cheaper
Coveros, Inc.
 
PPTX
Diving into the World of Test Automation The Approach and the Technologies
QASymphony
 
PDF
A Better, Faster Pipeline for Software Delivery
Gene Gotimer
 
PDF
Tests Your Pipeline Might Be Missing
Gene Gotimer
 
PDF
Software Quality and Test Strategies for Ruby and Rails Applications
Bhavin Javia
 
PDF
Clean & Dirty Acceptance Tests with Cucumber & Watir
Danny Smith
 
PDF
DevSecOps: essential tooling to enable continuous security 2019-09-16
Rich Mills
 
PDF
Testing Services - Software Quality Assurance
CCS Technologies (P) Ltd.
 
PDF
Using DevOps to Improve Software Quality in the Cloud
TechWell
 
PDF
Add Security Testing Tools to Your Delivery Pipeline
TechWell
 
PDF
Test Management for Cloud-based Applications
TechWell
 
PDF
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
PPTX
Agile testing for embedded software development
Tom Stiehm
 
PPTX
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie
 
Better Security Testing: Using the Cloud and Continuous Delivery
TechWell
 
Continuous Delivery in a Legacy Shop—One Step at a Time
TechWell
 
Experiences Bringing CD to a DoD Project
Gene Gotimer
 
Continuous Delivery in a Legacy Shop - One Step at a Time
Coveros, Inc.
 
A better faster pipeline for software delivery, even in the government
Gene Gotimer
 
Add Security Testing Tools to Your Delivery Pipeline
Gene Gotimer
 
Testing in a Continuous Delivery Pipeline - Better, Faster, Cheaper
Coveros, Inc.
 
Diving into the World of Test Automation The Approach and the Technologies
QASymphony
 
A Better, Faster Pipeline for Software Delivery
Gene Gotimer
 
Tests Your Pipeline Might Be Missing
Gene Gotimer
 
Software Quality and Test Strategies for Ruby and Rails Applications
Bhavin Javia
 
Clean & Dirty Acceptance Tests with Cucumber & Watir
Danny Smith
 
DevSecOps: essential tooling to enable continuous security 2019-09-16
Rich Mills
 
Testing Services - Software Quality Assurance
CCS Technologies (P) Ltd.
 
Using DevOps to Improve Software Quality in the Cloud
TechWell
 
Add Security Testing Tools to Your Delivery Pipeline
TechWell
 
Test Management for Cloud-based Applications
TechWell
 
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
Agile testing for embedded software development
Tom Stiehm
 
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie
 
Ad

More from Gene Gotimer (20)

PDF
Let's Do Bad Things to Unsecured Containers
Gene Gotimer
 
PDF
Clean Your Cloud with Cloud Custodian slides
Gene Gotimer
 
PDF
A Hands-on Intro to Containers- Nebraska.Code()
Gene Gotimer
 
PDF
A Developer's Guide to Kubernetes Security
Gene Gotimer
 
PDF
Fixing Git Catastrophes - Nebraska.Code()
Gene Gotimer
 
PDF
KCDC- Keeping Secrets Out of Your Pipeline
Gene Gotimer
 
PDF
How Fast Is My App? Performance Testing 101
Gene Gotimer
 
PDF
A Developer’s Guide to Kubernetes Security
Gene Gotimer
 
PDF
How I Learned to Stop Worrying and Love Legacy Code
Gene Gotimer
 
PDF
Ten Ways To Doom Your DevOps
Gene Gotimer
 
PPTX
Keeping Your Kubernetes Cluster Secure
Gene Gotimer
 
PDF
Keeping your Kubernetes Cluster Secure
Gene Gotimer
 
PDF
Explain DevOps To Me Like I’m Five: DevOps for Managers
Gene Gotimer
 
PPTX
Keeping your Kubernetes Cluster Secure
Gene Gotimer
 
PPTX
Creative Solutions to Already Solved Problems II
Gene Gotimer
 
PPTX
Creative Solutions to Already Solved Problems
Gene Gotimer
 
PDF
Get to Green: How to Safely Refactor Legacy Code
Gene Gotimer
 
PDF
DevOps for Leadership
Gene Gotimer
 
PDF
Pyramid Discussion: DevOps Adoption in Large, Slow Organizations
Gene Gotimer
 
PDF
Building the Pipeline of My Dreams
Gene Gotimer
 
Let's Do Bad Things to Unsecured Containers
Gene Gotimer
 
Clean Your Cloud with Cloud Custodian slides
Gene Gotimer
 
A Hands-on Intro to Containers- Nebraska.Code()
Gene Gotimer
 
A Developer's Guide to Kubernetes Security
Gene Gotimer
 
Fixing Git Catastrophes - Nebraska.Code()
Gene Gotimer
 
KCDC- Keeping Secrets Out of Your Pipeline
Gene Gotimer
 
How Fast Is My App? Performance Testing 101
Gene Gotimer
 
A Developer’s Guide to Kubernetes Security
Gene Gotimer
 
How I Learned to Stop Worrying and Love Legacy Code
Gene Gotimer
 
Ten Ways To Doom Your DevOps
Gene Gotimer
 
Keeping Your Kubernetes Cluster Secure
Gene Gotimer
 
Keeping your Kubernetes Cluster Secure
Gene Gotimer
 
Explain DevOps To Me Like I’m Five: DevOps for Managers
Gene Gotimer
 
Keeping your Kubernetes Cluster Secure
Gene Gotimer
 
Creative Solutions to Already Solved Problems II
Gene Gotimer
 
Creative Solutions to Already Solved Problems
Gene Gotimer
 
Get to Green: How to Safely Refactor Legacy Code
Gene Gotimer
 
DevOps for Leadership
Gene Gotimer
 
Pyramid Discussion: DevOps Adoption in Large, Slow Organizations
Gene Gotimer
 
Building the Pipeline of My Dreams
Gene Gotimer
 
Ad

Recently uploaded (20)

PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PPTX
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
PDF
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 

Better Security Testing: Using the Cloud and Continuous Delivery

  • 1. 1© Copyright 2013 Coveros, Inc. All rights reserved. Gene Gotimer, Senior Architect [email protected]
  • 2. 2© Copyright 2013 Coveros, Inc. All rights reserved.  Coveros helps organizations accelerate the delivery of business value through secure, reliable software About Coveros
  • 3. 3© Copyright 2013 Coveros, Inc. All rights reserved. Security Testing  Late in the cycle  Issues are not remediated  Needs ROI: lower cost, better results, or both
  • 4. 4© Copyright 2013 Coveros, Inc. All rights reserved. Security Testing  Consider open-source and free tools  Opportunities in Continuous Delivery and Cloud Identify low effort opportunities using free and open-source tools
  • 5. 5© Copyright 2013 Coveros, Inc. All rights reserved. Continuous Integration  Merge work frequently  Code commits to source control  Unit tests run automatically  No long integration cycle at the end  Fix code when we find problems  Build-Test-Commit cycle = rapid feedback
  • 6. 6© Copyright 2013 Coveros, Inc. All rights reserved. Continuous Delivery  Every build potentially releasable  Release is a business decision  Extrapolation of Continuous Integration – Deploys – Functional tests – Load and performance tests – Security tests  Build-Test-Commit-Deploy-Test-Release cycle
  • 7. 7© Copyright 2013 Coveros, Inc. All rights reserved. Cloud Computing  Can’t wait for long procurement  Public or Private clouds  Works well with Continuous Delivery – Easy to deploy – New environments whenever
  • 8. 8© Copyright 2013 Coveros, Inc. All rights reserved. Maturity Model for Security Testing  Level 0: No Security Testing  Level 1: Unit Testing and Static Analysis  Level 2: Automated Deploys and Functional Testing  Level 3: Automated Configuration Management  Level 4: Cloud Deployments  Level 5: Continuous Delivery
  • 9. 9© Copyright 2013 Coveros, Inc. All rights reserved. Maturity Model for Security Testing  Level 0: No Security Testing  Level 1: Unit Testing and Static Analysis  Level 2: Automated Deploys and Functional Testing  Level 3: Automated Configuration Management  Level 4: Cloud Deployments  Level 5: Continuous Delivery
  • 10. 10© Copyright 2013 Coveros, Inc. All rights reserved. Maturity Model for Security Testing  Level 0: No Security Testing  Level 1: Unit Testing and Static Analysis  Level 2: Automated Deploys and Functional Testing  Level 3: Automated Configuration Management  Level 4: Cloud Deployments  Level 5: Continuous Delivery
  • 11. 11© Copyright 2013 Coveros, Inc. All rights reserved. Level 1: Unit Testing and Static Analysis  Unit Tests: – Confidence to make changes – Error handling – General logic errors – Bounds checking – Edge conditions
  • 12. 12© Copyright 2013 Coveros, Inc. All rights reserved. Level 1: Unit Testing and Static Analysis  Static Analysis: – Common errors – Unused variables – SQL injection – Cross-Site Scripting (XSS) – Hard-coded passwords
  • 13. 13© Copyright 2013 Coveros, Inc. All rights reserved. Level 1: Unit Testing and Static Analysis  Unit testing:  JUnit for Java  NUnit for .Net  PyUnit for Python  PHPUnit for PHP  Static Analysis:  Sonar for many languages  PMD for Java  FindBugs for Java  PHPMD for PHP  FxCop for .Net  PyChecker for Python  pylint for Python
  • 14. 14© Copyright 2013 Coveros, Inc. All rights reserved. Maturity Model for Security Testing  Level 0: No Security Testing  Level 1: Unit Testing and Static Analysis  Level 2: Automated Deploys and Functional Testing  Level 3: Automated Configuration Management  Level 4: Cloud Deployments  Level 5: Continuous Delivery
  • 15. 15© Copyright 2013 Coveros, Inc. All rights reserved. Level 2: Automated Deploys and Functional Testing  Automated Deploys: – Frequent security scans – Rapid feedback – Web application scanners:  w3af  wapiti  Skipfish – Start basic, add tuning
  • 16. 16© Copyright 2013 Coveros, Inc. All rights reserved. Level 2: Automated Deploys and Functional Testing  Functional Testing: – Access control – Data protection – Web Application testing:  Selenium
  • 17. 17© Copyright 2013 Coveros, Inc. All rights reserved. Level 2: Automated Deploys and Functional Testing  Proxies: – Better coverage – XSS and Cross-Site Request Forgery (XSRF) – URLs for logs to augment spidering – Data leakage – Web application proxies:  OWASP Zed Attack Proxy (ZAP) Project  OWASP WebScarab  Ratproxy
  • 18. 18© Copyright 2013 Coveros, Inc. All rights reserved. Maturity Model for Security Testing  Level 0: No Security Testing  Level 1: Unit Testing and Static Analysis  Level 2: Automated Deploys and Functional Testing  Level 3: Automated Configuration Management  Level 4: Cloud Deployments  Level 5: Continuous Delivery
  • 19. 19© Copyright 2013 Coveros, Inc. All rights reserved. Level 3: Automated Configuration Management  Deployment/Configuration:  Puppet  Chef  Provisioning:  Cobbler  Kickstart  Windows Deployment Services  Completely new systems or build on templates  Repeatable configuration management
  • 20. 20© Copyright 2013 Coveros, Inc. All rights reserved. Level 3: Automated Configuration Management  Complete system scans  OpenVAS  Nmap  Nikto2
  • 21. 21© Copyright 2013 Coveros, Inc. All rights reserved. Maturity Model for Security Testing  Level 0: No Security Testing  Level 1: Unit Testing and Static Analysis  Level 2: Automated Deploys and Functional Testing  Level 3: Automated Configuration Management  Level 4: Cloud Deployments  Level 5: Continuous Delivery
  • 22. 22© Copyright 2013 Coveros, Inc. All rights reserved. Level 4: Cloud Deployments  On-demand environments – Long running scans in parallel – Production-sized machines, even temporarily – Failover and high-availability  Multiple client systems in parallel – Race conditions – Multi-user interactions
  • 23. 23© Copyright 2013 Coveros, Inc. All rights reserved. Level 4: Cloud Deployments  Web performance testing frameworks:  Apache Jmeter: Java-based UI • HTTP, HTTPS, SOAP, JDBC, LDAP, JMS, SMTP, POP, IMAP  ab, ApacheBench: command-line  The Grinder: Jython and Clojure  Gatling: Scala
  • 24. 24© Copyright 2013 Coveros, Inc. All rights reserved. Maturity Model for Security Testing  Level 0: No Security Testing  Level 1: Unit Testing and Static Analysis  Level 2: Automated Deploys and Functional Testing  Level 3: Automated Configuration Management  Level 4: Cloud Deployments  Level 5: Continuous Delivery
  • 25. 25© Copyright 2013 Coveros, Inc. All rights reserved. Level 5: Continuous Delivery  Release ready for production  Continuous deployment  High levels of automation  Dashboards – Custom development
  • 26. 26© Copyright 2013 Coveros, Inc. All rights reserved. Personal Experience  Agile development grew into Continuous Delivery  Automated deploys with Puppet  Selenium functional tests  JMeter performance tests
  • 27. 27© Copyright 2013 Coveros, Inc. All rights reserved. Personal Experience  Security testing lagged  Excuses: – The “official” tool is expensive. – It would take a lot of time to acquire and then to configure it. – We don’t have time. – It isn’t our responsibility. – The security team wouldn’t accept our scans anyway.  Open-source tools  Focus on security, not compliance  Limited time
  • 28. 28© Copyright 2013 Coveros, Inc. All rights reserved. Personal Experience  Web application scans with w3af  Vulnerability assessments with OpenVAS  Security standards checks with Openscap  Initial implementation ~ a day each  No more freebies
  • 29. 29© Copyright 2013 Coveros, Inc. All rights reserved. Conclusion  Earlier security testing – Less likely to skip – More likely to remediate  Open-source tools  Other testing as foundation  Gradually add more security tests  Continuous Delivery and Cloud Computing give security testing opportunities
  • 30. 30© Copyright 2013 Coveros, Inc. All rights reserved. Questions? Gene Gotimer Email: [email protected] Twitter: @CoverosGene