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 条
  • [41] Detecting Nondeterministic Payment Bugs in Ethereum Smart Contracts
    Wang, Shuai
    Zhang, Chengyu
    Su, Zhendong
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (OOPSLA):
  • [42] Detecting Unknown Threats in Smart Contracts With Domain Adaptation
    Ye, Weiwei
    Yang, Liu
    Duan, Li
    Li, Chao
    Ni, Wei
    2024 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE SERVICES ENGINEERING, SSE 2024, 2024, : 104 - 114
  • [43] AChecker: Statically Detecting Smart Contract Access Control Vulnerabilities
    Ghaleb, Asem
    Rubin, Julia
    Pattabiraman, Karthik
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 945 - 956
  • [44] FlawCheck: Detecting Smart Contract Vulnerabilities Based on Symbolic Execution
    Gou, Naixiang
    Zhao, Xiangfu
    Wang, Shiji
    Zhang, Hanfeng
    Yang, Jiahui
    SECURITY AND PRIVACY, 2025, 8 (02):
  • [45] Detecting Smart Contract Vulnerabilities with Combined Binary and Multiclass Classification
    Mezina, Anzhelika
    Ometov, Aleksandr
    CRYPTOGRAPHY, 2023, 7 (03)
  • [46] Associations of gene polymorphisms in interferon-alpha signature-related genes with autoimmune thyroid diseases
    Lin, Jiunn-Diann
    Yang, Shun-Fa
    Wang, Yuan-Hung
    Fang, Wen-Fang
    Tang, Kam-Tsun
    Cheng, Chao-Wen
    CLINICAL ENDOCRINOLOGY, 2019, 91 (06) : 860 - 868
  • [47] Taxonomic insights into ethereum smart contracts by linking application categories to security vulnerabilities
    Ortu, Marco
    Ibba, Giacomo
    Destefanis, Giuseppe
    Conversano, Claudio
    Tonelli, Roberto
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [48] SCScan: A SVM-based Scanning System for Vulnerabilities in Blockchain Smart Contracts
    Hao, Xiaohan
    Ren, Wei
    Zheng, Wenwen
    Zhu, Tianqing
    2020 IEEE 19TH INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS (TRUSTCOM 2020), 2020, : 1598 - 1605
  • [49] Detect Llama - Finding Vulnerabilities in Smart Contracts Using Large Language Models
    Ince, Peter
    Luo, Xiapu
    Yu, Jiangshan
    Liu, Joseph K.
    Du, Xiaoning
    INFORMATION SECURITY AND PRIVACY, PT III, ACISP 2024, 2024, 14897 : 424 - 443
  • [50] Identification of a lncRNA prognostic signature-related to stem cell index and its significance in colorectal cancer
    Wang, Xiao-Cheng
    Liu, Ya
    Long, Fei-Wu
    Liu, Liang-Ren
    Fan, Chuan-Wen
    FUTURE ONCOLOGY, 2021, 17 (23) : 3087 - 3100