In short: a DDoS attack floods your service with traffic from thousands of hijacked devices. An on-site firewall or faster connection won’t stop it — what works is cloud protection that filters traffic before it reaches your network, backed by application and DNS protection and a written response plan.
What is a DDoS attack
DDoS (Distributed Denial of Service) is an attack in which thousands or millions of compromised devices — a botnet — send traffic to your website, server or network at the same time. The goal isn’t to steal data but to overload: your connection, server or application can’t keep up, and real customers can’t use the service.
Botnets are made up of hijacked computers, servers, routers, cameras and other IoT devices. That’s why traffic arrives from a huge number of IP addresses around the world and can’t be stopped by simply blocking a few of them.
Types of DDoS attacks
| Type | Examples | What it targets |
|---|---|---|
| Volumetric (layers 3–4) | UDP floods, reflection and amplification via DNS, NTP, memcached | Bandwidth — they clog the “pipe” into your network |
| Protocol | SYN floods, attacks on TCP sessions | Resources of network devices: firewalls, load balancers, servers |
| Application (layer 7) | HTTP floods, Slowloris, flooding search or the shopping cart | The application and database — little traffic, but very expensive requests |
| DNS | Flooding DNS servers with queries | Domain name resolution — the site works, but nobody can find it |
Attacks are increasingly multi-vector: the attacker combines several techniques at once or switches between them when one is being blocked.
How to tell if you’re under a DDoS attack
The symptoms are easy to mistake for an outage or a sudden marketing success. Warning signs include:
- your site or API suddenly slows down or returns 502, 503 and 504 errors although nothing was changed,
- a sharp spike in traffic from unusual countries, networks or a single browser type,
- thousands of requests to a single URL, such as search, login or the cart,
- a connection saturated at 100% while servers are almost idle (a volumetric attack),
- problems resolving your domain name (an attack on DNS).
Only data gives certainty: web server logs, network traffic statistics and your CDN or protection provider’s dashboard. With cloud protection, the provider usually detects the attack and alerts you itself.
How to protect against DDoS
1. Cloud protection instead of a “bigger pipe”
The largest attacks today are many times bigger than any company’s connection, so no on-site appliance or faster internet plan can stop them. Effective defence means traffic goes first to the provider’s distributed network — its scrubbing centres — where malicious packets are filtered out and only clean traffic reaches you.
2. Separate protection for network, applications and DNS
Complete protection has three layers, because each attack type needs a different tool:
- network and data centres — a service protecting entire IP ranges (at Akamai: Prolexic),
- websites and APIs — a CDN with a WAF and layer 7 protection (at Akamai: App & API Protector, described in our article on cloud WAFs),
- DNS — DDoS-resilient authoritative DNS (at Akamai: Edge DNS).
3. Always-on or on-demand
In always-on mode, traffic always passes through the protection network, so an attack is filtered from the first second. In on-demand mode, traffic is redirected only after an attack is detected — cheaper, but the service may be down for the first few minutes. For online stores, banking and critical services we recommend always-on.
4. Hide your origin server
Cloud protection won’t help if the attacker knows your server’s real IP address and hits it directly. Accept HTTP traffic only from the provider’s network and don’t expose the server’s address in DNS records, email headers or old subdomains.
5. ISP protection — is it enough?
Many internet providers offer anti-DDoS for your connection. It’s a good addition against volumetric attacks, but it usually doesn’t stop application attacks on your website or API and doesn’t protect resources hosted outside that provider’s network, for example in the cloud.
DDoS response plan
It’s worth having a written plan before an attack happens:
- Contacts — who decides in the company, numbers for your protection provider and ISP, your CSIRT contact.
- Diagnosis — where to check traffic and logs, how to tell an attack from an outage.
- Actions — redirecting traffic to protection (on-demand), extra rules, “under attack” mode.
- Communication — ready-made messages for customers and staff.
- Reporting — entities covered by NIS2 must report significant incidents to the competent CSIRT; NIS2 requires an early warning within 24 hours.
- Lessons learned — after the attack: what worked and what to improve.
Enterprise providers such as Akamai prepare ready-made scenarios (runbooks) with each customer, so nothing has to be improvised during an attack.
What a DDoS attack costs — the attacker and you
For the attacker, an attack is cheap: paid “booter” and “stresser” services let anyone order one without technical knowledge. For a business the cost is far higher: lost sales, SLA penalties, staff time and lost customer trust. Sometimes a DDoS is also a smokescreen for another attack or part of extortion (“pay and we’ll stop”).
Is DDoS illegal?
Yes. Launching a DDoS attack is a criminal offence in Poland and across the EU. Polish law (Article 269a of the Criminal Code) provides for 3 months to 5 years in prison for significantly disrupting an IT system or network, and creating or distributing attack tools is also punishable. If you’re attacked, preserve your logs and report the incident to your national CERT and the police.
Frequently asked questions
How does a DDoS attack work?
A DDoS attack floods a website, server or network with huge amounts of traffic from many sources at once, usually a botnet. The aim is to overload it so real users can’t use the service.
How do I protect against DDoS?
Cloud protection is the most effective: traffic passes through the provider’s network, which filters out the attack. Protect your network, applications (a WAF with layer 7 protection) and DNS separately, hide your origin server’s address and have a written response plan.
How can I tell if I’m being DDoSed?
Signs include sudden slowdowns or 5xx errors with no system changes, a sharp traffic spike from unusual sources, thousands of requests to one URL, or a saturated connection while servers are idle. Logs, traffic statistics and your protection provider’s dashboard confirm it.
Is DDoS illegal?
Yes. In Poland a DDoS attack is an offence under Article 269a of the Criminal Code, punishable by 3 months to 5 years in prison, and it is illegal across the EU. Only resilience tests carried out with the infrastructure owner’s permission are legal.
How much does a DDoS attack cost?
For the attacker, very little — paid attack services are available online. For the victim, costs include lost sales, SLA penalties, staff time and lost customer trust, often far exceeding the cost of protection.
Does a firewall protect against DDoS?
Only to a limited extent. A firewall sits behind your connection, so a volumetric attack saturates the connection before the firewall can act. The firewall itself can also become a bottleneck during protocol attacks.
Protect your business from DDoS attacks
We deploy Akamai protection for your network, applications and DNS. Free consultation.