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

使用多个代码表示来确定静态分析的优先级

Using Multiple Code Representations to Prioritize Static Analysis Warnings

Thanh Trong Vu, Hieu Dinh Vo

摘要:

为了保证软件的质量和防止黑客对关键系统的攻击,经常使用静态分析工具来检测早期开发阶段的漏洞。然而,这些工具通常会报告大量的警告,误报率很高,这给开发人员带来了许多困难。在本文中,我们介绍VulRG,一种新的方法来解决这个问题。具体来说,VulRG根据警告成为真正正面的可能性进行预测和排名。为了预测这种可能性,VulRG结合了两个深度学习模型CNN和BiGRU,以捕获每个警告的程序语法,控制流和程序依赖性的上下文。我们在6,620个警告的真实数据集上的实验结果显示,VulRG的前50%召回率为90.9%。这意味着使用VulRG,90%的漏洞可以通过检查50%的警告来发现。此外,在Top-5%,VulRG可以在精度和召回率方面将最先进的方法提高+30%。

英文摘要:

In order to ensure the quality of software and prevent attacks from hackers on critical systems, static analysis tools are frequently utilized to detect vulnerabilities in the early development phase. However, these tools often report a large number of warnings with a high false-positive rate, which causes many difficulties for developers. In this paper, we introduce VulRG, a novel approach to address this problem. Specifically, VulRG predicts and ranks the warnings based on their likelihoods to be true positive. To predict that likelihood, VulRG combines two deep learning models CNN and BiGRU to capture the context of each warning in terms of program syntax, control flow, and program dependence. Our experimental results on a real-world dataset of 6,620 warnings show that VulRG's Recall at Top-50% is 90.9%. This means that using VulRG, 90% of the vulnerabilities can be found by examining only 50% of the warnings. Moreover, at Top-5%, VulRG can improve the state-of-the-art approach by +30% in both Precision and Recall.

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

↑