Denial of service (DoS)

Denial of service is an attack or failure that stops legitimate users from reaching a system, usually by flooding it with traffic or with requests that are expensive to process.

Security standards define denial of service as preventing authorised access to resources or delaying time-critical operations. It attacks availability, the A in the confidentiality, integrity and availability triad. The classic method is flooding: sending a server more requests than it can handle so that real users get nothing. In a distributed attack, or DDoS, the traffic comes from many sources at once, often thousands of malware-infected devices, so blocking any single source does not help.

The scale keeps growing. Cloudflare said in January 2026 that an attack it stopped on December 19, 2025, peaking at 31.4 terabits per second and launched from the Aisuru/Kimwolf botnet, was the largest publicly disclosed DDoS attack.

AI services have a weak point of their own: every request costs real computing. The OWASP Top 10 for large language model applications, in its 2025 edition, lists this as Unbounded Consumption. It covers flooding a model with inputs of varying length, crafting prompts that are unusually expensive to process, and denial of wallet, where an attacker runs up a victim's pay-per-use cloud bill instead of knocking the service offline. Its recommended defences are input size limits, rate limits and quotas, timeouts and monitoring for unusual use.

Researchers showed early that inputs alone can be weapons. In 2020 Ilia Shumailov, Ross Anderson and colleagues described sponge examples, inputs crafted to maximise a neural network's energy use and response time, which raised energy consumption by a factor of 10 to 200 on vision and language models. They argued that hardware energy use should be judged on the worst case, not the average.

For a business that depends on a hosted AI model, availability is a supplier risk as much as an attack risk, and the rate limits and usage caps that providers impose are partly a defence against exactly these attacks.

Common questions

What is the difference between DoS and DDoS?

A denial-of-service attack can come from a single source. A distributed denial-of-service attack uses traffic from many sources at once, often a botnet of compromised devices, which makes it far larger and much harder to block.

What is a denial-of-wallet attack?

It is an attack on a service billed per use, such as an AI model in the cloud, that drives up costs rather than taking the service offline. The OWASP Top 10 for LLM applications lists it under Unbounded Consumption.

Can AI models be targeted by denial-of-service attacks?

Yes. Model inference is expensive, so attackers can overload a service with long or demanding requests, and specially crafted inputs can raise energy use and delay many times over. Providers counter with rate limits, input caps and timeouts.

How do online services defend against DDoS attacks?

Large services route traffic through networks that can absorb and filter huge volumes, block known malicious sources and limit request rates. Specialist providers such as Cloudflare report stopping attacks of tens of terabits per second.

Finding more

Search for "DDoS attack statistics", "OWASP LLM unbounded consumption" or "sponge examples neural networks". NIST and national cyber agencies give standard definitions, OWASP documents risks specific to AI applications, and network providers' threat reports give current attack sizes. Attack records are announced by the companies that stopped them, so treat "largest ever" claims as that company's measurement.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.