← Return to Learn Hub
Professional Guide

Anatomy of a Distributed Denial of Service (DDoS) Attack & Modern Cloud Mitigation

By Keshav Kumar • Network Protocol Engineering & Resiliency ‪ 8 min read • Last updated: November 2026

Distributed Denial of Service (DDoS) attacks represent one of the oldest yet most disruptive threats on the internet. By weaponizing thousands of compromised devices, threat actors can overwhelm enterprise data centers with terabits of malicious traffic. Here is how attacks occur and how modern cloud networks neutralize them.

What Differentiates a DoS from a DDoS?

A simple Denial of Service (DoS) attack originates from a single computer targeting a single server. A modern firewall can easily block a lone offending IP address. In contrast, a Distributed Denial of Service (DDoS) leverages a global botnet comprising tens of thousands of infected computers, cloud servers, and unsecured IoT smart devices (routers, security cameras, smart TVs).

The Three Primary Categories of DDoS Attacks

1. Volumetric Bandwidth Floods (Layer 3/4)

The goal is raw saturation of the victim's physical internet transit pipe. Attackers frequently utilize UDP Amplification (NTP, DNS, SSDP, Memcached), where spoofed requests are sent to public servers that reflect back response packets 50 to 50,000 times larger than the original request, inundating the target with terabits per second.

2. Protocol Exploitation (SYN Floods)

TCP connections require a three-way handshake: SYN → SYN-ACK → ACK. In a SYN flood, the attacker transmits millions of initial SYN requests with spoofed source addresses. The victim server allocates memory resources waiting for the final ACK that never arrives, exhausting its connection table until legitimate users are locked out.

3. Application Layer Attacks (Layer 7 HTTP Floods)

Application layer attacks target the application software itself. Unlike volumetric floods, Layer 7 attacks require minimal bandwidth. By generating thousands of complex database search queries or cryptographic TLS renegotiation requests, attackers force database servers to max out CPU cores and crash.

How Cloudflare and Anycast Routing Mitigate Multi-Terabit Attacks

Enterprise cloud mitigation providers (Cloudflare, AWS Shield, Akamai) defend against massive attacks using BGP Anycast Routing:

In an Anycast network, hundreds of geographically distributed data centers around the world announce the exact same IP address. When a global botnet launches a 2 Tbps attack, the malicious traffic is automatically distributed among dozens of regional scrubbing centers. Each regional center absorbs a fraction of the traffic, scrubs out malicious signatures in hardware, and passes clean requests to the origin server.

TCP SYN Flood State Table Exhaustion vs Anycast Scrubbing & SYN Cookies

SYN FLOOD ATTACK (EXHAUSTION) 1. Attacker sends 10,000+ spoofed IP SYNs 2. Server sends SYN-ACK & allocates TCB 3. Attacker NEVER returns ACK 4. Saturation: Kernel drops legitimate SYNs Result: Complete Denial of Service SYN COOKIES & ANYCAST MITIGATION 1. Anycast BGP scatters flood across PoPs 2. Server DOES NOT allocate memory on SYN 3. Encodes MSS & secret into SEQ number 4. Only allocates TCB when valid ACK returns Result: Unbounded Resiliency

Authoritative References & Technical Sources

Visualize DDoS Telemetry on Threat Map

Watch simulated volumetric floods and attack vectors plotted across 100 global cities on our threat map simulator.

Launch Simulator →