Bro Module for Detecting Cryptocurrency (Bitcoin) Mining Hosts
This script module for Bro can detect Bitcoin, Litecoin, PPCoin, or other cryptocurrency mining traffic that uses getwork <https://en.bitcoin.it/wiki/Getwork>, getblocktemplate <https://en.bitcoin.it/wiki/Getblocktemplate>, or Stratum <http://mining.bitcoin.cz/stratum-mining/> mining protocols over TCP or HTTP. Note that the module cannot currently detect the Bitcoin P2P protocol, which is different from the mining protocols.
See mining.bro for more details on how it works.
bro-pkg install jsiwek/bro_bitcoin
cd <prefix>/share/bro/site git clone https://github.com/jsiwek/bro_bitcoin.git bitcoin echo "@load bitcoin" >> local.bro