Automated Vulnerability Detection in Source Code Using Minimum Intermediate Representation Learning

Author:

Li Xin,Wang LuORCID,Xin Yang,Yang Yixian,Chen Yuling

Abstract

Vulnerability is one of the root causes of network intrusion. An effective way to mitigate security threats is to discover and patch vulnerabilities before an attack. Traditional vulnerability detection methods rely on manual participation and incur a high false positive rate. The intelligent vulnerability detection methods suffer from the problems of long-term dependence, out of vocabulary, coarse detection granularity and lack of vulnerable samples. This paper proposes an automated and intelligent vulnerability detection method in source code based on the minimum intermediate representation learning. First, the sample in the form of source code is transformed into a minimum intermediate representation to exclude the irrelevant items and reduce the length of the dependency. Next, the intermediate representation is transformed into a real value vector through pre-training on an extended corpus, and the structure and semantic information are retained. Then, the vector is fed to three concatenated convolutional neural networks to obtain high-level features of vulnerability. Last, a classifier is trained using the learned features. To validate this vulnerability detection method, an experiment was performed. The empirical results confirmed that compared with the traditional methods and the state-of-the-art intelligent methods, our method has a better performance with fine granularity.

Publisher

MDPI AG

Subject

Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science

Reference39 articles.

1. WannaCry Ransomware Attackhttps://en.wikipedia.org/wiki/WannaCry_ransomware_attack

2. Flawfinder Software Official Websitehttps://www.dwheeler.com/flawfinder/

3. CheckMarx Software Official Websitehttps://www.checkmarx.com

Cited by 60 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A dual graph neural networks model using sequence embedding as graph nodes for vulnerability detection;Information and Software Technology;2025-01

2. A comprehensive analysis on software vulnerability detection datasets: trends, challenges, and road ahead;International Journal of Information Security;2024-07-23

3. A Static Detection Method for Code Defects Based on Transformer;Proceedings of the 2024 3rd International Conference on Networks, Communications and Information Technology;2024-06-07

4. Where is it? Tracing the Vulnerability-relevant Files from Vulnerability Reports;Proceedings of the IEEE/ACM 46th International Conference on Software Engineering;2024-04-12

5. Vulnerability detection in Java source code using a quantum convolutional neural network with self-attentive pooling, deep sequence, and graph-based hybrid feature extraction;Scientific Reports;2024-03-28

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3