A forged internet route quietly pointed more than a thousand Bitcoin mining sites at a fake pool server on November 20, peaking at 1.9 EH/s of stolen work. The rigs reported healthy hashrate the entire time. Only the pool dashboard knew.

A forged internet route quietly pointed more than a thousand Bitcoin mining sites at a fake pool server on November 20, peaking at 1.9 EH/s of stolen work. The rigs reported healthy hashrate the entire time. Only the pool dashboard knew.

Braiins, the company behind Braiins Pool and Braiins OS miner firmware, has published a security alert describing a hashrate hijacking campaign that did not touch a single pool server, miner or DNS record. It went after the network in between, and it went after the oldest weakness in Bitcoin mining: Stratum V1 traffic that still travels in plain text.

How the route was forged

The pool’s Stratum endpoint lived inside a block of 4,096 addresses announced by its network provider. Someone announced a smaller block of 256 addresses inside that range. On the internet, the more specific route wins, so every network that accepted the announcement started sending miner traffic to the attacker instead. The forged route even listed the legitimate owner as its origin, which is why origin-only BGP monitoring stayed silent.

What happened next on each miner was tidy. The pool connection got a TCP reset, the miner reconnected within a second to the same hostname and the same IP, and a fake server answered the handshake. It accepted any username and password, fed the rig real jobs relayed from another large public pool, and credited the shares to the attacker’s own worker account there. Braiins says that relay pool was not part of the attack and has not named it.

The giveaway, if anyone had been looking, was difficulty. The fake server ramped share difficulty in steps up to 536,870,912, and once to 2,147,483,640. Braiins Pool never goes above 16,777,216.

Small tests, then a big day

According to Braiins, the campaign started with 19 episodes between November 7 and 12, mostly in Brazil and Argentina, each hitting a few hundred sites. November 20 was different: four episodes, largely in Europe, lasting between 6 and 49 minutes and each catching somewhere between 1,050 and 1,600 sites running at least a dozen firmware types. In the company’s words, the attacks “grew from under 175 PH/s to 1.9 EH/s in two weeks.” The provider blocked the network that propagated the route that evening, and it has not come back.

Nobody has put a number on the bitcoin that was lost, and Braiins does not name an actor. Its read is that “We interpret this as testing the waters.” Public routing data also showed similar forged announcements covering the Stratum endpoints of other large pools, some still active on November 22, as The Block and Tech Times also reported.

Encryption only helps if the firmware checks

The obvious fix is to stop sending mining traffic in the clear, but Braiins found that encryption alone is not enough. In its own tests of seven miner firmwares, two widely used ones accepted invalid TLS certificates, which makes an encrypted link just as easy to impersonate. Backup pool URLs did not help either when they resolved to the same hijacked address. One stock miner did fail over to a backup on a different address, then drifted back to the fake primary two minutes later.

The recommended playbook is blunt. Remove every unencrypted Stratum URL, backups included. Use Stratum V2, where the pool’s public key is part of the URL and the miner refuses any server that cannot prove it, or Stratum V1 over TLS only on firmware that really validates certificates. Alert on share difficulty above the pool’s maximum and on gaps between what rigs report and what the pool credits. Network operators are asked to turn on RPKI route origin validation, which rejected the forged route wherever it was enforced.

Worth keeping in mind: Braiins sells the firmware, pool and Stratum V2 proxy it recommends, and the firmware test results are its own. The mechanism is not new, though. A similar BGP-based mining hijack was documented back in 2014. Twelve years on, a lot of hashrate still travels in plain text.

Related Posts