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 条
  • [21] Safety Guards for Ethereum Smart Contracts
    Amirmohseni, Morteza
    Nogoorani, Sadegh Dorri
    ISECURE-ISC INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2024, 16 (01): : 37 - 53
  • [22] SecSEC: Securing Smart Ethereum Contracts
    Yashavant, Chavhan Sujeet
    PROCEEDINGS OF THE 17TH INNOVATIONS IN SOFTWARE ENGINEERING CONFERENCE, ISEC 2024, 2024,
  • [23] Model checking smart contracts for Ethereum
    Osterland, Thomas
    Rose, Thomas
    PERVASIVE AND MOBILE COMPUTING, 2020, 63
  • [24] Automated labeling of unknown contracts in Ethereum
    Norvill, Robert
    Pontiveros, Beltran Borja Fiz
    State, Radu
    Awan, Irfan
    Cullen, Andrea
    2017 26TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND NETWORKS (ICCCN 2017), 2017,
  • [25] Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contracts
    Durieux, Thomas
    Ferreira, Joao F.
    Abreu, Rui
    Cruz, Pedro
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 530 - 541
  • [26] A Data Extraction Methodology for Ethereum Smart Contracts
    Corradini, Flavio
    Marcelletti, Alessandro
    Morichetta, Andrea
    Re, Barbara
    2024 IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS WORKSHOPS AND OTHER AFFILIATED EVENTS, PERCOM WORKSHOPS, 2024, : 524 - 529
  • [27] Digesting smart contracts in Ethereum blockchain networks
    Sparbrodt, Fabian
    Garcia-Valls, Marisol
    2022 5TH CONFERENCE ON CLOUD AND INTERNET OF THINGS, CIOT, 2022, : 60 - 66
  • [28] The Risks and Challenges of Implementing Ethereum Smart Contracts
    Harris, Christopher G.
    2019 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY (ICBC), 2019, : 104 - 107
  • [29] Gas Estimation and Optimization for Smart Contracts on Ethereum
    Li, Chunmiao
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 1082 - 1086
  • [30] A Framework and DataSet for Bugs in Ethereum Smart Contracts
    Zhang, Pengcheng
    Xiao, Feng
    Luo, Xiapu
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 139 - 150