TL;DR
This paper investigates the security and efficiency implications of censoring blockchain transactions, particularly in the wake of sanctions on Tornado.Cash. The authors demonstrate that while censorship can be implemented, it introduces new attack vectors that can compromise the security of miners and propagation services, and can be bypassed by users.
What Problem Does This Paper Address?
The increasing interest of centralized regulators in the blockchain and DeFi space has led to actions like sanctions on decentralized applications such as Tornado.Cash. This has prompted various entities, including miners and DeFi platforms, to censor transactions associated with blacklisted addresses. The paper addresses the critical question of whether this censorship is secure and efficient, and what are the broader implications for the blockchain ecosystem. Specifically, it explores how censorship impacts the transaction lifecycle (generation, propagation, validation) and whether it can be effectively implemented without introducing new vulnerabilities or being circumvented by users.
Methods
The authors employ a multi-pronged approach:
- Transaction Lifecycle Analysis: They analyze censorship at each stage of a transaction's life: generation (DeFi platforms), propagation (FaaS), and validation (miners/validators).
- Empirical Analysis of FaaS: They crawl data from six FaaS providers to analyze their censorship mechanisms, focusing on Flashbots as a case study.
- Experimental Evaluation: They set up a private Ethereum network to simulate attacks and evaluate the effectiveness of their proposed censorship mechanisms and the adversary's attacks.
- Algorithmic Proposal: They propose a "fine-grained censorship" algorithm for miners that simulates transactions to check for calls to blacklisted addresses, even through intermediary contracts.
- Attack Strategy Development: They devise and analyze strategies for adversaries to bypass censorship and to launch Denial of Service (DoS) attacks against censoring entities.
Datasets
Not discussed in the paper. The authors primarily rely on on-chain data analysis and experimental simulations.
Key Insights and Ideas
- Censorship Creates New Vulnerabilities: The core insight is that implementing censorship, especially fine-grained censorship, introduces new attack surfaces. Miners and FaaS providers that adopt these measures become vulnerable to sophisticated DoS attacks.
- Fine-Grained Censorship is Computationally Expensive: The proposed fine-grained censorship mechanism, which requires simulating transactions, significantly increases the computational burden on miners and FaaS.
- Adversarial Attacks Can Be Cost-Effective: The paper demonstrates that adversaries can launch DoS attacks against censoring miners with zero transaction fees if all miners adopt censorship. This is achieved by flooding the network with complex, tainted transactions that consume significant computational resources for verification.
- DeFi Censorship is Often Superficial: Censorship at the DeFi platform level is often implemented at the frontend, making it easily bypassable by users who understand how to interact with smart contracts directly or through intermediary addresses.
- "Tainting" Attacks: A novel attack is presented where an adversary can intentionally "taint" innocent addresses by using them as withdrawal addresses from a mixer, thereby causing them to be blocked by censoring DeFi platforms.
Key Results
- Ethermine's Censorship: Ethermine, a major Ethereum mining pool, stopped processing Tornado.Cash transactions for a period, demonstrating practical censorship. However, they found that transactions using intermediary contracts could bypass this censorship.
- FaaS Compliance: Among the analyzed FaaS providers, only Flashbots was found to be actively censoring Tornado.Cash related transactions.
- DoS Attack Effectiveness: The paper shows that crafted, complex transactions can linearly increase execution time, making it feasible to exhaust censoring miners. The attack cost is zero transaction fees if all miners censor.
- DeFi Bypass: Users can bypass frontend censorship by using command-line interfaces (CLI) or intermediary addresses.
- Tainting Attack Impact: The tainting attack can effectively block users from interacting with censoring DeFi platforms, potentially leading to liquidation of assets in lending protocols.
- False Negatives in DeFi Censorship: Analysis of on-chain data revealed that a significant number of addresses that interacted with Tornado.Cash were still able to interact with censoring DeFi platforms, indicating inefficient censorship.
Limitations and Future Work
- Assumptions: The DoS attack analysis assumes that censoring entities perform fine-grained checks and that searchers/builders in FaaS are honest.
- Practicality of Attacks: While theoretically sound, the practical deployment and scale of some attacks might require significant resources or coordination.
- Future Work: The authors suggest further research into more secure solutions for blockchain censorship and exploring the implications of censorship on other blockchain components. They also highlight the need for more robust and transparent censorship mechanisms if they are to be implemented.
Summary updated