Hackers redirected up to 1.9 exahashes per second of Bitcoin mining power to fraudulent servers on November 20, hijacking the pool connections of more than 1,000 mining sites in seconds, according to a forensic report from mining firm Braiins.
The attackers used BGP hijacking to intercept the traffic, collected the rewards and left the original miners paying electricity costs. A CoinDesk estimate puts the potential stolen revenue below $17,000.
How hackers exploited a weakness in Bitcoin mining connections
The attack relied on a technique known as Border Gateway Protocol (BGP) hijacking. BGP is the system internet networks use to exchange information about which IP addresses they can reach. It essentially helps direct internet traffic between different networks.
In this incident, the attackers manipulated those routing announcements to redirect traffic intended for legitimate mining pools.
According to Braiins, the legitimate network provider had announced a block containing 4,096 IP addresses. The attacker subsequently announced a smaller block of 256 addresses that included the mining pool’s address.
Because internet routers generally prioritize more specific routes, networks that accepted the fraudulent announcement redirected miners’ connections to the attacker’s server instead of the legitimate destination.
The attackers then exploited weaknesses in Stratum V1, a mining communication protocol introduced in 2012. The protocol allows mining equipment to receive computational assignments from mining pools and submit completed work. However, its original implementation transmits information without encryption or reliable server authentication.
This meant affected machines had no dependable way to establish whether the server responding to their connection actually belonged to their chosen mining pool.
Braiins explained that the fraudulent server accepted any login credentials, distributed legitimate mining assignments obtained from another public pool and submitted completed work through an account controlled by the attacker.
Consequently, the original mining operators continued paying electricity and operating costs while someone else collected the rewards.
One particularly concerning detail was the difficulty setting displayed by the fraudulent server. Braiins recorded abnormal share-difficulty values reaching approximately 2.1 billion, considerably higher than the maximum of 16,777,216 it says its own pool assigns.
The investigation also established that the attack did not require compromising mining hardware, mining pool accounts or the Bitcoin network itself. The vulnerability existed in the communication pathway connecting the equipment to its pool.
Potential financial losses and growing security concerns
Although the attack affected substantial computing resources, the precise amount of stolen Bitcoin remains undisclosed.
Braiins has not published an official financial estimate or identified the individual or group responsible. However, a CoinDesk calculation based on the reported hashrate, attack duration and estimated mining rewards placed the potential stolen revenue below $17,000.
That figure should be treated as an independent estimate rather than a confirmed loss.
The incident is particularly concerning because the technique is not entirely new. Braiins referenced a similar attack documented by Dell SecureWorks in 2014, when attackers reportedly stole approximately $83,000 in Bitcoin and other proof-of-work mining rewards through internet-routing manipulation.
The latest incidents suggest that the longstanding vulnerability remains relevant despite improvements in internet security.
Braiins also reported that networks using Resource Public Key Infrastructure (RPKI), a security framework that helps verify which networks are authorized to announce particular IP address ranges, rejected the fraudulent routes.
However, many networks still do not enforce this verification.
The company further warned that attackers used routing announcements that identified the legitimate address owner as the origin. This helped the fraudulent activity evade certain monitoring systems that rely primarily on detecting changes in route origins.
For Bitcoin miners, the financial implications extend beyond the immediate loss of mining rewards. Mining operations already face substantial electricity expenses, hardware costs and competition for block rewards. Losing computing output to an unauthorized operator could further weaken profitability.
Stratum V2 upgrade emerges as a critical security measure
Following the investigation, Braiins urged mining operators and infrastructure providers to strengthen their connection security, particularly by moving away from unencrypted Stratum V1 connections.
Its preferred recommendation is Stratum V2, a newer communication protocol designed to provide encrypted and authenticated connections between mining equipment and pools.
Unlike the original protocol, Stratum V2 uses authenticated encryption to protect communications and allows miners to verify the identity of the pool server through cryptographic authentication.
For operators unable to migrate immediately, Braiins recommends using Stratum V1 over Transport Layer Security (TLS), provided their mining firmware properly verifies server certificates.
The company also advised operators to examine their backup pool configurations, warning that an encrypted primary connection offers limited protection if backup connections still use unencrypted Stratum V1.
Importantly, simply enabling TLS is not sufficient if the mining firmware fails to validate certificates. Braiins disclosed that its testing of seven firmware implementations found weaknesses in some products, including software that accepted invalid certificates.
The company recommended that mining operators monitor discrepancies between the hashrate reported by their machines and the computing power credited by their pools. Unusually high share-difficulty values and unexpected connection resets could also indicate suspicious activity.
The investigation highlights a security challenge that extends beyond individual mining companies. While Bitcoin’s underlying blockchain was not compromised, weaknesses in the infrastructure supporting mining operations created an opportunity for attackers to redirect valuable computing resources.
As the industry continues expanding, securing communication between mining equipment and pools will become increasingly important. The November incident demonstrates that even sophisticated mining operations can lose control of their rewards without experiencing a conventional hardware breach.
For Bitcoin miners, upgrading connection security is no longer simply a technical improvement. It is an increasingly important measure for protecting revenue, maintaining operational transparency and preventing unauthorized access to the rewards generated by their machines.