SlideShare a Scribd company logo
OWASP ZAP API Automation
Workshop
Session Agenda
● Introduction to ZAP
● Familiarize with ZAP UI
● Hands on workshop of using ZAP with selenium
● Hands on some key features of ZAP using ZAP API
● Demo - ZAP Integration with CI/CD
What is ZAP ?
● The OWASP ZED Attack proxy (ZAP) is a penetration
testing tool for finding vulnerabilities in the web
applications.
● Designed to be used by people with wide range of
security experience.
● Cross platform.
● Marketplace.
● Released on September 2010.
● Current version 2.7.0
OWASP ZAP API Automation
Key Features of ZAP
● Intercepting proxy
● Spider
● Passive Scanners
● Active Scanners
● Fuzzing
● Report Generation
Active Scan
● Performs attacks on the application
● Run when explicitly invoked by the user
● Scan policy
● Set of pre configured rules
● Attack Strength
○ Low – to be up to 6 requests
○ Medium – to be up to 12 requests
○ High- to be up to 24 requests
○ Insane- to be over 24 requests
● Attack threshold
○ Off - scanner won't run.
○ Low - lead to false positives.
○ High - lead to false negatives
● Cannot identify any logical vulnerability
○ Example - broken access control
Report Generation
Alert - Potential vulnerability
Risk - Informational,Low,Medium,High
Beware of false positives
Confidence
● False Positive - for potential issues that you later find are not exploitable
● Low - for unconfirmed issues
● Medium - for issues you are somewhat confident of
● High - for findings you are highly confident in
● Confirmed - for confirmed issues
Tag an alert to be false positive
Fuzzing
Automated software testing technique that involves providing
invalid, unexpected, or random data as inputs to a computer
program
ZAP allows you to fuzz any request using:
● A build in set of payloads
● Payloads defined by optional add-ons
● Custom scripts
HANDS ON ...
https://github.com/sukesh7/ZapWorkshop.git
Active Scan
Rules
● Release quality: master/src/org/zaproxy/zap/extension/ascanrules
● Beta quality: branches/beta/src/org/zaproxy/zap/extension/ascanrulesBeta
● Alpha quality: branches/alpha/src/org/zaproxy/zap/extension/ascanrulesAlpha
Integration with CI/CD
Security tests in CI pipeline - Early feedback on security vulnerabilities
Steps:
● Start ZAP daemon on 8080 port
● Run tests
● Generate results
● Fail build for HIGH vulnerabilities
● Stop Server
Demo on configuring ZAP in Go CI
Active scan rules mapping page -https://www.owasp.org/index.php/ZAPpingTheTop10
More ZAP Features….
● Authentication and session support
● Smartcard and client digital certificate support
● Anti CSRF token handling
● Port scanner
● WebSockets support.
● Marketplace
Questions ??
Thank you

More Related Content

PDF
DAST in CI/CD pipelines using Selenium & OWASP ZAP
PPTX
Archery Open Source Vulnerability Assessment and Management - null Bangalore ...
PPT
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
PPTX
ArcherySec 2.0 @ BlackHat Arsenal Europe 2020
PPTX
Archery - BlackHat Asia 2018
PDF
Intro to DefectDojo at OWASP Switzerland
PPTX
Enforcing code guidelines by extending JDeveloper’s auditing framework @OOW14
PDF
EFL QA Statistics
DAST in CI/CD pipelines using Selenium & OWASP ZAP
Archery Open Source Vulnerability Assessment and Management - null Bangalore ...
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
ArcherySec 2.0 @ BlackHat Arsenal Europe 2020
Archery - BlackHat Asia 2018
Intro to DefectDojo at OWASP Switzerland
Enforcing code guidelines by extending JDeveloper’s auditing framework @OOW14
EFL QA Statistics

What's hot (12)

PDF
TestIstanbul 2015
PPTX
Performance Testing using Taurus
PDF
The Rounds Project: Growing from thousands to millions - Berry Ventura & Yoah...
ODP
Zed Attack Proxy (ZAP) Quick Intro - TdT@Cluj #20
ODP
Dev ops ci-ap-is-oh-my_security-gone-agile_ut-austin
PDF
Peeling the Onion: Making Sense of the Layers of API Security
PDF
How to Upgrade to the Newest Shiniest Django Version
PDF
PAC 2019 virtual Bruno Audoux
PDF
OWASP DefectDojo - Open Source Security Sanity
PPTX
J hipster
PDF
Working With People Adl Uni
PDF
Training Webinar: Top front-end techniques for OutSystems
TestIstanbul 2015
Performance Testing using Taurus
The Rounds Project: Growing from thousands to millions - Berry Ventura & Yoah...
Zed Attack Proxy (ZAP) Quick Intro - TdT@Cluj #20
Dev ops ci-ap-is-oh-my_security-gone-agile_ut-austin
Peeling the Onion: Making Sense of the Layers of API Security
How to Upgrade to the Newest Shiniest Django Version
PAC 2019 virtual Bruno Audoux
OWASP DefectDojo - Open Source Security Sanity
J hipster
Working With People Adl Uni
Training Webinar: Top front-end techniques for OutSystems
Ad

Similar to OWASP ZAP API Automation (20)

PDF
Automated Security Testing
ODP
JavaOne 2014 Security Testing for Developers using OWASP ZAP
PDF
Security Testing using ZAP in SFDC
PDF
2021 ZAP Automation in CI/CD
PDF
N Different Strategies to Automate OWASP ZAP - OWASP APPSec BUCHAREST - Oct 1...
PDF
N Different Strategies to Automate OWASP ZAP - Cybersecurity WithTheBest - Oc...
ODP
Automating Web Application Security Testing With OWASP ZAP DOT NET API - Tech...
ODP
BlackHat 2014 OWASP ZAP Turbo Talk
PPTX
ZAP @FOSSASIA2015
PDF
Zed Attack Proxy (ZAP)
PPTX
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
PDF
ODP
Practical Security Testing for Developers using OWASP ZAP at Dot Net Bangalor...
ODP
AllDayDevOps ZAP automation in CI
ODP
OWASP 2012 AppSec Dublin ZAP Intro
PPTX
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
PPTX
An Introduction to ZAP by Checkmarx - Official Version
PPTX
DC612 Day - Hands on Penetration Testing 101
PDF
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
PDF
we45 DEFCON Workshop - Building AppSec Automation with Python
Automated Security Testing
JavaOne 2014 Security Testing for Developers using OWASP ZAP
Security Testing using ZAP in SFDC
2021 ZAP Automation in CI/CD
N Different Strategies to Automate OWASP ZAP - OWASP APPSec BUCHAREST - Oct 1...
N Different Strategies to Automate OWASP ZAP - Cybersecurity WithTheBest - Oc...
Automating Web Application Security Testing With OWASP ZAP DOT NET API - Tech...
BlackHat 2014 OWASP ZAP Turbo Talk
ZAP @FOSSASIA2015
Zed Attack Proxy (ZAP)
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
Practical Security Testing for Developers using OWASP ZAP at Dot Net Bangalor...
AllDayDevOps ZAP automation in CI
OWASP 2012 AppSec Dublin ZAP Intro
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
An Introduction to ZAP by Checkmarx - Official Version
DC612 Day - Hands on Penetration Testing 101
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
we45 DEFCON Workshop - Building AppSec Automation with Python
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Modernizing your data center with Dell and AMD
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Machine learning based COVID-19 study performance prediction
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Building Integrated photovoltaic BIPV_UPV.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Review of recent advances in non-invasive hemoglobin estimation
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Modernizing your data center with Dell and AMD
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine learning based COVID-19 study performance prediction

OWASP ZAP API Automation

  • 1. OWASP ZAP API Automation Workshop
  • 2. Session Agenda ● Introduction to ZAP ● Familiarize with ZAP UI ● Hands on workshop of using ZAP with selenium ● Hands on some key features of ZAP using ZAP API ● Demo - ZAP Integration with CI/CD
  • 3. What is ZAP ? ● The OWASP ZED Attack proxy (ZAP) is a penetration testing tool for finding vulnerabilities in the web applications. ● Designed to be used by people with wide range of security experience. ● Cross platform. ● Marketplace. ● Released on September 2010. ● Current version 2.7.0
  • 5. Key Features of ZAP ● Intercepting proxy ● Spider ● Passive Scanners ● Active Scanners ● Fuzzing ● Report Generation
  • 6. Active Scan ● Performs attacks on the application ● Run when explicitly invoked by the user ● Scan policy ● Set of pre configured rules ● Attack Strength ○ Low – to be up to 6 requests ○ Medium – to be up to 12 requests ○ High- to be up to 24 requests ○ Insane- to be over 24 requests ● Attack threshold ○ Off - scanner won't run. ○ Low - lead to false positives. ○ High - lead to false negatives ● Cannot identify any logical vulnerability ○ Example - broken access control
  • 7. Report Generation Alert - Potential vulnerability Risk - Informational,Low,Medium,High Beware of false positives Confidence ● False Positive - for potential issues that you later find are not exploitable ● Low - for unconfirmed issues ● Medium - for issues you are somewhat confident of ● High - for findings you are highly confident in ● Confirmed - for confirmed issues Tag an alert to be false positive
  • 8. Fuzzing Automated software testing technique that involves providing invalid, unexpected, or random data as inputs to a computer program ZAP allows you to fuzz any request using: ● A build in set of payloads ● Payloads defined by optional add-ons ● Custom scripts
  • 11. Active Scan Rules ● Release quality: master/src/org/zaproxy/zap/extension/ascanrules ● Beta quality: branches/beta/src/org/zaproxy/zap/extension/ascanrulesBeta ● Alpha quality: branches/alpha/src/org/zaproxy/zap/extension/ascanrulesAlpha
  • 12. Integration with CI/CD Security tests in CI pipeline - Early feedback on security vulnerabilities Steps: ● Start ZAP daemon on 8080 port ● Run tests ● Generate results ● Fail build for HIGH vulnerabilities ● Stop Server Demo on configuring ZAP in Go CI Active scan rules mapping page -https://www.owasp.org/index.php/ZAPpingTheTop10
  • 13. More ZAP Features…. ● Authentication and session support ● Smartcard and client digital certificate support ● Anti CSRF token handling ● Port scanner ● WebSockets support. ● Marketplace