Binary Code Vulnerability Detection Based on Multi-Level Feature Fusion

被引:2
|
作者
Wu, Guangli [1 ]
Tang, Huili [1 ]
机构
[1] Gansu Univ Polit Sci & Law, Sch Cyberspace Secur, Lanzhou 730070, Peoples R China
来源
IEEE ACCESS | 2023年 / 11卷
关键词
Binary code vulnerability detection; embeddings from language models; feature fusion; instruction level sequence features; word level sequence features;
D O I
10.1109/ACCESS.2023.3289001
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The existence of software vulnerabilities will cause serious network attacks and information leakage problems. Timely and accurate detection of vulnerabilities in software has become a research focus on the security field. Most existing work only considers instruction-level features, which to some extent overlooks certain syntax and semantic information in the assembly code segments, affecting the accuracy of the detection model. In this paper, we propose a binary code vulnerability detection model based on multi-level feature fusion. The model considers both word-level features and instruction-level features. In order to solve the problem that traditional text embedding methods cannot handle polysemy, this paper uses the Embeddings from Language Models (ELMo) model to obtain dynamic word vectors containing word semantics and other information. Considering the grammatical structure in the assembly code segment, the model randomly embeds the normalized assembly code segment to represent it. Then the model uses bidirectional Gated Recurrent Unit (GRU) to extract word-level sequence features and instruction-level sequence features respectively. Then, the weighted feature fusion method is used to study the impact of different sequence features on the model performance. During model training, adding standard deviation regularization to constrain model parameters can prevent the occurrence of overfitting problems. To evaluate our proposed method, we conduct experiments on two datasets. Our method achieves an F1-score of 98.9 percent on the Juliet Test Suite dataset and a F1-score of 87.7 percent on the NDSS18 (Whole) dataset. The experimental results show that the model can improve the accuracy of binary code vulnerability detection.
引用
收藏
页码:63904 / 63915
页数:12
相关论文
共 50 条
  • [1] Multi-level and Multi-modal Target Detection Based on Feature Fusion
    Cheng, Teng
    Sun, Lei
    Hou, Dengchao
    Shi, Qin
    Zhang, Junning
    Chen, Jiong
    Huang, He
    [J]. Qiche Gongcheng/Automotive Engineering, 2021, 43 (11): : 1602 - 1610
  • [2] Salient Object Detection Based on Multi-scale Feature Extraction and Multi-level Feature Fusion
    Li, Lingli
    Meng, Lingbing
    Li, Jinbao
    [J]. Gongcheng Kexue Yu Jishu/Advanced Engineering Sciences, 2021, 53 (01): : 170 - 177
  • [3] Code vulnerability detection method based on contextual feature fusion
    Xu, Ze-Xin
    Duan, Li-Juan
    Wang, Wen-Jian
    En, Qing
    [J]. Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2022, 56 (11): : 2260 - 2270
  • [4] Small-Scale Pedestrian Detection Based on Multi-level Feature Fusion
    Yan, Chaoqi
    Zhang, Hong
    Li, Xuliang
    Yang, Yifan
    Chen, Hao
    Yuan, Ding
    [J]. THIRTEENTH INTERNATIONAL CONFERENCE ON GRAPHICS AND IMAGE PROCESSING (ICGIP 2021), 2022, 12083
  • [5] Damage Detection Method for Rail Surface Based on Multi-Level Feature Fusion
    Han, Qiang
    Liu, Junbo
    Feng, Qibo
    Wang, Shengchun
    Dai, Peng
    [J]. Zhongguo Tiedao Kexue/China Railway Science, 2021, 42 (05): : 41 - 49
  • [6] RGB-D Saliency Detection Based on Multi-Level Feature Fusion
    Shi, Yue
    Yu, Wanjun
    Chen, Ying
    [J]. Computer Engineering and Applications, 2023, 59 (07) : 207 - 213
  • [7] Multi-level feature fusion pyramid network for object detection
    Zebin Guo
    Hui Shuai
    Guangcan Liu
    Yisheng Zhu
    Wenqing Wang
    [J]. The Visual Computer, 2023, 39 : 4267 - 4277
  • [8] Multi-level feature fusion pyramid network for object detection
    Guo, Zebin
    Shuai, Hui
    Liu, Guangcan
    Zhu, Yisheng
    Wang, Wenqing
    [J]. VISUAL COMPUTER, 2023, 39 (09): : 4267 - 4277
  • [9] Combining Semantics With Multi-level Feature Fusion for Pedestrian Detection
    Chu, Jun
    Shu, Wen
    Zhou, Zi-Bo
    Miao, Jun
    Leng, Lu
    [J]. Zidonghua Xuebao/Acta Automatica Sinica, 2022, 48 (01): : 282 - 291
  • [10] Remote Sensing Image Change Detection Based on Multi-Level Diversity Feature Fusion
    Xie, Honggang
    Ma, Wanjie
    [J]. IEEE ACCESS, 2024, 12 : 81495 - 81505