Skip to main navigation Skip to search Skip to main content

Time-Travel Investigation: Toward Building a Scalable Attack Detection Framework on Ethereum

Siwei WU, Lei WU, Yajin ZHOU*, Runhuai LI, Zhi WANG, Xiapu LUO, Cong WANG, Kui REN

*Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

Ethereum has been attracting lots of attacks, hence there is a pressing need to perform timely investigation and detect more attack instances. However, existing systems suffer from the scalability issue due to the following reasons. First, the tight coupling between malicious contract detection and blockchain data importing makes them infeasible to repeatedly detect different attacks. Second, the coarse-grained archive data makes them inefficient to replay transactions. Third, the separation between malicious contract detection and runtime state recovery consumes lots of storage.
In this article, we propose a scalable attack detection framework named EthScope, which overcomes the scalability issue by neatly re-organizing the Ethereum state and efficiently locating suspicious transactions. It leverages the fine-grained state to support the replay of arbitrary transactions and proposes a well-designed schema to optimize the storage consumption. The performance evaluation shows that EthScope can solve the scalability issue, i.e., efficiently performing a large-scale analysis on billions of transactions, and a speedup of around 2,300× when replaying transactions. It also has lower storage consumption compared with existing systems. Further analysis shows that EthScope can help analysts understand attack behaviors and detect more attack instances.
Original languageEnglish
Article number54
Number of pages33
JournalACM Transactions on Software Engineering and Methodology
Volume31
Issue number3
Online publishedApr 2022
DOIs
Publication statusPublished - Jul 2022

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Funding

This work is partially supported by the National Natural Science Foundation of China under Grant No. 62172360, Leading Innovative and Entrepreneur Team Introduction Program of Zhejiang (Grant No. 2018R01005), the Fundamental Research Funds for the Central Universities (Grant No. 2021FZZX001-26), Research Grants Council of Hong Kong under Grants No. CityU 11217819, No. CityU 11217620, No. R6021-20F, Research Grants Council of the Hong Kong Special Administrative Region under Gants No. PolyU15222320 and No. PolyU15219319.

Research Keywords

  • attack detection
  • Ethereum
  • vulnerability

RGC Funding Information

  • RGC-funded

Fingerprint

Dive into the research topics of 'Time-Travel Investigation: Toward Building a Scalable Attack Detection Framework on Ethereum'. Together they form a unique fingerprint.

Cite this