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 a 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, please refer to the Installing Ubuntu Server recipe in Chapter 1, Getting Started, of this book.
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...