URL traffic manipulation
In this recipe, we will perform a URL traffic manipulation attack. URL traffic manipulation is very similar to a Man In The Middle attack, in that we will route traffic destined for the Internet to pass through our machine first. We will perform this attack through ARP poisoning. ARP poisoning is a technique that allows you to send spoofed ARP messages to a victim on the local network. We will execute this recipe using arpspoof.
How to do it...
Let's begin the process of URL traffic manipulation.
Open a terminal window and execute the following command to configure IP tables that will allow our machine to route traffic:
sudo echo 1 >> /proc/sys/net/ipv4/ip_forward
Next, we launch arpspoof to poison traffic going from our victim's machine to the default gateway. In this example, we will use a Windows 7 machine on my local network with an address of
192.168.10.115
. Arpspoof has a couple of options that we will select and they include:–i
allows us to select our...