/zeek-cryptomining

Detect cryptocurrency mining traffic with Zeek.

Primary LanguageZeekOtherNOASSERTION

Zeek Package To Detect Cryptocurrency (Bitcoin) Mining

This script/package for Zeek can detect Bitcoin, Litecoin, PPCoin, or other cryptocurrency mining traffic that uses getwork, getblocktemplate, or Stratum 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.zeek for more details on how it works.

Installation

Via zkg:

zkg install jsiwek/zeek-cryptomining

Manually:

cd <prefix>/share/zeek/site
git clone https://github.com/jsiwek/zeek-cryptomining cryptomining
echo "@load cryptomining" >> local.zeek