AS216394 · WireShield

Attack Analysis

DDoS vs DoS: what is the difference?

A DoS attack comes from one source, a DDoS attack from many devices at once. Learn the difference, why DDoS is harder to block and how to defend against each.

DoS from one source versus DDoS from thousands of sources, side by side

The main difference between DoS and DDoS is the number of sources: a DoS (denial-of-service) attack comes from a single source, while a DDoS (distributed denial-of-service) attack comes from many devices acting together. The result is the same, a service that legitimate users cannot reach, but the difficulty of defending is very different. The US cybersecurity agency CISA makes the same distinction: a standard DoS comes from one source, whereas a DDoS is "multiple machines operating together" against one target.

What is a DoS attack?

In a DoS attack the attacker tries to harm the target from one computer or one connection. It comes in two main forms:

  • Volume-based: One source sends enough requests or packets to exceed the target's capacity. Today this only works against very small targets.
  • Flaw-based: The attacker exploits a software bug. One specially crafted packet or request makes the service crash. Volume does not matter here.

Because it comes from one source, a DoS attack can usually be stopped by blocking the source IP address.

What is a DDoS attack?

In a DDoS attack the traffic comes from a botnet, often thousands of compromised devices. The attacker controls the devices remotely and tells them all to hit the target at the same moment. Another method is reflection and amplification through open services; in that case the traffic comes not from the attacker's devices but from third-party servers. For the general picture see what is a DDoS attack.

DDoS vs DoS: comparison table

DoSDDoS
Number of sourcesOneHundreds, thousands, sometimes millions
Traffic volumeUsually limitedHigh, can reach Tbps levels
Blocking the sourceCan be stopped by blocking one IPBlocking one by one is not practical
Tracing the attackerRelatively easyHard, as sources are scattered and often spoofed
Cost of attackLow, with low impactCheap through a botnet or rented service, with high impact
Typical defenceIP blocking, software patchFiltering in front of the link, behavioural analysis

Why is a DDoS attack harder to block?

  1. Sources look legitimate. The devices in a botnet are real home and office connections. Blocking them all risks blocking real users.
  2. Source addresses can be spoofed. In UDP-based attacks the source address is easily forged. We explained why blocking one by one fails in our UDP flood post.
  3. Volume exceeds link capacity. If the link fills before traffic reaches your server, a firewall on the server can do nothing.
  4. Rate limits alone are not enough. A per-IP rate limit does not catch an attack in which each device sends only a few requests.

How do you protect against DoS and DDoS?

For DoS:

  • Keep server software up to date and patch known flaws.
  • Stop excessive requests from a single source with rate limiting and IP blocking.

For DDoS:

  • Move filtering in front of your link. Remote DDoS protection routes traffic over BGP to a filtering network and returns only the clean part.
  • For attacks that do not fill the link, use WireShield Edge at your network edge. The post inline or remote helps you choose.
  • For attacks at the HTTP layer, apply a WAF and rate limiting with Web Protection.
  • Look at the source distribution: a narrow pool of ASNs is useful for a complaint or a filter at the source, while traffic from everywhere usually means a botnet or spoofed sources. We explained this in reading an attack report.

Common mistakes

  • Treating a DDoS attack like a DoS and blocking a few IPs.
  • Assuming the attack comes from one source without checking the source count.
  • Treating rate limiting as the only protection layer.

Frequently asked questions

Is a DoS attack less harmful than a DDoS attack?

No. A flaw-based DoS can crash a service with a single packet. The difference is in volume and how hard it is to block; the damage depends on the software flaw.

Is DDoS a type of DoS attack?

Yes. DDoS is the distributed form of DoS; every DDoS attack is a denial-of-service attack, but not every DoS attack is distributed.

How can I tell if an attack is single-source?

If the traffic or requests come from very few IP addresses, it is most likely DoS. If the source distribution is wide and spans many countries, think DDoS.

Can I block the source IPs in a DDoS attack?

Only to a limited extent. When there are many sources and the addresses are spoofed, blocking one by one fails. You need filtering in front of the link and behaviour-based rules.

Which one is more common?

Most volumetric attacks seen today are distributed. Single-source volume attacks are rarely effective against modern links.

Sources

Next step

Let us look at the source distribution and volume of the attack together. Share the traffic data you have and we will suggest the right protection model. You can talk to the technical team.

All posts

Let’s review the right protection model for your network together.

Contact our team to talk through your technical needs.