Text size
Security

Bitcoin Miners Hit by "Hashrate Hijacking": How the Stratum V1 Attack Works and How to Stay Safe

Braiins says an attacker rerouted traffic from over 1,000 Bitcoin mining sites to a fake pool. Here is how the Stratum V1 weakness works and what fixes it.

Not financial advice. This article is for general information and education only. It is not a recommendation to buy, sell or hold any asset. Crypto assets are volatile and you can lose money; do your own research.

Imagine running a mining machine all day, paying the power bill, watching it report healthy numbers, and earning nothing. According to a security alert published on Wednesday, November 25, by the Czech mining company Braiins, that is what happened to more than a thousand Bitcoin mining sites on a single day this month. An attacker quietly redirected their machines to an impostor pool and collected the rewards.

Nobody broke into the miners, and nobody broke into Braiins Pool. The attacker took advantage of an old, well-known gap in the way mining machines talk to pools. This explainer walks through what happened, how the trick works in plain English, and what home and commercial miners can check today.

What Braiins reported

In its security alert, Braiins described several waves of attacks during November:

DatesRegionEpisodesSize of each episode
Nov. 7–12Latin America (chiefly Brazil and Argentina)19120 to 400 sites, 36 to 174 PH/s
Nov. 16Brazil1 (recorded in detail)3 machines in the capture
Nov. 20Mostly Europe41,050 to 1,600 sites, 0.6 to 1.9 EH/s

"PH/s" and "EH/s" are units of hashrate, the raw guessing power that Bitcoin mining machines put out. One exahash per second (EH/s) equals 1,000 petahashes per second (PH/s). Cointelegraph reported that the whole Bitcoin network ran at an estimated 1,016 EH/s on Nov. 20, citing MineOrNot data, so the largest single episode equalled roughly 0.19% of global hashrate. That is small for the network, but it is a meaningful amount of income for the miners who lost it.

Braiins counted 24 incidents in total and said the attacks are still a live threat. In its words, "The episodes so far were short, but they grew from under 175 PH/s to 1.9 EH/s in two weeks." In its view, the pattern shows the attacker "testing the waters." Braiins did not estimate how much bitcoin was taken, as The Block noted.

A quick refresher: miners, pools and Stratum

Most people who mine Bitcoin do not mine alone. Finding a block on your own is like winning a huge lottery, so miners join a mining pool. The pool sends each machine small pieces of work, the machine sends back proof that it did the work (called "shares"), and the pool splits the rewards based on those shares. Our mining and staking guide covers the basics if this is new to you.

The language that mining machines and pools use to talk to each other is called Stratum. The original version, Stratum V1, dates from 2012 and is still used by most of the industry. It has one big weakness: it sends everything as plain, unencrypted text, and the miner has no built-in way to confirm that the server answering it is really its pool.

Think of it like phoning your bank and never asking the person on the other end to prove who they are. If someone can secretly switch the line, you would keep talking without suspecting a thing.

How the attack worked, step by step

The trick relied on BGP, short for Border Gateway Protocol. BGP is the system that thousands of independent networks use to tell each other which internet addresses they can reach. Braiins compares it to road signs that anyone along the road is able to put up. Routers tend to follow the most precise sign they can find.

Here is the sequence Braiins described for the Nov. 20 wave:

  1. A pool's mining server sat inside a block of 4,096 internet addresses announced by its network provider.
  2. Someone announced a narrower block of 256 addresses that included the pool's address. Because it was more precise, networks that accepted it sent miners' traffic to the attacker instead.
  3. Every affected machine had its connection cut in the same second, then reconnected within a second to what looked like the same pool name and the same address.
  4. A different server answered. It accepted any username and password, handed out genuine Bitcoin mining jobs, and pushed the work difficulty far higher than a pool normally would.
  5. The attacker ran a relay with its own worker account at a separate large public pool, so the shares from the hijacked machines were credited to the attacker.
  6. When each episode ended, the machines were reset again and went back to their real pool.

Braiins said the bogus route appeared four times that day, lasting between 6 and 49 minutes each time. The provider that owned the address block confirmed it never made that announcement, and it blocked the network spreading the false route that evening.

Networks that check route announcements against an official registry of address owners, a system called RPKI, rejected the false route. Many networks do not perform that check, and miners behind those networks were exposed. Braiins also stressed that the pool where the stolen hashrate ended up was not part of the attack; it was simply where the attacker chose to send the work.

Why it was so hard to notice

This is the part that should worry anyone who runs a miner at home. During an attack, a hijacked machine looks perfectly normal on site. It hashes at full speed, its temperature is normal, and it reports that its pool is alive. The only sign is on the pool's own dashboard, which shows zero hashrate for that worker.

Cointelegraph pointed out the painful result: miners can keep paying for electricity while their earnings go to someone else. Backup pool settings did not reliably help either. Braiins said one machine in its logs did switch to a backup server, then returned to the fake primary about two minutes later because the impostor looked stable.

Not a new problem, and not the only incident

The weakness is old. Braiins and The Block both pointed to a 2014 case documented by Dell SecureWorks, in which an attacker used the same routing technique to take roughly $83,000 in mining rewards. Braiins has argued since 2020 that this risk is a key reason to move to Stratum V2.

What changed is scale. Decrypt described this as the second warning from a major mining firm in a matter of weeks. Earlier in November, mining services company Luxor reported a separate incident in which attackers abused a weakness in its Commander management software to point a little over a dozen customer accounts at the OCEAN pool. According to Cointelegraph, Luxor said it fixed the problem within two hours of detecting the changes and promised to fully compensate affected customers. The two attacks used different methods, but the outcome was similar: hashing power quietly sent away from the people paying for it.

What miners can check today

Braiins published a detailed checklist. The key points, in plain terms:

  • Look at every pool address on your machine, including backups. If any starts with stratum+tcp://, that connection uses plain Stratum V1 and can be hijacked.
  • Use Stratum V2 where possible. It encrypts the connection and lets the machine verify the pool's identity using the pool's public key, which is built into the pool address.
  • Otherwise, use Stratum V1 over TLS, usually written stratum+ssl://, but only if your firmware actually checks the pool's certificate. Braiins said it tested seven firmware versions and found two widely used ones that offered TLS yet still accepted invalid certificates.
  • Remove plain-text backups. An attacker can deliberately break your secure connection so your machine falls back to an unprotected one.
  • Use a proxy if your hardware cannot do either. Braiins released a free proxy program that runs on a computer inside your own network and talks Stratum V2 to the pool on your machines' behalf.
  • Watch for warning signs. Braiins says its pool never sets share difficulty above 16,777,216, so far higher values in your logs suggest you are not talking to the real pool. Also compare the hashrate your machines report with what your pool credits you.

For network operators, Braiins urged turning on RPKI route validation. Our crypto security guide explains the wider habit behind all of this: never assume the other side of a connection is who it says it is.

What this means for small and hobby miners

Stratum is not only a Bitcoin tool. Pools for other proof-of-work coins, including Litecoin and Dogecoin, commonly use the same family of protocols, and The Block noted that the 2014 case hit bitcoin and other proof-of-work rewards. If you run a home rig, a quick look at your pool settings costs nothing. Our Litecoin explainer covers how merged mining links Litecoin and Dogecoin pools.

There is a familiar lesson here, too. Like the Optimizely supply-chain attack, this incident did not require stealing anyone's keys. It exploited trust in the plumbing between systems.

The bottom line

Braiins says an attacker abused unencrypted Stratum V1 connections and false internet routes to send the work of more than a thousand mining sites to an impostor, with machines looking normal the whole time. The fixes, Stratum V2 or properly verified TLS with no plain-text backups, already exist and are mostly a matter of changing settings or firmware. Anyone who mines, even with a single machine, should check their pool addresses and compare reported and credited hashrate. This article is for education only and is not financial advice.

Sources: Braiins, "SECURITY ALERT: Bitcoin Hashrate Hijacking Detected on Stratum V1," Nov. 25, 2026; Cointelegraph, Nov. 25, 2026; Decrypt, Nov. 25, 2026; The Block, Nov. 25, 2026

#bitcoin#mining#braiins#stratum v1#stratum v2#bgp#hashrate#security#brazil#argentina#europe

Spotted an error? Tell us and we will correct it. See also our disclaimer and beginner guides in Learn.

Related articles

← All articles