Setting up the environment
General index of the course
- Setting up the environment
- Api Reconnaissance.
- Endpoint Analysis.
- Scanning APIS.
- API Authorization Attacks.
- Exploiting API Authorization.
- Testing for Improper Assets Management.
- Mass Assignment.
- Server side Request Forgery.
- Injection Attacks.
- Evasion and Combining techniques.
- Setting up the labs + Writeups
For this course, I'll use a Kali machine installed on VirtualBox. I downloaded last .ova version, 2022-3.
After that, follow these steps:
1. Install a kali ova on VirtualBox
For this course I've downloaded a Kali .ova machine. I will be using VirtualBox and I will modify these elements in the ova installation:
- 4GB RAM
- Bridge mode Interface
2. Update our system
Also, update credentials:
3. Install Burp Suite and make sure that is up-to-date.
4. Adding extension Authorize extension to BurpSuite: this will require to have Jython installed.
- Download jython from: https://www.jython.org/download.html and add the .jar file to the Extender Options.
- Under the Extender BApp Store search for Autorize and install the extension.
5. Install Foxy-proxy in Firefox to proxy the traffic to BurpSuite and Postman. Once intalled, we'll set up manually two proxies
- Postman - 127.0.0.1 - 5555
- BurpSuite - 127.0.0.1 - 8080.
Download BurpSuite certificate and have it installed in Firefox.
6. MITMweb certificate setup
- Install mitmweb from the terminal:
We need to make sure that Burpsuite is stopped, since mitmweb is also going to use port 8080.
-
Activate FoxyProxy in Firefox to send traffic to the BurpSuite proxy (8080).
-
Download mitmproxy-ca-cert.pem from mitm.it (in Firefox) and have it installed in Firefox.
7. Install Postman
8. Install mitmproxy2swagger
9. Install git
10. Install docker
11. Install Go
12. Install JSON Web Token Toolkit v2
13. Install Kiterunner
14. Install Arjun
15. Install OWASP ZAP
Run ZAP and open the "Manage Add-ons" option and make sure that the add-on "OpenAPI Support" is marked to be updated.
16. Have these useful wordlist API oriented
Last update: 2023-02-09
Created: February 7, 2023 18:30:04