An attacker used forged Border Gateway Protocol (BGP) announcements to redirect more than 1,000 Bitcoin (BTC) mining sites to an impostor pool in November, diverting computing power while the machines continued operating normally.

Braiins, a Bitcoin mining pool operator and firmware provider, said the hijacked hashrate reached 1.9 exahashes per second on Nov. 20. The stolen mining rewards totaled less than $17,000.

The diversion targeted unencrypted Stratum V1 connections between mining machines and pools. The protocol transmits data in plain text and does not authenticate the server, allowing the impostor pool to accept credentials and relay mining jobs copied from another public pool.

“Stratum V1 sends everything in plain text, and a miner has no way to verify that the party on the other end of the connection is who they say they are,” Braiins said Nov. 26.

The attacker announced a more specific route covering 256 addresses inside a larger 4,096-address block used by the pool provider. Networks generally favor the more specific route, directing miners’ traffic to the attacker’s server instead of the legitimate pool.

The attacker rerouted the connections without compromising mining equipment or obtaining miners’ passwords. Braiins said neither its pool nor the miners’ infrastructure was breached.

Braiins described 19 earlier episodes in Latin America between Nov. 7 and Nov. 12, with each affecting between 120 and 400 sites. Four episodes in Europe on Nov. 20 each affected between 1,050 and 1,600 sites and lasted from six to 49 minutes.

The diverted hashrate rose from below 175 petahashes per second in early November to its peak on Nov. 20. At that peak, the diverted computing power represented about one of every 550 guesses across the Bitcoin network’s estimated capacity.

Braiins urged miners to migrate to Stratum V2, which verifies the pool cryptographically, or to use Stratum V1 over an encrypted connection with certificate checks.

The incident follows earlier reporting on Braiins’ findings about mining-site attacks, which showed how miners could continue paying electricity costs while their work was redirected.

Simon Yoon

Simon Yoon reports on blockchain technology for TokenPost. Send corrections or tips to [email protected].