Explainers

Layer 7 DDoS Attacks 2026 - HTTP Floods Explained

Layer 7 DDoS attacks target your application with HTTP requests instead of raw bandwidth. How HTTP floods, Slowloris and Rapid Reset work, and how to defend against them.

9 min readVerified security research
Application and API security architecture absorbing a Layer 7 HTTP flood behind a web application firewall

The loudest DDoS attacks make headlines with terabits. The quietest ones take sites down with a few thousand HTTP requests. Layer 7 attacks target the application itself, where a request that looks exactly like a real user costs the server a hundred times more than it costs the attacker.

The asymmetry is the point. A volumetric flood needs a botnet of millions of devices to matter. An application-layer flood needs a laptop, a target URL, and knowledge of which page hits the database hardest. That is why 29.64 trillion HTTP DDoS requests were mitigated globally in the first half of 2026 alone.


The Three Layer 7 Patterns That Matter

  • HTTP floodBots issue valid GET or POST requests at scale, usually against expensive endpoints like search, login, or checkout. Measured in requests per second, it exhausts web workers and CPU long before bandwidth runs out.
  • SlowlorisThe low-and-slow classic. The attacker opens connections and sends headers drip by drip, never completing a request. Each connection pins a server worker until the pool is exhausted and real users get errors.
  • HTTP/2 Rapid ResetA protocol-level abuse: streams are opened and instantly cancelled, so the server does the work of handling a request that never completes. The 2023 campaign peaked at 398 million requests per second, the largest application-layer event ever disclosed.

What unites them is the target resource: not the pipe, but the process. A server with a 10 Gbps connection and a 200-worker application pool falls to whichever limit breaks first, and Layer 7 attacks always aim at the smaller number.


Why Your Firewall Cannot See the Problem

Network-layer defenses filter on volume, source reputation, and protocol anomalies. A Layer 7 flood presents none of those signals. Every request is syntactically perfect HTTP, often spread across thousands of residential proxies, each sending at a rate below any per-IP threshold.

Effective detection moves up the stack: behavioral analysis that watches how sessions navigate, JavaScript or CAPTCHA challenges that bots fail, TLS fingerprinting that separates real browsers from scripts, and WAF rules tuned to your application’s actual URL patterns. Our DDoS protection guide covers where each of these sits in a layered defense.

The cache is the battleground: attackers deliberately request uncacheable URLs, search queries with random parameters, authenticated pages, API endpoints with database joins. A well-tuned cache that absorbs anonymous traffic is often the difference between a non-event and an outage.


Defending the Application Layer

  1. Put a WAF in front of the application and keep its rules tuned to your real traffic patterns, not just the defaults.
  2. Cache aggressively and identify which endpoints cannot be cached. Those are your flood targets; protect them with stricter rate limits.
  3. Set connection and header timeouts tight enough that Slowloris-style drips expire before they pin workers.
  4. Keep HTTP/2 and HTTP/3 implementations patched. Rapid Reset was a protocol behavior, and vendors shipped mitigations that only help if you run current versions.
  5. Watch p99 latency and worker pool saturation, not just bandwidth. Layer 7 attacks announce themselves in application metrics first.

Test It Before Someone Else Does

The only way to know where your worker pool, cache, and WAF actually break is to push them there yourself, legally. A Layer 7-capable stresser or an open-source load tool can replay realistic request mixes against your own infrastructure and reveal the exact request rate where latency climbs and errors begin.

Follow the same discipline as any authorized test: written authorization, a scoped ceiling, monitoring, and a stop condition. Our step by step legal guide has the full methodology, and the free tools ranking covers scriptable options that model application-layer load precisely.


Sources and Further Reading

This article draws on primary sources from law enforcement agencies, government cybersecurity bodies, and independent security researchers. We link them so you can verify every claim.


Frequently Asked Questions

What is a Layer 7 DDoS attack?

A Layer 7 DDoS attack targets the application layer with floods of HTTP requests that look like real user traffic. Instead of saturating bandwidth, it exhausts web server workers, CPU, and database connections, often with far less traffic than a volumetric attack needs.

Why are Layer 7 attacks hard to block?

Each request is a syntactically valid HTTP call, so simple rate limits and firewalls cannot separate attackers from users without behavioral analysis. Defenses rely on bot detection, challenge pages, and pattern-based WAF rules rather than volume thresholds.

What is the HTTP/2 Rapid Reset attack?

Rapid Reset abuses the HTTP/2 stream cancellation feature to open and immediately cancel massive numbers of requests, forcing servers to do work for traffic that never completes. The 2023 campaign using this technique peaked at 398 million requests per second.

Can I test my own application against Layer 7 floods?

Yes, legally, against infrastructure you own. A Layer 7 stresser or an open-source load tool generating authenticated and anonymous request mixes will show where your worker pool and cache limits sit. Always follow a documented, authorized test plan.