VulDet-BC: Binary Software Vulnerability Detection Based on BiGRU and CNN

被引:0
|
作者
Cai, Xinxin [1 ]
Chen, Xin [1 ]
Yu, Dongjing [1 ]
Ye, Xinjiang [2 ]
Lv, Fanrong [3 ]
机构
[1] Hangzhou Dianzi Univ, Sch Comp Sci & Technol, Hangzhou, Peoples R China
[2] Zhejiang Merit Interact Network Technol Co Ltd, Hangzhou, Peoples R China
[3] Hangzhou Cloudglab Technol Co Ltd, Hangzhou, Peoples R China
基金
中国国家自然科学基金;
关键词
BiGRU-Attention; CNN; vulnerability detection; static binary analysis; binary vulnerability;
D O I
10.1109/COMPSAC61105.2024.00183
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Existing binary vulnerability detection methods are mainly divided into static analysis and dynamic analysis. Compared with dynamic analysis, static analysis has higher code coverage and detection efficiency but is limited by accuracy. Recently, deep learning has achieved a significant improvement in static analysis for binary vulnerability detection. However, static analysis still suffers from two limitations: (i) the identification of function vulnerabilities relies on their patches; (ii) feature extraction either loses contextual dependency or cannot effectively extract local features. In this paper, we propose a new binary vulnerability detection method named VulDet-BC by combining bidirectional gated recurrent units (BiGRU) and convolutional neural networks (CNN). First, VulDet-BC preprocesses binary code text to make each function have the same text structure. Then, for each instruction, we perform BiGRU with word-attention to generate the vector representation which contains contextual dependency between words. Finally, another BiGRU and CNN are combined to train the prediction model and the eventual model is adopted to forecast whether target binary functions contain vulnerabilities or not. VulDet-BC not only preserves long-distance information but also effectively extracts local features related to vulnerabilities. We have applied VulDet-BC to the dataset with 15,954 non-vulnerable functions and 16,327 vulnerable functions. The experimental results show that VulDet-BC achieves 86.7% in terms of accuracy, 97.6% in terms of recall, 80.8% in terms of precision, 88.3% in terms of F1-score, and 86.3% in terms of area under curve (AUC) on average, and outperforms the state-of-the-art baseline.
引用
收藏
页码:1388 / 1397
页数:10
相关论文
共 50 条
  • [1] Research on Software Vulnerability Detection Method Based on Improved CNN Model
    Qiang, Gao
    SCIENTIFIC PROGRAMMING, 2022, 2022
  • [2] Research on Software Vulnerability Detection Method Based on Improved CNN Model
    Qiang, Gao
    Scientific Programming, 2022, 2022
  • [3] Binary software vulnerability detection method based on attention mechanism
    Han, Wenjie
    Pang, Jianmin
    Zhou, Xin
    Zhu, Di
    2020 5TH INTERNATIONAL CONFERENCE ON MECHANICAL, CONTROL AND COMPUTER ENGINEERING (ICMCCE 2020), 2020, : 1462 - 1466
  • [4] Software Source Code Vulnerability Detection Based on CNN-GAP Interpretability Model
    Wang Jian
    Kuang Hongyu
    Li Ruilin
    Su Yunfei
    JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2022, 44 (07) : 2568 - 2575
  • [5] Ponzi Scheme Detection Based on CNN and BiGRU combined with Attention Mechanism
    Cui, Bo
    Wang, Guoqing
    PROCEEDINGS OF THE 2024 27 TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN, CSCWD 2024, 2024, : 1852 - 1857
  • [6] A CNN-based automatic vulnerability detection
    Jung Hyun An
    Zhan Wang
    Inwhee Joe
    EURASIP Journal on Wireless Communications and Networking, 2023
  • [7] A CNN-based automatic vulnerability detection
    An, Jung Hyun
    Wang, Zhan
    Joe, Inwhee
    EURASIP JOURNAL ON WIRELESS COMMUNICATIONS AND NETWORKING, 2023, 2023 (01)
  • [8] Software vulnerability detection under poisoning attacks using CNN-based image processing
    Gonzalez-Manzano, Lorena
    Garcia-Alfaro, Joaquin
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2025, 24 (02)
  • [9] An automatic algorithm for software vulnerability classification based on CNN and GRU
    Wang, Qian
    Li, Yazhou
    Wang, Yan
    Ren, Jiadong
    MULTIMEDIA TOOLS AND APPLICATIONS, 2022, 81 (05) : 7103 - 7124
  • [10] An automatic algorithm for software vulnerability classification based on CNN and GRU
    Qian Wang
    Yazhou Li
    Yan Wang
    Jiadong Ren
    Multimedia Tools and Applications, 2022, 81 : 7103 - 7124