Header Guardian is a Burp Suite extension designed to analyze HTTP request and response headers for security best practices. It provides a user-friendly interface for reviewing headers, highlighting potential security issues, and exporting analysis results.
- Context Menu Integration: Send HTTP requests directly to Header Guardian from anywhere within Burp Suite.
- Security Header Analysis: Automatically checks the presence and correctness of critical security headers.
- Export to TXT: Allows you to export the analysis results to a text file for easy sharing and documentation.
- OWASP Best Practices: Follows recommendations for HTTP security headers based on the OWASP HTTP Headers Cheat Sheet.
-
Clone or Download the Repository:
git clone https://github.com/oldermutt/HeaderGuardian.git
-
Load the Extension in Burp Suite:
- Open Burp Suite.
- Go to the "Extensions" tab and click on the "Add" button.
- Select "Java" as the extension type.
- Load the
HeaderGuardian.py
file from the cloned repository.
N.B. it requires Jython
-
Start Using the Extension:
- The extension will add a new tab labeled "Header Guardian" in Burp Suite.
- You can now right-click on any HTTP request in Burp Suite and select "Send to Header Guardian" to analyze it.
-
Sending Requests to Header Guardian:
- Right-click on any HTTP request in Burp Suite.
- Select "Send to Header Guardian" from the context menu.
- The Header Guardian tab will be highlighted, indicating that a new request has been added.
-
Analyzing Headers:
- In the Header Guardian tab, the request and response headers will be displayed.
- The analysis panel will show a table with the current value, expected value, and status of each header.
- Headers that are missing, misconfigured, or unnecessary will be flagged accordingly.
-
Exporting Analysis:
- Click on the "Export to TXT" button at the bottom of the analysis panel.
- Choose the location to save the file, and the analysis will be saved in a text file.
![image](https://private-user-images.githubusercontent.com/104075892/356843004-e3e610f5-118a-40fe-9129-19757c9d9701.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODM4OTYsIm5iZiI6MTczOTM4MzU5NiwicGF0aCI6Ii8xMDQwNzU4OTIvMzU2ODQzMDA0LWUzZTYxMGY1LTExOGEtNDBmZS05MTI5LTE5NzU3YzlkOTcwMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQxODA2MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wMjgyNTc1NGU5ZjJkMmZjMmRmZjNlZjhiZTM1MzI3MjRlMWMxNmM5ZjcwYTRiZDY2NTllOGM0ZGJmMjVkYmM1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.wilGzGcezQgV4y7FhdjsNnUrZ_IQIIwQrtBsuQa_Xpw)
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.
For any questions or issues, please contact [email protected]
- This extension follows recommendations for HTTP security headers from OWASP. For more details, refer to the OWASP HTTP Headers Cheat Sheet.