A CNN-based automatic vulnerability detection

被引:5
作者
An, Jung Hyun [1 ]
Wang, Zhan [1 ]
Joe, Inwhee [1 ]
机构
[1] Hanyang Univ, Dept Comp Engn, Seoul, South Korea
关键词
Convolutional neural networks; Vulnerabilities; Security; Deep learning; CVE (common vulnerabilities and exposures); CWE (common weakness enumeration);
D O I
10.1186/s13638-023-02255-2
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
With the advent of the Internet, the activities of individuals and businesses have expanded into the online realm. As a result, vulnerabilities that result in actual breaches can lead to data loss and program failure. The number of breaches is increasing every year, as is the number of vulnerabilities. To address this problem, current research focuses on the detection of vulnerabilities using static analysis techniques. To prevent the propagation of vulnerabilities, a new paradigm is needed to quickly detect vulnerabilities, analyze them, and take actions such as blocking or removing them. Recently, artificial intelligence algorithms such as deep learning have been introduced for vulnerability detection. In this paper, we propose a vulnerability detection model, V-CNN, which aims to detect CWE/CVE (Common Weakness Enumeration/Common Vulnerabilities and Exposures) using CNN (convolutional neural network). We trained CWE for deep learning and redefined vulnerabilities based on CWE. We propose an experimental algorithm to improve vulnerability detection. The accuracy of the proposed V-CNN model is 98%, which exceeds the 95% of the random forest model. Therefore, our V-CNN has excellent correctness detection performance in the field of vulnerability detection. The V-CNN vulnerability detection algorithm can be used instead of static analysis to detect various security vulnerabilities.
引用
收藏
页数:13
相关论文
共 13 条
[1]  
[Anonymous], 2004, 1333512004 ISOISOIEC
[2]   Random forests [J].
Breiman, L .
MACHINE LEARNING, 2001, 45 (01) :5-32
[3]  
Christey S., 2007, VULNERABILITY TYPE D
[4]  
Duchi J, 2011, J MACH LEARN RES, V12, P2121
[5]   A decision-theoretic generalization of on-line learning and an application to boosting [J].
Freund, Y ;
Schapire, RE .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1997, 55 (01) :119-139
[6]  
Jain A, 2020, 2020 INT C EL SUST C, P193, DOI 10.1109/ICESC48915.2020.9155832
[7]  
Kalash M, 2018, INT CONF NEW TECHNOL
[8]  
Kingma DP, 2014, ADV NEUR IN, V27
[9]  
Martin B., 2011, SANS TOP 25
[10]  
Quinlan J. R., 1986, Machine Learning, V1, P81, DOI 10.1007/BF00116251