arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2209.05217cs.CR
收藏

面向可靠可扩展Linux内核CVE的自动静态固件分析

Towards Reliable and Scalable Linux Kernel CVE Attribution in Automated Static Firmware Analyses

René Helmke, Johannes vom Dorp

摘要:

在脆弱性评估中,基于软件组件的CVE属性是一种常见的方法来识别可能脆弱的系统规模。然而,这种以版本为中心的方法会对固件映像中的二进制分布式Linux内核产生很高的误报率。不过滤包含的易受攻击的组件是不可靠匹配的一个原因,因为异构的硬件属性、模块化和众多的开发流导致过多的供应商定制的构建。为了在保持分析方法可扩展性的同时提高结果可靠性,我们使用自动化静态固件分析来丰富基于版本的CVE匹配与来自二进制图像的内核特定构建数据。我们开源了一个属性管道,它收集内核配置和目标架构,以干式构建当前内核版本,并根据记录描述中受影响的文件引用过滤CVE。在一个案例研究与127路由器固件图像,我们表明,在天真的版本匹配相比,我们的方法识别68%的所有版本的CVE匹配为假阳性,并可靠地将它们从结果集中删除。对于所有匹配的12%,它提供了问题适用性的额外证据。对于19.4%,我们的方法没有提高可靠性,因为在CVE中缺少所需的文件引用。

英文摘要:

In vulnerability assessments, software component-based CVE attribution is a common method to identify possibly vulnerable systems at scale. However, such version-centric approaches yield high false-positive rates for binary distributed Linux kernels in firmware images. Not filtering included vulnerable components is a reason for unreliable matching, as heterogeneous hardware properties, modularity, and numerous development streams result in a plethora of vendor-customized builds. To make a step towards increased result reliability while retaining scalability of the analysis method, we enrich version-based CVE matching with kernel-specific build data from binary images using automated static firmware analysis. We open source an attribution pipeline that gathers kernel configuration and target architecture to dry build the present kernel version and filter CVEs based on affected file references in record descriptions. In a case study with 127 router firmware images, we show that in comparison to naive version matching, our approach identifies 68% of all version CVE matches as false-positives and reliably removes them from the result set. For 12% of all matches it provides additional evidence of issue applicability. For 19.4%, our approach does not improve reliability because required file references in CVEs are missing.

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

↑