Vulmg: A Static Detection Solution For Source Code Vulnerabilities Based On Code Property Graph and Graph Attention Network

计算机科学 邻接矩阵 源代码 图形 财产(哲学) 编码(集合论) 功能(生物学) 理论计算机科学 人工智能 脆弱性(计算) 脆弱性评估 机器学习 数据挖掘 计算机安全 程序设计语言 哲学 集合(抽象数据类型) 认识论 进化生物学 生物 心理学 心理弹性 心理治疗师
作者
Haojie Zhang,Yujun Li,Yiwei Liu,Nan-Xin Zhou
标识
DOI:10.1109/iccwamtip53232.2021.9674145
摘要

As the number of vulnerabilities continues to rise, security incidents triggered by vulnerabilities emerge endlessly. Current vulnerability detection methods still have some problems, such as detecting only a single function, relying heavily on expert knowledge, and being unable to achieve automation. According to the observation of the Juliet dataset, we find vulnerability exists not only within the single function but also between the called function and the calling function. Meanwhile, there are some differences between vulnerable functions and non-vulnerable functions in the code property graph. Therefore, this article proposes a vulnerability detection solution named VULMG, which converts vulnerability detection into the graph classification problem. VULMG includes a vectorization component named VecG and a deep learning classification model named MGGAT. Based on the code property graph, VecG extracts the lexical, grammatical, and semantic information of the source code as a feature matrix and extracts information such as structure, control, and dependence as three adjacency matrices. MGGAT is a deep learning model based on the graph attention network, which is used for graph classification. Besides, VULMG uses the FCG to associate the calling function with the called function so that it can detect the cross-function vulnerabilities. We selected CWE369 and CWE476 from the Juliet dataset for testing, and the F1 scores were 94.43% and 96.3%. The evaluation results indicate that VULMG outperforms Flawfinder, RATS, BiLSTM, SVM, and GCN, which verifies the effectiveness of the proposed solution.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
张 大头完成签到 ,获得积分0
1秒前
淳于碧空完成签到 ,获得积分10
1秒前
bkagyin应助中中会发光采纳,获得10
6秒前
supervirus完成签到,获得积分10
7秒前
星辰完成签到 ,获得积分10
7秒前
9秒前
对方却不知道完成签到 ,获得积分20
9秒前
CC发布了新的文献求助20
10秒前
11秒前
清脆的霸发布了新的文献求助10
13秒前
16秒前
聪慧的石头完成签到,获得积分10
16秒前
18秒前
静谧180完成签到 ,获得积分10
21秒前
xiaobao完成签到,获得积分10
21秒前
乐乐应助zorro3574采纳,获得10
23秒前
激动的手链完成签到,获得积分20
24秒前
慧19960418发布了新的文献求助10
25秒前
顺利兰完成签到 ,获得积分10
26秒前
27秒前
弹剑作歌完成签到,获得积分10
28秒前
野猪完成签到,获得积分10
30秒前
鲁彦华发布了新的文献求助10
30秒前
w婷完成签到 ,获得积分10
32秒前
Mercy应助殷超采纳,获得10
33秒前
英俊的铭应助慧19960418采纳,获得10
34秒前
洛尘发布了新的文献求助10
34秒前
35秒前
xiehui完成签到,获得积分10
36秒前
小全完成签到,获得积分10
36秒前
GBZ完成签到 ,获得积分10
37秒前
铃兰完成签到,获得积分10
37秒前
38秒前
39秒前
彼得大帝发布了新的文献求助10
40秒前
淀粉肠发布了新的文献求助10
41秒前
jay完成签到 ,获得积分10
41秒前
落叶完成签到 ,获得积分10
42秒前
bad boy完成签到,获得积分10
43秒前
己卯兔完成签到 ,获得积分10
43秒前
高分求助中
请在求助之前详细阅读求助说明!!!! 20000
Sphäroguß als Werkstoff für Behälter zur Beförderung, Zwischen- und Endlagerung radioaktiver Stoffe - Untersuchung zu alternativen Eignungsnachweisen: Zusammenfassender Abschlußbericht 1500
One Man Talking: Selected Essays of Shao Xunmei, 1929–1939 1000
Yuwu Song, Biographical Dictionary of the People's Republic of China 700
[Lambert-Eaton syndrome without calcium channel autoantibodies] 520
The Three Stars Each: The Astrolabes and Related Texts 500
A radiographic standard of reference for the growing knee 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2469149
求助须知:如何正确求助?哪些是违规求助? 2136380
关于积分的说明 5443272
捐赠科研通 1860897
什么是DOI,文献DOI怎么找? 925512
版权声明 562701
科研通“疑难数据库(出版商)”最低求助积分说明 495111