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.