More than 1,000 Bitcoin mining sites spent part of unknowingly working for a thief, according to a forensic report from mining firm Braiins. The attacker rerouted their internet traffic to a
More than 1,000 Bitcoin mining sites spent part of unknowingly working for a thief, according to a forensic report from mining firm Braiins.
The attacker rerouted their internet traffic to a fake server and collected the credit for their work.
The attacks add to the challenges confronting Bitcoin miners, who are grappling with weaker BTC prices and rising operational expenses.
To offset shrinking margins, several large mining firms are increasingly turning to AI, high-performance computing and data center operations as alternative sources of income.
How the hijack worked
According to Braiins, neither its pool nor the miners’ machines were breached. The attacker exploited Stratum V1, the 2012 protocol that connects miners to pools. It sends data in plain text, and a miner has no way to confirm the server answering is the real pool.
Related: If you invested $1,000 in Trump Media on its first day, here’s what it’s worth today
The attacker went after internet routing instead. The pool’s network provider had announced a block of 4,096 addresses, and the attacker announced a smaller block of 256 inside it.
“Somebody announced a smaller block of 256 addresses, and that block included the pool’s address,” Braiins wrote in the report. Routers favor the more specific route, so the traffic went to the attacker.
The fake server accepted any username and password. It handed miners real jobs copied from another large public pool and submitted the results under the attacker’s own account. The machines kept hashing at full power, and the problem showed up only on the pool dashboard.
Four episodes hit on Nov. 20, lasting between six and 49 minutes each. Hijacked hashrate, Bitcoin’s total computing power, grew from under 175 PH/s in early November to as much as 1.9 EH/s, as per data. An earlier wave of 19 episodes hit miners in Latin America, mostly Brazil and Argentina, between Nov. 7 and Nov. 12.
Big reach, small payout
Braiins gave no figure for what was stolen. The company said it reads the incidents as a trial run. The report did cite a 2014 case in which an attacker used the same routing trick to take about $83,000 in mining rewards.
“We interpret this as testing the waters,” Braiins said. It added that public routing data shows the same technique aimed at address blocks tied to the Stratum endpoints of other large pools.
The fix, Braiins said, is Stratum V2, which encrypts traffic and lets a miner verify the pool’s identity. The alternative is encrypted Stratum V1 on firmware that checks certificates. Braiins runs a mining pool and sells mining firmware.
“The attacker does not earn any Bitcoin,” the company said of encrypted connections.
The report noted that the disruption can go unnoticed because mining equipment continues operating normally.
As a result, miners may keep incurring electricity costs without realizing that their machines are generating rewards for someone else instead of earning Bitcoin for them.
Related: Musk warned America will go 1,000% bankrupt. Now U.S. debt tops $40 trillion and counting