BGP Hijack of 1,000+ Bitcoin Miners: Check Your ROAs
Short answer (checked 2026-11-30): In November 2026 someone announced a /24 inside a mining-pool provider's /20 and pulled the Stratum traffic of up to 1,600 Bitcoin mining sites to a fake pool, according to Braiins. DNS never changed: the more specific route simply won. Networks that enforce RPKI route origin validation (ROV) dropped the forged route because the provider's ROA did not allow a /24. We checked the whole routing table: 28.3% of announced IPv4 prefixes shorter than /24 have no ROA at all, and for another 46.0% the ROAs would make a forged-origin /24 look valid. If you hold or buy IPv4, the fix is a ROA that matches exactly what you announce.
Checked on 2026-11-30. Braiins, SECURITY ALERT: Bitcoin Hashrate Hijacking Detected on Stratum V1 (2026-11-25), and press coverage of it (Cryptonomist 2026-11-26, Chip Dispatch 2026-11-25). RFC 9319 / BCP 185 (The Use of maxLength in the RPKI, October 2022). Data: Cloudflare's rpki.json (rpki-client build 2026-11-30 06:49 UTC) and CAIDA's RouteViews prefix-to-AS file of 2026-11-28 12:00 UTC.
What happened, in Braiins's numbers
Braiins, which runs a mining pool and makes miner firmware, published the alert on 2026-11-25 while the attacks were still going on elsewhere. Its timeline:
| Date (2026) | Where | Episodes | Mining sites per episode | Hashrate diverted | Duration |
|---|---|---|---|---|---|
| 7-12 November | Latin America, mostly Brazil and Argentina | 19 | 120-400 | 36-174 PH/s | 1.5 min to 3 h |
| 20 November | Mostly Europe | 4 | 1,050-1,600 | 0.6-1.9 EH/s | 6-49 min |
The method, as Braiins describes it: the network provider that hosts "the Stratum endpoints of most of the large pools" announces a block of 4,096 addresses (a /20). The attacker announced a block of 256 addresses (a /24) inside it. Routers prefer the most specific route, so wherever the /24 was accepted, miners connecting to the pool's unchanged hostname and IP reached the attacker's server instead. That server accepted any login and relayed real jobs from another large public pool, so the miners kept hashing and nothing looked broken; Braiins spotted it from share difficulties far above what its pool ever sets. The forged route even listed the real owner's AS as its origin.
Braiins names neither the provider, nor the hijacked pool, nor the network that propagated the route; the provider blocked that network on the evening of 20 November, and Braiins saw forged announcements for other blocks on 22 November. Braiins gave no estimate of the bitcoin the attacker earned, so neither do we. The miner side of the fix is Stratum V2 or TLS with real certificate checks. The network side is the part every IPv4 holder controls.
Why the ROA decided who was safe
A ROA (Route Origin Authorization) says which AS may originate a prefix and up to which prefix length (maxLength). A router doing ROV (RFC 6811) compares every route with the published ROAs:
- No ROA covers the space: the route is NotFound and is accepted. A hijacker's more specific /24 goes through everywhere.
- A ROA covers it, but not at /24: say the ROA is
/20, maxLength 20. A /24 inside it is Invalid even with the real origin AS in the path, and ROV networks drop it. That is what Braiins saw: "invalid under RPKI". - A ROA allows /24 for the origin AS: say
/20, maxLength 24. A /24 with the real AS forged at the end of the path is Valid, and ROV networks accept it. RFC 9319 calls this a forged-origin sub-prefix hijack and recommends minimal ROAs that list only what you actually announce.
Even a strict ROA protects you only where networks enforce ROV. Braiins's advice to pools goes one step further: announce the /24 yourself, with a ROA of exactly that length. Most networks filter IPv4 routes longer than /24, so nobody can announce a more specific route that propagates, and an equal-length forgery has to compete on path length instead of winning outright.
How exposed the internet's IPv4 prefixes are
We ran our own script over the full RPKI set and the RouteViews table: each announced IPv4 prefix shorter than /24 with one origin AS is put in one of the three cases above. The script's source is not published; this is its output, run on a DCXV Cloud server with Bun 1.4.5 on 2026-11-30:
VRP set: rpki-client build 2026-11-30T06:49:27Z, 801686 IPv4 VRPs, 106377 with maxLength above the prefix length and >= /24 allowed
Table: routeviews-rv2-20261128-1200.pfx2as.gz, 1173533 IPv4 prefixes, 5121 multi-origin / AS-set skipped
/24 announcements: 752676, without any ROA 213446 (28.4%)
Prefixes shorter than /24 (single origin):
band | prefixes | no ROA: /24 hijack NotFound | strict ROA: /24 Invalid | loose ROA: forged-origin /24 Valid | announced prefix Invalid
all | 413528 | 116992 (28.3%, 35.7% of addr) | 106505 (25.8%, 30.0% of addr) | 190031 (46.0%, 34.3% of addr) | 1298
/8-/16 | 18401 | 5921 (32.2%, 39.5% of addr) | 5865 (31.9%, 30.1% of addr) | 6615 (35.9%, 30.5% of addr) | 14
/17-/20 | 97496 | 25214 (25.9%, 26.2% of addr) | 30723 (31.5%, 31.9% of addr) | 41559 (42.6%, 41.9% of addr) | 252
/21-/23 | 297631 | 85857 (28.8%, 28.8% of addr) | 69917 (23.5%, 23.5% of addr) | 141857 (47.7%, 47.7% of addr) | 1032
AS204057: 116.204.153.0/24 valid maxLength 24; 178.23.189.0/24 valid maxLength 24; 185.255.96.0/24 valid maxLength 24; 185.255.97.0/24 valid maxLength 24; 217.28.140.0/24 valid maxLength 24
| Announced prefix | Prefixes | No ROA: a /24 hijack passes ROV | Strict ROA: a /24 is Invalid | Loose ROA: a forged-origin /24 is Valid |
|---|---|---|---|---|
| All shorter than /24 | 413,528 | 28.3% | 25.8% | 46.0% |
| /8 to /16 | 18,401 | 32.2% | 31.9% | 35.9% |
| /17 to /20 (the Braiins case) | 97,496 | 25.9% | 31.5% | 42.6% |
| /21 to /23 | 297,631 | 28.8% | 23.5% | 47.7% |
How to read it:
- Only about a quarter of the aggregates are in the Braiins provider's position. 25.8% of prefixes shorter than /24 have ROAs that turn any /24 inside them Invalid, so every ROV network drops the attack.
- Loose ROAs are the bigger group. 46.0% have a ROA allowing the origin AS to announce /24s somewhere inside them (a maxLength of 24, or separate /24 ROAs). Part of that space may already be announced as /24s, which removes the more-specific advantage there; the rest can be taken by a forged-origin /24 that ROV accepts. 106,377 IPv4 ROA entries carry a maxLength longer than their prefix.
- 28.3% have nothing. 116,992 prefixes, 35.7% of the address space in this group, have no covering ROA: a hijacked more specific route is NotFound and goes through every network.
- A /24 is not protected by its length alone. 28.4% of the 752,676 announced /24s have no ROA, so an equal-length forgery is not rejected by ROV either.
- Our own space: AS204057's five /24s are announced as /24s with ROAs of exactly /24 (maxLength 24), the setup Braiins recommends.
Limits: one RouteViews collector's view of 2026-11-28; 5,121 multi-origin prefixes skipped; ROV deployment itself was not measured, so "Invalid" means "dropped by networks that enforce ROV", not by everyone.
Check your own prefix in two commands
RIPEstat answers both questions for any prefix, in any region. Run on a DCXV Cloud server with curl 8.18.0 and jq on 2026-11-30, for our own /24:
curl -s "https://stat.ripe.net/data/rpki-validation/data.json?resource=AS204057&prefix=178.23.189.0/24" \
| jq -c '.data | {status, validating_roas}'
# {"status":"valid","validating_roas":[{"origin":"204057","prefix":"178.23.189.0/24","validity":"valid","max_length":24}]}
curl -s "https://stat.ripe.net/data/routing-status/data.json?resource=178.23.189.0/24" \
| jq -c '.data | {origins, more_specifics, seen: .visibility.v4.ris_peers_seeing, of: .visibility.v4.total_ris_peers}'
# {"origins":[{"origin":204057,"route_objects":["RIPE"]}],"more_specifics":[],"seen":324,"of":324}
What to look for: status must be valid, and max_length should equal the length you announce. Any entry in more_specifics that you did not announce yourself, or an origin you do not know, is a hijack or a leak: raise it with your upstream at once.
What to do if you hold or buy IPv4
- Make the ROAs match the routes. One ROA per announced prefix, maxLength equal to the prefix length (RFC 9319). If you need to announce /24s at short notice for DDoS mitigation, create those /24 ROAs at that moment, not a standing maxLength 24.
- Announce /24s where the service matters. A pool, an API endpoint or a payment gateway in a /24 that is announced and covered by an exact ROA cannot be taken by a more specific route that propagates.
- Create ROAs on the day a transfer completes. A freshly bought block is often announced before anyone signs a ROA. Put the ROA on the transfer checklist next to the blacklist check before buying and the geolocation fix after transfer; how RIPE handles the move itself is in the RIPE NCC transfer guide.
- Monitor. Braiins asks pools to watch RIPE RIS and RouteViews for more-specifics of their prefixes; the
routing-statuscall above, run on a schedule, is the simplest version. - Ask your provider whether it enforces ROV. Strict ROAs protect your traffic only on networks that drop Invalid routes.
A clean ROA set is also part of what a buyer checks before paying for a block: the price for a /24 moved little this autumn (a 90-day median of $25.00 per address on ip4.market to 2026-11-22; dated figures on /ipv4/pricing), so hygiene and history are where blocks differ.
DCXV is a RIPE NCC member (AS204057) and brokers IPv4 in the RIPE, ARIN, APNIC and LACNIC regions. Buying, selling or moving a block? Talk to the IPv4 desk or email ipv4@dcxv.com.
