2

I posted this before. I am creating a new post because of all the changes I would need to [edit] out.

I have the latest version of bettercap. I have the latest version of Kali Linux using the latest version of VirtualBox on the latest version of Windows 10. My target machine is the latest version of Windows 10 with Chrome version 70.0.3538.110. I have all the extensions removed. I will first start by going over what I think I know and troubleshooting I have done. Bettercap appears to be functioning in the sense that it can grab passwords from normal HTTP websites but not HTTPS websites.

What I THINK I know.

-SSLStrip will NOT convert an HTTPS connection to an HTTP

-SSLStrip WILL, however, rewrite HTTPS URLs to HTTP.

-SSLStrip will not work on anything that has HSTS preloaded

-SSLStrip will only work against non-preloaded HSTS websites if and only if the user is visiting it for the "first" time.

-SSLStrip will work against TLS and SSL if HSTS is not used

-If HSTS is not implemented, A victim doesn't need to do anything specific or be tricked into installing any certs.

What I Want To Do -Monitor the victim's computer's traffic

-Verify that weibo is vulnerable (it is https://hstspreload.org/?domain=weibo.com )

-Get the victim user to go to http://mediaroom.scholastic.com/socialmedia , scroll to the bottom and click the link to the Weibo website.

-Receive an HTTP version of weibo.com

-Alternatively, I would accept clicking a Facebook link and receiving a "Connection is not private" alert. This is also acceptable.

What I have done

Cleared my victim's chrome cache and deleting the domain security policies for weibo.com

restarted Chrome

I used a typical install method

apt-get install bettercap

I have been following this website

https://www.peerlyst.com/posts/bettercap-2-x-mitm-framework-general-info-examples-cyberpunk-1

I have used these commands once I activate bettercap

» set http.proxy.sslstrip true
» set net.sniff.verbose false
» set arp.spoof.targets 192.168.1.3
» arp.spoof on
» http.proxy on
» net.sniff on

What IS working

-Can successfully redirect victim traffic to the attacking device

-Can successfully grab headers

-Can successfully display the password when I enter it in non-HTTP websites

-When the victim navigates from mediaroom.scholastic.com to weibo.com, the weibo.com link is correctly converted to http in html. Woohoo, progress!!

What is NOT working

-When I actually click the link I still get the HTTPS version.

So guys, I still feel like I'm missing something essential. This sounds too straightforward of a process to fail. So what is it? What am I missing?

Note for mods. The original link is here. I updated this one with the corrections made by the one answer.

Bettercap 2.x SSLStrip Is Not Breaking TLS (Without HSTS)

  • "SSLStrip will work on anything that has HSTS preloaded" - it doesn't since the site is never visited with HTTP in the first place. "SSLStrip will work against TLS and SSL if HSTS is not used" - not sure what you mean by this but it will not work if the user explicitly visits the site with HTTPS instead of HTTP. – Steffen Ullrich Dec 11 '18 at 4:15
  • Sorry. I forgot to put a NOT in there – user21303 Dec 11 '18 at 4:16
  • At any rate, do you know why my http link isn’t loading the new site in http? – user21303 Dec 11 '18 at 4:17
  • I don't get a link to weibo on this site. Please provide the exact link you get and follow and then one might see what's going on. Ideally also provide a packet capture (wireshark) so that one can see what happens in your environment. – Steffen Ullrich Dec 11 '18 at 4:20
0

When I go to the Scholastics page, then click the Tumblr link (specifically the Goosebumps one) I get redirected to HTTP. Many of the other links on the site are HTTP and others are HTTPS. This is the desired result and I did not get the same results with weibo.com. So I guess that means it works right? From this, we can conclude that the absence of HSTS does not guarantee an attacker's success. To further prove this, I went to time.com and noticed none of the links were converted to HTTP like they were on the Scholastic site. I guess it depends on how the site is built? I don't know honestly.

  • I think it is not wordking as expected, I still use dns2proxy and sslstrip+ because they work as expected. bettercap still does not work. – David Herrero Dec 14 '18 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.