×

Over 1,000 Bitcoin Miners Unknowingly Mine for Thief in BGP Routing Attack

Over 1,000 Bitcoin Miners Unknowingly Mine for Thief in BGP Routing Attack

A cybercriminal hijacked as much as 1.9 exahashes per second (EH/s) of Bitcoin mining power by redirecting miners to a fake mining pool through a weakness in the internet’s routing system. The attack exploited a security gap that many major mining pools still have not addressed.

The operation affected Bitcoin miners across South America and Europe for much of November. Rather than breaking into mining equipment, the attacker manipulated internet traffic to secretly redirect miners’ computing resources to an unauthorized server.

Braiins, which operates one of Bitcoin’s oldest mining pools and develops mining firmware, published a forensic report on Wednesday explaining the incident. According to the investigation, the attacker initially redirected miners’ connections to an imitation pool server before providing legitimate mining tasks copied from another pool. The completed work was subsequently submitted through an account controlled by the attacker.

This allowed the miners to continue operating without noticing that the rewards generated by their computing power were being collected by someone else.

Braiins reported that the hijacked hashrate climbed from below 175 petahashes per second (PH/s) in early November to approximately 1.9 EH/s on November 20.

On the same day, more than 1,000 mining locations, most of them in Europe, experienced simultaneous disconnections from their legitimate mining pools within a single second.

Hashrate represents the number of calculations mining machines perform every second to solve Bitcoin’s cryptographic puzzle. The compromised 1.9 EH/s amounted to approximately 1.9 quintillion calculations per second.

Based on mempool.space’s seven-day average network hashrate of 1,040 EH/s, the redirected computing power represented roughly one out of every 550 calculations performed across the Bitcoin network.

How the Bitcoin Mining Pool Attack Worked

Bitcoin miners typically connect to mining pools to combine their computing resources and distribute rewards according to each participant’s contribution. Pool operators assign smaller portions of the mining puzzle to individual machines and coordinate the submission of completed work.

These connections generally rely on Stratum, a communication protocol introduced in 2012. Although its original version remains the industry standard, it transmits information without encryption and does not offer a built-in way for miners to confirm that the server responding actually belongs to their chosen pool.

The attacker exploited this weakness by targeting the internet’s routing infrastructure rather than directly compromising Stratum.

Internet providers exchange information about network ownership and traffic destinations through the Border Gateway Protocol (BGP). This system determines how data moves between different networks.

During the attack, the legitimate mining pool’s provider announced a range containing 4,096 IP addresses. The attacker then issued a more specific announcement covering 256 addresses within that range.

Because internet routers typically favor more specific routes, miners’ connections were redirected to the attacker’s server.

According to Braiins, miners continued using the correct hostname and IP address, but their requests were answered by a different server.

The fraudulent server accepted any username and password, supplied genuine mining tasks copied from another large public pool, and submitted the completed calculations through the attacker’s own account.

As a result, the cybercriminal collected the mining rewards while the affected machines continued performing their regular work.

Estimated Bitcoin Theft Remains Below $17,000

Despite the large amount of computing power involved, the estimated financial losses appear relatively small.

Braiins did not disclose the exact amount of Bitcoin taken during the operation. However, CoinDesk estimates that the affected mining rewards were worth less than $17,000.

The calculation assumes the highest redirected hashrate and longest attack duration reported by Braiins for each incident. It also uses the network’s current daily mining rewards of approximately 453 BTC, distributed across 1,040 EH/s of computing power.

Braiins identified an additional warning sign in the fake server’s configuration: its unusually high share difficulty setting. Share difficulty determines how much computational work miners must complete before submitting a result to the pool.

The fraudulent server reportedly increased this threshold to 2 billion, compared with Braiins’ maximum setting of approximately 17 million.

Networks that validate routing announcements through Resource Public Key Infrastructure (RPKI) successfully rejected the forged routes. RPKI allows legitimate IP address owners to authorize which networks can announce their address ranges.

However, many networks still do not enforce these checks. The attacker also identified the legitimate address owner as the origin of the fraudulent announcement, allowing the route to bypass certain monitoring systems.

To reduce the risk of similar attacks, Braiins recommends that miners migrate to Stratum V2. The updated protocol encrypts communications and allows mining equipment to verify the identity of pool servers.

For miners still using Stratum V1, the company recommends encrypted connections and firmware capable of checking security certificates.

Braiins said properly encrypted connections would prevent attackers from collecting Bitcoin through this type of interception, stating, “The attacker does not earn any bitcoin.”

The incident adds to the challenges facing Bitcoin miners, who are already operating under tight profit margins. Bitcoin is trading near $59,000, while mempool.space data indicates that mining difficulty could rise approximately 9% within the next two days.

Share this content:

Copyright © 2025 CoinsNewz