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 条
  • [41] A new method of software vulnerability detection based on a quantum neural network
    Xin Zhou
    Jianmin Pang
    Feng Yue
    Fudong Liu
    Jiayu Guo
    Wenfu Liu
    Zhihui Song
    Guoqiang Shu
    Bing Xia
    Zheng Shan
    Scientific Reports, 12
  • [42] A novel approach for software vulnerability detection based on intelligent cognitive computing
    Xuan, Cho Do
    Mai, Dao Hoang
    Thanh, Ma Cong
    Van Cong, Bui
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (15): : 17042 - 17078
  • [43] A rule-based security auditing tool for software vulnerability detection
    Lee, Moohun
    Cho, Sunghoon
    Jang, Changbok
    Park, Heeyong
    Choi, Euiin
    2006 INTERNATIONAL CONFERENCE ON HYBRID INFORMATION TECHNOLOGY, VOL 2, PROCEEDINGS, 2006, : 505 - 512
  • [44] A novel approach for software vulnerability detection based on intelligent cognitive computing
    Cho Do Xuan
    Dao Hoang Mai
    Ma Cong Thanh
    Bui Van Cong
    The Journal of Supercomputing, 2023, 79 : 17042 - 17078
  • [45] Protocol vulnerability detection based on network traffic analysis and binary reverse engineering
    Wen, Shameng
    Meng, Qingkun
    Feng, Chao
    Tang, Chaojing
    PLOS ONE, 2017, 12 (10):
  • [46] Binary Code Vulnerability Detection Based on Multi-Level Feature Fusion
    Wu, Guangli
    Tang, Huili
    IEEE ACCESS, 2023, 11 : 63904 - 63915
  • [47] Software Side Channel Vulnerability Detection Based on Similarity Calculation and Deep Learning
    Sun, Wei
    Yan, Zheng
    Xu, Xi
    Ding, Wenxiu
    Gao, Lijun
    2022 IEEE INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS, TRUSTCOM, 2022, : 800 - 809
  • [48] An Empirical Study on Vulnerability Detection for Source Code Software based on Deep Learning
    Lin, Wei
    Cai, Saihua
    2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 1159 - 1160
  • [49] Open source software security vulnerability detection based on dynamic behavior features
    Li, Yuancheng
    Ma, Longqiang
    Shen, Liang
    Lv, Junfeng
    Zhang, Pan
    PLOS ONE, 2019, 14 (08):
  • [50] A software vulnerability detection method based on multi-modality with unified processing
    Cai, Wenjing
    Chen, Junlin
    Yu, Jiaping
    Hu, Wei
    Gao, Lipeng
    INFORMATION AND SOFTWARE TECHNOLOGY, 2025, 182