-
Notifications
You must be signed in to change notification settings - Fork 1
BSCE
This guide provides detailed instructions on installing, setting up, configuring, implementing, and troubleshooting Burp Suite API for web application security testing of this project. It covers all necessary steps, including how to interact with Burp Suite's API for automated testing and vulnerability scanning, with relevant screenshots and examples.
Further installation instructions can be found on the PortSwigger website
Download the Burp Suite Community Edition from the PortSwigger website.
https://portswigger.net/burp/communitydownload
Run the installer script to set up Burp Suite.
burpsuite_community_installer.sh
In the Proxy tab, click "Open Browser" to launch Burp's browser and begin intercepting requests.
Enter the team project URL in Burp's browser to see the intercepted HTTP requests.
In the Proxy tab, click "Forward" to pass through requests, and use "HTTP history" to monitor all HTTP traffic.
-
The request is attempting to upgrade the connection to a WebSocket.
-
We focus on testing how the server responds to unexpected modifications in Host, Connection, Sec-WebSocket-Key, Sec-WebSocket-Version and Origin
-
Origin Header: Changing this header helps test if the server restricts connections based on the origin, enhancing security against CSWSH.
-
Sec-WebSocket-Key: Altering this key tests if the server verifies requests, which prevents unauthorized access.
-
Sec-WebSocket-Protocol: Removing this tests server response to missing protocols, identifying if protocol validation is enforced.
-
The response we received is "Cross origin websockets not allowed", It prevents WebSocket connections from unauthorized origins
-
The server is blocking WebSocket requests from any origins that aren't the anticipated one.
-
This is a form of protection against Cross-Site WebSocket Hijacking (CSWSH), ensuring that only WebSocket requests from allowed origins can establish a connection
-
- Verify Java is installed.
java -version
- If you encounter SSL/TLS certificate errors, ensure Burp Suite's certificate is installed in your browser.
- Go to Proxy > Options > Import / export CA Certificate, and follow the instructions.
-
- Reduce threads in Burp Suite settings:
- Go to Settings > Project Options > Connections > Reduce threads.
- Reduce threads in Burp Suite settings: