Itnetic logo Itnetic Technologies
PlatformLogsNetworkPricing
Log inStart free
PlatformLogsNetworkPricing
Log inStart free

Learn · Layer 7 attacks

What is a Layer 7 DDoS attack?

Layer 7 (application-layer) DDoS attacks imitate legitimate visitors instead of flooding the network — which is exactly why traditional defenses miss them.

Updated July 8, 2026 · Itnetic team — reviewed by Petr Chlíbek, founder

Key takeaways

  • A Layer 7 DDoS attack speaks valid HTTP: it requests real pages the way a browser does, aiming to exhaust the application rather than the network.
  • The weapon is cost asymmetry — one cheap request can trigger database queries and rendering thousands of times more expensive to serve.
  • WAFs and volumetric defenses miss L7 floods because every individual request is well-formed and legitimate-looking.
  • Effective defense is behavioral: browser verification, navigation rhythm and per-host traffic baselines, not packet signatures.

Layer 7 in one minute

Networking is described in layers. Layers 3 and 4 move packets and connections; Layer 7 is the application itself — HTTP requests, page loads, API calls, form submissions. A Layer 7 DDoS attack speaks fluent HTTP: it requests real pages the way a browser would, but its only purpose is to exhaust your application.

That asymmetry is what makes L7 attacks efficient. Serving one search results page might cost your backend a database query, template rendering and several downstream calls — thousands of times more work than the attacker spent sending the request. The attacker does not need to saturate your bandwidth; a modest botnet politely requesting your most expensive endpoints will do.

Common Layer 7 attack patterns

  • HTTP floods — high volumes of GET/POST requests to normal pages, distributed across a botnet so no single source stands out.
  • Slow drips (low-and-slow) — attacks like Slowloris hold connections open with trickling requests, exhausting your server's connection pool with almost no bandwidth.
  • Credential stuffing — automated login attempts using leaked password lists. Both an account-takeover attack and an application-layer flood on your auth endpoint.
  • Cart and checkout abuse — bots that add items to carts or start fake checkouts, locking inventory and hammering the most expensive code paths in an online store.
  • Cache-busting floods — requests with randomized query strings crafted so every request misses your cache and hits the origin.

Layer 4 vs Layer 7 attacks at a glance

Layer 4 attackLayer 7 attack
TargetTransport layer (TCP/UDP)The application itself (HTTP)
Measured inGbps / packets per secondRequests per second
Looks likeMalformed or excessive packetsLegitimate browsing
Detected byVolume thresholds, packet inspectionBehavioral analysis across requests
Stopped byNetwork filtering, upstream capacityBrowser challenges, traffic baselines

Why firewalls and volumetric defenses miss them

Traditional defenses ask "is this traffic malformed or excessive?" L7 attack traffic is neither. Each request is well-formed HTTP with plausible headers, often sent through real headless browsers at rates that look individually harmless. Signature-based firewalls find nothing to match; volumetric thresholds never trip because the attack may be only a few thousand requests per second — devastating for an application, invisible on a bandwidth graph.

How Layer 7 mitigation actually works

Because single requests look clean, effective L7 defense examines behavior across requests: the rhythm of navigation, whether the client executes JavaScript and returns cookies like a real browser, whether request headers and TLS characteristics match the browser they claim to be, and whether traffic patterns to a host suddenly deviate from its baseline. Suspicious clients receive a lightweight, invisible browser challenge; real users pass without seeing a CAPTCHA, and bots that can't behave like browsers are cut.

This behavioral approach is Itnetic's entire specialty — see how our Layer 7 DDoS protection applies it, or start with the fundamentals in What is a DDoS attack?

FAQ

Quick answers

What is the difference between Layer 4 and Layer 7 DDoS attacks?

Layer 4 attacks target the transport layer (TCP/UDP) with packet floods measured in gigabits or packets per second. Layer 7 attacks target the application itself with valid HTTP requests measured in requests per second. L4 attacks saturate pipes; L7 attacks exhaust application resources while looking like real traffic.

Can a WAF stop a Layer 7 DDoS attack?

Only partially. A WAF matches known malicious patterns in individual requests, but L7 DDoS requests are individually legitimate. Stopping them requires behavioral analysis across many requests — rate patterns, browser verification and traffic baselines — which is a different discipline than signature matching.

How big are Layer 7 attacks?

Often surprisingly small in bandwidth terms — a few thousand to a few hundred thousand requests per second. The point is not volume but cost asymmetry: each request triggers expensive backend work, so even a modest request rate can take down an unprotected application.

Do Layer 7 attacks affect APIs too?

Yes, heavily. APIs are attractive targets because endpoints map directly to expensive operations and there is no browser to challenge visually. Behavioral and rate-based mitigation protects APIs the same way it protects websites.

Keep reading

01

What is a DDoS attack?

A distributed denial-of-service (DDoS) attack overwhelms a website or API with traffic from many machines at once, until real visitors can no longer get through.

02

How to stop a DDoS attack on your website.

A practical, ordered checklist for the moment your site goes down — and for making sure the next attack never reaches it.

03

What is a CDN?

A content delivery network (CDN) stores copies of your website on servers around the world, so every visitor is served from the location nearest to them.

Protect my website freeHow our protection works
Itnetic logo Itnetic Technologies

Advanced DDoS mitigation and web performance solutions for modern businesses. Protect your infrastructure across multiple regions.

Product

  • DDoS Mitigation
  • Web CDN
  • Network
  • Pricing

Resources

  • Learn
  • Changelog
  • FAQ
  • Status

Company

  • Founder
  • Contact
Petr ChlíbekIČO: 21210756Neplátce DPH
© 2026 Itnetic Technologies. All rights reserved.
Terms of ServicePrivacy PolicyCookie PolicyDPA

We use essential cookies to run and secure the site. With your consent we also use Google Analytics to understand usage. Cookie Policy