The Wayback Machine - https://web.archive.org/web/20261115175153/https://www.geeksforgeeks.org/computer-networks/denial-of-service-ddos-attack/

Distributed Denial of Service (DDoS) attack

Last Updated : 5 Nov, 2026

A Distributed Denial of Service (DDoS) attack uses multiple compromised devices (called a botnet) scattered across different locations to flood and overwhelm a target server, network, or website with massive amounts of traffic.

cn_ddo_attack
SYN Flood Attack

How Does a DDoS Attack Work?

A Distributed Denial of Service (DDoS) Attack is a cyberattack in which multiple compromised computers or devices send a large number of requests to a target server, website, or network simultaneously.

  • The attacker infects multiple devices across different locations and uses them to form a network called a botnet.
  • These compromised devices simultaneously send a large number of requests to the target server.
  • The excessive traffic consumes the server's resources, such as bandwidth, memory, and processing power.
  • As a result, the server becomes slow, unresponsive, or completely unavailable to legitimate users.
  • Unlike a traditional DoS attack, which typically originates from a single source, a DDoS attack uses multiple sources to overwhelm the target.

Types of DDoS Attacks

DDoS attacks can be divided into three major categories: 

  1. Application Layer Attacks: These attacks target Layer 7 of the OSI model by sending multiple requests to overload the server, consuming its resources while generating responses. Example: Attacks on DNS services. Examples: Attacks on DNS Services.  
  2. Protocol Attacks: They are also known as state-exhaustion attacks. These attacks focus on vulnerabilities in layer 3 and layer 4 of the protocol stack. These types of attacks consume resources like servers, firewalls, and load balancers. Examples: SYN Flood attack and Ping of Death.  
  3. Volumetric Attacks: Volumetric attacks focus on consuming the network bandwidth and saturating it through amplification or a botnet to hinder its availability to the users. They are easy to generate by directing a massive amount of traffic to the target server. Examples: NTP Amplification, DNS Amplification, UDP Flood attack, and TCP Flood attack. 

Common DDoS Attacks

  • SYN Flood Attack: An attacker sends multiple TCP SYN requests, often using spoofed IP addresses, without completing the three-way handshake, exhausting the server's resources and preventing legitimate connections.
  • HTTP Flood Attack: In an HTTP Flood attack, multiple HTTP requests are generated simultaneously against a target server. This leads to the exhaustion of the server's network resources and thus prevents it from serving actual users' requests.
cn_ddo_attack2
HTTP Flood Attack
  • DNS Amplification: An attacker sends DNS queries using a spoofed IP address, causing DNS servers to send large responses to the victim and overwhelm their network with traffic.
cn_ddo_attack3
DNS Amplification

DDoS Mitigation

DDoS mitigation is difficult because attacks originate from multiple sources, making it hard to distinguish malicious traffic from legitimate traffic. Common techniques include:

  • Blackhole Routing: Redirects all incoming traffic to a blackhole, dropping both malicious and legitimate traffic to protect the network from overload.
  • Rate Limiting: Controls the number of requests a network interface or server can handle within a specific time, reducing excessive traffic.
  • Blacklisting/Whitelisting: Blacklisting blocks traffic from specified IP addresses, URLs, or domains, while whitelisting allows only approved sources and denies all others.

DDoS Threats

DDoS assaults are a severe risk to businesses of all kinds and sectors. The following are some possible effects of a successful attack:

  • Financial Losses: A successful DDoS assault may result in lower productivity, downtime, and possible SLA violations, in addition to requiring money to mitigate and recover.
  • Operational Disruption: A DDoS assault has the potential to impair an organization's capacity to carry out essential tasks or to make it harder for clients to use its services.
  • Reputational Damage: If customers are unable to access an organization's website or have doubts about its capacity to deliver goods and services, DDoS attacks may result in the loss of clients as they select competitors.
Comment

Explore