Smurf DoS attack
A smurf attack is historically one of the oldest techniques to perform a distributed denial-of-service (DDoS) amplification attack. This attack consists of sending a series of ICMP echo requests with a spoofed source IP address to the network broadcast address. When this echo request is broadcast, all hosts on the LAN should simultaneously reply to the target for each spoofed request received. This technique is less effective against modern systems, as most will not reply to IP-directed broadcast traffic.
Getting ready
To perform a smurf attack, you will need to have the LAN with multiple systems running on it. In the examples provided, an installation of Ubuntu is used as a scan target. For more information on setting up Ubuntu, refer to the Installing Ubuntu Server recipe in Chapter 1, Getting Started.
How to do it…
To attempt to perform a traditional smurf attack, Scapy can be used to build the necessary packets from scratch:
- To use Scapy from the Kali Linux command line,...