DDoS takes a service down not by breaking in but by overload: hundreds, thousands and even millions of machines send traffic at once, and the target runs out of link capacity, memory or computing power. Hence the name — it is a denial-of-service attack distributed across many sources.
How the attack works
The attack usually comes from a botnet — a network of devices infected with malicious code and controlled directly: the server receives requests from thousands of addresses and cannot tell them apart from legitimate clients. Sometimes the sources are not even infected: in UDP amplification the botnet sends small requests to open resolvers with a spoofed sender address, and the large replies fly towards the target — a DNS resolver may return dozens of times more data than it received in the request.
| Class | What it overwhelms | Examples |
|---|---|---|
| Volumetric (L3/L4) | link bandwidth | UDP flood, DNS amplification |
| Protocol (L3/L4) | connection tables of network equipment | SYN flood |
| Application (L7) | database queries and page rendering | HTTP flood, Slowloris |
SYN flood: a classic example
A TCP server keeps half-open connections in the backlog — a queue of limited size. A SYN flood fills the queue with fake connection requests: the attacker sends many SYNs from spoofed addresses and never replies to the SYN-ACK. RFC 4987 reviews the countermeasures: enlarging the queue helps only partly; SYN cookies are more reliable — the server encodes the connection state into the responding SYN-ACK and does not keep memory until the client confirms.
Defences
- filtering and rate limiting — per-address request counters and rules at the network edge;
- a network that absorbs large volumes: anycast and traffic scrubbing at a protection provider;
- WAF and application-level limits against HTTP floods and slow requests;
- headroom and graceful degradation: serving lightweight pages instead of going down entirely.
Protection starts upstream: if the office link is saturated, traffic will never reach your firewall. That is why volumetric attacks are scrubbed at operators and specialised services, while application-layer ones are handled at the application boundary. To mitigate an attack is to separate malicious traffic from legitimate.
Sources
the term is written from these pages- NIST — CSRC Glossary: distributed denial of service (DDoS)csrc.nist.gov/glossary/term/distributed_denial_of_service(opens in a new tab)
- RFC 4987 — TCP SYN Flooding Attacks and Common Mitigationsrfc-editor.org/rfc/rfc4987.html(opens in a new tab)
- RFC 4732 — Internet Denial-of-Service Considerationsrfc-editor.org/rfc/rfc4732.html(opens in a new tab)
Verified 9 Nov