WANA: Symbolic Execution of Wasm Bytecode for Extensible Smart Contract Vulnerability Detection

被引:12
|
作者
Jiang, Bo [1 ]
Chen, Yifei [1 ]
Wang, Dong [1 ]
Ashraf, Imran [2 ]
Chan, W. K. [2 ]
机构
[1] Beihang Univ, Sch Comp Sci & Engn, Beijing, Peoples R China
[2] City Univ Hong Kong, Dept Comp Sci, Hong Kong, Peoples R China
基金
国家重点研发计划;
关键词
WASM bytecode; Symbolic Execution; Smart Contract; Vulnerability Detection;
D O I
10.1109/QRS54544.2021.00102
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many popular blockchain platforms support smart contracts for building decentralized applications. However, the vulnerabilities within smart contracts have demonstrated to lead to serious financial loss to their end users. In particular, the smart contracts on EOSIO smart contract platform have resulted in the loss of around 380K EOS tokens, which was around 1.9 million worth of USD at the time of attack. The EOSIO smart contract platform is based on the Wasm VM, which is also the underlying system supporting other smart contract platforms as well as Web application. In this work, we present WANA, an extensible smart contract vulnerability detection tool based on the symbolic execution for Wasm bytecode. WANA proposes a set of algorithms to detect the vulnerabilities in EOSIO smart contracts based on Wasm bytecode analysis. Our experimental analysis shows that WANA can effectively and efficiently detect vulnerabilities in EOSIO smart contracts. Furthermore, our case study also demonstrates that WANA can be extended to effectively detect vulnerabilities in Ethereum smart contracts.
引用
收藏
页码:926 / 937
页数:12
相关论文
共 50 条
  • [31] An interpretable model for large-scale smart contract vulnerability detection
    Feng, Xia
    Liu, Haiyang
    Wang, Liangmin
    Zhu, Huijuan
    Sheng, Victor S.
    BLOCKCHAIN-RESEARCH AND APPLICATIONS, 2024, 5 (03):
  • [32] Smart Contract Vulnerability Detection Based on Multi-Scale Encoders
    Guo, Junjun
    Lu, Long
    Li, Jingkui
    ELECTRONICS, 2024, 13 (03)
  • [33] Smart contract vulnerability detection using wide and deep neural network
    Osei, Samuel Banning
    Ma, Zhongchen
    Huang, Rubing
    SCIENCE OF COMPUTER PROGRAMMING, 2024, 238
  • [34] SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework
    Zaazaa, Oualid
    El Bakkali, Hanan
    JOURNAL OF METAVERSE, 2024, 4 (02): : 126 - 137
  • [35] Smart contract: a survey towards extortionate vulnerability detection and security enhancement
    Porkodi, S.
    Kesavaraja, D.
    WIRELESS NETWORKS, 2024, 30 (03) : 1285 - 1304
  • [36] SmartGuard: An LLM-enhanced framework for smart contract vulnerability detection
    Ding, Hao
    Liu, Yizhou
    Piao, Xuefeng
    Song, Huihui
    Ji, Zhenzhou
    EXPERT SYSTEMS WITH APPLICATIONS, 2025, 269
  • [37] Smart Contract Vulnerability Detection Based on Hybrid Attention Mechanism Model
    Wu, Huaiguang
    Dong, Hanjie
    He, Yaqiong
    Duan, Qianheng
    APPLIED SCIENCES-BASEL, 2023, 13 (02):
  • [38] Advanced Smart Contract Vulnerability Detection using Large Language Models
    Erfan, Fatemeh
    Yahyatabar, Mohammad
    Bellaiche, Martine
    Halabi, Talal
    2024 8TH CYBER SECURITY IN NETWORKING CONFERENCE, CSNET, 2024, : 289 - 296
  • [39] Smart Contract Vulnerability Detection Based on Prompt-guided ChatGPT
    Ma, Jiarun
    Feng, Shiling
    Zeng, Jiahao
    Lu, Jia
    Chen, Jie
    2024 INTERNATIONAL CONFERENCE ON NETWORKING AND NETWORK APPLICATIONS, NANA 2024, 2024, : 321 - 326
  • [40] A Novel Smart Contract Reentrancy Vulnerability Detection Model based on BiGAS
    Zhang, Lejun
    Li, Yuan
    Guo, Ran
    Wang, Guopeng
    Qiu, Jing
    Su, Shen
    Liu, Yuan
    Xu, Guangxia
    Chen, Huiling
    Tian, Zhihong
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2024, 96 (03): : 215 - 237