arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.11977cs.CRcs.DL
收藏

健全的精神寓于健全的身体:面向漏洞研究的可靠固件语料库

Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research

René Helmke, Elmar Padilla, Nils Aschenbruck

AI总结:

本文针对固件语料库构建中样本获取、共享受限和可复现性差等挑战,提出指导原则并系统分析44篇顶级论文的实践,最终构建了可复现的Linux固件语料库LFwC。

摘要:

用于漏洞研究的固件语料库应当具备科学上的可靠性。然而,若干实际挑战使可靠语料库的构建变得复杂:例如,样本获取十分困难,必须克服专有或加密数据带来的障碍。由于镜像内容在分析之前是未知的,因此很难选择能够满足科学要求的高质量样本。理想情况下,我们通过共享数据来互相帮助。但在此处,由于版权法的限制,共享存在困难。相反,论文必须仔细记录语料库构建的每一步:如果某一步不清晰,可复现性就会受到损害。这会对结果可验证性、代表性以及由此而来的可靠性产生连锁影响。尽管面临所有这些挑战,我们如何维持固件语料库的可靠性?本文深入分析了问题空间,并考察了其对研究的影响:我们提炼出对语料库构建有显著影响的实际二进制分析挑战。我们利用这些见解推导出有助于研究人员培育语料库可复现性和代表性的指导原则。我们将这些原则应用于44篇顶级论文,并系统分析了科学的语料库构建实践。我们的全面分析证实,目前相关工作缺乏共同基础。这显示了我们的指导原则的附加价值,因为它们发现了语料库构建中的方法性问题,并揭示了文档中极小的垫脚石。这些问题模糊了对代表性的认识,阻碍了可复现性,从而对原本优秀工作的可靠性产生了负面影响。最后,我们展示了我们指导原则的可行性,并构建了一个新的、可复现的用于Linux固件大规模分析的语料库:LFwC。我们共享丰富的元数据,以实现良好(且经过验证)的可复现性。我们验证了解包、去重、识别内容、提供基准真值,并展示了LFwC在研究中的实用性。

英文摘要:

Firmware corpora for vulnerability research should be scientifically sound. Yet, several practical challenges complicate the creation of sound corpora: Sample acquisition, e.g., is hard and one must overcome the barrier of proprietary or encrypted data. As image contents are unknown prior analysis, it is hard to select high-quality samples that can satisfy scientific demands. Ideally, we help each other out by sharing data. But here, sharing is problematic due to copyright laws. Instead, papers must carefully document each step of corpus creation: If a step is unclear, replicability is jeopardized. This has cascading effects on result verifiability, representativeness, and, thus, soundness. Despite all challenges, how can we maintain the soundness of firmware corpora? This paper thoroughly analyzes the problem space and investigates its impact on research: We distill practical binary analysis challenges that significantly influence corpus creation. We use these insights to derive guidelines that help researchers to nurture corpus replicability and representativeness. We apply them to 44 top tier papers and systematically analyze scientific corpus creation practices. Our comprehensive analysis confirms that there is currently no common ground in related work. It shows the added value of our guidelines, as they discover methodical issues in corpus creation and unveil miniscule step stones in documentation. These blur visions on representativeness, hinder replicability, and, thus, negatively impact the soundness of otherwise excellent work. Finally, we show the feasibility of our guidelines and build a new, replicable corpus for large-scale analyses on Linux firmware: LFwC. We share rich meta data for good (and proven) replicability. We verify unpacking, deduplicate, identify contents, provide ground truth, and show LFwC's utility for research.

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

↑