Attic › Computer science › Denial-of-service attack
A denial-of-service attack stops a computer from serving its users by giving it too much work
A denial-of-service attack (DoS attack) is a cyberattack that makes a computer or a computer network unavailable to its users. Instead of stealing data or changing files, the attacker sends so many requests that the target cannot do its normal work.
Every computer that provides a network service, such as a website or an email server, has a limited capacity. When a user opens a webpage, their device sends a request across the internet to the server. To answer this request, the server uses three limited resources:
1. Network bandwidth, which is the maximum data-rate of the cables and routers that connect the server to the internet.
2. Memory, which stores temporary data for each active connection.
3. Processing power, which calculates the response, such as searching a database or building a webpage.
In a normal situation, the server finishes each request quickly and frees these resources for the next user.
In a DoS attack, the attacker exhausts at least one of these resources. If the attacker sends more data per second than the network cables can carry, the connection becomes full. Real requests from normal users cannot reach the server and are dropped by the network. Alternatively, the attacker can send requests that ask for heavy calculations, such as complex database searches. The server uses all of its memory and processing power to answer the fake requests. It then becomes too slow to answer anyone else, or it crashes completely.
Fact-checked against Denial-of-service attack on Wikipedia
Part of the Computer science syllabus: Cryptography and Computer Security
See it on the timeline of Computer science