arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.06756cs.LGcs.AIcs.CRstat.ML
收藏

SySeVR:一个使用深度学习检测软件漏洞的框架

SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities

Huazhong University of Science and Technology(华中科技大学);Hebei University(河北大学);University of Colorado Colorado Springs(科罗拉多大学科罗拉多斯普林斯分校);University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校)

Zhen Li, Deqing Zou, Shouhuai Xu, Hai Jin, Yawei Zhu, Zhaoxuan Chen

摘要:

检测软件漏洞(或简称漏洞)是一个尚待解决的重要问题,正如每天报告的许多漏洞所表明的那样。这就需要机器学习方法来检测漏洞。深度学习在这方面很有吸引力,因为它消除了手动定义特征的要求。尽管深度学习在其他应用领域取得了巨大的成功,但其对漏洞检测的适用性尚未得到系统的理解。为了填补这一空白,我们提出了第一个使用深度学习来检测具有源代码的C/C++程序中的漏洞的系统框架。该框架被称为基于语法,基于语义和矢量表示(SySeVR),专注于获得可以容纳与漏洞相关的语法和语义信息的程序表示。我们的实验与4个软件产品证明了该框架的实用性:我们检测到15个漏洞,没有在国家漏洞数据库中报告。在这15个漏洞中,有7个是未知的,并已报告给供应商,其他8个已被供应商在发布相关软件产品的新版本时“悄悄”修补。

英文摘要:

The detection of software vulnerabilities (or vulnerabilities for short) is an important problem that has yet to be tackled, as manifested by the many vulnerabilities reported on a daily basis. This calls for machine learning methods for vulnerability detection. Deep learning is attractive for this purpose because it alleviates the requirement to manually define features. Despite the tremendous success of deep learning in other application domains, its applicability to vulnerability detection is not systematically understood. In order to fill this void, we propose the first systematic framework for using deep learning to detect vulnerabilities in C/C++ programs with source code. The framework, dubbed Syntax-based, Semantics-based, and Vector Representations (SySeVR), focuses on obtaining program representations that can accommodate syntax and semantic information pertinent to vulnerabilities. Our experiments with 4 software products demonstrate the usefulness of the framework: we detect 15 vulnerabilities that are not reported in the National Vulnerability Database. Among these 15 vulnerabilities, 7 are unknown and have been reported to the vendors, and the other 8 have been "silently" patched by the vendors when releasing newer versions of the pertinent software products.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑