Edition of Mon 30 Nov 2026 UTC Free to read. No paywall. RSS · X
Infrastructure Intel

Crypto and AI agent infrastructure, read by a network architect. No hype. No shilling.

Incident Forensics

The Miners Dialed the Right Address. A Forged Route Sent Them to a Thief's Server

By · · 10 min read

Braiins says someone hijacked internet routes in November and pointed more than a thousand Bitcoin mining sites at a fake pool. Nothing was broken into. The pool was fine, the miners were fine, and DNS was never touched. The money taken looks small. The method is the part to worry about, and it's a routing problem before it's a mining problem.

30 mshow fast the fake pool answered a miner in Brazil. The real one takes about 280.

On November 20, more than a thousand Bitcoin mining sites lost their pool connection in the same second. They reconnected within a second, to the same hostname and the same IP address, and went on hashing at full power. A different server had answered. For the next several minutes their work was paying someone else.

Braiins published the forensic report on Wednesday, November 25. I read it in full, and everything below is from that report unless I say otherwise. Braiins runs a mining pool and writes mining firmware, so it’s both a victim’s-eye witness and a vendor. I’ll come back to that.

Start with what didn’t happen. Braiins Pool wasn’t compromised. The miners weren’t compromised. Pool accounts, balances and payout settings weren’t touched. Every address was the right one. The attack lived on the network in between, and Braiins says it’s still a live threat.

Three rounds, each bigger

  • November 7 to 12, Latin America. Nineteen episodes, mostly in Brazil and Argentina. Each hit 120 to 400 mining sites, diverted 36 to 174 petahashes per second, and lasted between 90 seconds and three hours.
  • November 16, Brazil. One episode, three minutes long, recorded packet by packet by a miner who runs his own monitoring. Only three machines are in the capture. It matters more than its size suggests, and I’ll get to why.
  • November 20, mostly Europe. Four episodes. Each hit 1,050 to 1,600 sites, diverted 0.6 to 1.9 exahashes per second, and lasted 6 to 49 minutes.

An exahash is a thousand petahashes, so the peak grew more than tenfold in two weeks. The method changed between rounds and the target moved continents. Braiins reads that as “testing the waters.” I’d read it the same way.

What the miner sees

The first clue was a number. Three Antminer S19s in Brazil logged the same sequence: the pool connection dropped, the miner reconnected to the same hostname and IP, and share difficulty climbed in steps to 536,870,912. Share difficulty is the bar a result has to clear before the miner reports it to the pool. Braiins says its pool never sets it above 16,777,216, and its records for the prior 30 days show nothing that high sent to anyone. In one later log the fake server pushed it to 2,147,483,640.

The rest of the pattern held from site to site:

  • A reset on one end only. Every affected miner got a TCP reset in the same second. The pool got nothing. Its sessions died by timeout more than two minutes later.
  • Same name, same address. DNS wasn’t touched. This isn’t a spoofed lookup.
  • A faster answer. From Brazil, the fake server answered the Stratum handshake in about 30 milliseconds. The real pool takes about 280. In the November 16 capture the impostor was six network hops closer to the miner.
  • No questions asked. It accepted any username and any password.
  • A clean exit. When the attacker stopped, miners got a second reset and went back to the real pool, hundreds of sites in the same second.

Through all of it the machine reports normal hashrate, normal temperature and a live pool. The only place the theft shows is the pool dashboard, which reads zero.

That one-sided reset is what a route change looks like from the edge. The pool keeps waiting for packets that now go somewhere else. The miner’s packets land on a host that has never heard of the connection, and the host says so.

Where the work went

The November 16 recording answers it. The jobs the fake server handed out were ordinary jobs from a different large public pool, with that pool’s tag and payout addresses in them. So the attacker wasn’t mining alone or running a pool. They ran a proxy with a normal worker account at the second pool, relayed its jobs to the hijacked machines, and turned in the shares under their own account.

Braiins doesn’t name that pool and says it wasn’t part of the attack. It adds that every pool should assume its accounts can be used the same way.

A /24 inside a /20

This is the part I’d want every network person to read, mining or not.

BGP is how independent networks tell each other which addresses they can reach. It runs largely on trust, and routers prefer the most specific announcement that matches. The pool’s Stratum address sat inside a block of 4,096 addresses announced by its network provider. Someone announced a block of 256 addresses that contained the pool’s address. In routing terms that’s a /24 inside a /20. The smaller block wins, and every network that accepted it sent its miners’ traffic to the attacker.

The forged route appeared four times on November 20, for 6 to 49 minutes each time. The block’s owner confirmed it never announced that route and that the diverted connections never reached its network. That evening the provider blocked the network that had been passing the forged route along. Braiins says it hasn’t come back.

Two details explain why it worked, and they pull against each other at first glance.

Networks that validate routes dropped it. RPKI is the registry where address owners publish who may announce their blocks. Braiins says networks checking against it rejected the forged route, and only miners behind networks that don’t check were diverted.

The forged route named the real owner as its origin. So monitors that only watch for a change of origin stayed quiet.

Braiins doesn’t spell out how a route with the right origin still failed validation. My read is that the owner’s registry record caps how small a block may be announced, and a /24 is smaller than it allows. That’s an inference from the two facts above. It fits the advice Braiins gives pools: have your provider announce the /24 holding your Stratum endpoint yourself, with a registry record limited to that length. Most networks won’t accept anything smaller than a /24, so there’s nothing more specific left for an attacker to announce.

It also marks the limit of the fix. Origin validation checks who a route claims to start from and how specific it is. It doesn’t check the path. An attacker who forges the origin and announces a block of an allowed size passes the check and competes on path length. Turn validation on, because it stopped this one. Don’t file the problem as solved.

One part of the routing record is less settled. Braiins says the Latin America round isn’t confirmed in the same detail. It also says public route data shows the same kind of announcement against address blocks holding the Stratum endpoints of other large pools, some still active on November 22. Those blocks host thousands of unrelated services, so Braiins won’t say mining was the target in every case.

The protocol never asks who’s there

A forged route only pays if the traffic is worth something in the clear. Most of the internet is encrypted now, so a rerouted web session gets an attacker a certificate error. Stratum V1, the protocol most miners use to talk to pools, dates to 2012 and sends everything in plain text. The miner has no way to check who answered.

None of this is new. Braiins cites a Dell SecureWorks case from 2014 where the same routing trick took about $83,000 in mining rewards, and Braiins wrote about the risk itself in 2020. The industry decided it was rare enough to live with.

Braiins rules out the easy explanations. The affected miners ran at least 12 kinds of firmware across hundreds of networks, so it isn’t one vendor’s bug or one provider’s breach.

Encryption with nobody checking

Braiins tested seven firmware builds in its lab on November 20 and 23. Its own, Braiins OS 26.11, released the same day as the report, rejected every bad certificate. Two other widely used builds offer TLS and accepted invalid certificates anyway. Others have no TLS for outside pools at all. Braiins’s line on that: “TLS without verification gives the miner an encrypted connection to the thief.”

Backups are the other hole. Whoever controls the route can make a protected connection fail on purpose, and a miner with a plain-text backup will fall through to it. In one log a stock miner failed over to a backup on a different address, then switched back to the hijacked primary two minutes later because the fake pool looked stable.

Encryption doesn’t stop the resets either. An attacker on the path can still cut the connection. What changes is that the miner refuses to work for a server that can’t prove it’s the pool, so the attacker earns nothing.

How much was taken

Braiins gives no figure. CoinDesk worked one out from the report’s numbers and put it at about $17,300 at most, taking the highest hashrate and the longest duration for each round. That’s a ceiling built on Braiins’s own ranges. It isn’t a confirmed loss. CoinDesk notes it’s about a fifth of the 2014 theft.

For scale, CoinDesk’s sum uses a network total of 1,040 exahashes per second. The 1.9 peak is under 0.2% of that. Nobody was close to threatening Bitcoin. The victims are the mining sites that paid for power and got credited nothing.

A note on the source

Braiins sells a pool, firmware and now a free proxy, and the report ends with a signup link. The one firmware that passed its test is its own, and it doesn’t name the two that failed, so nobody outside can rerun that result. The routing evidence is a different matter. Route announcements are public record, and Braiins tells other pools where to look. I haven’t pulled that data myself.

The advice holds whoever you buy from. Authenticating the server is the fix, and it works on any pool that offers it.

What to do

If you run miners:

  • No pool entry should start with stratum+tcp://. That includes every backup.
  • Use Stratum V2 where the firmware supports it. The pool’s public key is in the URL, and the miner drops any server that can’t prove it holds the matching private key.
  • Use Stratum V1 over TLS only if you’ve tested it. Point the miner at a bad certificate and confirm it refuses. Don’t take the settings page’s word.
  • Put a proxy in front of miners that can do neither. They speak plain Stratum inside your own network and the proxy makes the authenticated connection out. Braiins released one. It’s a first release, so start small.
  • Alarm on the gap. Compare the hashrate your machines report with the hashrate the pool credits. In November that gap was the entire theft, sitting in logs miners already kept. A share difficulty above your pool’s maximum is the second alarm.

If you run a pool:

  • Offer TLS on a port that takes nothing else, with a certificate from a public authority. Braiins checked the largest pools’ public endpoints on November 23 and says most offered only plain text.
  • Check your own routes. Search RIPE RIS or RouteViews back to November 1 for more-specific blocks covering your addresses and for unfamiliar networks in the path. An origin-change alert won’t catch this.
  • Watch for the signature. Many clients on many networks timing out in the same minute and returning in the same second.

If you run a network: turn on route origin validation. Braiins says the November 20 route only reached miners behind networks that don’t check.

What’s still open

  • Who did it. No attribution from anyone.
  • What it paid. Braiins has no figure, and the ceiling is a reporter’s sum.
  • Which pool the work was sold through, and whether that account was closed.
  • Which network originated the forged route. Braiins says the provider blocked the one propagating it and names neither.
  • Whether the Latin America round used the same method.
  • Whether the other pools’ address blocks were hit for mining.
  • Whether it comes back bigger. The trend says it was a rehearsal.

Take the mining out and the stack is familiar. A routing system that trusts announcements. A plain-text protocol carrying money that never asks the server to identify itself. A plain-text backup waiting under the protected path. Each layer was counting on another one to do the checking, and for fourteen years none of them did.

David Cooper, CCIE #14019

Not financial or legal advice. Views are my own.

Sources