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: http://arnaucode.com/blog/coffeeminer-hacking-wifi-cryptocurrency-miner.html
- 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
- Poisons entire network using 'nmap -sn' to find active IPs
- Uses SSLStrip functionality (experimental)
- install.sh
bash install.sh
- edit whitelist.txt with one IP per line (optional)
- edit coffeeMiner.py config, beginning line 4:
#### BEGIN CONFIG ####
whitelist = 'whitelist.txt' # IP addresses not to target
port = '8080' # port for IPTables
adapter = 'wlan0' # change to match your ifconfig setup (eth0, eth1, wlan0, etc.)
#### END CONFIG ####
- execute coffeeMiner.py
python3 coffeeMiner.py ipgateway
A complete instructions for academic scenario can be found in https://github.com/arnaucode/coffeeMiner/blob/master/virtualbox_scenario_instructions.md