Security Basics

What Is a DDoS Attack? Types, Warning Signs and What to Do

By Vince AntonioPublished 7 min read

This guide answers what a DDoS attack is in plain words. It covers the main types, how to tell you are under attack, what to do in the first hour and how protection works.

A network engineer watching an attack traffic spike being filtered out

In plain English

  • A DDoS attack floods your website or network with fake traffic until real customers cannot get in.
  • Any business that sells or serves customers online can be hit, and it can cost sales.
  • Put your website behind a protection service before an attack, not during one.
  • Write down who to call, and never assume paying a ransom will make attacks stop.

What is a DDoS attack?

A DDoS attack (distributed denial of service) is an attempt to knock a website, app or network offline. The attacker floods it with so much fake traffic that real users cannot get through. The traffic comes from many machines at once, usually a botnet (a large group of hacked devices).

Think of a shop with one door. A DDoS attack is like a crowd of thousands of fake shoppers who block the door. Real customers cannot get in, even though nothing inside the shop is broken.

Most DDoS attacks do not steal data. Their goal is downtime. But downtime can cost sales, hurt trust and break service promises to customers.

DoS vs DDoS: what is the difference?

A DoS attack (denial of service) comes from one source, such as a single computer. A DDoS attack comes from many sources at the same time. That makes DDoS much bigger and much harder to block.

DoS attackDDoS attack
SourceOne machineThousands of machines, often a botnet
SizeLimited by one connectionCan be huge
BlockingBlock one addressMust filter traffic from many addresses
Common today?Less commonThe usual form

Most DDoS traffic comes from hacked computers, routers and cameras. Our guide on what a botnet is explains how those devices get taken over.

The three main types of DDoS attack

DDoS attacks fall into three groups. Each one targets a different part of the path between your users and your service.

1. Volumetric attacks. These try to fill your internet connection with junk traffic. It is like a traffic jam on the only road to your building. A common trick is amplification. The attacker sends small requests to public servers and fakes the return address. The servers send large replies to the victim instead.

2. Protocol attacks. These target the equipment that handles connections, such as firewalls and load balancers (devices that share traffic across servers). A well-known example is the SYN flood. The attacker starts thousands of connections and never finishes them. The server waits for each one and runs out of space for real users.

3. Application layer attacks (Layer 7). These look like normal visitors. Bots request real pages, run searches or try to log in, over and over. Each request is small, but the server has to do real work for each one. These are the hardest to spot because the traffic looks normal.

TypeWhat it hitsPlain example
VolumetricYour internet connectionA flood of junk data that fills the pipe
ProtocolFirewalls, servers and network devicesThousands of half-open connections
Application layer (Layer 7)Your website or app itselfBots loading the search page nonstop

Large attacks often mix types, or switch from one to another to get past defenses.

Signs you are under a DDoS attack

CISA, the US cybersecurity agency, notes that DDoS symptoms can look like normal technical problems. Watch for these signs:

  • Your website or app becomes very slow or stops loading
  • Traffic suddenly jumps far above normal with no marketing campaign or news to explain it
  • Lots of requests come from the same small set of addresses, countries or devices
  • One page, such as login or search, gets hit far more than usual
  • Your hosting or internet provider reports unusual traffic
  • Error messages such as "503 Service Unavailable" appear for many users

Check the simple causes too. A server crash, an expired certificate or planned maintenance can look similar. Good monitoring helps you tell them apart quickly.

What to do during a DDoS attack

If you think you are under attack, move fast but stay calm. Work through these steps:

  1. Confirm it is an attack. Ask your IT team or host to rule out a crash, a bad update or maintenance.
  2. Call your hosting or internet provider. They can often filter traffic before it reaches you.
  3. Turn on your DDoS protection service, or switch it to its strictest mode if it is already on.
  4. Block what you can. Filter the worst addresses, countries or pages, and limit how often each visitor can make requests.
  5. Tell customers. A short status update stops support lines from filling up.
  6. Watch for a second attack. CISA warns that some attackers use a DDoS as a distraction while they try to break in somewhere else.
  7. Keep records. Save logs, times and any messages from the attacker for your provider, insurer and law enforcement.

If you need help now, our incident response team can step in.

How DDoS protection works

You cannot stop someone from sending a DDoS attack. What you can do is make sure the traffic is absorbed or filtered before it reaches your systems. Most DDoS protection uses a few layers.

  • CDN and scrubbing. A CDN (content delivery network) is a large global network that sits in front of your site. Scrubbing centers check traffic and pass on only the clean part. Their huge capacity soaks up floods your own connection could not handle.
  • Rate limiting. This caps how many requests one visitor can make in a set time. It slows down bots hammering your login or search page.
  • WAF. A web application firewall checks each web request and blocks ones that look like bots or attacks. It helps most against Layer 7 attacks.
  • Hide your real server address. If attackers can find your server directly, they can go around the protection. Only let traffic in through the protection service.
  • A written plan. Know who to call, how to turn on stricter settings and who tells customers.
Set up protection before you need it. Signing up during an attack takes time you will not have.

Ransom DDoS: when attackers demand payment

In a ransom DDoS attack, criminals send an email that threatens a large attack unless you pay, usually in cryptocurrency. Some start with a short "test" attack to show they are serious. Others make empty threats and never attack at all.

Do not pay. Paying marks you as a business that pays, and there is no way to know the attacks will stop. Instead, tell your protection provider, raise your defenses and report the threat to law enforcement. In the US, that is the FBI's Internet Crime Complaint Center at ic3.gov.

How NextGarrison helps

Our DDoS protection service helps you set up layered defenses and a clear response plan before an attack hits. If you are under attack right now, our incident response team can help you get back online. Contact us to talk it through.

Sources

Topics:DDoSIncident ResponseNetwork Security

Need a hand with this?

Talk to a senior consultant. We reply within one business day with clear next steps and a scoped quote.

Prefer to just ask? Contact us and a consultant will reply.

Written by

Vince Antonio

Security writer and consultant, NextGarrison

Vince writes NextGarrison's security news, technical vulnerability write-ups and guides. He covers actively exploited flaws, penetration testing, SOC monitoring and getting ready for SOC 2, ISO 27001 and PCI DSS, in plain English with sources for every claim.

Want the next alert like this one?

New vulnerability alerts as soon as we publish them. Free, no sign-up, works in Feedly, Outlook, Slack and Teams.

Frequently Asked Questions

What is a DDoS attack in simple terms?

It is when an attacker uses many computers at once to flood a website or network with fake traffic. The service slows down or stops, so real users cannot reach it.

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

A DoS attack comes from one source. A DDoS attack comes from many sources at once, usually a botnet, which makes it larger and harder to block.

Can a DDoS attack steal my data?

A DDoS attack on its own is about downtime, not data theft. But attackers sometimes use one as a distraction while they try another attack, so keep watching your other systems.

Is a DDoS attack illegal?

Yes. Launching a DDoS attack, or paying someone to run one, is a crime in the US, the UK and many other countries.

Keep reading