Deep-Learning-Based Vulnerability Detection in Binary Executables

被引:0
作者
Schaad, Andreas [1 ]
Binder, Dominik [1 ]
机构
[1] Offenburg Univ Appl Sci, Offenburg, Germany
来源
FOUNDATIONS AND PRACTICE OF SECURITY, FPS 2022 | 2023年 / 13877卷
关键词
D O I
10.1007/978-3-031-30122-3_28
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The identification of vulnerabilities is an important element in the software development life cycle to ensure the security of software. While vulnerability identification based on the source code is a well studied field, the identification of vulnerabilities on basis of a binary executable without the corresponding source code is more challenging. Recent research [1] has shown how such detection can generally be enabled by deep learning methods, but appears to be very limited regarding the overall amount of detected vulnerabilities. We analyse to what extent we could cover the identification of a larger variety of vulnerabilities. Therefore, a supervised deep learning approach using recurrent neural networks for the application of vulnerability detection based on binary executables is used. The underlying basis is a dataset with 50,651 samples of vulnerable code in the form of a standardised LLVM Intermediate Representation. Te vectorised features of a Word2Vec model are used to train different variations of three basic architectures of recurrent neural networks (GRU, LSTM, SRNN). A binary classification was established for detecting the presence of an arbitrary vulnerability, and a multi-class model was trained for the identification of the exact vulnerability, which achieved an out-of-sample accuracy of 88% and 77%, respectively. Differences in the detection of different vulnerabilities were also observed, with non-vulnerable samples being detected with a particularly high precision of over 98%. Thus, our proposed technical approach and methodology enables an accurate detection of 23 (compared to 4 [1]) vulnerabilities.
引用
收藏
页码:453 / 460
页数:8
相关论文
共 16 条
[11]   VulDeePecker: A Deep Learning-Based System for Vulnerability Detection [J].
Li, Zhen ;
Zou, Deqing ;
Xu, Shouhuai ;
Ou, Xinyu ;
Jin, Hai ;
Wang, Sujuan ;
Deng, Zhijun ;
Zhong, Yuyi .
25TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2018), 2018,
[12]  
Liu Z, 2017, 2017 IEEE 3RD INFORMATION TECHNOLOGY AND MECHATRONICS ENGINEERING CONFERENCE (ITOEC), P548, DOI 10.1109/ITOEC.2017.8122356
[13]   Cross-Architecture Bug Search in Binary Executables [J].
Pewny, Jannik ;
Garmany, Behrad ;
Gawlik, Robert ;
Rossow, Christian ;
Holz, Thorsten .
2015 IEEE SYMPOSIUM ON SECURITY AND PRIVACY SP 2015, 2015, :709-724
[14]   NeuFuzz: Efficient Fuzzing With Deep Neural Network [J].
Wang, Yunchao ;
Wu, Zehui ;
Wei, Qiang ;
Wang, Qingxian .
IEEE ACCESS, 2019, 7 :36340-36352
[15]  
Xue H., 2019, MACHINE LEARNING BAS, DOI [10.1109/ACCESS.2019.2917668, DOI 10.1109/ACCESS.2019.2917668]
[16]  
ZHENG J., 2019, Proceedings of the 2nd International Conference on Algorithms, Computing and Artificial Intelligence, P160, DOI [10.1145/3377713.3377738, DOI 10.1145/3377713.3377738]