Hackers Hijack Bitcoin Mining Computing Power Using BGP Routing Tricks

Hackers Hijack Bitcoin Mining Computing Power Using BGP Routing Tricks
Share

A forensic report published on Wednesday by bitcoin mining technology company Braiins reveals that attackers have been actively stealing work from bitcoin miners by hijacking internet routes and impersonating mining pools. While the targeted mining machines kept running smoothly, all rewards produced by the hardware were secretly credited to the attackers. In a single incident logged on November 20th, approximately 1.9 exahashes per second of computing power was successfully diverted.

According to Braiins, the security vulnerability stems from an unencrypted mining protocol that has seen widespread use since 2012. Any mining pool that continues to accept those plain-text connections remains vulnerable to the threat. The attackers did not compromise the mining hardware or the pools themselves, but instead rerouted the internet traffic traveling between the two, impersonating the pool and submitting their own work to the miners.

Key takeaways

  • Attackers hijacked bitcoin mining computing power by rerouting internet traffic and impersonating pools.
  • An unencrypted mining protocol widely used since 2012 enables this vulnerability.
  • Braiins recorded significant hijacked hashrate episodes on November 20th, reaching up to 1.9 exahashes per second.
  • Miners can block the theft by switching to encrypted connections like Stratum V2 or Stratum V1 over TLS.

How the BGP Hijacking Attack Works

Most bitcoin miners join a pool rather than attempting to find blocks on their own, receiving a slice of work to process. The machines communicate with the pool using Stratum, a messaging protocol. The original version of this protocol sends everything in plain text, giving the miner no mechanism to verify whether the answering server is truly its intended pool. The setup closely mirrors a traditional man-in-the-middle attack on the internet.

On November 20th, Braiins Pool announced a block of 4,096 IP addresses. Concurrently, an attacker announced a smaller, more specific block of 256 addresses inside that range, which included the address miners use to reach the pool. The internet's Border Gateway Protocol favors more specific routes, causing networks to direct miners' traffic to the attacker's server. The server accepted usernames and passwords, fed the machines real mining jobs copied from another public pool, and submitted the shares under its own account.

Timeline of Incidents and Industry Response

The November 20th incidents represent the largest scale observed by Braiins, featuring four episodes lasting between 6 and 49 minutes each and affecting 1,050 to 1,600 miner sites, primarily in Europe. Earlier in the month, between November 7th and 12th, the company observed 19 episodes in Latin America involving 120 to 400 sites. An earlier precedent occurred in 2014 when researchers documented a nearly identical attack that stole an estimated $83,000.

To combat the threat, Braiins recommends that miners switch to Stratum V2, which encrypts connections and authenticates pool identities, or utilize Stratum V1 over Transport Layer Security. Additionally, Braiins released a free proxy and firmware update, Braiins OS 26.11, that adds necessary certificate checks.

Source: gizmodo.com — reported and rewritten by the TechToday team.

Found this helpful? Share it.

Related Stories

Comments

No comments yet. Be the first to comment!