Tech Business · 3 min read

BGP hijacks diverted up to 1.9 EH/s from bitcoin miners, Braiins says

Forged BGP routes pulled up to 1.9 EH/s from mostly European bitcoin miners into a fake pool accepting any login, Braiins reported on Nov. 25. The campaign is still running.

By Sophie Lindqvist696 words

Key takeaways

  1. Forged routes diverted 0.6-1.9 EH/s from 1,050-1,600 mostly European miner sites on Nov. 20 for 6-49 minutes, Braiins reported.
  2. The fake pool accepted any login and relayed work to the attacker's account at another pool; share difficulty rose to 2,147,483,640 in one log.
  3. An earlier wave, Nov. 7-12, hit Brazil and Argentina in 19 episodes of 36-174 PH/s; affected machines run at least 12 firmware types.
  4. Braiins advises deleting all stratum+tcp:// entries, moving to Stratum V2 or TLS with certificate checks, and enabling RPKI route validation.
  5. Dell SecureWorks documented the same technique in 2014, when an attacker took about $83,000 over four months.
Braiins says route hijacks diverted up to 1.9 EH/s from bitcoin miners
Braiins says route hijacks diverted up to 1.9 EH/s from bitcoin miners — kewl / pixabay

Attackers using forged internet routes diverted as much as 1.9 exahashes per second of bitcoin mining power on Nov. 20, according to a report published Wednesday, Nov. 25 by Braiins, the mining pool operator and firmware maker. The campaign is still running, the company said. Each hijack that day disconnected 1,050 to 1,600 miner sites, mostly in Europe, and diverted 0.6 to 1.9 EH/s for 6 to 49 minutes. The attackers impersonated a mining pool on unencrypted Stratum V1 connections and pocketed the hashrate.

"The attack didn't breach Braiins Pool or the miners' infrastructure. It didn't need to," Braiins wrote. Pool accounts, balances and payouts were unaffected. Braiins did not estimate how much bitcoin the attackers earned.

How does the hijack work?

Braiins attributes the attack to a BGP route hijack, not DNS spoofing. A pool's network provider announces a block of 4,096 internet addresses. The attacker announced a more specific 256-address block containing the pool's address, and routers follow the more specific route.

Miners whose connection was reset reconnected in under a second to what looked like the same pool. The fake server accepted any username and password, relayed real mining jobs from a different large public pool, and submitted the work under the attacker's own account there. In one log, the fake server raised share difficulty step by step to 2,147,483,640.

Networks that enforce RPKI route validation rejected the forged route. Many networks do not validate routes, and that gap is what keeps the technique viable.

The underlying weakness sits in Stratum V1 itself, which is plain text. "A miner has no way to verify that the party on the other end of the connection is who they say they are," Braiins wrote. The company did not name the pool whose address was hijacked, nor the pool where the stolen hashrate landed. It said the destination pool is not part of the attack.

How big was the campaign?

The first wave ran Nov. 7 to 12 and hit mostly Brazil and Argentina. It comprised 19 episodes, each affecting 120 to 400 miner sites and 36 to 174 petahashes per second. The Nov. 20 wave, sixfold to thirtyfold larger, reached European sites at 0.6 to 1.9 EH/s. Affected machines run at least 12 firmware types. Forged announcements were still hitting other address blocks on Nov. 22.

This is not a novel technique. Dell SecureWorks documented the same method in 2014, when an attacker took about $83,000 in bitcoin and other proof-of-work rewards over four months, The Block reported. A decade later, the fix remains the same, and adoption remains incomplete.

What does Braiins tell miners to do?

The company advises miners to delete every stratum+tcp:// pool entry, including backups. It recommends Stratum V2 where supported, or Stratum V1 over TLS only on firmware that validates certificates and hostnames, such as Braiins OS 26.11. Miners whose firmware cannot validate the pool can run Braiins' SV2 proxy on their own network.

"Braiins Pool never sets share difficulty above 16,777,216, so higher values mean the miner is not talking to the pool," the company said. It also asked network operators to enable RPKI route origin validation. That request goes to a constituency Braiins does not control, and RPKI adoption is uneven across transit networks.

Is this the same as the Luxor incident?

No. The Nov. 14 hijack through Luxor's Commander fleet software pointed machines in just over a dozen client accounts at the OCEAN pool via fleet-management software. That attack targeted the management layer. The Stratum V1 attack works on the connection itself, and needs only two conditions: a miner using unencrypted Stratum, and a network that accepts the forged route. That makes the current campaign broader in reach, since it does not depend on compromised fleet software.

Braiins says forged announcements were still active on Nov. 22, and the company has given no date for when the campaign might stop. Until unencrypted Stratum V1 disappears from mining fleets and more networks validate routes, the hijacks have room to continue.

mlq.ai (Source)

Filed under

Share this article:

More from Sophie Lindqvist

Sophie Lindqvist

Show full bio

News editor covering money, funding and market shifts around Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.

1,322 articles

Read also

« Previous article