Security

Hijacking miners' hashrate via fake internet routes: what the data shows

Author: Updated 8 min read

Hijacking miners' hashrate via fake internet routes

In November 2026, attackers repeatedly "hijacked" the hashrate of Bitcoin miners by spoofing the internet route to a mining pool. The machines kept mining at full power and burning electricity, but someone else was credited for their work. According to public routing data (RIPE RIS), the spoofed routes did not affect Braiins Pool alone, but also addresses where AntPool, ViaBTC and F2Pool run today. Only one thing helps against this: an encrypted connection to the pool with a verified certificate.

Summary

  • On 25 November 2026, Braiins published 24 incidents between 7 and 23 November. The largest was on 20 November: 1,050–1,600 mining sites and 0.6–1.9 EH/s at once.
  • Neither the miners, the pool nor DNS were compromised. The attacker announced a smaller, "more specific" address block (/24) inside the block where the pool runs, and routers sent the traffic to it.
  • In public data we traced spoofed /24 blocks for the addresses of Braiins Pool, AntPool, ViaBTC and F2Pool. All of them had the same path via AS266409 and all of them were RPKI-invalid.
  • The unencrypted Stratum V1 protocol cannot defend against this. Stratum V2 or Stratum over TLS with certificate verification does protect you.
  • On our hosting we are already rolling out encrypted ports with a certificate, which protect clients against this type of attack.

What exactly happened

Braiins Pool described three waves. Between 7 and 12 November, it was mainly Brazil and Argentina: 19 episodes, 120–400 sites and 36–174 PH/s, each lasting from a minute and a half to three hours. On 16 November, a single incident in Brazil was captured packet by packet. And on 20 November came four waves, mainly in Europe, each lasting 6–49 minutes.

The attacker set up a fake pool that accepted any username and password. It sent the miners real jobs from another large pool and submitted the finished work under its own account. So the miner reported no error and ran at full power; only the hashrate in the pool dashboard dropped to zero.

Braiins stresses that at least 12 different firmware versions and hundreds of networks were affected. So this is not a flaw of a single manufacturer or a single internet provider, but a weakness of the unencrypted protocol itself.

How the attack works: a spoofed internet route (BGP)

The internet exchanges routes to addresses using the BGP protocol. The pool's provider announces its address block, in this case 4,096 addresses (/20). The attacker announced a smaller block of 256 addresses (/24) that contained the pool's address. Routers always choose the most specific route, so the miners' traffic was diverted to the attacker.

The spoofed route also listed the real owner of the addresses as its origin. Monitoring of "who announces the address" therefore raised no alarm. It could only be stopped by networks that validate routes using RPKI – a digital confirmation of exactly how the owner may announce its block. These networks rejected the spoof; the others accepted it.

Braiins described how to recognise the route directly on the miner:

  • the log shows a dropped connection and, within a second, a new connection to the same pool hostname and IP address;
  • share difficulty jumps to 536,870,912 or higher (Braiins Pool never sets more than 16,777,216);
  • the fake server responds much faster than the real pool (in Brazil about 30 ms instead of 280 ms);
  • the miner reports full hashrate while the pool shows nothing over the same period.

What public data shows: which blocks were spoofed

Braiins did not name the spoofed blocks. So we went through the public RIPE RIS routing data archive. The Stratum addresses of large pools now run through the Cloudflare network (AS13335). Cloudflare announces /20 blocks and its RPKI records allow only /20. Any announcement of a smaller /24 block with Cloudflare as the origin is therefore invalid.

Pool Stratum address (as of 26 November 2026) Spoofed block When it was visible (UTC) RPKI
Braiins Pool stratum.braiins.com → 172.65.65.63 172.65.65.0/24 only 20 Nov: 12:16–12:21, 13:00–13:49, 14:38–14:46, 15:57–16:04 invalid
AntPool stratum.antpool.com → 172.65.230.171 172.65.230.0/24 repeatedly from 14 Oct to 20 Nov invalid
ViaBTC btc.viabtc.io → 172.65.24.253 172.65.24.0/24 repeatedly 3–19 Nov invalid
F2Pool btc.f2pool.com → 172.65.196.131 172.65.196.0/24 repeatedly 5–19 Nov invalid

The four windows for Braiins Pool match exactly the four episodes of 20 November described by Braiins (6–49 minutes). For the other pools, the data shows spoofed routes, but not how many miners were actually diverted to them. That depends on which networks accepted the route.

All the spoofed announcements had the same path structure: … → AS5511 (Opentransit Orange) → AS52468 (Ufinet Panama, often artificially repeated up to 14×) → AS266409 (SECW Telecom, registered with LACNIC) → AS13335 (Cloudflare as the alleged origin). The real Cloudflare does not announce these /24 blocks. Before 14 October we found no such announcement in the archive for the AntPool block, and after 20 November none for the Braiins Pool block either.

Note: public data shows which networks the route passed through. It does not show who was behind the attack. The network at the start of the path may itself have been abused. Neither the pools nor Cloudflare itself were compromised – the attack took place between the miner and the pool.

How much money was at stake

Nobody has published the exact loss. For a sense of scale: at today's profitability (about 0.66 Kč per TH/s per day as of 23 November 2026), 1 EH/s on Bitcoin mines roughly 27,000 Kč per hour. Based on their duration and scale, the four waves of 20 November alone therefore correspond to somewhere in the range of tens to low hundreds of thousands of crowns credited to the attacker instead of the miners. The miners still paid for the electricity. A similar attack was described by Dell SecureWorks back in 2014. Back then, the attacker made around 83,000 USD in four months.

The BGP attack is unrelated to the Luxor Commander incident of 14–15 November. In that case, the attacker changed the pool directly in the miners' settings via management software, and according to estimates by the hosting provider CoreX, around 64,000 machines and 13 EH/s were involved. Luxor has not confirmed these figures.

How to protect yourself

  1. Remove all stratum+tcp:// addresses, including backup ones. In an outage, the miner would switch to exactly that unencrypted backup.
  2. Stratum V2 is the best option, with the pool's public key in the address (stratum2+tcp://…). The miner then works only for a server that proves it is the real pool.
  3. As an interim step, Stratum over TLS (stratum+ssl://). However, it only protects you if the firmware actually verifies the certificate. Braiins tested seven firmware versions and two widely used ones accepted a fake certificate.
  4. If the firmware does not support encryption, put a proxy on your network (for example Braiins SV2 Proxy). The miners connect to it and it connects to the pool over an encrypted link.
  5. Compare the hashrate on the miner and in the pool. A gap where the miner is running but the pool credits nothing is the main warning sign. Set up hashrate drop alerts in your pool.

Braiins recommends that pool operators offer a TLS-only port with a certificate from a public authority, support Stratum V2 and ask their provider to announce their own /24 block with a matching RPKI record. Networks, in turn, should enable RPKI validation.

What we are doing on our hosting

Our clients' machines connect to the pool via our own pool. We are already rolling out encrypted ports with a certificate (Stratum over TLS), which protect clients against this type of attack: the miner connects only to a server that proves it is genuinely ours. We are also checking that the firmware on the machines really verifies the certificate, and we monitor the difference between the machines' hashrate and the hashrate credited by the pool.

Do you have your own miners at home or with another hosting provider and are not sure whether they are protected? Write to us and we will be happy to check your settings.

What next

Sources

Text prepared with the help of AI; routing data verified in the RIPE RIS archive as of 26 November 2026.

Frequently asked questions

What is BGP hashrate hijacking?
The attacker announces a more specific internet route to the pool's address, routers send the miners' traffic to it, and the attacker gets credited for their work. The miner keeps running and consuming electricity, but the attacker receives the reward.
Which pools were affected?
Braiins described an attack on a pool whose address lay in a block of 4,096 addresses. In the public RIPE RIS archive, we found invalid spoofed /24 blocks for the current Stratum addresses of Braiins Pool, AntPool, ViaBTC and F2Pool. The data does not show how many miners were actually diverted.
How can I tell that someone has hijacked my hashrate?
The miner reports full hashrate, but the pool credits nothing over the same period. The log typically shows a dropped connection followed by an extremely high share difficulty, for example 536,870,912.
How can I protect myself?
Remove all unencrypted stratum+tcp addresses, including backup ones. Use Stratum V2 with the pool's key, or Stratum over TLS with firmware that verifies the certificate. Regularly compare the hashrate on the miner and in the pool.
Are machines on PC Praha hosting protected?
On our hosting we are rolling out encrypted ports with a certificate for connecting to our pool, and we check that the firmware verifies the certificate. This is how we protect clients against this type of attack.

This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.

More articles in News