Routing Attacks on Cryptocurrency Mining Pools

2024 IEEE Symposium on Security and Privacy (SP)

Abstract

Mining pools have been the driving force for ensuring the security of multiple proof-of-work (PoW) cryptocurrencies. Under the de facto protocol Stratum, pools allow miners to collaborate, discover new blocks, and earn rewards collectively. Recently, the blockchain community has been promoting the adoption of a more secure Stratum protocol known as Stratum V2. In this paper, we introduce Erosion, a novel network-level attack that applies to both Stratum and Stratum V2 protocols. The essence of the Erosion attack lies in its ability to disrupt connections between miners and a targeted mining pool, significantly impairing the miners’ contributed PoWs and reducing the victim’s mining power. We also discover a vulnerability in the Stratum V2 protocol that allows the adversary to persistently disrupt a connection by tampering with a single packet, thus enhancing the attack’s stealthiness. Our survey shows that the Erosion adversary can readily execute attacks against a significant majority (e.g., 91%) of mining pools across the top ten cryptocurrencies. We also observe an extreme mining centralization that enables Erosion adversaries to simultaneously target multiple pools and cryptocurrencies. Furthermore, our focused evaluation of pooled mining in Bitcoin reveals that thousands of different adversaries can gain control over the majority of Bitcoin mining power, with one potentially malicious Autonomous System capable of taking down 96% of the total mining power.

People

Theo von Arx
Researcher
2023—2024

Talk

BibTex

@INPROCEEDINGS{tran2024routing,
	isbn = {979-8-3503-3130-1},
	doi = {10.1109/SP54263.2024.00254},
	year = {2024},
	booktitle = {2024 IEEE Symposium on Security and Privacy (SP)},
	type = {Conference Paper},
	author = {Tran, Muoi and von Arx, Theo and Vanbever, Laurent},
	abstract = {Mining pools have been the driving force for ensuring the security of multiple proof-of-work (PoW) cryptocurrencies. Under the de facto protocol Stratum, pools allow miners to collaborate, discover new blocks, and earn rewards collectively. Recently, the blockchain community has been promoting the adoption of a more secure Stratum protocol known as Stratum V2. In this paper, we introduce Erosion, a novel network-level attack that applies to both Stratum and Stratum V2 protocols. The essence of the Erosion attack lies in its ability to disrupt connections between miners and a targeted mining pool, significantly impairing the miners’ contributed PoWs and reducing the victim’s mining power. We also discover a vulnerability in the Stratum V2 protocol that allows the adversary to persistently disrupt a connection by tampering with a single packet, thus enhancing the attack’s stealthiness. Our survey shows that the Erosion adversary can readily execute attacks against a significant majority (e.g., 91%) of mining pools across the top ten cryptocurrencies. We also observe an extreme mining centralization that enables Erosion adversaries to simultaneously target multiple pools and cryptocurrencies. Furthermore, our focused evaluation of pooled mining in Bitcoin reveals that thousands of different adversaries can gain control over the majority of Bitcoin mining power, with one potentially malicious Autonomous System capable of taking down 96% of the total mining power.},
	language = {en},
	address = {Piscataway, NJ},
	publisher = {IEEE},
	title = {Routing Attacks on Cryptocurrency Mining Pools},
	PAGES = {3805 - 3821},
	Note = {45th IEEE Symposium on Security and Privacy (SP 2024); Conference Location: San Francisco, CA, USA; Conference Date: May 20-23, 2024}
}

Research Collection: 20.500.11850/664117

Slide Sources: https://gitlab.ethz.ch/projects/49711