Deanonymizing Ethereum Validators: The P2P Network Has a Privacy Issue
Lioba Heimbach, Yann Vonlanthen, Juan Villacis, Lucianna Kiffer, Roger Wattenhofer
TL;DR
The paper reveals a privacy flaw in Ethereum's P2P gossip network, showing that validators can be deanonymized by observing attestation propagation. It introduces a low-cost heuristic-based method to link validators to hosting peers, validates it with measurements from multiple Rainbow nodes over several days, and links roughly a fifth to a quarter of validators to hosting nodes after filtering out service providers. The study underscores significant decentralization and resilience implications, including clustering of validators on cloud providers and cross-pool dependencies, which may threaten liveness and safety if large nodes fail. It further discusses mitigations, such as expanded subnetting, private peering, and advanced DVT/privacy techniques, to curb the deanonymization risk and improve network privacy and robustness.
Abstract
Many blockchain networks aim to preserve the anonymity of validators in the peer-to-peer (P2P) network, ensuring that no adversary can link a validator's identifier to the IP address of a peer due to associated privacy and security concerns. This work demonstrates that the Ethereum P2P network does not offer this anonymity. We present a methodology that enables any node in the network to identify validators hosted on connected peers and empirically verify the feasibility of our proposed method. Using data collected from four nodes over three days, we locate more than 15% of Ethereum validators in the P2P network. The insights gained from our deanonymization technique provide valuable information on the distribution of validators across peers, their geographic locations, and hosting organizations. We further discuss the implications and risks associated with the lack of anonymity in the P2P network and propose methods to help validators protect their privacy. The Ethereum Foundation has awarded us a bug bounty, acknowledging the impact of our results.
