[Paper Review] Deanonymisation of clients in Bitcoin P2P network
This paper presents a novel deanonymization technique that links Bitcoin pseudonyms to their users' public IP addresses by exploiting the stable set of eight outgoing peer connections (entry nodes) used by clients behind NATs or firewalls. The attack, requiring only a few machines and under €1500 in cost, can deanonymize 11% of transactions and bypass Tor by abusing anti-DoS mechanisms, demonstrating that Bitcoin's network-level anonymity is significantly weaker than assumed.
Bitcoin is a digital currency which relies on a distributed set of miners to mint coins and on a peer-to-peer network to broadcast transactions. The identities of Bitcoin users are hidden behind pseudonyms (public keys) which are recommended to be changed frequently in order to increase transaction unlinkability. We present an efficient method to deanonymize Bitcoin users, which allows to link user pseudonyms to the IP addresses where the transactions are generated. Our techniques work for the most common and the most challenging scenario when users are behind NATs or firewalls of their ISPs. They allow to link transactions of a user behind a NAT and to distinguish connections and transactions of different users behind the same NAT. We also show that a natural countermeasure of using Tor or other anonymity services can be cut-off by abusing anti-DoS countermeasures of the bitcoin network. Our attacks require only a few machines and have been experimentally verified. We propose several countermeasures to mitigate these new attacks.
Motivation & Objective
- To address the lack of effective deanonymization methods targeting Bitcoin clients behind NATs or firewalls, where traditional transaction graph analysis fails.
- To develop a scalable, low-cost method that links Bitcoin pseudonyms to their actual IP addresses using only a few attacker-controlled nodes.
- To demonstrate that even users employing anonymity networks like Tor are vulnerable due to protocol-level weaknesses in anti-DoS mechanisms.
- To reveal the topology of the Bitcoin P2P network through systematic probing, enabling further attacks like network partitioning.
- To propose practical countermeasures to mitigate the deanonymization risk while preserving network functionality.
Proposed method
- The attacker maintains persistent connections to a majority of Bitcoin servers to observe and log the set of outgoing peer connections (entry nodes) used by clients.
- Each client is uniquely identified by its stable set of eight entry nodes, which remain consistent throughout a session and serve as a fingerprint.
- By sending specially crafted GETADDR messages to servers, the attacker learns the full set of known addresses, including those of clients, using a finite-state Markov chain model to estimate message efficiency.
- The attacker correlates incoming transactions by detecting their propagation through the entry nodes; receiving a transaction from 2–3 known entry nodes allows high-confidence mapping to a specific client.
- The method exploits the Bitcoin protocol’s lack of authentication and weak DoS protection, which can be abused to block Tor or proxy connections.
- The attack is experimentally verified using real-world network traffic and infrastructure, with minimal resource requirements (under 50 connections per server, a few GB storage).
Experimental results
Research questions
- RQ1Can Bitcoin clients behind NATs be deanonymized by observing their stable set of outgoing peer connections?
- RQ2To what extent can the same IP address be used to distinguish between multiple clients sharing a NAT?
- RQ3Can the use of anonymity networks like Tor fully protect Bitcoin users from deanonymization via network-level tracking?
- RQ4How many GETADDR messages are required to discover the full address set of a Bitcoin peer, and what is the practical efficiency of this discovery?
- RQ5What are the protocol-level vulnerabilities that allow an attacker to disrupt or isolate nodes using minimal resources?
Key findings
- The attack successfully deanonymizes 11% of Bitcoin transactions in a realistic scenario, with the potential to scale higher under stealthier operation.
- The method can distinguish between multiple clients sharing the same public IP address by analyzing their unique sets of eight entry nodes.
- Even when users employ Tor, the attack remains effective because the Bitcoin network’s anti-DoS mechanisms can be abused to block or isolate Tor-based connections.
- The attacker can learn the full set of addresses known to a peer in an average of 80 GETADDR messages, though as few as 5 ADDR messages are sufficient to confirm a connection.
- The cost of the entire deanonymization campaign is under €1500, making it accessible to a wide range of adversaries.
- The study reveals that the Bitcoin network topology can be systematically mapped using probing techniques, enabling further attacks such as network partitioning via targeted DoS.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.