SIGUARD: Detecting Signature-Related Vulnerabilities in Smart Contracts

被引:0
|
作者
Zhang, Jiashuo [1 ,2 ]
Li, Yue [1 ,2 ]
Gao, Jianbo [1 ,2 ]
Guan, Zhi [3 ]
Chen, Zhong [1 ,2 ]
机构
[1] Peking Univ, Key Lab High Confidence Software Technol, MoE, Beijing, Peoples R China
[2] Peking Univ, Sch Comp Sci, Beijing, Peoples R China
[3] Peking Univ, Natl Engn Res Ctr Software Engn, Beijing, Peoples R China
基金
中国国家自然科学基金; 北京市自然科学基金;
关键词
smart contract; digital signature; software analysis; vulnerability detection;
D O I
10.1109/ICSE-Companion58688.2023.00019
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Ethereum smart contract enables developers to enforce access control policies of critical functions using built-in signature verification interfaces, i.e., ecrecover. However, due to the lack of best practices for these interfaces, improper verifications commonly exist in deployed smart contracts, leaving potential unauthorized access and financial losses. Even worse, the attack surface is ignored by both developers and existing smart contract security analyzers. In this paper, we take a close look at signature-related vulnerabilities and de-mystify them with clear classification and characterization. We present SIGUARD, the first automatic tool to detect these vulnerabilities in real-world smart contracts. Specifically, SIGUARD explores signature-related paths in the smart contract and extracts data dependencies based on symbolic execution and taint analysis. Then, it conducts vulnerability detection based on a systematic search for violations of standard patterns including EIP-712 and EIP-2621. The preliminary evaluation validated the efficacy of SIGUARD by reporting previously unknown vulnerabilities in deployed smart contracts on Ethereum. A video of SIGUARD is available at https://youtu.be/xXAEhqXWOu0.
引用
收藏
页码:31 / 35
页数:5
相关论文
共 50 条
  • [21] Security Vulnerabilities and Countermeasures of Smart Contracts: A Survey
    Sifra, Epherem Merete
    2022 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2022), 2022, : 512 - 515
  • [22] Analysis Of The Relationship Between Smart Contracts' Categories and Vulnerabilities
    Ibba, Giacomo
    Ortu, Marco
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 1212 - 1218
  • [23] Smart Contracts Vulnerabilities: A Call for Blockchain Software Engineering?
    Destefanis, Giuseppe
    Marchesi, Michele
    Ortu, Marco
    Tonelli, Roberto
    Bracciali, Andrea
    Hierons, Robert
    2018 IEEE 1ST INTERNATIONAL WORKSHOP ON BLOCKCHAIN ORIENTED SOFTWARE ENGINEERING (IWBOSE), 2018, : 19 - 25
  • [24] Identifying Vulnerabilities in Smart Contracts using Interval Analysis
    Susan, Stefan-Claudiu
    Arusoaie, Andrei
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2023, 389 : 144 - 151
  • [25] A Survey of Security Vulnerabilities and Detection Methods for Smart Contracts
    Zhang, Jingqi
    Zhang, Xin
    Liu, Zhaojun
    Fu, Fa
    Nie, Jianyu
    Huang, Jianqiang
    Dreibholz, Thomas
    PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND NETWORKS, VOL III, CENET 2023, 2024, 1127 : 436 - 446
  • [26] Vulnerabilities and Open Issues of Smart Contracts: A Systematic Mapping
    Matsumura, Gabriel de Sousa
    Rebelo dos Santos, Luciana Brasil
    da Conceicao, Arlindo Flavio
    Vijaykumar, Nandamudi Lankalapalli
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2021, PT IV, 2021, 12952 : 3 - 18
  • [27] Confusum Contractum: Confused Deputy Vulnerabilities in Ethereum Smart Contracts
    Gritti, Fabio
    Ruaro, Nicola
    McLaughlin, Robert
    Bose, Priyanka
    Das, Dipanjan
    Grishchenko, Ilya
    Kruegel, Christopher
    Vigna, Giovanni
    32nd USENIX Security Symposium, USENIX Security 2023, 2023, 3 : 1793 - 1810
  • [28] Confusum Contractum: Confused Deputy Vulnerabilities in Ethereum Smart Contracts
    Gritti, Fabio
    Ruaro, Nicola
    McLaughlin, Robert
    Bose, Priyanka
    Das, Dipanjan
    Grishchenko, Ilya
    Kruegel, Christopher
    Vigna, Giovanni
    PROCEEDINGS OF THE 32ND USENIX SECURITY SYMPOSIUM, 2023, : 1793 - 1810
  • [29] Blockchain smart contracts formalization: Approaches and challenges to address vulnerabilities
    Singh, Amritraj
    Parizi, Reza M.
    Zhang, Qi
    Choo, Kim-Kwang Raymond
    Dehghantanha, Ali
    COMPUTERS & SECURITY, 2020, 88
  • [30] Detection of vulnerabilities in blockchain smart contracts using deep learning
    Gupta, Namya Aankur
    Bansal, Mansi
    Sharma, Seema
    Mehrotra, Deepti
    Kakkar, Misha
    WIRELESS NETWORKS, 2025, 31 (01) : 201 - 217