An Empirical Analysis of Linkability in the Monero Blockchain

Andrew Miller, Malte Möser, Kevin Lee, Arvind NarayananarXiv 2017

Abstract

Monero is a cryptocurrency designed to provide anonymity through ring signatures, which obscure a user's real transaction input by mixing it with several decoys, or "mixins." This paper evaluates the real-world effectiveness of these privacy guarantees. By analyzing the Monero blockchain up to April 2017, we identify two critical vulnerabilities: a "chain-reaction" deduction attack enabled by users opting out of privacy, and a "guess-newest" heuristic based on predictable temporal patterns in coin spending. Our findings reveal that approximately 80% of Monero transactions prior to February 2017 can be deanonymized, significantly undermining the protocol's historical privacy claims.

Introduction

Unlike Bitcoin, which utilizes a transparent ledger where every transaction input is explicitly linked to a single prior output, Monero aims for untraceability. It employs the CryptoNote protocol, which uses ring signatures to hide the true source of funds. In a ring signature, the actual signer is merged with a group of non-signers (mixins) to produce a signature that could have been generated by any member of the group.

Comparison of Bitcoin and CryptoNote transaction structures. Bitcoin explicitly links to a single prior output, while CryptoNote (Monero) uses multiple potential inputs (mixins) to hide the real one.

Methodology

The research identifies two primary methods for deanonymizing transactions by exploiting both logical flaws in the network and human behavioral patterns.

1. Chain-Reaction Analysis

This method exploits the presence of "0-mixin" transactions—instances where users chose to use zero decoys to minimize transaction fees. When a coin is spent with zero mixins, its status as "spent" is publicly revealed. If this same coin is later used as a decoy in another transaction, it can be logically ruled out. This creates a chain reaction: identifying one spent coin can reveal the real input in a second transaction, which in turn helps deanonymize a third, and so on. The researchers modeled this as a Boolean satisfiability (SAT) problem to find definitive links across the blockchain.

2. Temporal Analysis and the "Guess-Newest" Heuristic

The second method is probabilistic and relies on the observation that human behavior is highly predictable. Analysis of the blockchain shows that users typically spend coins shortly after receiving them.

Distribution of spend times for Monero transactions. The significant spike at zero days indicates that the vast majority of coins are spent very soon after they are created.

Monero's early sampling algorithms for choosing decoys did not account for this temporal bias, often selecting much older coins as mixins. Consequently, the "newest" coin in a ring signature is statistically the most likely to be the real input.

Key Results

The study's analysis of the Monero blockchain yielded several striking results regarding the traceability of the network:

  • Deducibility: Approximately 62% of all transaction inputs with one or more mixins were vulnerable to irrefutable identification via chain-reaction analysis.
  • Heuristic Accuracy: In cases where the ground truth was known, the "guess-newest" heuristic correctly identified the real input 92.33% of the time.
  • Overall Traceability: By combining logical deduction and temporal heuristics, the researchers estimate that the real input can be correctly identified for 80% of all Monero transactions prior to the implementation of RingCT.
  • Market Impact: These vulnerabilities had significant implications for sensitive users; for instance, the darknet marketplace AlphaBay accounted for roughly 25% of Monero's transaction volume during the study period, meaning a large portion of illicit activity was potentially traceable.

Conclusion and Mitigation

The introduction of Ring Confidential Transactions (RingCT) in early 2017 significantly mitigated the chain-reaction attack by hiding transaction amounts, which prevents attackers from matching inputs and outputs based on value. However, the temporal vulnerabilities highlight a fundamental lesson: privacy is a network effect. The choices of individual users (such as opting for 0 mixins) and the design of sampling algorithms have systemic consequences for the entire ecosystem. While Monero has since updated its sampling distributions to better reflect real-world spending patterns, this research underscores the ongoing challenge of maintaining robust, long-term anonymity in decentralized ledgers.

Summary updated

BibTeX
@misc{miller2017empirical,
  author = {Andrew Miller and Malte Möser and Kevin Lee and Arvind Narayanan},
  title = {{An Empirical Analysis of Linkability in the Monero Blockchain}},
  year = {2017},
  eprint = {1704.04299},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.04299},
}
Figure