arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.01921cs.SE
收藏

基于规则和基于学习的静态应用安全测试方法的实证研究

An Empirical Study of Rule-Based and Learning-Based Approaches for Static Application Security Testing

Roland Croft, Dominic Newlands, Ziyu Chen, M. Ali Babar

摘要:

背景:静态应用程序安全测试(SAST)工具旨在帮助开发人员检测源代码中的安全问题。这些工具通常使用基于规则的方法来扫描源代码中的安全漏洞。然而,由于这些工具的显著缺点(即,误报率高),基于学习的软件漏洞预测(SVP)方法正在成为一种流行的方法。目标:尽管这两种方法的目标相似,但它们的比较价值尚未探讨。我们提供了一个实证分析SAST工具和SVP模型,以确定其相对能力的源代码安全分析。方法:我们评估了几种常见的SAST工具和SVP模型在各种漏洞数据集上的检测和评估性能。我们进一步评估的可行性和潜在的好处相结合的两种方法。结果如下:SAST工具和SVP模型提供类似的检测功能,但SVP模型在检测和评估方面表现出更好的整体性能。由于缺乏协同作用,这两种方法很难统一。结论:我们的研究产生了12个主要发现,这些发现提供了对这两种方法的能力和协同作用的见解。通过这些观察,我们提供了使用和改进的建议。

英文摘要:

Background: Static Application Security Testing (SAST) tools purport to assist developers in detecting security issues in source code. These tools typically use rule-based approaches to scan source code for security vulnerabilities. However, due to the significant shortcomings of these tools (i.e., high false positive rates), learning-based approaches for Software Vulnerability Prediction (SVP) are becoming a popular approach. Aims: Despite the similar objectives of these two approaches, their comparative value is unexplored. We provide an empirical analysis of SAST tools and SVP models, to identify their relative capabilities for source code security analysis. Method: We evaluate the detection and assessment performance of several common SAST tools and SVP models on a variety of vulnerability datasets. We further assess the viability and potential benefits of combining the two approaches. Results: SAST tools and SVP models provide similar detection capabilities, but SVP models exhibit better overall performance for both detection and assessment. Unification of the two approaches is difficult due to lacking synergies. Conclusions: Our study generates 12 main findings which provide insights into the capabilities and synergy of these two approaches. Through these observations we provide recommendations for use and improvement.

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

↑