Learning to Detect Memory-related Vulnerabilities

计算机科学 语义学(计算机科学) 语法 脆弱性(计算) 背景(考古学) 编码(集合论) 人工智能 机器学习 程序设计语言 计算机安全 古生物学 集合(抽象数据类型) 生物
作者
Sicong Cao,Xiaobing Sun,Lili Bo,Rongxin Wu,Bin Li,Xiaoxue Wu,Chuanqi Tao,Tao Zhang,Wei Liu
出处
期刊:ACM Transactions on Software Engineering and Methodology [Association for Computing Machinery]
卷期号:33 (2): 1-35 被引量:13
标识
DOI:10.1145/3624744
摘要

Memory-related vulnerabilities can result in performance degradation or even program crashes, constituting severe threats to the security of modern software. Despite the promising results of deep learning (DL)-based vulnerability detectors, there exist three main limitations: (1) rich contextual program semantics related to vulnerabilities have not yet been fully modeled; (2) multi-granularity vulnerability features in hierarchical code structure are still hard to be captured; and (3) heterogeneous flow information is not well utilized. To address these limitations, in this article, we propose a novel DL-based approach, called MVD+ , to detect memory-related vulnerabilities at the statement-level. Specifically, it conducts both intraprocedural and interprocedural analysis to model vulnerability features, and adopts a hierarchical representation learning strategy, which performs syntax-aware neural embedding within statements and captures structured context information across statements based on a novel Flow-Sensitive Graph Neural Networks, to learn both syntactic and semantic features of vulnerable code. To demonstrate the performance, we conducted extensive experiments against eight state-of-the-art DL-based approaches as well as five well-known static analyzers on our constructed dataset with 6,879 vulnerabilities in 12 popular C/C++ applications. The experimental results confirmed that MVD+ can significantly outperform current state-of-the-art baselines and make a great trade-off between effectiveness and efficiency.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
初景发布了新的文献求助10
刚刚
1秒前
charles发布了新的文献求助10
1秒前
1秒前
feather完成签到,获得积分10
1秒前
1秒前
Crystal完成签到,获得积分10
1秒前
楠湘完成签到,获得积分10
1秒前
1秒前
滴滴完成签到,获得积分10
2秒前
982289172发布了新的文献求助10
2秒前
你好呀完成签到 ,获得积分10
2秒前
starry完成签到,获得积分10
3秒前
沉默诗兰完成签到,获得积分10
3秒前
tong发布了新的文献求助10
3秒前
4秒前
VV发布了新的文献求助10
4秒前
酒酒完成签到,获得积分10
4秒前
Tia完成签到 ,获得积分10
4秒前
5秒前
Dawn完成签到,获得积分10
5秒前
科研通AI6.3的应助被清辉影采纳,获得10
5秒前
在水一方的应助被fortuna采纳,获得10
5秒前
6秒前
6秒前
文艺紫菜发布了新的文献求助10
7秒前
kinsley完成签到,获得积分10
7秒前
7秒前
Lucas的应助被punch采纳,获得10
7秒前
傢誠发布了新的文献求助10
7秒前
7秒前
快乐的鱼发布了新的文献求助10
8秒前
orixero的应助被zhz采纳,获得10
8秒前
8秒前
zz发布了新的文献求助10
9秒前
所所的应助被PEITON采纳,获得10
10秒前
jun完成签到,获得积分10
10秒前
qiaobbbbb发布了新的文献求助10
11秒前
章绝施发布了新的文献求助10
11秒前
cc发布了新的文献求助10
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1700
The World Atlas of Wine 9th edition 1000
奈特基础组织学:配套组织病理学(第4版)(Netter's Essential Histology With Correlated Histopathology) 800
八旗制度の研究 600
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8187592
求助须知:如何正确求助?哪些是违规求助? 9575705
关于积分的说明 21842471
捐赠科研通 7785407
什么是DOI,文献DOI怎么找? 3435057
关于科研通互助平台的介绍 2559461
邀请新用户注册赠送积分活动 2481952