A new approach to software vulnerability detection based on CPG analysis

被引:3
|
作者
Do Xuan, Cho [1 ]
机构
[1] Posts & Telecommun Inst Technol, Fac Informat Secur, Hanoi, Vietnam
来源
COGENT ENGINEERING | 2023年 / 10卷 / 01期
关键词
source code vulnerabilities; source code vulnerability detection; source code features; feature profile; Deep Graph Convolutional Neural Network; GRAPH; PERFORMANCE; IMPACT;
D O I
10.1080/23311916.2023.2221962
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Detecting source code vulnerabilities is an essential issue today. In this paper, to improve the efficiency of detecting vulnerabilities in software written in C/C++, we propose to use a combination of Deep Graph Convolutional Neural Network (DGCNN) and code property graph (CPG). Specifically, 3 main proposed phases in the research method include: phase 1: building feature profiles of source code. At this step, we suggest using analysis techniques such as Word2vec, one hot encoding to standardize and analyze the source code; phase 2: extracting features of source code based on feature profiles. Accordingly, at this phase, we propose to use Deep Graph Convolutional Neural Network (DGCNN) model to analyze and extract features of the source code; phase 3: classifying source code based on the features extracted in phase 2 to find normal source code and source code containing security vulnerabilities. Some scenarios for comparing and evaluating the proposed method in this study compared with other approaches we have taken show the superior effectiveness of our approach. Besides, this result proves that our method in this paper is not only correct and reasonable, but it also opens up a new approach to the task of detecting source code vulnerabilities.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] A novel approach for software vulnerability detection based on advanced computing
    Cho Do Xuan
    Huynh Nhat Anh
    Neural Computing and Applications, 2025, 37 (6) : 5121 - 5139
  • [2] A New Framework for Software Vulnerability Detection Based on an Advanced Computing
    Cong, Bui Van
    Xuan, Cho Do
    CMC-COMPUTERS MATERIALS & CONTINUA, 2024, 79 (03): : 3699 - 3723
  • [3] 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
  • [4] A novel approach for software vulnerability detection based on intelligent cognitive computing
    Xuan, Cho Do
    Mai, Dao Hoang
    Thanh, Ma Cong
    Van Cong, Bui
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (15): : 17042 - 17078
  • [5] A novel approach for software vulnerability detection based on intelligent cognitive computing
    Cho Do Xuan
    Dao Hoang Mai
    Ma Cong Thanh
    Bui Van Cong
    The Journal of Supercomputing, 2023, 79 : 17042 - 17078
  • [6] An advanced computing approach for software vulnerability detection
    Do Xuan C.
    Cong B.V.
    Multimedia Tools and Applications, 2024, 83 (39) : 86707 - 86740
  • [7] A Software Vulnerability Rating Approach Based on the Vulnerability Database
    Luo, Jian
    Lo, Kueiming
    Qu, Haoran
    JOURNAL OF APPLIED MATHEMATICS, 2014,
  • [8] 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)
  • [9] A new method of software vulnerability detection based on a quantum neural network
    Xin Zhou
    Jianmin Pang
    Feng Yue
    Fudong Liu
    Jiayu Guo
    Wenfu Liu
    Zhihui Song
    Guoqiang Shu
    Bing Xia
    Zheng Shan
    Scientific Reports, 12
  • [10] A deep learning-based approach for software vulnerability detection using code metrics
    Subhan, Fazli
    Wu, Xiaoxue
    Bo, Lili
    Sun, Xiaobing
    Rahman, Muhammad
    IET SOFTWARE, 2022, 16 (05) : 516 - 526