Burp Suite from Scratch: Traffic Interception and the First CTF part 1

Depov

Moderator
Staff member
MODERATOR
ULTIMATE
SUPREME
PREMIUM
MEMBER
Joined
Feb 18, 2025
Messages
790
Reaction score
1,510
What is Burp Suite and why is it needed for web CTF assignments?

Burp Suite is an HTTP interception proxy from PortSwigger. It intervenes between the browser and the target web application, passing every request and response through it. It reveals information the browser typically hides: hidden form parameters, cookies, authorization headers, and POST request bodies. Learn more in our web application pentesting review .

According to Bugcrowd, virtually every professional web pentest and bug bounty workflow uses Burp Suite or a similar tool. In MITRE ATT&CK terms, Burp itself implements the Adversary-in-the-Middle (T1557) principle —it intervenes between the client and server to intercept and modify traffic. And CTF findings are Exploit Public-Facing Application (T1190) : exploiting vulnerabilities in web applications accessible from the internet.

In CTF competitions, the tool fulfills three tasks:

Interception - see every HTTP request before it's sent to the server and every response before it's rendered in the browser
Modification - change parameters on the fly: substitute a different user ID, change the price of a product, insert an SQL payload
Automation - iterate over parameter values (Intruder), run modified queries in a circle (Repeater)

Burp Suite is available in three editions. The Community Edition is free and more than sufficient for CTFs. Professional, for $449/year, adds an automatic scanner and a throttling-free Intruder. Enterprise is a corporate tool for CI/CD pipelines. All examples in this article work on the free Community Edition—the paid version is not required.

Burp Suite Tools Summary for Web CTF Tasks:
Tool Assignment to CTF When to use
Proxy, Intercept Intercepting and modifying requests on the fly You need to change the parameter before sending it to the server
Proxy, HTTP History View all requests without active interception Intelligence: Understanding how the app works
Repeater Manually sending modified requests SQL injection, IDOR, and XSS testing
Intruder Automatic parameter selection Brute force, ID enumeration, fuzzing hidden values
Decoder Data encoding and decoding Working with Base64, URL encoding, hex
Compare Visual comparison of two answers Finding the difference between a valid and an invalid answer
Installing Burp Suite Community Edition

Download the Community Edition from the official page: https://portswigger.net/burp/releases#communityChoose your OS—there are versions for Windows, macOS, and Linux. The installer includes JRE, so you don't need to install Java separately.

After installation, launch Burp Suite. On first launch, select Temporary project , click Next , then Start Burp . Loading may take 10-30 seconds—it's Java, that's all.

If Burp Suite is eating up too much memory (a common problem on machines with 8GB of RAM), limit its consumption at startup:

java -jar -Xmx2048M burpsuite_community.jar

Two gigabytes is enough for CTF tasks, and the system won't throttle during long sessions. While you're at it, disable unused extensions ( Extender → Extensions - uncheck them) – it'll speed up loading significantly.

The first thing to do after launch is to enable the dark theme: Settings → Display → Theme → Dark . This isn't just cosmetic: your eyes will thank you for hours of CTF sessions. Second, the encoding: if you're working with Russian-language resources, go to User Options → Display → Character Sets → UTF-8 , otherwise you'll get a mess of Cyrillic characters.
Setting up a Burp Suite proxy - from scratch to working interception

Burp Suite proxy setup is where beginners stumble most often. A forgotten certificate, a misplaced port, or confusion about why the browser is freezing—each of these issues cost me hours during my first CTFs. There are two setup options, from simple to advanced.
Built-in browser - quick start in 30 seconds

The fastest way to get started is with Burp Suite's built-in browser. It's already configured for proxying and doesn't require certificate installation.

Go to Proxy → Intercept and click Open Browser . Chromium will open, linked to the Burp proxy. That's it—you're ready to go. Any request from this browser will automatically go through Burp.

It's perfect for CTFs: fast, no configuration required, and no conflicts with your main browser. The only downside is the lack of familiar extensions and bookmarks. For most CTF tasks, this isn't a problem.
External browser and FoxyProxy settings

If you need Firefox with the familiar DevTools, configure proxying manually. I recommend Firefox: it has separate network settings that don't interfere with the system proxy.

Make sure Burp is listening on the correct port: Settings → Tools → Proxy → Proxy listeners . By default, 127.0.0.1:8080If port 8080 is busy (another service, Docker), change it here and remember the new value.

Option A: Manually configure Firefox. Open Settings → Network Settings → Settings , and select Manual proxy configuration: HTTP Proxy 127.0.0.1, Port 8080Check the " Also use this proxy for HTTPS" box . It works, but it's inconvenient: you have to manually reset the settings after each CTF session.

Option B is the FoxyProxy extension. Install FoxyProxy Standard from the Firefox add-ons store. Create a profile: Title - "Burp", Proxy Type - HTTP, Proxy IP - 127.0.0.1, Port — 8080Switching between proxy and regular mode is as easy as clicking the FoxyProxy icon in your browser toolbar. After a CTF session, you don't need to go into settings and manually disable the proxy—just click the icon and forget about it. According to Bugcrowd, configuring FoxyProxy is a standard first step when setting up a pentester's work environment.
Installing a CA certificate for HTTPS interception

Without a Burp Suite certificate, your browser will complain about every HTTPS site. HTTP tasks don't require a certificate, but most modern CTF tasks run over HTTPS.

How it works: When Burp intercepts HTTPS traffic, it replaces the site's original TLS certificate with its own. The browser sees the unfamiliar certificate and blocks the connection. Importing Burp's CA certificate tells the browser, "This certificate can be trusted."

Procedure: Launch Burp Suite with an active proxy; in a browser (configured to the Burp proxy), open http://burpsuite; click CA Certificate in the upper right corner - the file will download cacert.derIn Firefox: Settings → Privacy & Security → Certificates → View Certificates → Import , select the downloaded file, and check the box next to Trust this CA to identify websites . Restart the browser.

If you see an error SEC_ERROR_UNKNOWN_ISSUERIn Firefox, it's a certificate issue. This is the most common cause of problems for beginners when working with HTTPS targets.
Burp Suite Traffic Interception - Two Operation Modes

Burp Suite is configured. Two web traffic analysis modes cover 95% of CTF tasks.
Intercept: catching and modifying queries

Go to Proxy → Intercept . The Intercept switch is on , meaning every request from the browser will be stopped and displayed before it's sent to the server. Here you'll see the entire intercepted request—the method (GET/POST), headers (Host, User-Agent, Cookie), and body parameters.

Open any website in your browser—the page will freeze. Switch to Burp: the Intercept tab contains the intercepted HTTP request. Forward it to the server. Or change any parameter directly in the window—and only then Forward. The server will receive the modified request and won't suspect a thing.

Drop discards the request without sending it. This is useful when the browser sends junk data to trackers or CDNs, clogging up the history.

A common mistake is to leave Intercept enabled and forget about it. The browser freezes, and the newbie thinks Burp is broken. If you plan to simply monitor traffic without modification, disable Intercept. A good tip: set Intercept to be disabled by default: User Options → Misc → Proxy Interception → Always Disable . Enable it only when you need to intercept a specific request.
HTTP History: Analysis Without Active Interception

tab The Proxy → HTTP History stores all requests passed through the Burp proxy, even when Intercept is disabled. This is the primary mode for reconnaissance: simply use the website in your browser, click links, fill out forms, and then analyze the history.

Click on any line to see the full request and server response below. Filter by host, method, status code, and the presence of parameters. For web CTF tasks, this mode is more convenient than Intercept: you don't need to press Forward on every request, but nothing gets lost.
 
Top Bottom