Security operations

DoS vs DDoS: What Is the Difference and Which Is Worse?

A DoS attack floods a target from one machine. A DDoS attack does the same from thousands. Here is how they differ, why DDoS is harder to stop, and what works.

Cysoro Security TeamPublished · 8 min read
SERVER1 source vs thousands SECURITY OPERATIONS DoS vsDDoS One flood. Or a thousand.
Quick answer

A denial-of-service (DoS) attack floods a server from a single source to make it unavailable, while a distributed denial-of-service (DDoS) attack floods it from many compromised devices at once. DDoS is harder to block because traffic comes from thousands of addresses, and in 2025 Cloudflare mitigated 47.1 million DDoS attacks.

Key takeaways

  • DoS comes from one source; DDoS comes from many devices in a botnet, so blocking one address does not stop it.
  • Both attacks aim at availability, not theft, but they can also distract from a second attack.
  • Rate limiting, upstream filtering, a CDN, and an incident plan are the core defenses for small teams.

Your website was fine yesterday. Today it will not load, your server is at full capacity, and legitimate visitors get errors. That is the core of a denial-of-service attack: the service is still there, but nobody can reach it.

What is a DoS attack?

A denial-of-service (DoS) attack is a malicious attempt to make a server, website, or network unavailable by overwhelming it with requests. The target spends all its resources on junk traffic and has none left for real users.

DoS usually comes from a single source, such as one computer running a flood tool or script. Because the traffic has one origin, it is often easier to spot and block than a distributed attack.

A DoS attack does not need to break in. It does not steal a password or install malware. It simply exhausts something the target needs: bandwidth, connection slots, memory, CPU, or application capacity.

Common motives include extortion, harming a competitor, protest, or revenge. Sometimes a DoS attack is also a distraction, keeping defenders busy while a second attack runs elsewhere.

What is a DDoS attack?

A distributed denial-of-service (DDoS) attack is a DoS attack launched from many sources at once. The attacker controls a botnet of compromised devices and orders them all to flood the same target simultaneously.

Botnets are built from infected computers, servers, phones, routers, cameras, and other connected devices. Their owners often have no idea their device is taking part, which is why IoT devices are a favorite target.

Because traffic arrives from thousands of addresses in many countries, defenders cannot simply block one IP address. Fortinet's DoS vs DDoS guide notes the same point: a DDoS attack disguises its origin across many remote locations.

DDoS attacks can also be rented. So-called booter or stresser services sell attack capacity to anyone willing to pay, which lowers the skill needed to launch a large attack.

One source vs many sourcesDoS — one sourcePCTarget serverBlock one IP and it stopsDDoS — botnetthousands of infected devicesTarget serverBlocking one IP changes littleThe distributed version is larger, faster, and harder to trace.
DoS uses one source; DDoS uses a botnet. Illustration by Cysoro.

DoS vs DDoS: what's the difference?

The goal is the same — deny service — but the source, scale, speed, and defense are different. That difference decides how hard the attack is to stop.

FactorDoS attackDDoS attack
SourceSingle computer or systemMany systems in a botnet
Traffic volumeLimited by one attacker's bandwidthAggregated across thousands of devices
SpeedSlower to build upVery fast, can overwhelm in seconds
DetectionEasier, one origin to traceHarder, traffic looks spread out and mixed
BlockingBlock the source IP or rate-limit itNeeds upstream filtering and large capacity
Skill neededLow to moderateLow if rented, higher if building a botnet
Typical targetOne server or siteOne or more services, often large ones

Think of it as one person blocking a shop doorway versus a crowd blocking every entrance at once. The first can be moved aside. The second needs a different plan entirely.

What are the main types of DoS and DDoS attacks?

Most attacks fall into three groups: volumetric attacks that flood bandwidth, protocol attacks that exhaust connection state, and application-layer attacks that exhaust the application itself.

Volumetric attacks

Volumetric attacks flood the target with traffic until its internet connection is saturated. UDP floods and ICMP (ping) floods are common examples. DNS amplification is a nastier variant: the attacker sends small queries to open DNS servers with the victim's address forged as the source, so large replies flood the victim.

Protocol attacks

Protocol attacks target layers 3 and 4 of the network stack. A SYN flood is the classic example. The attacker sends many TCP SYN packets to start connections but never completes the handshake, filling the server's connection table until it cannot accept real connections.

Application-layer attacks

Application-layer attacks target layer 7, the web application itself. An HTTP flood sends a huge number of requests that look like real browsing, often to a heavy page such as search or login. These are harder to detect because each request looks legitimate on its own.

Slow attacks are a subtler application-layer form. Slowloris, for example, opens many connections and sends data very slowly, holding them open until the server runs out of connection slots. It needs little bandwidth to cause a lot of damage.

How does a DDoS attack actually work?

A DDoS attack has three stages: build or rent a botnet, aim it at a target, and flood until the target fails or the attacker stops. The whole process can now be set up in minutes.

  1. Build the botnet. Attackers infect devices by exploiting vulnerabilities, guessing weak passwords, or tricking users into installing malware. Each infected device waits for orders.
  2. Pick the target and method. The attacker chooses a website, server, or network, and a method such as a UDP flood, SYN flood, or HTTP flood.
  3. Send the command. A command-and-control server tells the bots to start at the same time, often with spoofed source addresses to hide the real origin.
  4. Overwhelm the target. Legitimate requests time out or are dropped. Monitoring may show high CPU, memory, or bandwidth use, and users see errors or slow pages.
  5. Stop, extort, or switch. The attacker may stop after a short burst, demand payment to stop, or switch methods if the first one is blocked.

Amplification makes this worse. In a DNS amplification attack, a small request can trigger a much larger reply, so the attacker gets more flood volume than the bandwidth they use themselves.

How big are DDoS attacks in 2025?

DDoS attacks in 2025 were larger and more frequent than ever. According to Cloudflare's 2025 Q4 DDoS threat report, Cloudflare mitigated 47.1 million DDoS attacks in 2025, up 121% on the previous year, with an average of 5,376 attacks mitigated every hour.

The largest attack Cloudflare disclosed in 2025 peaked at 31.4 terabits per second and lasted just 35 seconds. It was part of a campaign by the Aisuru-Kimwolf botnet, built largely from infected Android TV devices.

Network-layer attacks more than tripled in 2025, reaching 34.4 million, compared with 11.4 million in 2024, according to the same Cloudflare report. Hyper-volumetric attacks, those above 1 Tbps or 1 billion packets per second, grew sharply too.

Most attacks are still short. The record 31.4 Tbps flood lasted 35 seconds, and earlier 2025 attacks at 7.3 Tbps lasted about 45 seconds. Attackers use short bursts to overwhelm a target before defenses can react.

DDoS in 2025 — Cloudflare data47.1Mattacks mitigatedup 121% on 202431.4 Tbpslargest attack35 seconds long5,376attacks per houraverage in 2025Network-layer attacks tripled to 34.4 million in 2025.Source: Cloudflare 2025 Q4 DDoS Threat Report.
DDoS scale in 2025, from Cloudflare's threat report. Illustration by Cysoro.

These figures come from Cloudflare's network, so they do not cover every attack on the internet. They do show the direction clearly: attacks are getting bigger, faster, and more automated, with AI now helping attackers launch campaigns quickly.

How do you know you are under a DoS or DDoS attack?

The main sign is a sudden loss of availability: your site is slow or unreachable, while traffic, CPU, or bandwidth spikes far above normal. The pattern, not just the outage, points to an attack.

  • Traffic spikes from many addresses, countries, or user agents you do not normally see.
  • Repeated requests to the same page, endpoint, or API, often with little variation.
  • Server resources maxed out — CPU, memory, or connection slots at 100% with no matching rise in real users.
  • Errors for real users, such as timeouts, 503 errors, or dropped connections, while the server itself is still running.
  • Unusual patterns, such as many half-open TCP connections (a SYN flood sign) or a flood of UDP packets to closed ports.

Check your hosting or CDN dashboard first. It will usually show whether the spike is real traffic, a misconfigured bot, or an attack. A sudden spike after a product launch or news story may be legitimate, so compare with your normal baseline.

How do you defend against DoS and DDoS attacks?

Defense is about absorbing or filtering bad traffic before it reaches your server. No single setting is enough, so layer several controls and have a plan ready before an attack starts.

For a small website or business

Put a CDN or DDoS protection service in front of your site. It can absorb large floods and filter bad traffic across a global network, which a single server cannot do alone. This is the single most effective step for most small teams.

Set rate limits. Limit how many requests one IP address can make in a short period, especially on login, search, and API endpoints. Use a web application firewall to block known bad patterns.

Keep software patched and close unused ports. Unpatched services and open ports give attackers more ways in and more ways to amplify an attack. Our small business cybersecurity checklist covers patching alongside backups and access controls.

For larger services

Use upstream filtering and anycast. Work with your ISP or cloud provider to filter traffic upstream, and spread your service across multiple locations so no single point can be overwhelmed.

Separate critical services. Do not run your website, email, and DNS on the same server. If one is flooded, the others should keep working.

Monitor and alert. Set alerts for traffic spikes, connection counts, and error rates, and check your security headers and server configuration regularly so a misconfiguration does not make an attack worse.

Do not fight a large DDoS aloneIf traffic is far above your capacity, call your hosting provider, ISP, or DDoS protection vendor immediately. Trying to block thousands of addresses by hand wastes the minutes that matter most.

What should you do during a DoS or DDoS attack?

Stay calm, confirm it is an attack, and escalate to your provider. Your goal is to restore service for real users, not to trace the attacker yourself.

  1. Confirm the outage and its scope. Check whether it is your whole site, one page, or one service, and whether real users or only bots are affected.
  2. Contact your hosting provider or DDoS vendor. They can enable mitigation, add filtering, or move traffic to a larger network.
  3. Enable rate limiting and caching. Cache static pages, limit heavy endpoints, and temporarily disable expensive features such as site search if needed.
  4. Communicate with users. Post a short status update saying you are aware of the problem and working on it. Silence makes an outage look worse.
  5. Watch for a second attack. Check login, firewall, and security logs for break-in attempts while the flood is running.
  6. Review after it ends. Record what happened, what worked, and what to change, then update your incident plan.

If you suspect your own devices are part of a botnet, check them for malware and change weak passwords. Guidance on spotting a compromised device is in our article on how to know if your phone is hacked.

The bottom line

DoS and DDoS attacks both deny service, but they are not the same problem. A single-source flood can often be blocked at the firewall; a botnet flood needs upstream capacity and filtering.

Put a CDN or DDoS protection service in front of your site, set rate limits, and write a short incident plan before you need it. You can start by checking your site's basic configuration with the free SSL checker and fixing any weak spots it finds.

Frequently asked questions

What is the difference between DoS and DDoS?

A DoS attack comes from a single computer or system. A DDoS attack comes from many computers at once, usually a botnet of compromised devices. The distributed version is larger, faster, and much harder to block.

Which is worse, DoS or DDoS?

DDoS is usually worse. It can send far more traffic, it is harder to trace to one source, and it can overwhelm defenses that would stop a single-source flood. A DoS attack can still take a small site offline, though.

What is a botnet?

A botnet is a network of computers, phones, routers, cameras, or other connected devices infected with malware and controlled remotely by an attacker. The owners often do not know their devices are part of it.

Can a DDoS attack steal my data?

A DDoS attack itself does not steal data; it blocks access. Attackers sometimes use a DDoS attack as a distraction while they try a different attack, such as breaking in or stealing data, so do not ignore other alerts during an outage.

How long does a DDoS attack last?

Many attacks are short, sometimes only tens of seconds, because a short burst can overwhelm a target. Others last hours or days, especially when the goal is extortion or to keep a service down during an important event.

Can I stop a DDoS attack by blocking IP addresses?

Blocking one address helps against a DoS attack, but not against a large DDoS attack, where traffic comes from thousands of addresses. You need upstream filtering, rate limiting, and a service built to absorb large floods.

Is a DDoS attack illegal?

Yes, in most countries. Launching a DoS or DDoS attack, or paying someone else to do it, is a computer crime. Penalties can include fines and prison, even when the attacker claims it was a protest or a test.

What should a small business do about DDoS risk?

Use a CDN or DDoS protection service, keep software patched, set rate limits, and write a short incident plan naming who to call and how to switch to a backup. Test the plan before you need it.

Sources

  1. Cloudflare — 2025 Q4 DDoS threat report
  2. Fortinet — DoS Attack vs DDoS Attack
  3. Wiz — DoS vs DDoS: What's the difference?
  4. CISA — Understanding Denial-of-Service Attacks
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 Cloudflare's 2025 Q4 DDoS threat report, Fortinet and Wiz DoS vs DDoS guides, and CISA denial-of-service guidance.

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