Ethical Hacking Series, Part 13. In Part 10 we saw that the server only ever sees requests, and anything the browser enforces can be bypassed. Burp Suite is the tool that lets you do that. It sits between your browser and the website, shows you every request and response, and lets you change them before they’re sent. This part sets it up from scratch, including the step that trips up most beginners: HTTPS.
What Burp Suite is
Burp Suite, made by PortSwigger, is the standard tool for web application testing. It works as an intercepting proxy: your browser sends traffic to Burp, and Burp passes it on to the website. Because everything goes through it, you can pause, read and edit any request. Its main tools are:
- Proxy: intercepts traffic between your browser and the site, and keeps a full history of every request.
- Repeater: resend a single request as many times as you like, changing one thing at a time, such as a parameter, a header or an ID. This is where most manual testing happens.
- Intruder: automates sending many variations of a request, for example trying a list of values in a parameter.
- Scanner: automatically checks for common vulnerabilities (Professional edition only).
Community vs Professional
Community Edition is free and includes the Proxy, Repeater and a speed-limited Intruder. It’s all you need to learn and to do plenty of real bug bounty work. Professional is a paid licence that adds the automated scanner, a full-speed Intruder, project saving and more. PortSwigger offers a free trial if you want to try it. Always download Burp from the official PortSwigger website. Cracked copies passed around online are a common way to get malware onto a security tester’s machine, which is the last place you want it.
Installing Burp and Java
The installers on PortSwigger’s download page include their own Java runtime, so on Windows, macOS or Linux you can simply run the installer. Kali already has Burp Suite Community preinstalled.
If you use the standalone .jar file instead, you need Java installed yourself. JDK 21 is a good choice. Check it’s installed and start Burp from the command line:
java -version
java -jar burpsuite_community.jar
When Burp opens, choose a temporary project and the default settings, and you’re in.
Pointing your browser at Burp
By default, Burp listens on 127.0.0.1, port 8080. You can check this under Proxy → Proxy settings. Your browser needs to send its traffic there.
I recommend Firefox for testing, because it has its own proxy and certificate settings, separate from the rest of your system. Better still, use a separate Firefox profile only for testing, so your normal browsing stays out of Burp.
You can set the proxy in two ways:
- Manually: Firefox Settings → Network Settings → Manual proxy configuration. Set HTTP Proxy to
127.0.0.1, port8080, and tick “Also use this proxy for HTTPS”. - With FoxyProxy: install the FoxyProxy extension and add a proxy for
127.0.0.1:8080. You can then switch Burp on and off from the toolbar with one click, which is much more convenient.
The IP and port in the browser must match Burp’s listener exactly, or nothing will load.
Burp also has a built-in browser (Proxy → Intercept → Open browser) that’s already configured, certificate included. It’s the quickest way to start, but setting up Firefox yourself teaches you how proxying actually works.
Fixing HTTPS: installing Burp’s CA certificate
With the proxy on, plain HTTP sites work straight away. HTTPS sites show a security warning instead. That’s expected. To read encrypted traffic, Burp decrypts it and re-encrypts it with its own certificate, and your browser doesn’t trust Burp’s certificate yet. That warning is exactly what you’d want your browser to show if a real attacker tried the same thing.
To trust Burp in your testing browser:
- With the proxy on, visit
http://burpand click CA Certificate to download it. - In Firefox, go to Settings → Privacy & Security → Certificates → View Certificates → Authorities → Import.
- Select the downloaded file, tick “Trust this CA to identify websites”, and click OK.
HTTPS sites now load normally through Burp. Every Burp installation generates its own unique certificate, but anyone who got hold of yours could intercept that browser’s traffic, so only install it in your testing profile, never your everyday browser.
Testing interception
Turn Intercept on in the Proxy tab and load a page. A public test site built for this, like http://testphp.vulnweb.com, works well. The browser waits while Burp shows you the raw request: method, path, headers and cookies. You can edit it and click Forward to send it, or Drop to discard it. Do the same on an HTTPS site to confirm the certificate works.
With Intercept off, traffic flows normally but is still recorded in HTTP history, which is how you’ll usually work. Click any request to see its full request and response, including response headers like Server, Set-Cookie and security headers. Right-click a request and choose Send to Repeater to start changing and resending it, or Send to Intruder to automate it. We’ll use both in later parts.
Common problems
- Nothing loads at all: Burp isn’t running, Intercept is on and waiting for you to forward, or the proxy port doesn’t match.
- HTTPS warnings: the CA certificate isn’t imported in this Firefox profile, or “Trust this CA to identify websites” wasn’t ticked.
- Too much noise: Firefox sends background requests. Set a target scope in Burp (Target → Scope) to show only the site you’re testing.
Practice tasks
- Install Burp Community and set up a separate Firefox profile with FoxyProxy.
- Import the CA certificate and intercept a request to an HTTPS site.
- On
testphp.vulnweb.com, intercept the login request and find where the username and password are sent. - Send that request to Repeater, change the username and resend it a few times, comparing the responses.
A note on ethics: intercepting your own browser’s traffic is fine. Changing requests to see how a real application responds is only allowed on test sites, your own lab or targets in a bug bounty programme’s scope.
What’s next
Next, Part 14 looks at how ethical hackers find hidden files and directories on a web server. For the recon that comes first, see Part 11 and Part 12, and for how requests and status codes work, Part 10.
Watch Part 13 on my YouTube channel, Madhukar Reddy (@awsandevops).
