As Strong As Its Weakest Link: How to Break Blockchain DApps at RPC Service
Kai Li, Jiaqi Chen, Xianghong Liu, Yuzhe Richard Tang, XiaoFeng Wang, Xiapu Luo
摘要
Modern blockchains have evolved from cryptocurrency substrates to trust-decentralization platforms, supporting a wider variety of decentralized applications known as DApps. Blockchain remote procedure call (RPC) services emerge as an intermediary connecting the DApps to a blockchain network. In this work, we identify the free contract-execution capabilities that widely exist in blockchain RPCs as a vulnerability of denial of service (DoS) and present the DoERS attack, a Denial of Ethereum RPC service that incurs zero Ether cost to the attacker.
To understand the DoERS exploitability in the wild, we conduct a systematic measurement study on nine real-world RPC services which control most DApp clients' connection to the Ethereum mainnet. In particular, we propose a novel measurement technique based on orphan transactions to discover the previously unknown behaviors inside the blackbox RPC services, including load balancing and gas limiting. Further DoERS strategies are proposed to evade the protection intended by these behaviors.
We evaluate the effectiveness of DoERS attacks on deployed RPC services with minimal service interruption. The result shows that all the nine services tested (as of Apr. 2020) are vulnerable to DoERS attacks that can result in the service latency increased by . Some of these attacks require only a single request. In addition, on a local Ethereum node protected by a very restrictive limit of block gas, sending 150 DoERS requests per second can slow down the block synchronization of the victim node by .
We propose mitigation techniques against DoERS without dropping service usability, via unpredictable load balancing, performance anomaly detection, and others. These techniques can be integrated into a RPC service transparently to its clients.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT Manipulation 引用了 A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT Manipulation 引用了 DETER: Denial of Ethereum Txpool sERvices
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT Manipulation 引用了 Broken Metre: Attacking Resource Metering in EVM
- A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network 引用了 Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing 引用了 A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing 引用了 Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing 引用了 DETER: Denial of Ethereum Txpool sERvices
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing 引用了 Broken Metre: Attacking Resource Metering in EVM
- Bad Apples: Understanding the Centralized Security Risks in Decentralized Ecosystems 引用了 A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- Bad Apples: Understanding the Centralized Security Risks in Decentralized Ecosystems 引用了 Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- DETER: Denial of Ethereum Txpool sERvices 引用了 A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- DETER: Denial of Ethereum Txpool sERvices 引用了 Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- DETER: Denial of Ethereum Txpool sERvices 引用了 Broken Metre: Attacking Resource Metering in EVM
引用它的顶会 Paper20
- Understanding Security Issues in the NFT EcosystemDipanjan Das, Priyanka Bose, Nicola Ruaro, Christopher Kruegel 等CCS 2022 · 173 次引用
- DETER: Denial of Ethereum Txpool sERvicesKai Li, Yibo Wang, Yuzhe TangCCS 2021 · 26 次引用
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT ManipulationZheyuan He, Zihao Li, Ao Qiao, Xiapu Luo 等S&P 2024 · 21 次引用
- Bad Apples: Understanding the Centralized Security Risks in Decentralized EcosystemsKailun Yan, Jilian Zhang, Xiangyu Liu, Wenrui Diao 等WWW 2023 · 12 次引用
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful FuzzingYibo Wang, Yuzhe Tang, Kai Li, Wanning Ding 等USENIX Security 2024 · 9 次引用
它引用的 Paper3
- Hijacking Bitcoin: Routing Attacks on CryptocurrenciesMaria Apostolaki, Aviv Zohar, Laurent VanbeverS&P 2017 · 473 次引用
- A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer NetworkMuoi Tran, Inho Choi, Gi Jun Moon, Anh V. Vu 等S&P 2020 · 126 次引用
- Broken Metre: Attacking Resource Metering in EVMDaniel Perez, Benjamin LivshitsNDSS 2020
相关 Paper
- Deanonymizing Ethereum Users behind Third-Party RPC ServicesShan Wang, Ming Yang, Wenxuan Dai, Yu Liu 等INFOCOM 2024 · 4 次引用
- Time Tells All: Deanonymization of Blockchain RPC Users with Zero Transaction FeeShan Wang, Ming Yang, Yu Liu, Yue Zhang 等CCS 2025
- Is My RPC Response Reliable? Detecting RPC Bugs in Blockchain Client under ContextZhijie Zhong, Yuhong Nan, Mingxi Ye, Qing Xue 等ICSE 2026
- An Ever-evolving Game: Evaluation of Real-world Attacks and Defenses in Ethereum EcosystemShunfan Zhou, Zhemin Yang, Jie Xiang, Yinzhi Cao 等USENIX Security 2020
- Towards Automatic Discovery of Denial of Service Weaknesses in Blockchain Resource ModelsFeng Luo, Huangkun Lin, Zihao Li, Xiapu Luo 等CCS 2024 · 4 次引用
