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 条
  • [31] Verifying Security Vulnerabilities for Blockchain-based Smart Contracts
    Matulevicius, Nedas
    Cordeiro, Lucas C.
    2021 XI BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEMS ENGINEERING (SBESC), 2021,
  • [32] Automated Auditing of Price Gouging TOD Vulnerabilities in Smart Contracts
    Beillahi, Sidi Mohamed
    Keilty, Eric
    Nelaturu, Keerthi
    Veneris, Andreas
    Long, Fan
    2022 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY (IEEE ICBC 2022), 2022,
  • [33] Identification of Gene Signature-Related Oxidative Stress for Predicting Prognosis of Colorectal Cancer
    Wang X.
    Chen L.
    Cao H.
    Huang J.
    Oxidative Medicine and Cellular Longevity, 2023, 2023
  • [34] Detecting functional and security-related issues in smart contracts: A systematic literature review
    Piantadosi, Valentina
    Rosa, Giovanni
    Placella, Davide
    Scalabrino, Simone
    Oliveto, Rocco
    SOFTWARE-PRACTICE & EXPERIENCE, 2023, 53 (02): : 465 - 495
  • [35] Clinical features and molecular landscape of cuproptosis signature-related molecular subtype in gastric cancer
    Chong, Wei
    Ren, Huicheng
    Chen, Hao
    Xu, Kang
    Zhu, Xingyu
    Liu, Yuan
    Sang, Yaodong
    Li, Han
    Liu, Jin
    Ye, Chunshui
    Shang, Liang
    Jing, Changqing
    Li, Leping
    IMETA, 2024, 3 (03):
  • [36] SmartState: Detecting State-Reverting Vulnerabilities in Smart Contracts via Fine-Grained State-Dependency Analysis
    Liao, Zeqin
    Hao, Sicheng
    Nan, Yuhong
    Zheng, Zibin
    PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 980 - 991
  • [37] Towards Effective Static Analysis Approaches for Security Vulnerabilities in Smart Contracts
    Ghaleb, Asem
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [38] Defects and Vulnerabilities in Smart Contracts, a Classification using the NIST Bugs Framework
    Wesley Dingman
    Aviel Cohen
    Nick Ferrara
    Adam Lynch
    Patrick Jasinski
    Paul E. Black
    Lin Deng
    International Journal of Networked and Distributed Computing, 2019, 7 : 121 - 132
  • [39] Defects and Vulnerabilities in Smart Contracts, a Classification using the NIST Bugs Framework
    Dingman, Wesley
    Cohen, Aviel
    Ferrara, Nick
    Lynch, Adam
    Jasinski, Patrick
    Black, Paul E.
    Deng, Lin
    INTERNATIONAL JOURNAL OF NETWORKED AND DISTRIBUTED COMPUTING, 2019, 7 (03) : 121 - 132
  • [40] Model Checking of Vulnerabilities in Smart Contracts: A Solidity-to-CPN Approach
    Garfatta, Ikram
    Klai, Kais
    Graiet, Mohamed
    Gaaloul, Walid
    37TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2022, : 316 - 325