BGNN4VD: Constructing Bidirectional Graph Neural-Network for Vulnerability Detection

计算机科学 深度学习 人工智能 源代码 图形 卷积神经网络 控制流程图 分类器(UML) 人工神经网络 编码(集合论) 脆弱性(计算) 抽象语法树 机器学习 数据挖掘 抽象语法 模式识别(心理学) 语法 理论计算机科学 程序设计语言 集合(抽象数据类型) 计算机安全
作者
Sicong Cao,Xiaobing Sun,Lili Bo,Weiqin Ying,Bin Li
出处
期刊:Information & Software Technology [Elsevier BV]
卷期号:136: 106576-106576 被引量:158
标识
DOI:10.1016/j.infsof.2021.106576
摘要

Previous studies have shown that existing deep learning-based approaches can significantly improve the performance of vulnerability detection. They represent code in various forms and mine vulnerability features with deep learning models. However, the differences of code representation forms and deep learning models make various approaches still have some limitations. In practice, their false-positive rate (FPR) and false-negative rate (FNR) are still high. To address the limitations of existing deep learning-based vulnerability detection approaches, we propose BGNN4VD (Bidirectional Graph Neural Network for Vulnerability Detection), a vulnerability detection approach by constructing a Bidirectional Graph Neural-Network (BGNN). In Phase 1, we extract the syntax and semantic information of source code through abstract syntax tree (AST), control flow graph (CFG), and data flow graph (DFG). Then in Phase 2, we use vectorized source code as input to Bidirectional Graph Neural-Network (BGNN). In Phase 3, we learn the different features between vulnerable code and non-vulnerable code by introducing backward edges on the basis of traditional Graph Neural-Network (GNN). Finally in Phase 4, a Convolutional Neural-Network (CNN) is used to further extract features and detect vulnerabilities through a classifier. We evaluate BGNN4VD on four popular C/C++ projects from NVD and GitHub, and compare it with four state-of-the-art (Flawfinder, RATS, SySeVR, and VUDDY) vulnerab ility detection approaches. Experiment results show that, when compared these baselines, BGNN4VD achieves 4.9%, 11.0%, and 8.4% improvement in F1-measure, accuracy and precision, respectively. The proposed BGNN4VD achieves a higher precision and accuracy than the state-of-the-art methods. In addition, when applied on the latest vulnerabilities reported by CVE, BGNN4VD can still achieve a precision at 45.1%, which demonstrates the feasibility of BGNN4VD in practical application.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Sunk发布了新的文献求助10
刚刚
1秒前
29完成签到,获得积分10
1秒前
2秒前
Yrzyc应助科研通管家采纳,获得10
2秒前
桐桐应助科研通管家采纳,获得10
2秒前
2秒前
什么小蛋糕完成签到,获得积分20
2秒前
搜集达人应助科研通管家采纳,获得10
2秒前
顾矜应助谨慎雪碧采纳,获得10
2秒前
科研通AI2S应助科研通管家采纳,获得10
3秒前
乐乐应助科研通管家采纳,获得10
3秒前
3秒前
深情安青应助科研通管家采纳,获得10
3秒前
星辰大海应助科研通管家采纳,获得10
3秒前
小二郎应助科研通管家采纳,获得10
3秒前
乐乐应助科研通管家采纳,获得10
3秒前
MFLJH发布了新的文献求助10
3秒前
传奇3应助有魅力的白玉采纳,获得10
4秒前
不安若之完成签到,获得积分10
4秒前
stephenzh完成签到,获得积分10
5秒前
7秒前
nan发布了新的文献求助10
7秒前
今后应助vagabond采纳,获得10
8秒前
Peggie完成签到,获得积分10
9秒前
曾经小伙完成签到 ,获得积分10
9秒前
9秒前
独特乘云完成签到,获得积分10
9秒前
lancelot完成签到,获得积分10
10秒前
10秒前
11秒前
bk应助活力川采纳,获得10
12秒前
bingyv发布了新的文献求助10
12秒前
13秒前
球球的铲屎官完成签到,获得积分10
14秒前
刘牛牛发布了新的文献求助10
14秒前
小白完成签到,获得积分10
15秒前
过时的烨磊完成签到 ,获得积分10
15秒前
Guofa.完成签到 ,获得积分10
16秒前
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to Helicopter and Tiltrotor Flight Simulation, Second Edition 2500
卤化钙钛矿人工突触的研究 2000
Malcolm Fraser : a biography 700
Signals, Systems, and Signal Processing 610
Software that combines deep learning,3D reconstruction and CFD to analyze the state of carotid arteries from ultrasound imaging 600
Bounds for Statistical Estimation in Semiparametric Models 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6500890
求助须知:如何正确求助?哪些是违规求助? 8295945
关于积分的说明 17705065
捐赠科研通 5597874
什么是DOI,文献DOI怎么找? 2918467
邀请新用户注册赠送积分活动 1895685
关于科研通互助平台的介绍 1756624