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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
hengxian发布了新的文献求助10
刚刚
1秒前
JamesPei应助独特的败采纳,获得10
1秒前
NexusExplorer应助细心的起眸采纳,获得10
2秒前
2秒前
情怀应助学术不宕机采纳,获得10
2秒前
xiaolizi应助Yoyo采纳,获得20
3秒前
Fiona发布了新的文献求助10
3秒前
科研通AI6.2应助yolo采纳,获得10
3秒前
3秒前
4秒前
爆米花应助Wtony采纳,获得10
4秒前
4秒前
白夜发布了新的文献求助10
4秒前
4秒前
orixero应助温暖的幼枫采纳,获得10
5秒前
许晴发布了新的文献求助10
5秒前
ywzwszl完成签到,获得积分0
5秒前
万能图书馆应助吴竟钊采纳,获得10
5秒前
尼可刹米洛贝林完成签到,获得积分10
6秒前
1q完成签到,获得积分10
6秒前
徐x完成签到 ,获得积分10
6秒前
喜悦善斓完成签到,获得积分20
7秒前
糖果发布了新的文献求助10
8秒前
8秒前
小曦发布了新的文献求助10
9秒前
9秒前
9秒前
10秒前
11秒前
SciGPT应助太阳的小糖堆采纳,获得10
11秒前
tqs发布了新的文献求助10
11秒前
fh1006发布了新的文献求助10
12秒前
12秒前
Joker发布了新的文献求助10
12秒前
细心的起眸完成签到,获得积分20
13秒前
13秒前
吴祥坤发布了新的文献求助10
13秒前
行走的海绵完成签到,获得积分10
14秒前
Jayden发布了新的文献求助10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Navigating Normative Orders. Interdisciplinary Perspectives 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7758426
求助须知:如何正确求助?哪些是违规求助? 9304483
关于积分的说明 20280691
捐赠科研通 7342154
什么是DOI,文献DOI怎么找? 3312173
关于科研通互助平台的介绍 2462812
邀请新用户注册赠送积分活动 2326026