OWASP Attack Surface Detector Project



{| style="padding: 0;margin:0;margin-top:10px;text-align:left;" |- 
 * style="border-right: 1px dotted gray;padding-right:25px;" valign="top" |

Introduction
During web application penetration testing, it is important to enumerate your application's attack surface. While Dynamic Application Security Testing (DAST) tools (such as OWASP ZAP and PortSwigger Burp Suite) are good at spidering to identify application attack surfaces, they will often fail to identify unlinked endpoints, optional parameters, and uncover parameter datatypes and name. These endpoints and parameters not found often go untested, which can leave your application open to an attacker.

What is the Attack Surface Detector?
The Attack Surface Detector tool uncovers the endpoints of a web application, the parameters these endpoints accept, and the data type of those parameters. This includes the unlinked endpoints a spider won't find in client-side code, or optional parameters totally unused in client-side code. It also has the capability to calculate the changes in attack surface between two versions of an application.

The Attack Surface Detector is available as a plugin to both ZAP and Burp Suite, and a Command Line Interface (CLI) tool is also available. The CLI tool exports the attack surface as a JSON output, which can then be used by the ZAP and Burp Suite plugin. This is helpful for cases where the source code is not provided to the penetration tester directly. The CLI tool can also be used for other custom integration where you want to discover an application attack surface or changes in the attack surface.

For a quick overview of the Attack Surface Detection tool, see this YouTube video:

Below is a screenshot of the Burp Suite Attack Surface Detector plugin where you can see a list of endpoints, endpoint details, and their corresponding requests:

How it Works
The Attack Surface Detector performs static code analyses to identify web application endpoints by parsing routes and identifying parameters (with supported languages and frameworks). This data is made available in ZAP and Burp Suite to help improve testing coverage.

Roadmap
We continue to improve the attack surface detection accuracy for existing supported languages and frameworks, and we are looking to add additional language support, particularly for PHP and Python. If there are any PHP or Python developers that are looking to contribute, [mailto:info@securedecisions.com please let us know].

We are also looking to extend ASD for use in automated headless usage of ZAP and Burp and move the ASD ZAP plugin out of alpha classification, which requires internationalization. If anyone can help, we would love your contributions.

Finally, we are really interested in what the community thinks will help improve ASD and we will adjust our roadmap based on that feedback.

Getting Involved
Contributions to the Attack Surface Detector project are encouraged and welcome. Additions of new features and enhancements can be provided through GitHub. We are eager to get user feedback, so please [mailto:info@securedecisions.com reach out to us] or fill out this ASD survey.

Licensing
The Attack Surface Detector plugin is free to use. It is licensed under the link Mozilla Public License 2.0.

Acknowledgements
The Attack Surface Detection project is led by Secure Decisions and was developed in collaboration with Denim Group under a research grant sponsored by the Department of Homeland Security (DHS) Science and Technology Directorate, Cyber Security Division (DHS S&T/CSD), BAA via contract number HHSP233201600058C.


 * style="padding-left:25px;width:275px;border-right: 1px dotted gray;padding-right:25px;" valign="top" |

ASD Plugin for OWASP ZAP:
Download ZAP Plugin

Documentation

Submit Feedback

GitHub Source Code

ASD Plugin for PortSwigger Burp:
Download Burp Suite Plugin

Documentation

Submit Feedback

GitHub Source Code

ASD Command-Line Tool:
Download ASD CLI

Documentation

Submit Feedback

GitHub Source Code

News and Events

 * 24 Aug 2018 Version 1.1.2 of the ASD ZAP plugin is out!
 * 23 Aug 2018 Version 1.1.2 of the ASD Burp Suite plugin is out!
 * 20 Jul 2018 Version 1.2.16 of the ASD CLI is out!

Contact Us
Project Leader: Ken Prole

Email: [mailto:ken.prole@securedecisions.com ken.prole@securedecisions.com]
 * [mailto:info@securedecisions.com Email us]
 * @SecDec

Related Projects

 * OWASP Zed Attack Proxy Project
 * OWASP Code Pulse Project

Classifications

 * }