MediumVulnerabilityOngoing

Risky Business reports BGP hijack attacks on Bitcoin miners using Stratum v1

Risky Business reports Braiins says BGP hijacks divert Bitcoin miners’ work; Stratum v1 rigs should move to v2, TLS or a proxy.

Published
Exploitation
Yes, according to Braiins as reported by Risky Business News; no independent verification in the sources

What happened

According to Risky Business News, a threat actor it describes as “mysterious” has been using BGP hijack attacks to steal computational work and rewards from Bitcoin miners. Risky Business News reports that the attacks have been going on since November 20, have hit multiple Bitcoin mining services, and first targeted miners in Latin America before moving to other continents. This is a single-outlet report, and the actor is not identified.

Risky Business News describes the technique this way: the attacker broadcasts incorrect BGP routes containing wrong information about where mining pools’ IP addresses are. This reportedly tricks mining rigs into sending their computed work to the attacker’s servers. The attacker then allegedly submits that work to the real mining pools as its own to collect new Bitcoin.

Risky Business News says Bitcoin mining service Braiins states that the attack only works on rigs that still use the older, unencrypted Stratum v1 protocol. Because that protocol is plaintext, the attacker can modify the reported work and change where it is sent. According to the same report, Braiins said on November 25, when it published its report, that the attack was still taking place.

Not confirmed in the sources:

  • how much the attacker stole (Risky Business News says it is unclear, because the campaign spanned multiple mining services)
  • who the attacker is
  • which mining services were hit
  • whether the attacks are still continuing after November 25
  • any independent verification of Braiins’ account

The Braiins report itself is not linked in the source, so the details above come only from Risky Business News’s summary of it.

Am I affected?

Based on what Risky Business News reports Braiins as saying, the attack only works on mining rigs that still use the unencrypted Stratum v1 protocol to report their work. Rigs that do not use Stratum v1 are not described as affected. The sources do not say whether rigs using Stratum v1 over TLS were hit, only that TLS is one of the mitigations Braiins suggests. The sources give no list of affected pools, networks or regions beyond the reported start in Latin America and the later spread to other continents.

What to do now

Per Braiins’ recommendations as relayed by Risky Business News, pick one of these:

  1. Update to the Stratum v2 protocol.
  2. Configure Stratum v1 to work over TLS.
  3. Use a proxy server on the mining rig that connects the rig directly to the mining pool you want.

The sources give no further detail, such as indicators of compromise, affected IP ranges or specific firmware versions. All of that is not confirmed.

Sources