arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.12593cs.SEcs.CR
收藏

SHERLOCK:一种检测软件漏洞的深度学习方法

SHERLOCK: A Deep Learning Approach To Detect Software Vulnerabilities

Informatics Institute of Technology(信息学技术学院);University of Westminster(威斯敏斯特大学)

Saadh Jawwadh, Guhanathan Poravi

AI总结:

本研究提出了一种基于深度学习的软件漏洞检测方法,利用卷积神经网络(CNN)对源代码进行分析,以提高检测多个漏洞的准确性,特别是在CWE-199、CWE-120和CWE-Other方面表现突出,但因缺乏标准化数据集而存在改进空间。

摘要:

随着软件在各种应用中的日益依赖,软件漏洞检测问题变得更为关键。软件漏洞可能导致安全漏洞、数据窃取等负面后果。传统软件漏洞检测技术,如静态和动态分析,已被证明在检测多种漏洞方面效果不佳。为了解决这一问题,本研究采用了一种深度学习方法,特别是卷积神经网络(CNN),来解决软件漏洞检测问题。采用5折交叉验证方法来训练和评估CNN模型,该模型以分词后的源代码作为输入。研究发现,Sherlock能够成功在函数级别检测多种漏洞,其性能在CWE-199、CWE-120和CWE-Other方面表现尤为突出,整体准确率高,真阳性率和真阴性率显著。然而,由于缺乏标准化数据集,某些漏洞的性能不够可靠,这将成为未来研究的方向。结果表明,与当前技术相比,所提出的深度学习方法有潜力显著提高软件漏洞检测的准确性。

英文摘要:

The increasing reliance on software in various applications has made the problem of software vulnerability detection more critical. Software vulnerabilities can lead to security breaches, data theft, and other negative outcomes. Traditional software vulnerability detection techniques, such as static and dynamic analysis, have been shown to be ineffective at detecting multiple vulnerabilities. To address this issue, this study employed a deep learning approach, specifically Convolutional Neural Networks (CNN), to solve the software vulnerability detection problem. A 5-split cross-validation approach was used to train and evaluate the CNN model, which takes tokenized source code as input. The findings indicated that Sherlock successfully detected multiple vulnerabilities at the function level, and its performance was particularly strong for CWE-199, CWE-120, and CWE-Other, with an overall high accuracy rate and significant true positive and true negative values. However, the performance was less reliable for some vulnerabilities due to the lack of a standardized dataset which will be a future research direction. The results suggest that compared to current techniques, the proposed deep learning approach has the potential to substantially enhance the accuracy of software vulnerability detection.

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

↑