BGP Hijacking Diverts Up to 1.9 Exahashes of Bitcoin Mining Power to Attackers’ Accounts
Key Facts
Braiins said internet route-hijacking attacks diverted Bitcoin mining sites’ connections away from its pools on November 20, affecting more than 1,000 sites across hundreds of networks at the same time. The company recorded four incidents, mostly involving sites in Europe, each affecting 1,050 to 1,600 sites and diverting between 0.6 and 1.9 exahashes per second of mining power for periods ranging from 6 to 49 minutes. The connection diversion means mining devices continue to operate, but the shares they produce are sent to the attacker’s account instead of the miner’s. Braiins did not estimate the value of the rewards stolen in the latest attacks, according to The Block. The company said the threat remains, although the network that broadcast the false route was blocked on the evening of the attacks.
The attackers exploited manipulation of BGP routes to direct miners’ traffic away from the pool address. According to Braiins’ explanation, a service provider owned an address block containing 4,096 addresses, then a smaller block of 256 addresses that included the pool address was announced, causing networks to route the connection to the false path. The forged route appeared four times on November 20, and the owner of the address block said it had not announced that route; the provider then blocked the network that advertised it, and it had not reappeared by the time of the company’s report. This mechanism shows that the failure occurred in routing traffic between miners and the pool, not in a breach of the mining devices themselves. Braiins said the attacks did not compromise miners or its pool, but the impersonating server accepted any username and password, then sent mining jobs from a large public pool and recorded miners’ shares in the attacker’s account.
The incidents spanned different operating environments: Braiins said the affected miners used at least 12 types of firmware and were spread across hundreds of networks. This diversity makes a single common cause, such as a particular firmware or one internet provider, less likely, according to the company’s assessment. The mining power diverted, Braiins said, rose from less than 175 petahashes per second to 1.9 exahashes per second over two weeks, as the attacker changed methods and incidents shifted between continents. In an earlier wave from November 7 to 12, the company recorded 19 incidents in Latin America, mostly in Brazil and Argentina; each incident affected 120 to 400 sites and diverted 36 to 174 petahashes per second for periods ranging from one and a half minutes to 3 hours. That wave differed in size, duration and location from the more recent European incidents, which recorded a higher range of diverted power and shorter periods.
The operational loss is that a miner may bear the electricity costs while work shares are credited to someone else’s account. For the latest attacks, Braiins did not publish an estimate of the value of lost rewards, so its report provides no financial total for the incidents. The company cited a documented 2014 incident by Dell SecureWorks in which an attacker used the same routing technique to seize about $83,000 in mining rewards over 4 months. That offers a historical precedent, not an estimate of what miners lost in November. EL7 data shows Bitcoin’s daily close at $61,986.73 on November 19 and $58,951.51 on November 20; that price movement coincided with the day of the incidents, but the data does not attribute the decline to the attacks.
The technical problem stems from unencrypted Stratum V1, which Braiins said sends data in plain text and has not allowed miners to verify the connection destination since the protocol appeared in 2012. The company recommends using Stratum V2 or Stratum V1 over TLS on firmware that verifies the pool’s certificate. For miners whose devices cannot perform the verification, it said it offers a free Stratum V2 proxy. Braiins also released version 26.11 of Braiins OS, adding TLS certificate and hostname verification. The company said the attack was "widespread and remains an ongoing threat," while confirming that pool accounts, balances and payout settings were unaffected.
An academic study published in 2017 indicates that hijacking fewer than 100 BGP prefixes could, within the Bitcoin network topology measured in the study, isolate up to 47% of mining power. This is a research finding about an analytical scenario, not a measurement of the scale of current incidents, which Braiins described in terms of the power diverted in each November event. The report did not provide a total value for the rewards attackers seized in those incidents. The company said the forged route had not reappeared after the provider blocked the network that broadcast it on the evening of November 20, while continuing to describe the attack as an ongoing threat. The company’s recommended action focuses on securing the miner’s connection to the pool through Stratum V2 or TLS with certificate and hostname verification.