EtherClue: Digital investigation of attacks on Ethereum smart contracts

被引:6
|
作者
Aquilina, Simon Joseph [1 ]
Casino, Fran [2 ,3 ]
Vella, Mark [1 ]
Ellul, Joshua [1 ,4 ]
Patsakis, Constantinos [2 ,3 ]
机构
[1] Univ Malta, Dept Comp Sci, MSD-2080 Msida, Malta
[2] Univ Piraeus, Dept Informat, Piraeus 18534, Greece
[3] Athena Res Ctr, Informat Management Syst Inst, Maroussi 15125, Greece
[4] Univ Malta, Ctr Distributed Ledger Technol, MSD-2080 Msida, Malta
来源
关键词
Blockchain forensics; Ethereum attacks; Indicators of compromise; Ethereum operational semantics;
D O I
10.1016/j.bcra.2021.100028
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Programming errors in Ethereum smart contracts can result in catastrophic financial losses from stolen cryptocurrency. While vulnerability detectors can prevent vulnerable contracts from being deployed, this does not mean that such contracts will not be deployed. Once a vulnerable contract is instantiated on the blockchain and becomes the target of attacks, the identification of exploit transactions becomes indispensable in assessing whether it has been actually exploited and identifying which malicious or subverted accounts were involved. In this work, we study the problem of post-factum investigation of Ethereum attacks using Indicators of Compromise (IoC) specially crafted for use in the blockchain. IoC definitions need to capture the side-effects of successful exploitation in the context of the Ethereum blockchain. Therefore, we define a model for smart contract execution, comprising multiple abstraction levels that mirror the multiple views of code execution on a blockchain. Subsequently, we compare IoCs defined across the different levels in terms of their effectiveness and practicality through EtherClue, a prototype tool for investigating Ethereum security incidents. Our results illustrate that coarse-grained IoCs defined over blocks of transactions can detect exploit transactions with less computation. However, they are contract-specific and suffer from false negatives. On the other hand, fine-grained IoCs defined over virtual machine instructions can avoid these pitfalls at the expense of increased computation, which is nevertheless applicable for practical use.
引用
收藏
页数:18
相关论文
共 50 条
  • [41] Securing Smart Grid Communication using Ethereum Smart Contracts
    Akhras, Raphaelle
    El-Hajj, Wassim
    Majdalani, Michel
    Hajj, Hazem
    Jabr, Rabih
    Shaban, Khaled
    2020 16TH INTERNATIONAL WIRELESS COMMUNICATIONS & MOBILE COMPUTING CONFERENCE, IWCMC, 2020, : 1672 - 1678
  • [42] Mutation Testing for Integer Overflow in Ethereum Smart Contracts
    Jinlei Sun
    Song Huang
    Changyou Zheng
    Tingyong Wang
    Cheng Zong
    Zhanwei Hui
    Tsinghua Science and Technology, 2022, 27 (01) : 27 - 40
  • [43] GASOL: Gas Analysis and Optimization for Ethereum Smart Contracts
    Albert, Elvira
    Correas, Jesus
    Gordillo, Pablo
    Roman-Diez, Guillermo
    Rubio, Albert
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PT II, TACAS 2020, 2020, 12079 : 118 - 125
  • [44] DFier: A directed vulnerability verifier for Ethereum smart contracts
    Wang, Zeli
    Dai, Weiqi
    Li, Ming
    Choo, Kim-Kwang Raymond
    Zou, Deqing
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2024, 231
  • [45] Automated Inference on Financial Security of Ethereum Smart Contracts
    Wang, Wansen
    Huang, Wenchao
    Meng, Zhaoyi
    Xiong, Yan
    Miao, Fuyou
    Fang, Xianjin
    Tu, Caichang
    Ji, Renjie
    PROCEEDINGS OF THE 32ND USENIX SECURITY SYMPOSIUM, 2023, : 3367 - 3383
  • [46] Detecting Nondeterministic Payment Bugs in Ethereum Smart Contracts
    Wang, Shuai
    Zhang, Chengyu
    Su, Zhendong
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (OOPSLA):
  • [47] EthVer: Formal Verification of Randomized Ethereum Smart Contracts
    Mazurek, Lukasz
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2021, 2021, 12676 : 364 - 380
  • [48] SCSGuard: Deep Scam Detection for Ethereum Smart Contracts
    Hu, Huiwen
    Bai, Qianlan
    Xu, Yuedong
    IEEE INFOCOM 2022 - IEEE CONFERENCE ON COMPUTER COMMUNICATIONS WORKSHOPS (INFOCOM WKSHPS), 2022,
  • [49] OSIRIS: Hunting for Integer Bugs in Ethereum Smart Contracts
    Torres, Christof Ferreira
    Schuette, Julian
    State, Radu
    34TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSAC 2018), 2018, : 664 - 676
  • [50] ATL Model Checking for Analysis of Ethereum Smart Contracts
    Nam W.
    Kil H.
    Transactions of the Korean Institute of Electrical Engineers, 2021, 70 (12): : 2006 - 2014