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 条
  • [31] Fitting and Regression for Distributions of Ethereum Smart Contracts
    Alharby, Maher
    van Moorsel, Aad
    2020 2ND CONFERENCE ON BLOCKCHAIN RESEARCH & APPLICATIONS FOR INNOVATIVE NETWORKS AND SERVICES (BRAINS), 2020, : 248 - 255
  • [32] Detection and Analysis of Ethereum Energy Smart Contracts
    Lashkari, Bahareh
    Musilek, Petr
    APPLIED SCIENCES-BASEL, 2023, 13 (10):
  • [33] SmartCheck: Static Analysis of Ethereum Smart Contracts
    Tikhomirov, Sergei
    Voskresenskaya, Ekaterina
    Ivanitskiy, Ivan
    Takhaviev, Ramil
    Marchenko, Evgeny
    Alexandrov, Yaroslav
    2018 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON EMERGING TRENDS IN SOFTWARE ENGINEERING FOR BLOCKCHAIN (WETSEB), 2018, : 9 - 16
  • [34] Recycling Smart Contracts: Compression of the Ethereum Blockchain
    Pontiveros, Beltran Borja Fiz
    Norvill, Robert
    State, Radu
    2018 9TH IFIP INTERNATIONAL CONFERENCE ON NEW TECHNOLOGIES, MOBILITY AND SECURITY (NTMS), 2018,
  • [35] Reentrancy Vulnerability Identification in Ethereum Smart Contracts
    Samreen, Noama Fatima
    Alalfi, Manar H.
    PROCEEDINGS OF THE 2020 IEEE 3RD INTERNATIONAL WORKSHOP ON BLOCKCHAIN ORIENTED SOFTWARE ENGINEERING (IWBOSE '20), 2020, : 22 - 29
  • [36] Elipmoc: Advanced Decompilation of Ethereum Smart Contracts
    Grech, Neville
    Lagouvardos, Sifis
    Tsatiris, Ilias
    Smaragdakis, Yannis
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (OOPSLA):
  • [37] Design Patterns for Smart Contracts in the Ethereum Ecosystem
    Woehrer, Maximilian
    Zdun, Uwe
    IEEE 2018 INTERNATIONAL CONGRESS ON CYBERMATICS / 2018 IEEE CONFERENCES ON INTERNET OF THINGS, GREEN COMPUTING AND COMMUNICATIONS, CYBER, PHYSICAL AND SOCIAL COMPUTING, SMART DATA, BLOCKCHAIN, COMPUTER AND INFORMATION TECHNOLOGY, 2018, : 1513 - 1520
  • [38] Using Ethereum Smart Contracts for Payment Transactions
    Tripkovic, Srdan
    Simic, Dejan
    SUSTAINABLE BUSINESS MANAGEMENT AND DIGITAL TRANSFORMATION: CHALLENGES AND OPPORTUNITIES IN THE POST-COVID ERA, 2023, 562 : 30 - 42
  • [39] Characterizing Types of Smart Contracts in the Ethereum Landscape
    di Angelo, Monika
    Salzer, Gernot
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2020, 2020, 12063 : 389 - 404
  • [40] Towards Efficient Hashing in Ethereum Smart Contracts
    Onica, Emanuel
    Schifirnet, Cosmin-Ionut
    PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2021, : 660 - 666