Attacks & threats

6 min readUpdated

What is a DDoS attack?

Quick answer

A DDoS (distributed denial-of-service) attack is an attempt to make a service unavailable by overwhelming it with traffic from many different machines at the same time. The word distributed is the important part: because the traffic arrives from thousands of separate addresses, often ordinary devices compromised without their owners' knowledge, it cannot be stopped by blocking a single source. Attacks are grouped by which layer they exhaust — the network link, the connection table, or the application itself.

01How a DDoS attack works

An attacker controls a large number of machines — a botnet — assembled from compromised servers, routers, IoT devices and rented cloud instances. On command, every machine sends traffic to the same target at once.

The goal is exhaustion of a finite resource. That might be bandwidth on the uplink, entries in a connection table, worker processes in a web server, or database connections behind it. Whichever runs out first is the bottleneck, and once it is gone, legitimate requests queue behind attack traffic and time out.

Crucially, an attacker does not need to break anything. There is no vulnerability being exploited in a pure DDoS — the service is doing exactly what it was built to do, just far more often than it was built for. CISA's definition captures both halves: a denial of service leaves legitimate users unable to reach a service because of an attacker's actions, and it becomes distributed when multiple machines work together against one target. Why that distinction changes the defence is covered in DoS vs DDoS.

02The three types of DDoS attack

Attacks are usually classified by the layer they target, because that determines how they must be mitigated. Each type is also measured in a different unit, and bps vs pps vs rps explains why a flood that looks small in gigabits per second can still take down a server that survives a bigger one.

TypeLayerMethodMeasured in
Volumetric3 – 4Raw traffic flood, often amplified through open UDP servicesGbps / Tbps
Protocol3 – 4Exhausting connection state, e.g. SYN floods leaving half-open connectionsPackets per second
Application7Expensive HTTP requests — search queries, logins, cart operationsRequests per second

03Why amplification makes small attackers dangerous

Amplification lets an attacker turn a small amount of outbound bandwidth into a very large flood. The technique abuses UDP services that reply with far more data than they receive, such as misconfigured DNS resolvers, NTP servers or memcached instances.

The attacker sends a small request to such a server, but forges the source address so it appears to come from the victim. The server dutifully sends its large reply to the victim. With an amplification factor of fifty, a single gigabit of attacker bandwidth becomes fifty gigabits arriving at the target — from servers that are themselves innocent. CISA's amplification table puts DNS at 28 to 54 times, NTP at about 557 and memcached at 10,000 to 51,000; amplification attacks explained works through the arithmetic.

Forging the source address only works where networks do not apply the ingress filtering described in BCP 38 (RFC 2827), which has asked providers since 2000 to drop packets whose source addresses do not belong to their customers.

04Layer 7 attacks: small, cheap and hard to see

Application-layer attacks such as an HTTP flood do not need volume. A request that triggers a full-text search across a large table, or a login attempt that runs a deliberately slow password hash, costs the attacker almost nothing and costs the server a great deal. A few thousand of those per second can take down infrastructure that would shrug off a far larger flood of junk packets.

They are also much harder to identify, because each individual request looks legitimate. The traffic is well-formed HTTPS, often with plausible browser headers, sometimes even from residential addresses. The difference from real traffic is not in any single request but in the pattern across many of them, which is why defences judge behaviour over time rather than inspecting requests one by one.

Slow attacks are a quieter variant. Slowloris holds connections open with deliberately incomplete requests, so a server runs out of connection slots while its bandwidth graph stays flat.

05How big and how frequent attacks are

Attack volumes grow every year, so any figure dates quickly. The most recent public reports give a sense of scale:

  • Cloudflare reported 47.1 million DDoS attacks in 2025, an average of 5,376 every hour; network-layer attacks made up 78% of the fourth-quarter total
  • The largest in that report peaked at 31.4 Tbps and lasted 35 seconds
  • Botnets have grown with cheap connected devices: Mirai, which appeared in 2016, peaked at about 600,000 infected devices, while Cloudflare estimates the Aisuru-Kimwolf botnet at 1 to 4 million infected hosts, mostly Android TV devices
  • In the first half of 2026, 90.60% of the network-layer attacks Cloudflare mitigated ended within ten minutes, and DNS-based attacks accounted for 34.3% of network-layer activity

06How to tell you are under attack

The first symptom is nearly always a slow or unreachable service, and the useful question is which resource ran out, because that tells you the layer: a full uplink points to a volumetric flood, timed-out connections with normal bandwidth to a protocol flood, a saturated CPU or database to an application attack, and a healthy server whose name will not resolve from outside your network to an attack on your DNS provider. Signs of a DDoS attack pairs each symptom with a test that confirms it and the ordinary causes that look the same, such as a genuine traffic spike or a failing origin. If it is an attack you cannot absorb, emergency onboarding gets protection in front of the service quickly.

07What mitigation actually looks like

Different layers need different answers, and running only one leaves an obvious gap.

  • Volumetric floods must be absorbed upstream — on a network with more capacity than the attack, before your own uplink saturates
  • Protocol attacks are handled in the kernel at the edge, using connection limits and SYN cookies rather than application logic
  • Application attacks require inspecting requests and separating automation from people, usually with challenges rather than outright blocks
  • Caching removes a surprising share of attack traffic, because requests served from the edge never reach the origin at all

Questions

Frequently asked questions

A DoS attack comes from one source; a DDoS attack comes from many at once. The distinction matters because a single source can simply be blocked, while distributed traffic has no single origin to block.

Most are short. Cloudflare's report for the first half of 2026 found that about nine in ten network-layer attacks ended within ten minutes, and some record-breaking floods lasted under a minute. Sustained multi-day campaigns exist and tend to point to a targeted motive rather than opportunism.

Not directly; a denial-of-service attack aims at availability, not confidentiality. It is sometimes used as a distraction while an intrusion happens elsewhere, so an attack is a reason to watch your other logs rather than only your traffic graphs.

Rarely. A real botnet uses thousands of addresses that rotate constantly, and in amplified attacks the visible sources are innocent third-party servers. Effective mitigation works on traffic characteristics, not address lists.

Yes. In the UK, section 3 of the Computer Misuse Act makes it an offence to impair the operation of a computer, or hinder access to its programs or data, without authorisation. In the US, the FBI warns that using booter or stresser services against a target can lead to charges under the Computer Fraud and Abuse Act. Paying someone else to send the traffic does not change that.

Sources

Sources and verification

  1. 01Understanding Denial-of-Service Attacks · CISA
  2. 02Alert TA14-017A: UDP-Based Amplification Attacks · CISA
  3. 03RFC 2827 (BCP 38): Network Ingress Filtering · IETF
  4. 04DDoS threat report for 2025 Q4 · Cloudflare
  5. 05DDoS threat report for H1 2026 · Cloudflare
  6. 06Understanding the Mirai Botnet (USENIX Security 2017) · USENIX
  7. 07Computer Misuse Act 1990, section 3 · legislation.gov.uk
  8. 08PSA: Booter and Stresser Services Increase the Scale and Frequency of DDoS Attacks · FBI IC3

Last updated