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
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
20 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT Manipulation cites A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT Manipulation cites DETER: Denial of Ethereum Txpool sERvices
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT Manipulation cites Broken Metre: Attacking Resource Metering in EVM
- A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network cites Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing cites A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing cites Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing cites DETER: Denial of Ethereum Txpool sERvices
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful Fuzzing cites Broken Metre: Attacking Resource Metering in EVM
- Bad Apples: Understanding the Centralized Security Risks in Decentralized Ecosystems cites A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- Bad Apples: Understanding the Centralized Security Risks in Decentralized Ecosystems cites Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- DETER: Denial of Ethereum Txpool sERvices cites A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network
- DETER: Denial of Ethereum Txpool sERvices cites Hijacking Bitcoin: Routing Attacks on Cryptocurrencies
- DETER: Denial of Ethereum Txpool sERvices cites Broken Metre: Attacking Resource Metering in EVM
Cited by top-tier papers20
- Understanding Security Issues in the NFT EcosystemDipanjan Das, Priyanka Bose, Nicola Ruaro, Christopher Kruegel et al.CCS 2022 · 173 citations
- DETER: Denial of Ethereum Txpool sERvicesKai Li, Yibo Wang, Yuzhe TangCCS 2021 · 26 citations
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT ManipulationZheyuan He, Zihao Li, Ao Qiao, Xiapu Luo et al.S&P 2024 · 21 citations
- Bad Apples: Understanding the Centralized Security Risks in Decentralized EcosystemsKailun Yan, Jilian Zhang, Xiangyu Liu, Wenrui Diao et al.WWW 2023 · 12 citations
- Understanding Ethereum Mempool Security under Asymmetric DoS by Symbolized Stateful FuzzingYibo Wang, Yuzhe Tang, Kai Li, Wanning Ding et al.USENIX Security 2024 · 9 citations
Builds on3
- Hijacking Bitcoin: Routing Attacks on CryptocurrenciesMaria Apostolaki, Aviv Zohar, Laurent VanbeverS&P 2017 · 473 citations
- A Stealthier Partitioning Attack against Bitcoin Peer-to-Peer NetworkMuoi Tran, Inho Choi, Gi Jun Moon, Anh V. Vu et al.S&P 2020 · 126 citations
- Broken Metre: Attacking Resource Metering in EVMDaniel Perez, Benjamin LivshitsNDSS 2020
Related papers
- Deanonymizing Ethereum Users behind Third-Party RPC ServicesShan Wang, Ming Yang, Wenxuan Dai, Yu Liu et al.INFOCOM 2024 · 4 citations
- Time Tells All: Deanonymization of Blockchain RPC Users with Zero Transaction FeeShan Wang, Ming Yang, Yu Liu, Yue Zhang et al.CCS 2025
- Is My RPC Response Reliable? Detecting RPC Bugs in Blockchain Client under ContextZhijie Zhong, Yuhong Nan, Mingxi Ye, Qing Xue et al.ICSE 2026
- An Ever-evolving Game: Evaluation of Real-world Attacks and Defenses in Ethereum EcosystemShunfan Zhou, Zhemin Yang, Jie Xiang, Yinzhi Cao et al.USENIX Security 2020
- Towards Automatic Discovery of Denial of Service Weaknesses in Blockchain Resource ModelsFeng Luo, Huangkun Lin, Zihao Li, Xiapu Luo et al.CCS 2024 · 4 citations
