skip to content

Intruder

Intruder sends a request many times with a marked position varied. Interviewers ask how its attack types map payload sets, how resource pools throttle it, and how its bursts look to a rate limit.

on this pageshow

explore

questions

6

In Burp Suite's Intruder, how do Sniper, Battering ram, Pitchfork and Cluster bomb differ in how many requests one run sends?

level: middleimportance: must knowfreq 45%

answer

  1. attack type decides how sets map to positions
  2. one set versus several sets
  3. smallest set against product of sets
  4. positions times payloads, for one type

basics

~20 s

Sniper sends positions times payloads. Battering ram sends one request per payload, the same value in every position. Pitchfork steps its sets in parallel, so the smallest set sets the count. Cluster bomb sends every combination: the product of the set sizes.

solid answer

~40 s

The attack type says how payloads map onto positions, and it fixes the request count. **Sniper** uses one set and varies one position at a time: positions × payloads. **Battering ram** uses one set and puts the same payload in every position at once: the number of payloads. **Pitchfork** uses one set per position and steps them together, so it sends as many requests as the **smallest** set holds. **Cluster bomb** uses one set per position and tries every combination: the **product** of the set sizes, which grows very fast. A baseline request, if enabled, adds one. Check the request count Intruder shows before starting and compare it with the agreed budget.

code

pseudocode · 9 lines
pseudocode
# two positions: store ID and item ID
# item_ids = 100 payloads, store_ids = 80 payloads

sniper(positions=2, set=item_ids)          # 2 * 100 = 200 requests
battering_ram(positions=2, set=item_ids)   # 100 requests
pitchfork(sets=[item_ids, store_ids])      # min(100, 80) = 80 requests
cluster_bomb(sets=[item_ids, store_ids])   # 100 * 80 = 8000 requests

# add 1 if the unmodified baseline request is enabled

go deeper

for a junior

Recall the four names and that one of them multiplies the sets together while another puts one payload into every position at once.

for a middle

Give the count for each type: positions × payloads, payloads, smallest set, product of sets, and say when each type fits.

for a senior

Read the request count before Start, compare it with the budget in the test plan, and explain that pacing is a separate control from volume.

for a principal

Argue for setting a request ceiling per run in the assessment standard, so that the choice of attack type is reviewed as a load decision, not left to the tool's default.

## What an attack type decides Every Intruder run has a base request, one or more payload positions and one or more payload sets. The **attack type** is the rule that maps payloads onto positions. It answers two questions: how many payload sets are there (one, or one per position, up to 20), and are payloads placed into positions in turn or at the same time. Because it fixes the mapping, it also fixes how many requests the run will send, and that number is the load on the target. ## The four types | Attack type | Payload sets | How payloads are placed | Requests sent | |---|---|---|---| | Sniper | one | each payload goes into each position in turn | number of positions × number of payloads | | Battering ram | one | the same payload goes into all positions at once | number of payloads | | Pitchfork | one per position | the sets are stepped in parallel, row by row | size of the smallest set | | Cluster bomb | one per position | every combination across the sets | product of all the set sizes | ## A harmless worked example Suppose your own staging catalogue has two values to vary: a store ID and an item ID. You have 100 item IDs and 80 store IDs. - **Sniper** over both positions with the 100 item IDs: 2 × 100 = 200 requests, one position varied per request. - **Battering ram** with the 100 item IDs: 100 requests, the same ID in both positions. - **Pitchfork** with the 100 item IDs against the 80 store IDs: 80 requests, request 1 pairs item 1 with store 1, request 2 pairs item 2 with store 2, and the 20 surplus item IDs are not used. - **Cluster bomb** with the same two sets: 100 × 80 = 8,000 requests. ## Choosing the type - Use **Sniper** to vary fields independently, one at a time, with a single list. - Use **Battering ram** when one value genuinely belongs in several places, for example an identifier that appears in both a cookie and a body field. - Use **Pitchfork** when the inputs are related and travel as pairs, such as an item ID and its known matching code. - Use **Cluster bomb** only when the inputs are independent and every combination is wanted, and only after multiplying the set sizes. ## Reading the cost before you press Start 1. The payload side panel shows the payload count and the **request count** for the run; read it. 2. Add one if you enabled the unmodified baseline request, which appears as item 0 in the results. 3. Compare the total with the request budget in the test plan. A cluster bomb over three sets of 100 payloads is a million requests, which is not a bounded run on any staging system. 4. Then decide pacing with a resource pool, because the attack type bounds volume but says nothing about speed. ## What defenders see The attack type shapes the access log. Sniper and Battering ram produce one varying value in a sequence of otherwise identical requests; Pitchfork and Cluster bomb produce two or more values changing together or in a nested pattern, so a cluster bomb shows one value held steady for a block of requests while the other cycles. The owner can use that shape to confirm which run a burst belongs to. ## Common mistakes - Saying Pitchfork tries every combination. That is Cluster bomb; Pitchfork pairs rows. - Forgetting that Sniper multiplies by the number of positions. - Treating the attack type as editable mid-run. It is part of the attack's structure and needs a new attack.

  • A colleague proposes a cluster bomb over three sets of 100 payloads on staging. What do you say?
    That is 100 × 100 × 100 = 1,000,000 requests. Read the request count Intruder displays, compare it with the agreed budget, and either shrink the sets, switch to a type that fits the data (Pitchfork if the inputs are paired) or split the run. Pacing through a resource pool does not change the volume.
  • Why does a Pitchfork run over sets of 100 and 80 entries send only 80 requests?
    Pitchfork steps the sets in parallel, taking row n of each set for request n, so it ends when the smallest set is exhausted. The 20 surplus entries in the larger set are never used.
  • How many payload sets can an attack use?
    Up to 20 according to the attack-types page. Sniper and Battering ram use a single set; Pitchfork and Cluster bomb take one set per defined position.

Pitchfork is a seating chart, guest 1 to seat 1 and guest 2 to seat 2, so the chart ends when the shorter list does. Cluster bomb is a tasting event in which every guest tries every dish, so the number of servings is guests multiplied by dishes.

  • Says Pitchfork tries every combination of the payload sets
  • Says Sniper sends one request per payload however many positions exist
  • Thinks Cluster bomb sends the sum of the set sizes
  • Believes Battering ram needs a separate payload set for each position
  • Never reads the request count shown before starting a run
open as a page

In Burp Suite's Intruder, what is a payload position, and what happens to the marked text when an attack runs?

level: juniorimportance: should knowfreq 28%

basics

~20 s

A payload position is a spot in Intruder's base request, wrapped in § markers, where a payload is substituted on each send. The markers and the text between them are replaced; the § is only a visual aid.

open as a page

Which Burp Intruder resource pool settings limit the load a run puts on a target, and which one reacts to the server's replies?

level: middleimportance: should knowfreq 26%

basics

~20 s

A resource pool shares a quota among attacks. Its settings are maximum concurrent requests, a delay between requests in milliseconds (fixed, with random variations, or increasing in increments), and automatic throttling, which adds a short delay when the server returns chosen response codes.

open as a page

A bounded Burp Intruder run over 2,000 sequential item IDs on staging returns identical short responses after row 300. What does that mean, and what does the owner see?

level: seniorimportance: should knowfreq 18%

basics

~20 s

Most likely a limiter or WAF began refusing requests, so the later rows record that control, not the application's answer for those IDs. Verify with status codes, Error and Timeout columns and the owner's log, then slow or stop the run.

open as a page

In Burp Intruder, how do a payload type and payload processing rules together produce the values that fill a position?

level: middleimportance: nice to knowfreq 15%

basics

~20 s

The payload type generates the raw values, such as a list, a number range or lines read from a file. Processing rules then change each value in sequence, and the optional final URL-encoding is applied after the rules, just before insertion.

open as a page

In Burp Intruder's results table, what do the grep match and grep extract columns add to status and length, and what do they not prove?

level: middleimportance: nice to knowfreq 22%

basics

~20 s

Grep match adds a column per expression counting its occurrences in each response; grep extract adds a column of text pulled from each response. They separate rows beyond status and length, but a match or a difference is a lead to verify, not a finding.

open as a page