Skip to main navigation Skip to search Skip to main content

As Strong As Its Weakest Link: How to Break Blockchain DApps at RPC Service

  • Kai Li
  • , Jiaqi Chen
  • , Xianghong Liu
  • , Yuzhe Tang
  • , Xiao Feng Wang
  • , Xiapu Luo
  • Syracuse University
  • Indiana University Bloomington
  • Hong Kong Polytechnic University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

42 Scopus citations

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 2.1X ∼ 50X. Some of these attacks require only a single request. In addition, on a local Ethereum node protected by a very restrictive limit of 0.65 block gas, sending 150 DoERS requests per second can slow down the block synchronization of the victim node by 91%. 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.

Original languageEnglish
Title of host publication28th Annual Network and Distributed System Security Symposium, NDSS 2021
ISBN (Electronic)1891562665, 9781891562662
DOIs
StatePublished - 2021
Event28th Annual Network and Distributed System Security Symposium, NDSS 2021 - Virtual, Online
Duration: 21 Feb 202125 Feb 2021

Publication series

Name28th Annual Network and Distributed System Security Symposium, NDSS 2021

Conference

Conference28th Annual Network and Distributed System Security Symposium, NDSS 2021
CityVirtual, Online
Period21/02/2125/02/21

Fingerprint

Dive into the research topics of 'As Strong As Its Weakest Link: How to Break Blockchain DApps at RPC Service'. Together they form a unique fingerprint.

Cite this