Automated Inference on Financial Security of Ethereum Smart Contracts

被引:0
|
作者
Wang, Wansen [1 ]
Huang, Wenchao [1 ]
Meng, Zhaoyi [2 ]
Xiong, Yan [1 ]
Miao, Fuyou [1 ]
Fang, Xianjin [3 ]
Tu, Caichang [1 ]
Ji, Renjie [1 ]
机构
[1] Univ Sci & Technol China, Hefei, Peoples R China
[2] Anhui Univ, Hefei, Peoples R China
[3] Anhui Univ Sci & Technol, Hefei, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Nowadays millions of Ethereum smart contracts are created per year and become attractive targets for financially motivated attackers. However, existing analyzers are not sufficient to analyze the financial security of a large number of contracts precisely. In this paper, we propose and implement FASVERIF, an automated inference system for fine-grained analysis of smart contracts. FASVERIF automatically generates models to be verified against security properties of smart contracts. Besides, different from existing approaches of formal verifications, our inference system also automatically generates the security properties. Specifically, we propose two types of security properties, invariant properties and equivalence properties, which can be used to detect various types of finance-related vulnerabilities and can be automatically generated based on our statistical analysis. As a result, FASVERIF can automatically process source code of smart contracts, and uses formal methods whenever possible to simultaneously maximize its accuracy. We also prove the soundness of verifying our properties using our translated model based on a custom semantics of Solidity. We evaluate FASVERIF on a vulnerabilities dataset of 549 contracts by comparing it with other automatic tools. Our evaluation shows that FASVERIF greatly outperforms the representative tools using different technologies, with respect to accuracy and coverage of types of vulnerabilities. We also evaluate FASVERIF on a real-world dataset of 1700 contracts, and find 13 contracts with bugs that can still be leveraged by adversaries online.
引用
收藏
页码:3367 / 3383
页数:17
相关论文
共 50 条
  • [41] 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
  • [42] 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
  • [43] 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):
  • [44] 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
  • [45] 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
  • [46] 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
  • [47] 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
  • [48] Clockwork Finance: Automated Analysis of Economic Security in Smart Contracts
    Babel, Kushal
    Daian, Philip
    Kelkar, Mahimna
    Juels, Ari
    2023 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, SP, 2023, : 2499 - 2516
  • [49] S-GRAM: Towards Semantic-Aware Security Auditing for Ethereum Smart Contracts
    Liu, Han
    Liu, Chao
    Zhao, Wenqi
    Jiang, Yu
    Sun, Jiaguang
    PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 814 - 819
  • [50] When They Go Low: Automated Replacement of Low-level Functions in Ethereum Smart Contracts
    Xi, Rui
    Pattabiraman, Karthik
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 995 - 1005