A DDoS attack (distributed denial-of-service attack) is an attempt to make an online service unavailable by overwhelming it with traffic or requests sent from many sources at once, usually thousands of compromised devices. In cybersecurity, it belongs to the family of malware and attacks that target availability, the third pillar of the confidentiality, integrity and availability triad, rather than stealing or altering data.
A simple denial-of-service attack (DoS attack) comes from a single source and can often be blocked by filtering one address. The distributed form is far harder to stop because the malicious traffic arrives from geographically scattered sources that look similar to legitimate visitors, frequently drawn from a botnet of infected routers, cameras, servers and personal computers.
How a DDoS attack exhausts resources
Every DDoS attack works by exhausting a finite resource faster than the target can replenish it. That resource may be network bandwidth, the state table of a firewall or load balancer, the connection capacity of a server, or the CPU and database time behind an application.
Attackers control the traffic through command-and-control infrastructure that instructs bots when to start, which target to hit and which technique to use. Many campaigns are rented as booter or stresser services, so the operator needs little technical skill, only payment and a target address.
The table below maps the main targeted resources to their typical symptoms during an attack.
| Targeted resource | Typical symptom | Measured in |
|---|---|---|
| Network bandwidth | Upstream links saturated, packet loss | Gigabits or terabits per second |
| Connection state tables | Firewalls and load balancers drop new sessions | Packets per second, concurrent sessions |
| Server sockets and memory | Server stops accepting connections | Open connections |
| Application processing | Slow pages, timeouts, database overload | Requests per second |
Main types of DDoS attacks
DDoS attacks are usually grouped into three categories according to the network layer they abuse and the resource they consume. Real campaigns increasingly combine several vectors in a multi-vector attack to defeat defenses tuned for a single pattern.
| Category | Example techniques | Layer | Primary goal |
|---|---|---|---|
| Volumetric attacks | UDP floods, DNS and NTP amplification | Network (layer 3) | Saturate bandwidth |
| Protocol attacks | SYN floods, ACK floods, fragmented packets | Network and transport (layers 3 and 4) | Exhaust state tables and stacks |
| Application-layer attacks | HTTP floods, Slowloris, HTTP/2 Rapid Reset | Application (layer 7) | Exhaust server and database capacity |
Reflection and amplification deserve special attention. The attacker sends small requests with the victim’s spoofed source address to open services such as DNS resolvers, NTP servers or memcached instances, which reply with much larger responses directed at the victim. The ratio between response and request is the amplification factor.
The following table shows approximate amplification factors for commonly abused protocols; actual values depend on server configuration and the specific query.
| Protocol | Abused feature | Approximate amplification |
|---|---|---|
| DNS | Large responses to ANY or DNSSEC queries | About 28 to 54 times |
| NTP | Legacy monlist command | Up to about 550 times |
| SSDP | Discovery responses from consumer devices | About 30 times |
| Memcached | Exposed UDP interface | Up to tens of thousands of times |
Application-layer attacks are the hardest to detect because each request may be a valid HTTP transaction. A modest flood of expensive search or login requests can bring down a site that would easily survive a far larger volumetric attack.
DDoS attacks compared with related threats
A DDoS attack differs from most other attacks in the Topic because its objective is disruption, not data access. It is nevertheless often linked to other threats, either as the source of attacking traffic or as a distraction.
- Botnet: the infrastructure that most often generates DDoS traffic; the botnet is the tool, the DDoS attack is one use of it.
- Ransomware: some groups add DDoS threats as extortion pressure, a tactic sometimes called triple extortion.
- Brute-force attack and credential stuffing: high request volumes may resemble an application-layer flood, but the goal is account access.
- Ransom DDoS: extortion letters demand payment to avoid an attack, sometimes with no real capacity behind the threat.
Security teams also watch for DDoS used as a smokescreen, because a noisy outage can absorb staff attention while a quieter intrusion proceeds elsewhere in the network.
Detecting and mitigating DDoS attacks
Effective DDoS defense relies on layered mitigation that matches the attack type and size. No single device can absorb a large volumetric attack once the upstream link is saturated, so protection must start outside the organization’s own network.
| Mitigation | Effective against | Limitation |
|---|---|---|
| Cloud scrubbing service | Large volumetric and protocol attacks | Adds routing changes or latency |
| Content delivery network | Volumetric and many layer 7 floods | Covers only proxied web traffic |
| Rate limiting and WAF rules | Application-layer floods | Needs tuning to avoid blocking users |
| Anycast distribution | Distributed volumetric load | Requires global infrastructure |
| Upstream blackholing (RTBH) | Protecting the rest of the network | Takes the target offline completely |
Detection depends on a traffic baseline: flow telemetry such as NetFlow or IPFIX, request rates per endpoint and error ratios reveal deviations within seconds. On the prevention side, network operators that apply source address validation under BCP 38 make spoofing, and therefore reflection attacks, much harder.
Common mistakes include relying solely on an on-premises appliance, leaving origin server addresses exposed behind a CDN, and having no tested runbook that names who contacts the provider and who approves traffic diversion.
In simple terms
Imagine a small shop that suddenly has thousands of fake customers crowding the door. None of them buys anything, but real customers cannot get inside. A DDoS attack does the same to a website or online service.
The fake visitors are usually hijacked computers and gadgets whose owners do not know they are taking part. Because they come from everywhere at once, the shop cannot simply lock out one person. Protection services act like a large filtering entrance that lets genuine customers through and turns the crowd away.
A practical example
An online retailer prepares for a holiday sale. On the first morning, its monitoring shows inbound traffic jumping from a normal 2 Gbps to about 180 Gbps, mostly UDP packets from DNS and NTP servers, while the data center uplink is only 10 Gbps. Checkout pages begin timing out within minutes.
Following its runbook, the operations team activates an always-available cloud scrubbing service by announcing its address prefix through the provider. Within about ten minutes the reflected traffic is filtered at the provider’s edge, and clean traffic reaches the shop. An hour later a smaller HTTP flood against the search endpoint begins, which the team contains with rate limits in the web application firewall. The sale continues with under 20 minutes of degraded service in total.