Linux Cryptojacking Campaigns Use SSH Brute Force to Spread XMRig Miners
Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Nov 12, 2021

Researchers detailed Linux-focused cryptojacking operations that compromise internet-exposed systems through SSH brute-force attacks and then deploy XMRig to mine Monero. One campaign, tracked as Krane, was first observed through honeypot activity and used Bash scripts, Python tooling, and ELF binaries to establish persistence, erase and recreate logs, kill rival miners and botnets, and move laterally across additional hosts. Krane operators also used subnet and SYN scanning, SSH banner grabbing, and credential attacks to identify new victims, while infected systems reported discovered targets back to command-and-control infrastructure every 15 seconds.
The reporting aligns with broader findings on long-running Linux cryptojacking activity, including the WatchDog campaign, which similarly maintained large-scale miner deployments over an extended period. In Krane, analysts linked delivery infrastructure to multiple download servers and network space associated with AS53667/PONYNET, observed package variants including krax and ssh, and tied mining activity to Hashvault pools and three Monero wallets. At one point, researchers saw more than 200 active miners and estimated proceeds of roughly 2434.26 EUR, underscoring how opportunistic SSH compromise and aggressive competitor removal can sustain profitable, persistent cryptomining operations.


