# Turbo Intruder
> James Kettle's research-grade Burp extension for sending huge numbers of HTTP requests to a single host, scripted in Python, with its own network stacks — the tool for brute force at scale, race conditions (gates / single-packet), HTTP/3 and desync work that Burp Intruder can't do.
## How it works
- Highlight the injection point → right-click → **Send to Turbo Intruder**. The selection becomes `%s` and a Python script opens with `queueRequests(target, wordlists)` and `handleResponse(req, interesting)`.
- Responses are **not** auto-added to the results table; `handleResponse` decides. Queue a few requests with `learn=` and Turbo Intruder learns "boring" responses and sets `interesting` for anything that differs (the default script does this).
- Decorators filter without code: `@MatchStatus(200,204)`, `@MatchSizeRange(100,1000)`.
- Built-in wordlists: one for long brute-force runs, one containing **every word observed in in-scope proxy traffic** (`specialWordlists.py`) — target-specific guesses that otherwise need manual testing.
- Multiple parameters: pass a list; multiple hosts: one `RequestEngine` per host (`multiHost.py`) — but it's designed for single-host attacks.
- Headless: develop in Burp, then `java -jar turbo.jar <script> <baseRequestFile> <endpoint> <baseInput>` from a box near the target (no automatic interesting-response detection outside Burp).
```python
def queueRequests(target, wordlists):
engine = RequestEngine(endpoint=target.endpoint, concurrentConnections=5,
engine=Engine.THREADED)
for word in open('/usr/share/dict/words'): # stream, don't readlines()
engine.queue(target.req, word.rstrip())
@MatchStatus(200)
def handleResponse(req, interesting):
table.add(req)
```
## Engines and tuning
| Engine | Notes | Tune |
|---|---|---|
| `HTTP2` | Usually fastest when it works | — |
| `THREADED` | Default; custom HTTP/1.1 stack | `concurrentConnections`, `requestsPerConnection`, `pipeline=True` (if server supports) |
| `BURP2` | Burp's HTTP/2 stack; supports **kettled** request syntax | `concurrentConnections` |
| `BURP` | Burp's HTTP/1.1 stack, connection reuse off — use for **desync** attacks | `concurrentConnections` |
| `HTTP3` | QUIC; `:authority` implied so `Host` can be dropped | `concurrentConnections` |
| `AUTO` (Pro) | Picks highest HTTP version and auto-tunes during long runs; no HTTP/1.1 pipelining; **not** for desync | — |
Community Edition: raise each setting until the RPS counter plateaus or failures climb. A rapidly rising **failed** counter means script, target or stack trouble.
## Going fast and long
- Shrink both directions: strip unneeded headers/cookies; use `HEAD`, `Range: bytes=-1` (206 with 1-byte body), `Accept-Encoding`.
- Callback cost: `table.add()` loads the Swing thread — filter before adding; avoid regex and looped string concatenation.
- Memory: flat memory enables multi-day attacks *if* you stream wordlists and don't table every response.
- Figures from PortSwigger Research: ~30,000 RPS over HTTP/1.1 (2019); 100,000+ RPS over HTTP/3 from a laptop on Wi-Fi; ~180,000 RPS from a same-region cloud box.
- The target is usually the bottleneck — a slow endpoint is also a race-condition candidate.
## Race conditions
- Default streaming style is wrong for races. Use **gates**: queue with `gate='race1'`, then `engine.openGate('race1')` so all requests land in the smallest window (`race.py`). Real-world example: password-reset code brute force in AWS Cognito.
- Over HTTP/3 the gate system adds the **Single Datagram Attack** and **server-side race orchestration via QPACK**; selected automatically (`gateMode='auto'`) or forced via `gateMode`. Start from `race-http3.py`:
```python
engine = RequestEngine(endpoint=target.endpoint, concurrentConnections=1,
engine=Engine.HTTP3, gateMode='auto')
for i in xrange(20):
engine.queue(target.req, gate='race1')
engine.openGate('race1')
```
- Kettled requests: `engine.queue(target.req, kettled=True)` in `HTTP3`/`BURP2`; pseudo-headers (`:scheme`, `:authority`) can be overridden in the HTTP/1-style text.
- Kettle's scanner-building approach: automate the smallest manual step — send a request 10× sequentially, then 10× within <1 ms via single-packet attack, and flag anomalies (not just 50x) across endpoints, because race conditions cluster in shaky frameworks.
## Triage: HTTP Anomaly Rank
Integrated into Turbo Intruder (and the Montoya API since 2025.10): every response attribute (status, content-type, word count, CRC32, …) is weighted by how *stable* it is across the set — always-identical or always-unique attributes are useless, few-valued ones are weighted high — and each response is scored by how rare its values are. Most anomalous rows float to the top, replacing the sort-by-length ritual. Evolved from Backslash Powered Scanner's diffing; intended for AI-feature builders as well.
## Ecosystem
- Burp itself gained HTTP/3 via the **HTTP/3 Adapter** plugin.
- After the HTTP Terminator research (Black Hat USA / DEF CON 34, 2026), Kettle released updates to HTTP Request Smuggler, Turbo Intruder and Param Miner along with the Terminator source. See [[Burp AI and MCP]].
- Shortlisted in the 2026 Burp Extension Awards; perennial top-10 BApp. Related: **WebSocket Turbo Intruder**.
## Related
- [[Burp Suite]] (hub)
- [[Burp Suite Extensions]]
- [[Burp Suite Workflows]]
- [[Web Fuzzing]] · [[API Rate Limiting]] · [[Password Reset Vulnerabilities]]
## Sources
- [[raw/portswigger.net/turbo-intruder-embracing-the-billion-request-attack-4240|Turbo Intruder: Embracing the Billion-Request Attack]]
- [[raw/portswigger.net/http-3-in-burp-suite-it-s-time-to-find-a-bigger-wordlist-12081|HTTP/3 in Burp Suite - it’s time to find a bigger wordlist]]
- [[raw/portswigger.net/introducing-http-anomaly-rank-8552|Introducing HTTP Anomaly Rank]]
- [[raw/portswigger.net/how-to-build-custom-scanners-for-web-security-research-automation-5577|How to build custom scanners for web security research automation]]
- [[raw/theinjection.dev/http-terminator-an-ai-system-proposed-a-new-desync-attack-class-def-co-14384|HTTP Terminator: an AI system proposed a new desync attack class (DEF CON)]]
- [[raw/portswigger.net/burp-extensibility-2026-awards-talks-and-highlights-14070|Burp Extensibility 2026: awards, talks and highlights]]
- [[raw/portswigger.net/top-10-pentesting-tools-and-extensions-in-burp-suite-portswigger-2867|Top 10 Pentesting Tools and Extensions in Burp Suite - PortSwigger]]
- [[raw/portswigger.net/some-of-the-best-burp-extensions-as-chosen-by-you-2232|Some of the best Burp extensions - as chosen by you]]