VdaBSC: A Novel Vulnerability Detection Approach for Blockchain Smart Contract by Dynamic Analysis

被引:1
|
作者
Sosu, Rexford Nii Ayitey [1 ,2 ]
Chen, Jinfu [1 ]
Boahen, Edward Kwadwo [1 ,2 ]
Zhang, Zikang [1 ]
机构
[1] Jiangsu Univ, Sch Comp Sci & Engn, Zhenjiang, Jiangsu, Peoples R China
[2] Ghana Commun Technol Univ, Fac Comp & Informat Syst, Accra, Ghana
基金
中国国家自然科学基金; 中国博士后科学基金; 国家重点研发计划;
关键词
NEURAL-NETWORKS;
D O I
10.1049/2023/6631967
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Smart contracts have gained immense popularity in recent years as self-executing programs that operate on a blockchain. However, they are not immune to security flaws, which can result in significant financial losses. These flaws can be detected using dynamic analysis methods that extract various aspects from smart contract bytecode. Methods currently used for identifying vulnerabilities in smart contracts mostly rely on static analysis methods that search for predefined vulnerability patterns. However, these patterns often fail to capture complex vulnerabilities, leading to a high rate of false negatives. To overcome this limitation, researchers have explored machine learning-based methods. However, the accurate interpretation of complex logic and structural information in smart contract code remains a challenge. In this study, we present a technique that combines real-time runtime batch normalization and data augmentation for data preprocessing, along with n-grams and one-hot encoding for feature extraction of opcode sequence information from the bytecode. We then combined bidirectional long short-term memory (BiLSTM), convolutional neural network, and the attention mechanism for vulnerability detection and classification. Additionally, our model includes a gated recurrent units memory module that enhances efficiency using historical execution data from the contract. Our results demonstrate that our proposed model effectively identifies smart contract vulnerabilities.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Vulnerability Analysis of Smart Contract for Blockchain-Based IoT Applications: A Machine Learning Approach
    Zhou, Qihao
    Zheng, Kan
    Zhang, Kuan
    Hou, Lu
    Wang, Xianbin
    [J]. IEEE INTERNET OF THINGS JOURNAL, 2022, 9 (24) : 24695 - 24707
  • [2] A Privacy-Preserving Smart Contract Vulnerability Detection Framework for Permissioned Blockchain
    Tian, Wensheng
    Zhang, Lei
    Chen, Shuangxi
    Wang, Hu
    Luo, Xiao
    [J]. PROCEEDINGS OF THE 2023 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, CCS 2023, 2023, : 3630 - 3632
  • [3] 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
    [J]. JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2024, 96 (03): : 215 - 237
  • [4] Smart Contract Vulnerability Detection Technique: A Survey
    Qian, Peng
    Liu, Zhen-Guang
    He, Qin-Ming
    Huang, Bu-Tian
    Tian, Duan-Zheng
    Wang, Xun
    [J]. Ruan Jian Xue Bao/Journal of Software, 2022, 33 (08): : 3059 - 3085
  • [5] An Analysis of Important Factors Affecting the Success of Blockchain Smart Contract Security Vulnerability Scanning Tools
    Chee, Cynthia Yi Min
    Pal, Shantanu
    Pan, Lei
    Doss, Robin
    [J]. PROCEEDINGS OF THE 5TH ACM INTERNATIONAL SYMPOSIUM ON BLOCKCHAIN AND SECURE CRITICAL INFRASTRUCTURE, ACM BSCI 2023, 2023, : 105 - 113
  • [6] TxMirror: When the Dynamic EVM Stack Meets Transactions for Smart Contract Vulnerability Detection
    Yu, Rongwei
    Zhang, Yuhang
    Wang, Yong
    Liu, Chen
    [J]. SYMMETRY-BASEL, 2023, 15 (07):
  • [7] CrossFuzz: Cross-contract fuzzing for smart contract vulnerability detection
    Yang, Huiwen
    Gu, Xiguo
    Chen, Xiang
    Zheng, Liwei
    Cui, Zhanqi
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2024, 234
  • [8] Smart Contract Vulnerability Analysis and Security Audit
    He, Daojing
    Deng, Zhi
    Zhang, Yuxing
    Chan, Sammy
    Cheng, Yao
    Guizani, Nadra
    [J]. IEEE NETWORK, 2020, 34 (05): : 276 - 282
  • [9] A Survey of Vulnerability Detection Techniques by Smart Contract Tools
    Khan, Zulfiqar Ali
    Namin, Akbar Siami
    [J]. IEEE ACCESS, 2024, 12 : 70870 - 70910
  • [10] A Novel Smart Contract Vulnerability Detection Method Based on Information Graph and Ensemble Learning
    Zhang, Lejun
    Wang, Jinlong
    Wang, Weizheng
    Jin, Zilong
    Zhao, Chunhui
    Cai, Zhennao
    Chen, Huiling
    [J]. SENSORS, 2022, 22 (09)