How a DDoS Attack Floods a Site Until Real Users Time Out

Diagram of a DDoS attack: an attacker's command server directs a ring of infected devices to flood a target server while a real user's request times out

A website that was fine a minute ago suddenly spins, then gives up with a timeout. It can be a fault at the host, a cut cable, or a rush of genuine traffic. It can also be a distributed denial-of-service attack, or DDoS.

Cloudflare describes a DDoS as a malicious attempt to disrupt a server, service or network by flooding it, or the path to it, with internet traffic. The aim is simple: stop ordinary users from getting through, the way a jammed road stops regular cars from arriving. That is different from breaking into the site to steal data, though both can happen in the same incident.

Animated diagram of a DDoS attack: an attacker's command server directs a ring of infected devices to flood a target server while a real user's request times out
A short animation of a botnet flooding a target until a real user’s request times out. The traffic numbers on the ticker are illustrative, not a live measurement.

Why “distributed” matters

A denial-of-service attack can come from one machine. A distributed attack comes from many. In joint guidance, CISA, the FBI and the MS-ISAC explain the difference: a DoS flood is launched from a single source, or a small number of computers, while a DDoS uses multiple sources, often a crowd of compromised devices known as a botnet.

The attacker usually does not sit at each of those devices. They are hijacked computers, home routers, cameras and other gadgets already infected with malware. A command-and-control point, sometimes labelled C2, sends instructions to the botnet. Each bot then sends traffic or requests at the target. Because the flood arrives from many addresses, it is harder to trace and harder to block than a single noisy machine.

The animation with this article shows that pattern: a command node, a ring of bots, a stressed target, and a real user’s request ending in a timeout. The traffic figures on the ticker, around two terabits per second and a few million requests a second, are illustrative, not a measurement of a particular incident. Real attacks range from small, short bursts to much larger floods. “Thousands of hijacked devices” is a fair starting picture; some botnets have grown far larger than that.

How the three kinds of flood differ

Cloudflare and the CISA guidance group most DDoS techniques into three kinds. The table below uses that split, with examples and the units operators usually quote when they describe the size of an attack. There is some overlap: a protocol flood can also be huge in volume, and attackers sometimes combine methods.

TypeWhat it targetsExamplesMeasured in
VolumetricThe available bandwidth on the path to the site, so legitimate traffic cannot get throughUDP floods, DNS amplification and other “amplification” tricks that bounce a small query into a large replyBits per second (bps, often quoted in Gbps or Tbps)
ProtocolHow network devices handle connections: servers, firewalls and load balancers, and the tables they keep for half-finished handshakesSYN floods, and older tricks such as a ping of death or a Smurf attackPackets per second (pps)
Application-layerThe website or app itself, often with a storm of expensive page requests that can look, at a glance, more like ordinary browsingHTTP GET or POST floods, and slow request tricks such as SlowlorisRequests per second (rps)

Those measurement units are the ones Cloudflare uses when it talks about attack size: bits per second for raw data volume, packets per second for how hard the network gear is being hit, and requests per second for application-layer floods.

A botnet that made this pattern famous

In September 2016, the security site KrebsOnSecurity was knocked offline by a very large flood. Brian Krebs later reported that the traffic reached about 620 gigabits per second, and that the attack was launched by a botnet built with malware called Mirai. Mirai spread by finding internet-connected cameras, recorders and other gadgets that still used factory default passwords, then adding them to the botnet.

On 30 September 2016, the source code for Mirai was posted publicly on the Hackforums board. Krebs’s article the next day, and later reporting by outlets such as Wired, documented that release. Once the code was public, other groups could build similar botnets. The lesson for this explainer is not the brand name. It is the same shape you see in the animation: many hijacked devices, one target, and ordinary users left staring at a timeout.

Launching a flood is a crime

Arranging or taking part in a DDoS attack is illegal in many countries. In the United States, prosecutors have charged DDoS activity under the Computer Fraud and Abuse Act. A U.S. Department of Justice case from the Northern District of California is one public example of those charges. In the United Kingdom, the same kind of conduct can fall under section 3 of the Computer Misuse Act 1990, which covers unauthorised acts intended to impair a computer or hinder access to it. The Crown Prosecution Service guidance on that Act is the usual starting point for how those cases are described in England and Wales. This is a general warning, not legal advice, and the exact offence depends on the facts and the country.

If you are the person staring at a timeout

If you are just trying to reach a site, there is little you can do to stop the flood. Refreshing over and over rarely helps, and it adds a little more load. Use the company’s own status page or a trusted outage checker, and be cautious of emails or texts that arrive at the same moment claiming you must “verify” a login or pay a fee to restore service. Those are a common follow-on scam.

If you run a site or a small office network, CISA’s guidance is to plan before the attack: know your normal traffic, talk to your hosting provider or a DDoS protection service in advance, and have a way to filter or absorb a surge. A content delivery network can help with some kinds of flood, but no single tool covers every technique.

A timeout is frustrating because it looks like “the internet is down.” Often the network is fine, and one target is being shouted at from every direction. Knowing that difference will not bring the page back any faster, but it will stop you from treating a flood as a problem with your own Wi-Fi, or as a reason to click the first “fix this” link that appears in your inbox.

Common questions

Is a DDoS the same as a site being hacked?

Not usually. A DDoS aims to stop the service from answering, by flooding it. A break-in aims to get into accounts, files or systems. The two can be combined, but a timeout on its own does not mean someone has stolen data.

Will refreshing the page help?

Almost never, if the site itself is the target. Each refresh is another request the server may have to handle. Wait, check a status page, and try again later.

Are the traffic numbers in the animation from a real attack?

No. The ticker in the animation is a teaching device. The figures move around a few terabits per second and a few million requests a second to show strain, not to report a named incident.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *