Building an ARP spoof program
In this section, we will learn how to build an ARP spoof program. Before we move on, let's take a look at the ARP tables again in both Kali as well as the Windows. The ARP table in Kali Linux is as follows:
The ARP table in Windows looks like this. Take a look at the highlighted fields:
As you can see, they have the correct MAC addresses for the router located at 192.168.74.2
. Kali is located at 192.168.74.128
, while Windows 10 is located at 192.168.74.129
.
To spoof these devices, we will take on this problem step by step. First, we will tackle spoofing the victim machine with the MAC address of the router.
Arp spoof project
Open VS Code in Kali Linux and create a new project named ARP spoof. Install the virtual environment, as shown in Chapter 2, Getting Started – Setting Up A Lab Environment...