A comparative study of neural network techniques for automatic software vulnerability detection

被引:8
|
作者
Tang, Gaigai [1 ]
Meng, Lianxiao [1 ]
Wang, Huiqiang [1 ]
Ren, Shuangyin [2 ]
Wang, Qiang [2 ]
Yang, Lin [2 ]
Cao, Weipeng [3 ]
机构
[1] Harbin Engn Univ, Sch Comp Sci & Technol, Harbin, Peoples R China
[2] Chinese Acad Mil Sci, Inst Syst Engn, Natl Key Lab Sci & Technol Informat Syst Secur, Beijing, Peoples R China
[3] Shenzhen Univ, Coll Comp Sci & Software Engn, Shenzhen, Peoples R China
关键词
software vulnerability; neural network; machine learning; Bi-LSTM; RVFL;
D O I
10.1109/TASE49443.2020.00010
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software vulnerabilities are usually caused by design flaws or implementation errors, which could be exploited to cause damage to the security of the system. At present, the most commonly used method 14 detecting software vulnerabilities is static analysis. Most of the related technologies work based on rules or code similarity (source code level) and rely on manually defined vulnerability features. However, these rules and vulnerability features are difficult to be defined and designed accurately, which makes static analysis face many challenges in practical applications. To alleviate this problem, some researchers have proposed to use neural networks that have the ability of automatic feature extraction to improve the intelligence of detection. However, there are many types of neural networks, and different data preprocessing methods will have a significant impact on model performance. It is a great challenge for engineers and researchers to choose a proper neural network and data preprocessing method for a given problem. To solve this problem, we have conducted extensive experiments to test the performance of the two most typical neural networks (i.e., Bi-LSTM and RVFL) with the two most classical data preprocessing methods (i.e., the vector representation and the program symbolization methods) on software vulnerability detection problems and obtained a series of interesting research conclusions, which can provide valuable guidelines for researchers and engineers. Specifically, we found that 1) the training speed of RVFL is always faster than BiLSTM, but the prediction accuracy of Bi-LSTM model is higher than RVFL; 2) using doc2vre for vector representation can make the model have faster training speed and generalization ability than using word2vec; and 3) multi-level symbolization is helpful to improve the precision of neural network models.
引用
收藏
页码:1 / 8
页数:8
相关论文
共 50 条
  • [1] A comparative study of neural network architectures for software vulnerability forecasting
    Cosma, Ovidiu
    Pop, Petrica C.
    Cosma, Laura
    [J]. LOGIC JOURNAL OF THE IGPL, 2024,
  • [2] Convolutional Neural Network for Software Vulnerability Detection
    Yang, Kaixi
    Miller, Paul
    Martinez-del-Rincon, Jesus
    [J]. 2022 CYBER RESEARCH CONFERENCE - IRELAND (CYBER-RCI), 2022, : 83 - 86
  • [3] The application of neural network for software vulnerability detection: a review
    Zhu, Yuhui
    Lin, Guanjun
    Song, Lipeng
    Zhang, Jun
    [J]. NEURAL COMPUTING & APPLICATIONS, 2023, 35 (02): : 1279 - 1301
  • [4] The application of neural network for software vulnerability detection: a review
    Yuhui Zhu
    Guanjun Lin
    Lipeng Song
    Jun Zhang
    [J]. Neural Computing and Applications, 2023, 35 : 1279 - 1301
  • [5] Automatic Classification Method for Software Vulnerability Based on Deep Neural Network
    Huang, Guoyan
    Li, Yazhou
    Wang, Qian
    Ren, Jiadong
    Cheng, Yongqiang
    Zhao, Xiaolin
    [J]. IEEE ACCESS, 2019, 7 : 28291 - 28298
  • [6] Automated Software Vulnerability Detection Based on Hybrid Neural Network
    Li, Xin
    Wang, Lu
    Xin, Yang
    Yang, Yixian
    Tang, Qifeng
    Chen, Yuling
    [J]. APPLIED SCIENCES-BASEL, 2021, 11 (07):
  • [7] Machine learning techniques for software vulnerability prediction: a comparative study
    Jabeen, Gul
    Rahim, Sabit
    Afzal, Wasif
    Khan, Dawar
    Khan, Aftab Ahmed
    Hussain, Zahid
    Bibi, Tehmina
    [J]. APPLIED INTELLIGENCE, 2022, 52 (15) : 17614 - 17635
  • [8] Machine learning techniques for software vulnerability prediction: a comparative study
    Gul Jabeen
    Sabit Rahim
    Wasif Afzal
    Dawar Khan
    Aftab Ahmed Khan
    Zahid Hussain
    Tehmina Bibi
    [J]. Applied Intelligence, 2022, 52 : 17614 - 17635
  • [9] A Survey of Automatic Software Vulnerability Detection, Program Repair, and Defect Prediction Techniques
    Shen, Zhidong
    Chen, Si
    [J]. SECURITY AND COMMUNICATION NETWORKS, 2020, 2020
  • [10] 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
    [J]. SCIENTIFIC REPORTS, 2022, 12 (01)