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 条
  • [31] A NOVEL METHOD OF SOFTWARE VULNERABILITY DETECTION BASED ON FUZZING TECHNIQUE
    Zhang, Xiao-Song
    Shao, Lin
    Zheng, Jiong
    2008 INTERNATIONAL CONFERENCE ON APPERCEIVING COMPUTING AND INTELLIGENCE ANALYSIS (ICACIA 2008), 2008, : 270 - 273
  • [32] A Software Vulnerability Detection Method Based on Complex Network Community
    Shan, Chun
    Gong, Yinghui
    Xiong, Ling
    Liao, Shuyan
    Wang, Yuyang
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [33] A new approach to software vulnerability detection based on CPG analysis
    Do Xuan, Cho
    COGENT ENGINEERING, 2023, 10 (01):
  • [34] Software Vulnerability Detection Based on Code Coverage and Test Cost
    Shuai, Bo
    Li, Haifeng
    Zhang, Lei
    Zhang, Quan
    Tang, Chaojing
    2015 11TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY (CIS), 2015, : 317 - 321
  • [35] Software vulnerability detection system based on uniform intermediate representation
    Wang, Jinding
    Wang, Jiajie
    Cheng, Shaoyin
    Jiang, Fan
    Qinghua Daxue Xuebao/Journal of Tsinghua University, 2010, 50 (SUPPL. 1): : 1502 - 1507
  • [36] Industrial Internet Vulnerability Detection Method Based on CBAM-CNN-SVM
    Xie, Peng-Shou
    Wang, Jia-Lu
    Wang, Hong
    Pan, Yin-Chang
    Li, Xiao-Ye
    Feng, Tao
    International Journal of Network Security, 2023, 25 (03) : 385 - 393
  • [37] Software vulnerability code clone detection method based on characteristic metrics
    Gan, Shui-Tao
    Qin, Xiao-Jun
    Chen, Zuo-Ning
    Wang, Lin-Zhang
    Ruan Jian Xue Bao/Journal of Software, 2015, 26 (02): : 348 - 363
  • [38] A Mutation-Based Data Enhancement Approach for Software Vulnerability Detection
    Su, Lianyi
    Hu, Jie
    Zheng, Wei
    JOURNAL OF INTERNET TECHNOLOGY, 2024, 25 (06): : 931 - 943
  • [39] A new method of software vulnerability detection based on a quantum neural network
    Zhou, Xin
    Pang, Jianmin
    Yue, Feng
    Liu, Fudong
    Guo, Jiayu
    Liu, Wenfu
    Song, Zhihui
    Shu, Guoqiang
    Xia, Bing
    Shan, Zheng
    SCIENTIFIC REPORTS, 2022, 12 (01)
  • [40] A Method for Software Vulnerability Detection Based on Improved Control Flow Graph
    ZHOU Minmin
    CHEN Jinfu
    LIU Yisong
    ACKAH-ARTHUR Hilary
    CHEN Shujie
    ZHANG Qingchen
    ZENG Zhifeng
    Wuhan University Journal of Natural Sciences, 2019, 24 (02) : 149 - 160