Security operations

What Is a DDoS Attack? How It Works, Types and How to Stop It

A DDoS attack knocks a site offline by flooding it with junk traffic from thousands of hijacked devices. Here is how it works, how to spot one, and how to defend against it.

Cysoro Security TeamPublished · 10 min read
OverloadedRequests: 205M / secLegit users: locked outSECURITY OPERATIONSDDoSattackFlooded out. How to fight back.
Quick answer

A DDoS attack is a distributed denial-of-service attack in which many compromised devices, usually a botnet, flood a website, server or network with traffic or requests at the same time. The flood uses up bandwidth, connections or processing power, so legitimate users cannot reach the service until the attack stops or is filtered.

Key takeaways

  • A DDoS attack uses many sources at once, which is what makes it harder to block than a single-source denial-of-service attack.
  • Volumetric, protocol and application-layer attacks target different bottlenecks: bandwidth, connections and server work.
  • The best defense is planned in advance: DDoS protection, rate limits, patching IoT devices and a response plan.

Your website is fine one minute and unreachable the next. Customers see timeouts, your checkout fails, and your monitoring lights up. That is the core experience of a DDoS attack: not a break-in, but a crowd so large that nobody legitimate can get through the door.

What is a DDoS attack?

A DDoS attack is a distributed denial-of-service attack. Many compromised devices flood one target with traffic or requests at the same time, using up its bandwidth, connections or processing power until real users cannot reach it.

CISA defines a denial-of-service attack as one in which legitimate users are unable to access information systems, devices or other network resources because of a malicious actor. The attack floods the target until it cannot respond or simply crashes. A distributed attack does the same thing from many machines at once, which is why it is far harder to stop by blocking a single address.

Nothing has to be stolen or changed for the damage to happen. A shop loses sales, staff cannot reach email, and a game server drops every player. Availability is the target, and the outage itself is the harm.

How does a DDoS attack work?

A DDoS attack usually follows five steps: build or rent a botnet, pick a target, command the botnet to flood it, overwhelm a bottleneck, and keep the flood going until the attacker stops or defenses filter it out.

How a DDoS attack works, step by step1Build a botnethijack routers,cameras, TVs2Pick a targeta website, gameserver or network3Send the ordercommand servertells bots to fire4Flood the targetthousands ofrequests at once5Service failsreal users arelocked outThe bots are victims too: their owners usually do not know the devices are involved.
The five steps of a DDoS attack. Illustration by Cysoro.

First, the attacker needs an army. CISA explains that attackers exploit vulnerabilities or weak device settings to take control of many internet-connected devices, then use command-and-control software to direct them. These infected devices are often routers, cameras, smart TVs and other Internet of Things devices that still use default passwords.

Second, the attacker does not even need to build that army. CISA notes that botnets are rented out through attack-for-hire services, sometimes called booters or stressers, which let unskilled users launch attacks for a fee.

Third, the flood begins. Because the traffic comes from thousands of real devices in many countries, blocking one IP address does almost nothing, and tracing the true source is difficult.

What are the three types of DDoS attack?

The three types are volumetric, protocol and application-layer attacks. They differ in what they exhaust: volumetric attacks consume bandwidth, protocol attacks consume connections, and application-layer attacks consume server processing.

TypeWhat it targetsHow it worksExample
VolumetricBandwidthMassive traffic fills the internet linkUDP flood, DNS amplification
ProtocolConnections and network equipmentHalf-open or malformed connections exhaust tablesSYN flood, Ping of Death
Application layerServer and app processing (Layer 7)Requests that look normal but are expensive to answerHTTP flood, Slowloris

Volumetric attacks

Volumetric attacks aim to consume all available bandwidth. The target's internet link fills with junk, so legitimate traffic cannot get through at all.

Amplification makes this worse. An attacker sends a small request to a public server with the victim's address forged as the source, and the server sends a much larger reply to the victim. DNS amplification is the classic case, and a memcached amplification seen in 2018 turned a 15-byte request into a 750 KB response.

Protocol attacks

Protocol attacks exploit weaknesses in network protocols, typically at layers 3 and 4. They consume the connection tables of servers, load balancers and firewalls.

A SYN flood is the best-known example. The attacker sends connection requests but never completes the three-way handshake, leaving ports in an occupied state. CISA describes how the attacker keeps sending requests until all open ports are saturated and legitimate users cannot connect.

Application-layer attacks

Application-layer attacks target the website or app itself at layer 7. They send requests that look like real user traffic, such as searches, logins or uncached pages, but each one costs the server real work.

These attacks need far less traffic to succeed, because a few thousand expensive requests can overload a database or application server. They are also the hardest to filter, since the requests look legitimate until you study their pattern.

DoS vs DDoS: what is the difference?

A DoS attack comes from one source or a small number of sources, while a DDoS attack comes from many sources at the same time. That difference changes everything about defense.

A single-source flood can often be stopped by blocking that address at the firewall. A distributed flood cannot, because there are thousands of addresses, many of them genuine devices whose owners are innocent. You need filtering that judges traffic by behavior, not by source address alone.

The joint CISA, FBI and MS-ISAC guide draws the line exactly this way: a DoS attack involves a single source, and a DDoS attack involves multiple sources sending traffic or requests at the same time.

How do you know if you are under a DDoS attack?

The main signs are unusually slow performance, a website that will not load, or an inability to reach any website at all. The problem is that these symptoms also look like ordinary outages, maintenance or a viral traffic spike.

CISA lists three warning signs: unusually slow network performance when opening files or websites, unavailability of a particular website, and an inability to access any website. The best way to tell the difference is network traffic monitoring and analysis, for example through a firewall or intrusion detection system that can alert on an anomalous load.

Check these things before assuming an attack. Is your hosting provider reporting an outage? Is a single page slow, or is everything down? Is traffic coming from an unusual mix of countries or user agents?

A genuine rush of visitors slows a site in the same way as an attack, so traffic data, not guesswork, settles the question. If you run a small site, our guide to securing your Wi-Fi covers the home-network basics that also keep your own devices out of botnets.

How big are DDoS attacks now?

DDoS attacks are far bigger and far more frequent than they were a few years ago. Cloudflare mitigated 47.1 million DDoS attacks in 2025, more than double the 2024 total, at an average of 5,376 attacks every hour.

  • 47.1 million attacks in 2025, up 121% on 2024, according to Cloudflare's 2025 Q4 DDoS threat report.
  • 31.4 Tbps: the largest attack ever publicly disclosed at the time, launched by the Aisuru-Kimwolf botnet in November 2025 and lasting just 35 seconds.
  • 1 to 4 million hosts: the estimated size of the Aisuru-Kimwolf botnet, made up mainly of infected Android TVs.
  • 205 million requests per second: the peak HTTP rate in the botnet's December 2025 campaign, which Cloudflare called "The Night Before Christmas".
  • 90.6% of network-layer attacks ended within 10 minutes in the first half of 2026, so most attacks are short bursts rather than day-long sieges.

Cloudflare also notes that DDoS protection works by filtering bad traffic before it reaches the target.

The record keeps moving. Attack sizes grew by more than 700% over the course of 2025, and the 31.4 Tbps peak was more than five times the 5.6 Tbps record disclosed in late 2024. Short, huge bursts are now the pattern: they aim to overwhelm defenses before anyone can react manually.

DDoS attacks in 2025: bigger and more frequent47.1Mattacks mitigatedby Cloudflare in 202531.4 Tbpslargest attack everdisclosed; 35 seconds5,376/hraverage attacksmitigated per hourSource: Cloudflare DDoS threat report for 2025 Q4.Network-layer attacks more than tripled, from 11.4 million in 2024 to 34.4 million in 2025.
DDoS scale in 2025, from Cloudflare's Q4 2025 threat report. Illustration by Cysoro.

Why do attackers launch DDoS attacks?

Motives vary: extortion, hacktivism, political pressure, business competition, revenge, and distraction from a second attack. Some attackers simply rent out botnets for money.

Extortion is common: pay up, or the attacks continue. Hacktivist groups use DDoS to protest or to disrupt a target during a news event. Others use it as a smokescreen, flooding defenders with alerts while they try to break into a different system. CISA warns specifically not to lose sight of other hosts and services during an attack, because attackers use DDoS to deflect attention from secondary attacks.

The low barrier matters too. Because attack-for-hire services exist, the person ordering the attack may have almost no technical skill. That is why even small businesses, schools and game servers get hit.

What are real examples of DDoS attacks?

Three documented cases show the range: the Mirai botnet in 2016, the HTTP/2 Rapid Reset flaw in 2023, and the Aisuru-Kimwolf record attacks in 2025.

Mirai and the 2016 Dyn outage

The Mirai botnet, built from compromised cameras and routers with default passwords, was used in October 2016 to attack DNS provider Dyn. Major sites including Twitter, Netflix and Reddit became unreachable for many users. Mirai showed that cheap IoT devices could become a weapon at internet scale.

HTTP/2 Rapid Reset in 2023

In October 2023, CISA warned of a vulnerability called HTTP/2 Rapid Reset (CVE-2023-44487). Attackers abused the HTTP/2 protocol to generate huge numbers of requests cheaply. Cloudflare reported a peak just above 201 million requests per second from one attack, at the time the largest HTTP attack it had seen.

Aisuru-Kimwolf in 2025

In late 2025, the Aisuru-Kimwolf botnet, mainly infected Android TVs, launched a campaign Cloudflare called "The Night Before Christmas". It began on December 19, 2025, with 902 hyper-volumetric attacks averaging 53 a day, peaking at 205 million requests per second. Weeks earlier, the same botnet had set the 31.4 Tbps record.

How do you protect against a DDoS attack?

No single product stops every DDoS attack. The defense is layered: filter traffic before it reaches you, limit what any one source can do, and have a plan ready before the attack starts.

Five layers of DDoS defense1DDoS protection servicefilters bad traffic in the cloud before it reaches your server2Rate limits and cachingcap requests per user and serve cached pages when load spikes3Patch and harden deviceschange default passwords, update firmware, close unused ports4Scale and spread the loaduse a CDN and redundant hosting so one server is not the only target5Incident plan, written downwho to call, what to tell customers, and when to escalate
Defense in depth against DDoS attacks. Illustration by Cysoro.

For a business website

  • Enroll in a DDoS protection service. CISA recommends a service that detects abnormal traffic flows and redirects traffic away from your network, filtering out attack traffic and passing clean traffic through.
  • Use a content delivery network. A CDN spreads traffic across many servers and absorbs volumetric floods far better than a single origin server.
  • Set rate limits. Limit requests per IP address and per user, especially on login, search and checkout pages.
  • Cache aggressively. Static and cached pages cost almost nothing to serve, which raises the bar for application-layer attacks.
  • Keep software patched. Apply updates to your web server, CMS and plugins, because protocol flaws such as HTTP/2 Rapid Reset are fixed by patching.

For home users

Change the default password on your router and every smart device, update firmware, and turn off remote management unless you need it. That stops your devices being recruited into the next botnet. Our guide to knowing if your phone is hacked covers the same check-and-clean habits for mobile devices.

Do not pay a ransomPaying an extortion demand does not guarantee the attacks stop, and it marks you as a payer. Report the extortion to law enforcement and lean on your protection provider instead.

What should you do during a DDoS attack?

Act in this order: confirm it is an attack, call your hosting provider and DDoS protection provider, and tell your customers what is happening. Do not try to ride it out silently.

  1. Confirm the outage. Check your monitoring and ask your network administrator whether it is maintenance or an internal issue.
  2. Contact your ISP or hosting provider. Ask whether they are under attack or whether they can reroute traffic through a protection service.
  3. Enable your DDoS protection. If you have a protection service, make sure it is active and in its strictest sensible mode.
  4. Watch your other systems. Check logs for intrusion attempts, because a DDoS attack can be a distraction from a second attack.
  5. Communicate. Post a short status update for customers and staff, with no technical detail the attacker could use.
  6. Report it. In the US, report the attack to CISA and, if money was demanded or lost, to the FBI's Internet Crime Complaint Center.

After the attack, keep the logs, review what worked, and update your plan. Note which type of attack it was, how long it lasted, and which control stopped it, so the next one is handled faster.

What mistakes make a DDoS attack worse?

The most common mistakes are having no protection service until the attack starts, relying on a single server, and ignoring the devices on your own network.

Buying protection during an attack is slow: contracts, DNS changes and allow-listing all take time you do not have. A single origin server with no CDN is a single point of failure.

Unpatched routers, cameras and servers on your own network can be recruited into botnets that attack others. CISA urges everyone to install antivirus software, use a firewall and follow good security practices on every connected device.

Another mistake is assuming a bigger server fixes the problem. It helps with small attacks, but a 31 Tbps flood will overwhelm any single server. Filtering upstream, where the internet is bigger than the attack, is what works.

The bottom line

A DDoS attack does not need to steal anything to hurt you. It only needs to make your service unavailable at the wrong moment, and modern botnets can do that in seconds.

Plan before it happens: put DDoS protection in front of your site, patch your devices so they cannot join a botnet, and write down who to call.

You can check the basics of your own site in seconds with the free security headers checker.

Frequently asked questions

What is a DDoS attack in simple terms?

A DDoS attack is when many hijacked computers and devices send traffic to one website or network at the same time, overwhelming it so real users cannot get in. The devices are usually part of a botnet, and their owners often do not know they are involved.

How does a DDoS attack work?

An attacker builds or rents a botnet of compromised devices, then commands them all to send traffic or requests to the target at once. The flood exhausts bandwidth, open connections or server processing, and legitimate requests are dropped or time out.

What is the difference between a DoS and a DDoS attack?

A DoS attack comes from one source or a small number of sources, so blocking that source can stop it. A DDoS attack comes from many sources at once, usually a botnet, which makes it much harder to block by IP address alone.

Can a DDoS attack steal my data?

A DDoS attack on its own does not steal data; it blocks access. The risk is that attackers sometimes use a DDoS attack as a distraction while they try a second attack, such as intrusion or data theft, so watch your other systems during an incident.

How long does a DDoS attack last?

Most are short. Cloudflare reported that 90.6 percent of the network-layer attacks it blocked in the first half of 2026 ended within 10 minutes, though some campaigns last hours or return in waves over days.

Is a DDoS attack illegal?

Yes. In the United States, launching a DDoS attack, or paying an attack-for-hire service to launch one, is a federal crime under the Computer Fraud and Abuse Act. Victims should report attacks to their provider, CISA and the FBI.

Can my home internet be hit by a DDoS attack?

Yes, though it is uncommon unless you run a game server, stream, or are targeted after an online dispute. More often, home devices such as routers and cameras are hijacked into botnets. Change default passwords and keep firmware updated.

How can I protect my website from a DDoS attack?

Use a DDoS protection service that filters bad traffic before it reaches your server, set rate limits, use a content delivery network, keep software patched, and write down who to call at your host and protection provider before an attack happens.

Sources

  1. CISA — Understanding Denial-of-Service Attacks
  2. Cloudflare Radar — DDoS threat report for 2025 Q4
  3. CISA, FBI and MS-ISAC — Understanding and Responding to Distributed Denial-of-Service Attacks
  4. Cloudflare Learning Center — What is a DDoS attack?
  5. NIST Computer Security Resource Center — Denial of Service
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against CISA guidance, the joint CISA/FBI/MS-ISAC DDoS guide and Cloudflare's 2025 Q4 DDoS threat report.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free