BACKBONE OPERATIONAL / ASN AS64535 / EDGE CAPACITY 210 TBPS / SCRUBBING 20+ TBPS / PORTS 400G QSFP-DD / LIVE LOOKING GLASS
Network Security

Anatomy of a carpet-bomb DDoS attack

Why spreading an attack thinly across a whole prefix defeats per-host detection, and what actually stops it.

· 4 min read

Classic volumetric DDoS points everything at one address. Detection is straightforward: watch per-host traffic, alert on a threshold, blackhole the target. Carpet-bombing was designed specifically to break that model, and for a while it did.

The shape of the attack

Instead of 200 Gbps at one host, a carpet-bomb sends 100 Mbps each to two thousand hosts inside the same /22. Individually, nothing looks unusual - 100 Mbps to a web server is a busy afternoon. Collectively it is the same 200 Gbps arriving at the same edge router.

Per-host thresholds never fire. The first thing the operator hears is customers reporting packet loss, and the router's interface counters showing the ingress link saturated with no obvious cause.

Why it defeats blackholing

The traditional response - announce a /32 with the blackhole community - assumes there is one victim. Against a carpet-bomb you would need to blackhole thousands of addresses, which means taking your own customers offline across an entire prefix. The mitigation becomes indistinguishable from the attack.

What it looks like from the edge

Three signals, none of which are per-host:

  • Aggregate ingress climbs sharply while every per-destination counter stays boring.
  • Destination entropy spikes. The number of distinct destination addresses receiving traffic jumps by orders of magnitude within seconds. This is the strongest single indicator.
  • Packet size distribution collapses. Amplification-based carpet-bombs produce a narrow band of packet sizes characteristic of the reflector protocol - DNS ANY, NTP monlist, memcached, CLDAP - which is very unlike organic traffic.

Detection that works

Prefix-level baselining

Model normal traffic per customer prefix rather than per host, and alert on deviation from that model. A /22 that normally receives 4 Gbps receiving 30 Gbps is anomalous regardless of how it is distributed internally.

Entropy monitoring

Track the Shannon entropy of destination addresses per prefix per interval. Organic traffic has a stable entropy signature; a carpet-bomb changes it abruptly. This detects the attack pattern rather than the volume, which means it fires early.

Flow-level classification instead of sampling

Sampled NetFlow at 1:1000 is fine for capacity planning and poor for this - the attack is thousands of small flows, and sampling flattens exactly the signal you need. Inline classification on the forwarding path sees all of it.

Mitigation that works

1. Filter by signature, not by destination

Amplification traffic has fingerprints: source port 53 with oversized responses, source port 123 with monlist-sized payloads, source port 11211 from memcached. Dropping on source port and packet size at the edge removes the volume without touching any legitimate destination.

2. BGP Flowspec

Flowspec expresses a rule as a BGP NLRI - match on source, destination, protocol, port, packet length, fragment state, and apply a rate limit or a drop. It propagates in seconds and is far more surgical than a blackhole. The two practical constraints are that not every upstream accepts customer-originated Flowspec, and rule counts on hardware are finite. Ask your provider about both before you need them.

3. Rate limiting by protocol

If a customer prefix has no legitimate inbound UDP on the reflector ports, rate limit them permanently. Most carpet-bombs are UDP amplification, and a standing policer removes the entire class of attack before it starts.

4. Selective blackholing as a last resort

When volume genuinely exceeds ingress capacity, regional blackholing drops the prefix only where the attack is sourced. The service stays reachable from the rest of the world. This is a blunt tool but a much better one than a global blackhole.

What we changed

Our detection moved from per-host thresholds to per-prefix behavioural baselining with entropy monitoring on top, all running inline on the edge routers rather than out of band on sampled flow data. In practice a carpet-bomb is now identified within a few seconds of the entropy shift, mitigated by signature at the ingress edge, and never reaches the customer port at all.

The generalisable lesson is not about carpet-bombing specifically. It is that detection built on a single dimension - volume to one host - will always be defeated by an attacker who moves along another dimension. Detection has to model behaviour, because behaviour is what the attacker is trying to imitate and what they find hardest to fake.

Keep reading

Related articles

WhatsApp Telegram Sales line Mobile / direct Email