SlideShare a Scribd company logo
The OWASP Foundation
http://www.owasp.org
Copyright Β© The OWASP Foundation
Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License.
OWASP
Canberra 2014
OWASP ZAP
Workshop 1:
Getting started
Simon Bennetts
OWASP ZAP Project Lead
Mozilla Security Team
psiinon@gmail.com
The plan
β€’ Introduction
β€’ The main bit
β€’ Demo feature
β€’ Let you play with feature
β€’ Answer any questions
β€’ Repeat
β€’ Plans for the future sessions
2
3
What is ZAP?
β€’ An easy to use webapp pentest tool
β€’ Completely free and open source
β€’ Ideal for beginners
β€’ But also used by professionals
β€’ Ideal for devs, esp. for automated security tests
β€’ Becoming a framework for advanced testing
β€’ Included in all major security distributions
β€’ ToolsWatch.org Top Security Tool of 2013
β€’ Not a silver bullet!
4
ZAP Principles
β€’ Free, Open source
β€’ Involvement actively encouraged
β€’ Cross platform
β€’ Easy to use
β€’ Easy to install
β€’ Internationalized
β€’ Fully documented
β€’ Work well with other tools
β€’ Reuse well regarded components
5
Statistics
β€’ Released September 2010, fork of Paros
β€’ V 2.3.1 released in May 2014
β€’ V 2.3.1 downloaded > 35K times
β€’ Translated into 20+ languages
β€’ Over 90 translators
β€’ Mostly used by Professional Pentesters?
β€’ Paros code: ~20% ZAP Code: ~80%
6
Open HUB Statistics
β€’ Very High Activity
β€’ The most active OWASP Project
β€’ 31 active contributors
β€’ 327 years of effort
Source: https://www.openhub.net/p/zaproxy
Some ZAP use cases
β€’ Point and shoot – the Quick Start tab
β€’ Proxying via ZAP, and then scanning
β€’ Manual pentesting
β€’ Automated security regression tests
β€’ Debugging
β€’ Part of a larger security program
7
The BodgeIt Store
β€’ A simple vulnerable web app
β€’ Easy to install, minimal dependencies
β€’ In memory db
β€’ Scoring page – how well can you do?
8
The ZAP UI
β€’ Top level menu
β€’ Top level toolbar
β€’ Tree window
β€’ Workspace window
β€’ Information window
β€’ Footer
9
Quick Start - Attack
β€’ Specify one URL
β€’ ZAP will spider that URL
β€’ Then perform an Active Scan
β€’ And display the results
β€’ Simple and effective
β€’ Little control & cant handle authentication
10
Proxying via ZAP
β€’ Plug-n-Hack easiest option, if using
Firefox
β€’ Otherwise manually configure your
browser to proxy via ZAP
β€’ And import the ZAP root CA
β€’ Requests made via your browser should
appear in the Sites & History tabs
β€’ IE – dont β€œBypass proxy for local
addresses”
11
Practical 1
β€’ Try out the Quick Start – Attack
β€’ Configure your browser to proxy via ZAP
β€’ Manually explore your target application
12
The Spiders
β€’ Traditional Spider
β€’ Fast
β€’ Cant handle JavaScript very well
β€’ AJAX Spider
β€’ Launches a browser
β€’ Slower
β€’ Can handle Java Script
13
Practical 2
β€’ Use the 'traditional' spider on your target
application
β€’ Use the AJAX spider on your target
application
β€’ If you're using BodgeIt – can you find the
'hidden' content?
14
Active and Passive
Scanningβ€’ Passive Scanning is safe
β€’ Active Scanning in NOT safe
β€’ Only use on apps you have permission
to test
β€’ Launch via tab or 'attack' right click
menu
β€’ Effectiveness depends on how well you
explored your app
15
Practical 3
β€’ Review the Passive issues already found
β€’ Run the Active Scanner on your target
application
β€’ If you're using BodgeIt –
β€’ Can you login as user1 or admin?
β€’ Can you get an β€œXSS” popup?
16
Intercepting and changing
Break on all requests
Break on all responses
Submit and step
Submit and continue
Bin the request or response
Add a custom HTTP break point
17
Practical 4
β€’ Intercept and change requests and
responses
β€’ Use custom break points just on a
specific page
β€’ If you're using BodgeIt – can you make
some money via the basket?
18
Some final pointers
β€’ Generating reports
β€’ Save sessions at the start
β€’ Right click everywhere
β€’ Play with the UI options
β€’ Explore the ZAP Marketplace
β€’ F1: The User Guide
β€’ Menu: Online / ZAP User Group
19
20
Future Sessions?
β€’ Fuzzing
β€’ Advanced Active Scanning
β€’ Contexts
β€’ Authentication
β€’ Scripts
β€’ Zest
β€’ The API
β€’ Websockets
β€’ What do you want?? 
Any Questions?
http://www.owasp.org/index.php/ZAP

More Related Content

ODP
2014 ZAP Workshop 2: Contexts and Fuzzing
ODP
BSides Manchester 2014 ZAP Advanced Features
ODP
OWASP 2015 AppSec EU ZAP 2.4.0 and beyond..
ODP
JavaOne 2014 Security Testing for Developers using OWASP ZAP
ODP
JoinSEC 2013 London - ZAP Intro
ODP
OWASP 2014 AppSec EU ZAP Advanced Features
ODP
BlackHat 2014 OWASP ZAP Turbo Talk
ODP
OWASP 2013 EU Tour Amsterdam ZAP Intro
2014 ZAP Workshop 2: Contexts and Fuzzing
BSides Manchester 2014 ZAP Advanced Features
OWASP 2015 AppSec EU ZAP 2.4.0 and beyond..
JavaOne 2014 Security Testing for Developers using OWASP ZAP
JoinSEC 2013 London - ZAP Intro
OWASP 2014 AppSec EU ZAP Advanced Features
BlackHat 2014 OWASP ZAP Turbo Talk
OWASP 2013 EU Tour Amsterdam ZAP Intro

What's hot (20)

ODP
OWASP Zed Attack Proxy Demonstration - OWASP Bangalore Nov 22 2014
ODP
OWASP 2013 APPSEC USA Talk - OWASP ZAP
ODP
OWASP 2013 APPSEC USA ZAP Hackathon
ODP
OWASP 2013 Limerick - ZAP: Whats even newer
ODP
OWASP 2013 AppSec EU Hamburg - ZAP Innovations
ODP
OWASP 2012 AppSec Dublin ZAP Intro
ODP
AllDayDevOps ZAP automation in CI
ODP
Automating OWASP ZAP - DevCSecCon talk
ODP
2017 Codemotion OWASP ZAP in CI/CD
PDF
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
Practical Security Testing for Developers using OWASP ZAP at Dot Net Bangalor...
ODP
2017 DevSecCon ZAP Scripting Workshop
PDF
Using the Zed Attack Proxy as a Web App testing tool
PPTX
Scripts that automate OWASP ZAP as part of a continuous delivery pipeline
PDF
2021 ZAP Automation in CI/CD
PDF
2020 ADDO Spring Break OWASP ZAP Automation
PDF
Virtual Security Lab Setup - OWASP Broken Web Apps, Webgoat, & ZAP
PPTX
The OWASP Zed Attack Proxy
OWASP Zed Attack Proxy Demonstration - OWASP Bangalore Nov 22 2014
OWASP 2013 APPSEC USA Talk - OWASP ZAP
OWASP 2013 APPSEC USA ZAP Hackathon
OWASP 2013 Limerick - ZAP: Whats even newer
OWASP 2013 AppSec EU Hamburg - ZAP Innovations
OWASP 2012 AppSec Dublin ZAP Intro
AllDayDevOps ZAP automation in CI
Automating OWASP ZAP - DevCSecCon talk
2017 Codemotion OWASP ZAP 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...
Practical Security Testing for Developers using OWASP ZAP at Dot Net Bangalor...
2017 DevSecCon ZAP Scripting Workshop
Using the Zed Attack Proxy as a Web App testing tool
Scripts that automate OWASP ZAP as part of a continuous delivery pipeline
2021 ZAP Automation in CI/CD
2020 ADDO Spring Break OWASP ZAP Automation
Virtual Security Lab Setup - OWASP Broken Web Apps, Webgoat, & ZAP
The OWASP Zed Attack Proxy
Ad

Similar to 2014 ZAP Workshop 1: Getting Started (18)

PPTX
Owasp zap
PPTX
ZAP @FOSSASIA2015
ODP
Simon Bennetts - Automating ZAP
PPTX
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
PPTX
Cyber ppt
PPT
AppSec EU 2011 - An Introduction to ZAP by Simon Bennetts
PPTX
OWASP Zed Attack Proxy
PPTX
OWASP ZAP API Automation
PPTX
OWSAP Zap Tool Execution - API Security Scan
PDF
Zed Attack Proxy (ZAP)
PPTX
Learn to pen-test with OWASP ZAP
PDF
Security Testing with OWASP ZAP in CI/CD - Simon Bennetts - Codemotion Amster...
PPTX
Security testing using zap
PPTX
OWASP ZAP Workshop for QA Testers
PDF
Automated Security Testing
PDF
Security Testing using ZAP in SFDC
PPTX
Evaluating Web App, Mobile App, and API Security - Matt Cohen
ODP
Automating Web Application Security Testing With OWASP ZAP DOT NET API - Tech...
Owasp zap
ZAP @FOSSASIA2015
Simon Bennetts - Automating ZAP
Zed attack proxy [ What is ZAP(Zed Attack Proxy)? ]
Cyber ppt
AppSec EU 2011 - An Introduction to ZAP by Simon Bennetts
OWASP Zed Attack Proxy
OWASP ZAP API Automation
OWSAP Zap Tool Execution - API Security Scan
Zed Attack Proxy (ZAP)
Learn to pen-test with OWASP ZAP
Security Testing with OWASP ZAP in CI/CD - Simon Bennetts - Codemotion Amster...
Security testing using zap
OWASP ZAP Workshop for QA Testers
Automated Security Testing
Security Testing using ZAP in SFDC
Evaluating Web App, Mobile App, and API Security - Matt Cohen
Automating Web Application Security Testing With OWASP ZAP DOT NET API - Tech...
Ad

Recently uploaded (20)

PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
PPTX
artificial intelligence overview of it and more
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
DOCX
Unit-3 cyber security network security of internet system
PPTX
Digital Literacy And Online Safety on internet
PPTX
Internet___Basics___Styled_ presentation
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPT
tcp ip networks nd ip layering assotred slides
PPTX
Funds Management Learning Material for Beg
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
The Internet -By the Numbers, Sri Lanka Edition
Β 
PPTX
innovation process that make everything different.pptx
PDF
Testing WebRTC applications at scale.pdf
PPTX
SAP Ariba Sourcing PPT for learning material
WebRTC in SignalWire - troubleshooting media negotiation
Cloud-Scale Log Monitoring _ Datadog.pdf
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
artificial intelligence overview of it and more
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PptxGenJS_Demo_Chart_20250317130215833.pptx
An introduction to the IFRS (ISSB) Stndards.pdf
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Unit-3 cyber security network security of internet system
Digital Literacy And Online Safety on internet
Internet___Basics___Styled_ presentation
522797556-Unit-2-Temperature-measurement-1-1.pptx
Tenda Login Guide: Access Your Router in 5 Easy Steps
tcp ip networks nd ip layering assotred slides
Funds Management Learning Material for Beg
Sims 4 Historia para lo sims 4 para jugar
The Internet -By the Numbers, Sri Lanka Edition
Β 
innovation process that make everything different.pptx
Testing WebRTC applications at scale.pdf
SAP Ariba Sourcing PPT for learning material

2014 ZAP Workshop 1: Getting Started

  • 1. The OWASP Foundation http://www.owasp.org Copyright Β© The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. OWASP Canberra 2014 OWASP ZAP Workshop 1: Getting started Simon Bennetts OWASP ZAP Project Lead Mozilla Security Team psiinon@gmail.com
  • 2. The plan β€’ Introduction β€’ The main bit β€’ Demo feature β€’ Let you play with feature β€’ Answer any questions β€’ Repeat β€’ Plans for the future sessions 2
  • 3. 3 What is ZAP? β€’ An easy to use webapp pentest tool β€’ Completely free and open source β€’ Ideal for beginners β€’ But also used by professionals β€’ Ideal for devs, esp. for automated security tests β€’ Becoming a framework for advanced testing β€’ Included in all major security distributions β€’ ToolsWatch.org Top Security Tool of 2013 β€’ Not a silver bullet!
  • 4. 4 ZAP Principles β€’ Free, Open source β€’ Involvement actively encouraged β€’ Cross platform β€’ Easy to use β€’ Easy to install β€’ Internationalized β€’ Fully documented β€’ Work well with other tools β€’ Reuse well regarded components
  • 5. 5 Statistics β€’ Released September 2010, fork of Paros β€’ V 2.3.1 released in May 2014 β€’ V 2.3.1 downloaded > 35K times β€’ Translated into 20+ languages β€’ Over 90 translators β€’ Mostly used by Professional Pentesters? β€’ Paros code: ~20% ZAP Code: ~80%
  • 6. 6 Open HUB Statistics β€’ Very High Activity β€’ The most active OWASP Project β€’ 31 active contributors β€’ 327 years of effort Source: https://www.openhub.net/p/zaproxy
  • 7. Some ZAP use cases β€’ Point and shoot – the Quick Start tab β€’ Proxying via ZAP, and then scanning β€’ Manual pentesting β€’ Automated security regression tests β€’ Debugging β€’ Part of a larger security program 7
  • 8. The BodgeIt Store β€’ A simple vulnerable web app β€’ Easy to install, minimal dependencies β€’ In memory db β€’ Scoring page – how well can you do? 8
  • 9. The ZAP UI β€’ Top level menu β€’ Top level toolbar β€’ Tree window β€’ Workspace window β€’ Information window β€’ Footer 9
  • 10. Quick Start - Attack β€’ Specify one URL β€’ ZAP will spider that URL β€’ Then perform an Active Scan β€’ And display the results β€’ Simple and effective β€’ Little control & cant handle authentication 10
  • 11. Proxying via ZAP β€’ Plug-n-Hack easiest option, if using Firefox β€’ Otherwise manually configure your browser to proxy via ZAP β€’ And import the ZAP root CA β€’ Requests made via your browser should appear in the Sites & History tabs β€’ IE – dont β€œBypass proxy for local addresses” 11
  • 12. Practical 1 β€’ Try out the Quick Start – Attack β€’ Configure your browser to proxy via ZAP β€’ Manually explore your target application 12
  • 13. The Spiders β€’ Traditional Spider β€’ Fast β€’ Cant handle JavaScript very well β€’ AJAX Spider β€’ Launches a browser β€’ Slower β€’ Can handle Java Script 13
  • 14. Practical 2 β€’ Use the 'traditional' spider on your target application β€’ Use the AJAX spider on your target application β€’ If you're using BodgeIt – can you find the 'hidden' content? 14
  • 15. Active and Passive Scanningβ€’ Passive Scanning is safe β€’ Active Scanning in NOT safe β€’ Only use on apps you have permission to test β€’ Launch via tab or 'attack' right click menu β€’ Effectiveness depends on how well you explored your app 15
  • 16. Practical 3 β€’ Review the Passive issues already found β€’ Run the Active Scanner on your target application β€’ If you're using BodgeIt – β€’ Can you login as user1 or admin? β€’ Can you get an β€œXSS” popup? 16
  • 17. Intercepting and changing Break on all requests Break on all responses Submit and step Submit and continue Bin the request or response Add a custom HTTP break point 17
  • 18. Practical 4 β€’ Intercept and change requests and responses β€’ Use custom break points just on a specific page β€’ If you're using BodgeIt – can you make some money via the basket? 18
  • 19. Some final pointers β€’ Generating reports β€’ Save sessions at the start β€’ Right click everywhere β€’ Play with the UI options β€’ Explore the ZAP Marketplace β€’ F1: The User Guide β€’ Menu: Online / ZAP User Group 19
  • 20. 20 Future Sessions? β€’ Fuzzing β€’ Advanced Active Scanning β€’ Contexts β€’ Authentication β€’ Scripts β€’ Zest β€’ The API β€’ Websockets β€’ What do you want?? 