Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Zed Attack Proxy Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Zed Attack Proxy Cookbook

Zed Attack Proxy Cookbook

By : Ryan Soper, Nestor Torres, Ahmed Almoailu
4.7 (7)
close
close
Zed Attack Proxy Cookbook

Zed Attack Proxy Cookbook

4.7 (7)
By: Ryan Soper, Nestor Torres, Ahmed Almoailu

Overview of this book

Maintaining your cybersecurity posture in the ever-changing, fast-paced security landscape requires constant attention and advancements. This book will help you safeguard your organization using the free and open source OWASP Zed Attack Proxy (ZAP) tool, which allows you to test for vulnerabilities and exploits with the same functionality as a licensed tool. Zed Attack Proxy Cookbook contains a vast array of practical recipes to help you set up, configure, and use ZAP to protect your vital systems from various adversaries. If you're interested in cybersecurity or working as a cybersecurity professional, this book will help you master ZAP. You’ll start with an overview of ZAP and understand how to set up a basic lab environment for hands-on activities over the course of the book. As you progress, you'll go through a myriad of step-by-step recipes detailing various types of exploits and vulnerabilities in web applications, along with advanced techniques such as Java deserialization. By the end of this ZAP book, you’ll be able to install and deploy ZAP, conduct basic to advanced web application penetration attacks, use the tool for API testing, deploy an integrated BOAST server, and build ZAP into a continuous integration and continuous delivery (CI/CD) pipeline.
Table of Contents (14 chapters)
close
close

Testing upload of unexpected file types with a malicious payload

Many business processes in applications allow for the upload and modification of data supplied via uploaded files. The business process must examine the files and only accept specific authorized file types. The business logic is responsible for determining which files are authorized and whether they are application/system specific. In this recipe, we will attack an exploitable file upload option via profile avatar. Since certain file extensions are banned, the simple defense will be circumvented through traditional obfuscation techniques.

The user will upload a basic PHP web shell that will be used to exfiltrate the contents of a file secret in /home/carlos/ to complete the lab.

Getting ready

For this recipe, you will need to start PortSwigger’s Web shell upload via obfuscated file extension lab and ensure that ZAP is intercepting traffic between the lab application and your browser.

How to do it…...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Zed Attack Proxy Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon