Disrupting Cryptocurrency Mining Botnets: Innovative Techniques by Akamai Researchers
TL;DR
Akamai researchers have developed two innovative techniques to disrupt cryptocurrency mining botnets, leveraging vulnerabilities in the Stratum protocol. These methods involve targeting mining proxies and wallets, potentially forcing attackers to abandon their campaigns.
Main Content
Innovative Techniques to Disrupt Cryptocurrency Mining Botnets
Cybersecurity researchers at Akamai have uncovered two novel techniques to disrupt cryptocurrency mining botnets by exploiting flaws in common mining topologies[^1].
Current methods to stop cryptocurrency mining botnets, such as pool bans or infrastructure takedowns, are often slow and complex. Researchers have developed two faster techniques that exploit vulnerabilities in the Stratum protocol to disrupt operations by targeting proxies or wallets, potentially forcing attackers to abandon campaigns[^2].
“We developed two techniques by leveraging the mining topologies and pool policies that enable us to reduce a cryptominer botnet’s effectiveness to the point of completely shutting it down, which forces the attacker to make radical changes to their infrastructure or even abandon the entire campaign.” reads the report published by Akamai[^3].
Researchers developed XMRogue, a tool to disrupt cryptomining botnets using mining proxies. XMRogue allows researchers to impersonate a miner, connect to a mining proxy, submit consecutive bad shares (invalid mining job results), and potentially ban the mining proxy from the pool[^3].
“When mining using a proxy, all the victims are connected to a single server, which means that interfering with the proxy can bring the entire mining operation down.” continues the report. “The idea is simple: By connecting to a malicious proxy as a miner, we can submit invalid mining job results — bad shares — that will bypass the proxy validation and will be submitted to the pool. Consecutive bad shares will eventually get the proxy banned, effectively halting mining operations for the entire cryptomining botnet.”[^3]
By sending crafted invalid shares (bad hashes) through Stratum to malicious proxies, they trigger pool-level bans, halting the attacker’s operation. XMRogue bypasses proxy validations by correctly formatting share fields[^3].

In tests conducted by Akamai, it reduced one campaign’s annual revenue from $50K to $12K, a 76% drop, by banning proxies, potentially forcing attackers to abandon the campaign[^3].
Akamai’s second method targets miners connected directly to public pools without proxies. By flooding the pool with over 1,000 login attempts using the attacker’s wallet, the wallet gets temporarily banned for an hour. Though not permanent, this disruption can significantly hinder the attack. The researchers demonstrated the technique targeting Monero miners, however, it is adaptable to other cryptocurrencies[^3].
“When we inspected the mining pool’s source code, another option came to mind — targeting the wallet address. While the previous bad shares policy targeted miner IP addresses, we identified an additional policy that is enforced on the wallet level — the pool will ban the wallet’s address for one hour if it has more than 1,000 workers.” continues the report. “When using proxy mining, an attacker can embed their wallet address exclusively on the proxy server, enabling them to effectively masquerade it. But in situations where direct mining is performed, the wallet address must be present on the victim machine, which enables us to extract it. Getting the attacker banned in this case is straightforward — we just send more than 1,000 login requests using the attacker’s wallet simultaneously, which will force the pool to ban the attacker’s wallet.”[^3]
The researchers implemented this second attack technique in the XMRogue tool[^3].
The techniques above demonstrate how defenders can disrupt malicious cryptominer campaigns by exploiting mining pool policies, without affecting legitimate miners. While a legitimate user can quickly recover by changing their IP or wallet, attackers face a much bigger challenge. Shutting down a malicious campaign would require changes across the entire botnet, making this defense especially effective against less sophisticated operations[^3].
“We believe that the threat of cryptominers will continue to grow over time. But now we can fight back and disrupt the attacker’s operation, making it much more challenging to monetize cryptominers effectively” concludes the report[^3].
Follow me on Twitter: @securityaffairs and Facebook and Mastodon
(SecurityAffairs – hacking, cryptocurrency mining botnets)[^3]
Conclusion
The innovative techniques developed by Akamai researchers provide a significant advancement in the fight against cryptocurrency mining botnets. By exploiting vulnerabilities in the Stratum protocol and targeting mining proxies and wallets, defenders can effectively disrupt and potentially shut down malicious campaigns. This research underscores the importance of continuous innovation in cybersecurity to stay ahead of evolving threats.