DHCP spoofing
In this recipe, you will learn about DHCP spoofing.
DHCP spoofing can be used to route all packets through your Kali box or can be used to push your DNS servers to the hosts on the network. This attack actually has a lot to do with timing. It's important to note that this attack will not always work, as there is the true DHCP server on the network and our DHCP spoofing server. The way DHCP works is that the first response received by the victim is the one it will use irregardless of how many responses it receives. So, the hope is that your response to their request will beat the official DHCP server.
Getting ready
Let's ensure the following prerequisites:
- Kali Linux is running and you are logged in as root
- Windows system is shut down
How to do it...
We will now perform DHCP spoofing on the network:
- Open up a new terminal window by clicking on the following icon.
- We need to ensure promiscuous mode is on for the interface we are using, and we all need to ensure that IP forwarding is...