TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hacking WiFi to inject cryptocurrency miner to HTML requests (CoffeeMiner)

176 pointsby petteralexanderover 7 years ago

14 comments

moepstarover 7 years ago
I've thought about adding something like this to my guest wifi to mine some cryptocurrency - but quickly dismissed it as most guests would need to use a charger soon(ish) and thus using my electricity :P
评论 #16071084 未加载
评论 #16071356 未加载
评论 #16074338 未加载
mawaluover 7 years ago
I find it funny how, even after publishing this post, the author hasn't configured a http -> https redirect for his own site.
评论 #16073882 未加载
diegorbaqueroover 7 years ago
Excellent write up. That’s why we need SSL/TLS with HSTS. Pure HTTP, specially in public WiFi, is dead.
评论 #16070722 未加载
poxrudover 7 years ago
This 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.
评论 #16075072 未加载
cesarbover 7 years ago
Given 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.
评论 #16073030 未加载
mnxover 7 years ago
This is (one of the reasons) why we need https.
dre85over 7 years ago
I guess all it takes is one request to a non-https site?
评论 #16070939 未加载
beillerover 7 years ago
Interesting method, but yes; wouldn&#x27;t HTTPS mitigate this script from being injected? Trying to get awareness for my own original miner written from scratch <a href="https:&#x2F;&#x2F;www.sparechange.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.sparechange.io&#x2F;</a> Interesting learning WASM.
rishabhsagarover 7 years ago
Some buildings (hostels and shared accomodations) have shared internet (secured with WPA2). This type of attack might be particularly profitable in such situations.
评论 #16075009 未加载
评论 #16072465 未加载
spraakover 7 years ago
Does someone need to have control of the router to do this? Or how could it work otherwise?
评论 #16075207 未加载
hellbannerover 7 years ago
(OT: petteralexander&#x27;s name shows a different color than other usernames. Why?)
评论 #16070822 未加载
simoooooover 7 years ago
Won&#x27;t modern browsers block this anyway?
rhlalaover 7 years ago
Https everywhere extension fix it right?
rootsudoover 7 years ago
This is great! Wow!