Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
41–50 of 56 posts
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#42Earlier quoted context omitted.
Feels like they are more superior than us based on his color.
That's probably a cultural thing. In some cultures, red is superior to green. Really, it's not about them being better or worse than a user with more Karna. It's just a signal to everyone that this person might be advertising or AstroTurfing.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#43Given the recently disclosed vulnerabilities, instead of a cryptocurrency miner, it could be a Spectre exploit trying to scan and exfiltrate data from the computer's memory. We might be now at the point where disabling all Javascript for non-HTTPS pages is a good default.
Why do HTTPS pages get a pass? Between CDNs and ad networks, there's a ton of code out there. At some point, we decided that a magical protective box could make it okay for random people on the internet to run code on our machines. We keep finding this premise to be flawed, with Applets, and with Flash, and now with Javascript, and we always say "oh, if only we had a better protective box, it would have prevented thi…
Which would mean that even something as simple as an up-vote on a comment would require a full page refresh from the server. The lag would probably kill most social media.
You could be on to something there.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#44Earlier quoted context omitted.
Why do HTTPS pages get a pass? Between CDNs and ad networks, there's a ton of code out there. At some point, we decided that a magical protective box could make it okay for random people on the internet to run code on our machines. We keep finding this premise to be flawed, with Applets, and with Flash, and now with Javascript, and we always say "oh, if only we had a better protective box, it would have prevented thi…
> Maybe we should stop running code from websites. Which would mean that even something as simple as an up-vote on a comment would require a full page refresh from the server. The lag would probably kill most social media. You could be on to something there.
There are certainly ways to solve this declaratively.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#45Earlier quoted context omitted.
Since we won't get https everywhere soon, is WPA2 on a public Wifi with a publicly known key a workaround? Should prevent plain MITM?
If you control the AP, you should disallow client to client communication. Most AP's and routers allow this and it would mitigate this risk.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#46Excellent write up. That’s why we need SSL/TLS with HSTS. Pure HTTP, specially in public WiFi, is dead.
Since we won't get https everywhere soon, is WPA2 on a public Wifi with a publicly known key a workaround? Should prevent plain MITM?
At first I thought this was a terrific idea, but never tried it since I figured having a non-standard workflow for users to connect may cause too much confusion in the end.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#47Earlier quoted context omitted.
> Maybe we should stop running code from websites. Which would mean that even something as simple as an up-vote on a comment would require a full page refresh from the server. The lag would probably kill most social media. You could be on to something there.
> as simple as an up-vote on a comment would require a full page refresh There are certainly ways to solve this declaratively.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#48Some buildings (hostels and shared accomodations) have shared internet (secured with WPA2). This type of attack might be particularly profitable in such situations.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#49Earlier quoted context omitted.
That's probably a cultural thing. In some cultures, red is superior to green. Really, it's not about them being better or worse than a user with more Karna. It's just a signal to everyone that this person might be advertising or AstroTurfing.
What?! I didn't know it indicates that the user is "untrusted", I'm from Sweden and my impression has been that the green users are super users of some kind.
Re: Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)
#50This is why it's important to always use a VPN when connecting to an untrusted wifi, such as a coffee shop or airport wifi. Either pay $3 /month to a provider or setup your own with something like pivpn.
I used to have little snitch[1] set up custom rules depending on where I’m connected (allow only local network on unknown WiFi’s until connected to a VPN) but that never really worked well because some WiFi’s allowed third party IP addresses (to tracking scripts or their home page) which meant I got to tracking down this IP and adding a temporary rule for that. Suddenly quickly connecting to hotspots often became a tedious 10 minute process. This also had the positive side effect that I could prevent A LOT of apps from phoning home but at the end it was not worth all the hassle (because almost nothing just worked) and I decided not to install little snitch for my current installation. The only thing I really miss it is when I connect to my phone hotspots because I’m always afraid application XYZ decides to download an update and eat my (very limited) mobile bandwidth.
Furthermore there is no way to do that on my mobile phone where I have even less control over. My current solution is to never connect to free WiFi networks in the first play and in the few cases I need to, just hope that the provider is not evil. This sucks when I’m on vacation, though, because I’m at their mercy.
[1]: a very flexible application based firewall which allows you to set which app is allowed to connect to with ip/dnsName:port https://www.obdev.at/products/littlesnitch/index-en.html