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, use the scapy command from a Terminal; this is shown in the following screenshots. To send an ICMP request to the broadcast address, we must first build the layers of this request. The first layer that we will need to construct is the IP layer:
- To build the IP layer of our request, we should assign the IP object to the variable i. By calling the display() function, we can identify the attribute configurations for the object. By default, both the sending and receiving ...