SBN

WAF vs. DDoS Protection: Which Layer Blocks Which Attacks?


A WAF inspects and filters web application traffic at Layer 7. DDoS protection is a multi-layer set of controls, including scrubbing centers, CDNs, an on-prem. appliance, authoritative DNS, and the WAF itself, that together cover volumetric, protocol and application-layer attacks.

From an operational perspective, a WAF is bought to block application attacks such as injection, credential stuffing, and application-layer floods. DDoS protection is bought to keep a service available while it is under attack. The two overlap at Layer 7 – but nowhere else.

Which DDoS Protection Layer Blocks Which Attacks?

Each DDoS mitigation option addresses a specific part of the attack surface; each carries a limitation that another layer is designed to compensate for. The table below sets out the deployment position, DDoS mitigation capability, primary limitation, and the evidence that shows whether each one is working, for the controls most enterprises already operate.

 

Control Deployment DDoS Mitigation Capability Primary Limitation How You Verify It Works
Scrubbing center Cloud Strong at L3 and L4; conditional at L7 Filtering Layer 7 means terminating TLS, so the provider needs certificates and keys, a keyless arrangement, or a provider-issued certificate. Diversion also takes time to take effect. Send known L3, L4 and L7 vectors at the protected IP ranges and confirm the policy drops them before they reach the origin.
CDN Cloud Good at L7, by design Protects only the traffic DNS sends through it; an attacker who finds the origin IP goes around it. Confirm the origin is unreachable except through the CDN, and that the allowlist still matches the current origin addresses.
On-prem. appliance (CPE) On-premi. Strong at L3, L4 and L7 Sits inside the network, so it cannot help once the internet link itself is full. The handoff to cloud scrubbing is a separate configuration. Validate the on-prem. policy and, separately, the diversion signalling that hands over when the link saturates.
Authoritative DNS Cloud Strong against DNS floods and amplification where the provider runs anycast at scale Sits outside the web path entirely, so neither a WAF nor a CDN protects it. A single-region or self-hosted zone is the weakest link in an otherwise strong environment. Run DNS query floods and amplification vectors against the authoritative name servers, not only against the web front end.
WAF On-prem. or cloud Good against the L7 traffic it can identify; very poor at L3 and L4 Inspects traffic it can read, so volumetric floods overwhelm it rather than being filtered. Confirm rules run in block mode rather than count mode, and that rate limits match current legitimate traffic.
Stateful network devices (IPS, firewall, load balancer) On-prem. or virtual Poor Each keeps a record of every open connection, and floods fill that memory. A firewall then blocks legitimate traffic along with the attack; a load balancer turns real users away while the servers behind it still have capacity; an IPS either stops inspecting or blocks everything. Confirm the upstream layers drop the traffic before it reaches these devices, because reaching them at all is the failure.

 

Considered as a stack, the design is sound: scrubbing absorbs the volume, the CDN and WAF address the application layer, the on-prem. appliance covers what remains inside the perimeter, the DNS provider absorbs query floods, and the stateful devices further in are protected by the layers upstream. In operation, the design carries a dependency that no single vendor is responsible for: each layer performs as intended only if its policies are configured to correspond to the services it protects and to the layers around it.

Can a Firewall or Load Balancer Block a DDoS Attack?

Firewalls and load balancers are stateful appliances with poor DDoS mitigation capability, and they fail early in an attack unless dedicated DDoS mitigation filters traffic upstream of them.

A firewall exhausts its state table, and it spends CPU evaluating rules against every packet in a flood. Once that table fills, it blocks legitimate traffic along with the attack.

A load balancer fails the same way on connection state, and it carries a second cost the firewall does not: TLS handshakes. Handshake and renegotiation floods are the classic load balancer failure mode, and they consume the device long before raw bandwidth becomes the problem.

An intrusion prevention system under load either stops inspecting and lets traffic through, or blocks everything – and ends up causing the outage it was deployed to prevent.

Reliance on an IPS to counter a DDoS attack usually indicates that the scrubbing, CDN, or CPE layers upstream did not mitigate as expected. The root cause is usually an upstream configuration that permitted attack traffic to reach a stateful device at all. MazeBolt has documented how these configuration gaps form and persist in Understanding DDoS Vulnerabilities.

Why Configuration Drift Defeats a Correctly Designed Stack

Production networks and services change continuously. For example:

  • A new subdomain goes live outside the protected ranges
  • An origin migrates and the CDN allowlist still points at the old address
  • A rule stays in count mode after a tuning window closes
  • A rate limit set for last year’s traffic now sits above the volume an attacker needs

Misconfiguration is not intentional. The rate of change exceeds the rate at which configurations can be maintained manually, which is why high exposure in an unvalidated deployment is the normal condition. Across initial RADAR validations of enterprise production environments, 37% of attack vectors bypass deployed protection on first independent validation.

Why a Vendor SLA Does Not Close the Gap

Vendor SLAs do not resolve this dependency. An SLA is a commitment to respond once an attack is already underway, which makes it reactive by design. A fast response is unlikely to prevent downtime if the protection policy was incomplete when the attack began. Any organization that relies on an SLA as its assurance must accept that the first evidence of a configuration gap will be a live incident.

Attack shape sharpens the point. Cloudflare’s DDoS Threat Report H1 2026 (August 2026) records that 90.6% of network-layer attacks end in under ten minutes, and 96.62% stay below 500 Mbps. Some record-breaking attacks lasted 35 seconds from start to finish. An attack of that shape is over before a support ticket is triaged. Moreover, the vendor SLA may measure time to respond, not time to mitigate. In this situation, the only protection that matters during those minutes is the policy that was already configured correctly when the attack arrived.

Published reporting records the same pressure from two directions. Radware’s 2026 Global Threat Analysis Report (February 2026) recorded that network-layer DDoS attacks targeting Layers 3 and 4 increased 168.2% year over year. Akamai’s State of the Internet report (May 2026) found that the median duration of Layer 3 and Layer 4 attacks against financial services rose 738% between 2024 and 2025, reaching 1,033% in EMEA, from three minutes to thirty-four minutes. Volume is climbing, sustained attacks against financial services are running longer, and the majority of attacks everywhere are over in minutes. A snapshot taken in the previous quarter is not reliable evidence against any of the three. (See also MazeBolt’s Take on Akamai’s DDoS Report.)

What AI Changes

AI accelerates the consequences of configuration drift. AI-orchestrated attacks direct known vectors adaptively and probe for configuration weaknesses at machine speed. AI-generated attacks, meaning novel vectors created by AI, are the next stage of that progression, and no static testing cycle can anticipate them.

DDoS Mitigation vs. DDoS Testing and Validation

DDoS mitigation blocks attack traffic. DDoS testing and validation produces the independent evidence showing whether the deployed mitigation is configured to block it. Mitigation is a control; validation is a measurement of that control.

The distinction explains how a complete mitigation stack and a high exposure figure coexist in the same environment. Every layer is licensed, deployed and running. But nothing in the stack reports which vectors its own policy currently lets through.

How Continuous Validation Proves the Stack Works

MazeBolt RADAR™ is the independent validation layer for DDoS protection, providing continuous proof of resilience for enterprises whose online services cannot afford damaging downtime. RADAR does not absorb or block attacks and does not replace any control in the table above. It is solution agnostic, running alongside Akamai, Cloudflare, F5, Radware, NETSCOUT, AWS, and Azure to establish that the layers configured to block an attack do block it.

The arithmetic is what makes continuous validation necessary rather than preferable. A single public-facing service requires 150+ validations to cover known DDoS attack vectors alone, so an environment of 70 public services needs 10,500 a year. A full year of point-in-time red team testing delivers under 50 in total, typically under 1% of the required coverage.

For a CISO accountable to a board risk committee, that produces four things.

Evidence for Boards, Regulators, Auditors and Insurers:

  • Evidence on demand. RADAR provides time-stamped validation reports for the boards, regulators, auditors, and cyber-insurers now asking for current proof. RADAR supports DORA, NYDFS Part 500, FFIEC, and PCI evidence requirements; it does not itself determine compliance.
  • A vendor dashboard reports what that vendor’s system caught, not what its own policy let through.
  • RADAR validates more than 150 known vectors at Layer 3, Layer 4, and Layer 7, plus AI-orchestrated attacks, on live production and without maintenance windows. RADAR VectorAI™ extends that validation to AI-generated attacks, meaning novel vectors created by AI.
  • Enabling remediation. With RADAR, one policy change based on validated data typically eliminates 80 to 90% of comparable vulnerabilities, and SmartCycle™ ranks each environment’s gaps by likelihood of exploitation.

MazeBolt does not replace DDoS mitigation. It turns protection into proven resilience – certainty you can act on.

Want to learn more about how continuous DDoS validation reduces the risk of damaging DDoS downtime? Speak to an expert.

Key Takeaways

  • A WAF blocks the Layer 7 attacks it can identify, and volumetric floods overwhelm it and cause downtime.
  • Cloud scrubbing centers absorb Layer 3 and Layer 4 volumetric attack traffic.
  • A CDN protects only traffic DNS sends through it, so an exposed origin bypasses it.
  • Authoritative DNS sits outside the web path, so neither a WAF nor a CDN protects it.
  • Stateful devices, meaning firewalls, load balancers and intrusion prevention systems, fail early when DDoS traffic arrives.
  • Mitigation blocks traffic; validation proves the configuration works.
  • RADAR validates deployed mitigation continuously without operational downtime.