Skip to content

Fake Internet Route Let a Thief Hijack More Than 1,000 Bitcoin Miners

An attacker used a forged BGP route to redirect up to 1.9 EH/s of hashrate to an impostor pool in November, exploiting a weakness in the old Stratum V1 protocol, CoinDesk reports.

ChainPost Newsroom3 min read

Rows of bitcoin mining machines in a data centre
Image: CoinDesk

For much of November, a group of bitcoin miners in Europe and South America were doing work for someone else without knowing it. An attacker used a forged internet routing announcement to steer their machines to a fake mining pool and collect the rewards, according to a forensic report from mining pool and firmware maker Braiins, as reported by CoinDesk.

The incident peaked on Nov. 20, when more than 1,000 mining sites — most of them in Europe — lost their connection to their real pool at once.

How the attack worked

The internet relies on the Border Gateway Protocol (BGP) to decide how traffic travels between networks. The pool's network provider announced a block of 4,096 IP addresses. The attacker then announced a smaller, more specific block of 256 addresses inside that range — one that included the pool's server. Because routers prefer the most specific route available, miners' traffic was quietly redirected to the attacker.

The impostor server accepted any username and password. It handed miners genuine work copied from another large public pool, so the machines kept hashing normally, but the resulting shares were credited to the attacker's account.

Two details made the trick hard to spot. The forged route listed the real owner as its origin, so tools that watch for changes in a route's origin did not raise an alarm. And while networks that validate routes with RPKI rejected the fake announcement, many networks do not perform that check.

How big was it?

  • The redirected hashrate grew from under 175 PH/s in early November to as much as 1.9 EH/s on Nov. 20.
  • That peak was roughly 1/550th of bitcoin's total hashrate, based on mempool.space's one-week average of about 1,040 EH/s.
  • Braiins did not estimate how much was stolen. CoinDesk's own calculation, using the highest hashrate and longest duration in the report, puts the affected mining revenue at under about $17,000 — around a fifth of a similar routing theft in 2014.

The giveaway, according to Braiins, was the share difficulty. The fake pool pushed it as high as 2 billion, while Braiins says it never sets the value above roughly 17 million.

The real problem: a 2012 protocol

The attack worked because of Stratum V1, the protocol most miners still use to talk to pools. Introduced in 2012, it sends data in plain text and gives a miner no way to confirm that the server on the other end really belongs to its pool. CoinDesk notes that most of the industry's largest pools still carry this weakness.

Braiins recommends moving to Stratum V2, which encrypts traffic and authenticates the pool. Where that is not possible, it suggests encrypted Stratum V1 combined with firmware that checks the server's certificate. With encryption in place, Braiins says, an attacker using this method would earn nothing.

Why it matters

The financial loss in this case was modest, but the method scales: anyone able to make a convincing route announcement could in principle divert far more hashrate. Beyond theft, redirecting mining power away from honest pools is a concern for the network's overall security. The episode is likely to add pressure on pools and hardware makers to finish the long-discussed migration to authenticated, encrypted mining connections.

It also comes as mining economics tighten: bitcoin is trading near $59,000 and mining difficulty was expected to rise about 9% within days, according to mempool.space.

Based on reporting by CoinDesk ↗ · AI-assisted

  • #bitcoin
  • #mining
  • #security
  • #bgp
  • #stratum

Disclaimer: This article is for information only and is not financial advice. Read our disclaimer.