Intermediate · Web application testing: Burp Suite and the basics · topic 19 of 35 · 20 min
Burp Suite basics: the intercepting proxy
Explanation
What a proxy does
A proxy is a program that sits in the middle of a connection. Burp Suite is an intercepting proxy for web testing: you point your browser at Burp, and Burp sees every request on its way to the server and every response on its way back. You can read them, pause them, and change them before they continue.
The main tools
| Tool | What it does |
|---|---|
| Proxy | Intercept and view/edit requests and responses live |
| HTTP history | A log of every request that passed through |
| Repeater | Resend a single request again and again, tweaking it each time |
| Intruder | Automate sending many variations of a request (rate-limited in Community) |
| Decoder / Comparer | Encode/decode values; compare two responses |
Repeater is where most learning happens: you capture a request, send it to Repeater, change one thing (an ID, a field, a header), resend, and watch how the response changes. That loop — change one thing, observe — is the heart of manual web testing.
Setting it up
You run Burp, set your browser (or Burp's built-in browser) to use Burp as its proxy, and install Burp's certificate so HTTPS can be read. The official docs walk through this. In your lab, point it at your DVWA or Juice Shop VM and start watching requests.
Detection and defence
Detection: using a proxy is invisible to the server by itself, but the unusual requests a tester sends through it (odd values, repeated tries, scripts in fields) are what defenders log and alert on. Defence has nothing to do with the proxy and everything to do with the app: validate and sanitise all input, enforce access control on the server, and watch logs for abnormal requests. If the app is built safely, it does not matter that an attacker can see and change requests.
Need help?
Stuck on a word or an idea? Search this course, or every course, and jump straight to the explanation or a worked question.
Try:
Watch the lesson
Burp Suite basics: the intercepting proxy · 1/7
A proxy sits in the middle and sees every request and response.
Prefer a video by a teacher? Find free videos on “burp suite community edition tutorial proxy repeater beginners” on YouTube ↗
In real life: One changed number
In her lab, a learner logs into a web app and loads her profile: GET /profile?id=7. She sends that request to Burp Repeater, changes id=7 to id=8, and resends. The app returns another user's profile. She has found a broken access-control flaw (covered next module) using nothing but the proxy and one changed number. She records it with the fix: the server must check that the logged-in user owns the record it returns.
Practice (0/3 done)
Burp Suite is…
Which Burp tool resends one request with small changes each time?
Write step-by-step how you would use Burp Repeater in your lab to test whether changing an id in a request shows another user's data — and the fix you would recommend.
Quick quiz
Read more (free)
Related help
Before this, learn
This topic builds on these. If something here feels new, open them first.
Related topics
- The OWASP approach to web testingWeb application testing: Burp Suite and the basics · same module
- HTTP, HTTPS and TLSCyber Security: from zero to SOC analyst · Networking for security
- Metasploit basics (in the lab)Deeper lab skills: passwords, privilege, Metasploit, wireless
- The OWASP Top 10: the most common web risksBackend Development · Backend security
- CSRF and IDORWeb attacks and their fixes
- Cross-site scripting (XSS)Web attacks and their fixes
Questions people ask about this
Open a question to see the answer and why. The first ones are this topic's own quiz, so try the quiz above before you peek.
To read HTTPS traffic in Burp you must…
Answer: Install Burp's certificate in the browser
Installing Burp's CA certificate lets it decrypt HTTPS for you.
A free, open-source alternative to Burp is…
Answer: OWASP ZAP
OWASP ZAP is a free alternative proxy.
The real defence against proxy-based tampering is…
Answer: Validating input and enforcing access control on the server
A safely built app does not care that requests can be changed.
You may use Burp against…
Answer: Only your lab or an authorised, in-scope target
Intercepting traffic requires authorisation.
To read a tool's manual you type…Related
Answer: man toolname
man toolname (or toolname --help) shows how a command works.
Most web attacks work by…Related
Answer: Sending a request the developer did not expect
Unexpected input in a request is the core of web attacks.
What does HSTS tell the browser?Related
Answer: Use only HTTPS for this site in future
Strict-Transport-Security makes the browser refuse plain HTTP for the site.
From HTTP, HTTPS and TLS
The single most effective defence against a Metasploit exploit is…Related
Answer: Patching the vulnerability it targets
With no unpatched flaw, the matching exploit fails.
Pass the quiz (60% or more) or mark this topic as done when you are ready.
Your progress is saved on this device only.
Next steps
- 1 more topic in “Web application testing: Burp Suite and the basics” before its exam: The OWASP approach to web testing.
- Module 6 exam: web testing and Burp · 12 questions · 20 min, without help. 3 topics of this module still to finish first.
- Then the next module, Web attacks and their fixes. 35 topics left in the course before the final exam.