Denial of Service

Techniques / Vectors

Application Layer DOS Attack Techniques

Consume application resources or services, thereby making them unavailable to other legitimate users

Protocol Attacks Techniques

Consume resources like connection state tables present in the network infrastructure components such as load-balancers, firewalls, and application servers

Volumetric Attack Techniques

Consume the bandwidth of the target network or service


Tools

use auxiliary/dos/tcp/synflood

Based on the provided sources, Denial-of-Service (DoS) and Distributed Denial-of-Service (DDoS) attacks are critical threats aimed at making a machine or network resource unavailable to authorized users. DDoS attacks typically exploit vulnerabilities in the implementation of the TCP/IP model or specific operating system bugs.

DoS/DDoS attack vectors are broadly categorized into three basic types, primarily defined by the resources they target and the units used to measure their magnitude:

1. Volumetric Attacks

Volumetric attacks aim to consume the bandwidth of a target network, service, or the connection between the target and the Internet, causing traffic blockage and preventing access for legitimate users. The magnitude of these attacks is measured in bits-per-second (bps).

Volumetric attacks rely on two primary strategies for bandwidth depletion:

Examples of Volumetric Attack Techniques:

Attack Type Description
UDP flooding attack An attacker sends spoofed UDP packets at a high rate to random ports on the target server, causing the server to repeatedly check for nonexistent applications and return ICMP "Destination Unreachable" packets, exhausting resources until the network goes offline.
ICMP Flood Attack Attackers send large volumes of ICMP echo request packets to overwhelm the victim's network connection. The incoming requests and outgoing replies saturate the bandwidth, causing the system to stop responding to legitimate TCP/IP requests.
Ping of Death (PoD) Attack The attacker sends malformed or oversized packets (e.g., exceeding the IP size limit of 65,535 bytes prescribed by RFC 791) using a simple ping command to crash, destabilize, or freeze the target system during the packet reassembly process.
Smurf Attack The attacker spoofs the source IP address with the victim's IP address and sends numerous ICMP ECHO request packets to an IP broadcast network. All hosts on that network respond to the victim, flooding the machine with traffic until it crashes.
NTP Amplification Attack An attacker uses a botnet to send large UDP packets with a spoofed IP address (mimicking the victim) to an NTP server, often leveraging the enabled monlist command. This triggers large response packets directed back to the victim, inundating the network and exhausting bandwidth.
Pulse Wave DDoS Attack A periodic attack where attackers send highly repetitive, massive strains of packets as pulses (e.g., 300 Gbps or more) to the victim, consuming the entire bandwidth.
Zero-day DDoS Attack Exploits DDoS vulnerabilities for which no patches or effective defensive mechanisms are yet available.
Malformed IP packet flood attack A technique used under volumetric attacks.
Spoofed IP packet flood attack A technique used under volumetric attacks.

2. Protocol Attacks

Protocol attacks focus on consuming non-bandwidth resources, specifically exhausting the connection state tables found in network infrastructure components like firewalls, load balancers, and application servers. The attack magnitude is measured in packets-per-second (pps) or connections per second (cps).

Examples of Protocol Attack Techniques:

Attack Type Description
TCP SYN-flooding attack Exploits the TCP three-way handshake by sending a large number of SYN requests with fake source IP addresses. The target's connection queue fills up with partially open connections awaiting the ACK response, preventing new legitimate connections until the incomplete ones time out (up to 75 seconds).
Fragmentation Attack Floods the target system with TCP or UDP fragments (e.g., 1500+ byte packets) at a small packet rate. The process of reassembling and inspecting these large fragments consumes excessive resources, causing performance reduction or system crashes.
Spoofed Session Flood Attack Attackers create fake or spoofed TCP sessions using multiple SYN, ACK, RST, or FIN packets to bypass firewalls and exhaust network resources. This category includes Multiple SYN-ACK Spoofed Session Flood Attack and Multiple ACK Spoofed Session Flood Attack.
TCP SACK Panic Attack Attackers send SACK packets with malformed maximum segment size (MSS) to crash the target Linux machine, exploiting an integer overflow vulnerability in the Linux Socket Buffer (SKB) that triggers a kernel panic and DoS.
SYN-ACK Flood Attack Similar to the SYN flood, but the attacker exploits the second stage of the three-way handshake by sending a large number of SYN-ACK packets.
ACK Flood Attack Attackers send a large amount of spoofed ACK packets to the target machine. This also includes the ACK and PUSH ACK Flood Attack during an active TCP session.
TCP connection flood attack A technique used under protocol attacks.
TCP state exhaustion attack A technique used under protocol attacks.
RST attack A technique used under protocol attacks.

3. Application Layer Attacks (Layer 7)

Application layer attacks exploit vulnerabilities in the application layer protocol or the application itself to consume its specific resources or services, making the application unavailable to legitimate users. These attacks are effective with low traffic rates and are measured in requests-per-second (rps).

Examples of Application Layer Attack Techniques:

Attack Type Description
HTTP Flood Attack (GET/POST Attack) Attackers flood web applications with legitimate-looking traffic. HTTP GET Attacks use a time-delayed header to keep the HTTP connection open without sending the full request. HTTP POST Attacks send complete headers but incomplete message bodies, forcing the server to wait indefinitely.
Slowloris Attack The attacker sends partial HTTP requests to the target web server. The server opens multiple connections and waits for them to complete, exhausting the maximum concurrent connection pool and denying additional connection attempts.
UDP Application Layer Flood Attack Leverages application protocols that rely on UDP (e.g., CHARGEN, SNMPv2, NTP, VoIP) to flood target networks, exploiting application-level vulnerabilities.
DDoS Extortion/Ransom DDoS (RDDoS) Attack Attackers threaten an organization with a DDoS attack and insist on a ransom payment, often initiating a sample attack to prove capability.

Other Major DoS/DDoS Attack Categories

The sources detail several other complex attack types that fall under the umbrella of DoS/DDoS:

DDOS

Example

Robert, a professional hacker, has launched a reflection attack on the target organization’s Microsoft Cloud/vendors/azure environment to downgrade its network capacity