dotaxis / coffeeMiner

collaborative (mitm) cryptocurrency mining pool in wifi networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoffeeMiner

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

coffeeMiner

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
  • Poisons entire network using 'nmap -sn' to find active IPs
  • Uses SSLStrip functionality (experimental)

Use

  • 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

network

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

demo

About

collaborative (mitm) cryptocurrency mining pool in wifi networks

License:GNU General Public License v3.0


Languages

Language:Python 96.5%Language:Shell 2.5%Language:JavaScript 1.0%