antibot.dev
Sponsored Try LayerSift

Glossary

Layer 7 DDoS

Also called: application layer DDoS, L7 DDoS, HTTP flood, app layer DDoS, OAT-015

Updated November 14, 2026

A Layer 7 DDoS attack floods a website or API with HTTP requests that look valid, to exhaust the servers behind it. The name refers to the application layer, layer 7 of the OSI model. Instead of saturating the network with packets, it targets the work the application does for each request: database queries, searches, page rendering and logins.

OWASP covers it under automated threat OAT-015 Denial of Service, which also includes account lockouts and other ways of using up an application’s resources.

How it works

The attacker sends large numbers of requests from many sources, often a botnet of hijacked devices, proxies or rented cloud servers. Each one is a complete, well-formed HTTP request, so defenses that only look at the network layer let it through. Attacks aim at the most expensive endpoints, such as search, cart, login or uncached APIs, and vary URLs and query strings to bypass caching. Some go slow instead, holding connections open to tie up server capacity.

Because the requests look like users, spotting the spike is easy. Deciding which requests to drop is the hard part.

How bot detection stops it

Defense happens at the edge, before requests reach the origin. Rate limiting per client and per endpoint caps the simplest floods. A WAF matches known attack patterns. Bot detection handles the rest by classifying clients: TLS and HTTP/2 fingerprints expose scripts posing as browsers, and challenges such as JavaScript checks or proof of work cost one real visitor very little but add up fast for a flood.

The feature matrix shows which products enforce at the CDN or edge. See also the bot management software rankings and the free bot protection options.

Questions

What is the difference between Layer 3/4 and Layer 7 DDoS?

Layer 3 and 4 attacks flood the network with packets or connections. Layer 7 attacks send complete HTTP requests that look like normal traffic, and each one can cost the server far more work than it costs the attacker to send. They are harder to filter without understanding the application.

Can a CDN stop a Layer 7 DDoS attack?

Caching absorbs floods against static pages. Attacks aimed at uncached endpoints such as search, login or APIs still reach your servers, so you need request filtering, rate limiting and bot detection in front of them.