CoffeeMiner - Collaborative (MITM) Cryptocurrency Mining Pool In Wifi Networks

Collaborative (mitm) cryptocurrency mining pool in wifi networks
Warning: this project is for academic/research purposes only.
A blog post about this project can be read here:

  • 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

  • edit victims.txt with one IP per line
  • edit, line 28, with the coffeeMiner httpserver IP:
os.system("~/.local/bin/mitmdump -s '' -T")
  • execute
python3 ipgateway

A complete instructions for academic scenario can be found in

Disqus Comments