arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.13097cs.CR
收藏

DeepVulSeeker:一种基于代码图结构和预训练机制的漏洞识别框架

DeepVulSeeker: A Novel Vulnerability Identification Framework via Code Graph Structure and Pre-training Mechanism

Jin Wang, Hui Xiao, Shuwen Zhong, Yinhao Xiao

摘要:

软件漏洞会对计算系统造成严重危害。它们可能导致系统崩溃,隐私泄露,甚至物理损坏。及时、准确地识别出大量软件代码中的漏洞是目前对其进行修补的必要前提。不幸的是,目前的漏洞识别方法,无论是经典的还是基于深度学习的方法,都存在一些严重的缺陷,使它们无法满足当今软件行业提出的需求。为了克服这些缺点,在本文中,我们提出了DeepVulSeeker,一种新型的全自动漏洞识别框架,它利用了代码图结构和语义特征,并借助最近先进的图形表示自注意力和预训练机制。我们的实验表明,DeepVulSeeker不仅在传统的CWE数据集上达到了高达0.99的准确率,而且在两个高度复杂的数据集上也优于所有其他验证方法。我们还基于三个案例研究对DeepVulSeeker进行了验证,发现DeepVulSeeker能够理解能力的含义。我们已经完全实现了DeepVulSeeker,并将其开源以供未来的后续研究。

英文摘要:

Software vulnerabilities can pose severe harms to a computing system. They can lead to system crash, privacy leakage, or even physical damage. Correctly identifying vulnerabilities among enormous software codes in a timely manner is so far the essential prerequisite to patch them. Unfortantely, the current vulnerability identification methods, either the classic ones or the deep-learning-based ones, have several critical drawbacks, making them unable to meet the present-day demands put forward by the software industry. To overcome the drawbacks, in this paper, we propose DeepVulSeeker, a novel fully automated vulnerability identification framework, which leverages both code graph structures and the semantic features with the help of the recently advanced Graph Representation Self-Attention and pre-training mechanisms. Our experiments show that DeepVulSeeker not only reaches an accuracy as high as 0.99 on traditional CWE datasets, but also outperforms all other exisiting methods on two highly-complicated datasets. We also testified DeepVulSeeker based on three case studies, and found that DeepVulSeeker is able to understand the implications of the vulnerbilities. We have fully implemented DeepVulSeeker and open-sourced it for future follow-up research.

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

↑