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 条
  • [1] A Survey of Attacks on Ethereum Smart Contracts (SoK)
    Atzei, Nicola
    Bartoletti, Massimo
    Cimoli, Tiziana
    PRINCIPLES OF SECURITY AND TRUST (POST 2017), 2017, 10204 : 164 - 186
  • [2] The Eye of Horus: Spotting and Analyzing Attacks on Ethereum Smart Contracts
    Ferreira Torres, Christof
    Iannillo, Antonio Ken
    Gervais, Arthur
    State, Radu
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2021, 12674 LNCS : 33 - 52
  • [3] The Eye of Horus: Spotting and Analyzing Attacks on Ethereum Smart Contracts
    Torres, Christof Ferreira
    Iannillo, Antonio Ken
    Gervais, Arthur
    State, Radu
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2021, PT I, 2021, 12674 : 33 - 52
  • [4] Targeting the Weakest Link: Social Engineering Attacks in Ethereum Smart Contracts
    Ivanov, Nikolay
    Lou, Jianzhi
    Chen, Ting
    Li, Jin
    Yan, Qiben
    ASIA CCS'21: PROCEEDINGS OF THE 2021 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2021, : 787 - 801
  • [5] Confidential Ethereum Smart Contracts
    Yuan, Michael Juntao
    Hynes, Nick
    Long, Ju
    IT PROFESSIONAL, 2022, 24 (06) : 54 - 58
  • [6] ETHEREUM: Blockchains, digital assets, smart contracts, decentralized autonomous organizations
    De Freitas, Kenyth Alves
    Di Serio, Luiz Carlos
    RAE-REVISTA DE ADMINISTRACAO DE EMPRESAS, 2021, 61 (02):
  • [7] Ethereum Smart Contracts: Vulnerabilities and their Classifications
    Khan, Zulfiqar Ali
    Namin, Akbar Siami
    2020 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2020,
  • [8] Termination of Ethereum's Smart Contracts
    Genet, Thomas
    Jensen, Thomas
    Sauvage, Justine
    PROCEEDINGS OF THE 17TH INTERNATIONAL JOINT CONFERENCE ON E-BUSINESS AND TELECOMMUNICATIONS (SECRYPT), VOL 1, 2020, : 39 - 51
  • [9] A Measurement Investigation of ERC-4337 Smart Contracts on Ethereum Blockchain
    Lin, Zibin
    Wang, Taotao
    Zhao, Chonghe
    Zhang, Shengli
    Yang, Qing
    Shi, Long
    2024 INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKING AND COMMUNICATIONS, ICNC, 2024, : 1164 - 1170
  • [10] Runtime Verification of Ethereum Smart Contracts
    Ellul, Joshua
    Pace, Gordon
    2018 14TH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC 2018), 2018, : 158 - 163