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

ParsEval:使用真实世界野外X.509证书评估解析行为

ParsEval: Evaluation of Parsing Behavior using Real-world Out-in-the-wild X.509 Certificates

Stefan Tatschner, Sebastian N. Peters, Michael P. Heinl, Tobias Specht, Thomas Newe

AI总结:

本研究通过使用真实世界的大量X.509证书测试多个解析库,发现解析器间存在显著差异及wolfSSL异常,证实了生态系统的碎片化问题。

摘要:

X.509证书在通过互联网实现安全通信方面发挥着至关重要的作用,它支持身份验证和数据完整性。凭借丰富的功能集,X.509标准由多份全面的ISO/IEC文档定义。由于其互联网范围内的广泛使用,多种编程语言中存在不同的实现,导致了一个庞大且碎片化的生态系统。本研究探讨了研究问题:“X.509证书解析器之间是否存在用户可见且与安全相关的差异?”我们调查了提供X.509证书解析API的相关库,并开发了一套合适的测试套件。从34个库中选出了6个进行进一步分析。使用来自真实世界数据集的186,576,846个不同证书调用所选库的X.509解析模块,并调查了观察到的错误代码。本研究揭示了wolfSSL的X.509解析模块中的一个异常,以及生态系统中存在根本性差异。虽然相关研究如今大多侧重于模糊测试技术,产生人工证书,但本研究证实,现有的X.509解析模块差异很大,即使对于真实世界的野外证书,也会产生不同的结果。

英文摘要:

X.509 certificates play a crucial role in establishing secure communication over the internet by enabling authentication and data integrity. Equipped with a rich feature set, the X.509 standard is defined by multiple, comprehensive ISO/IEC documents. Due to its internet-wide usage, there are different implementations in multiple programming languages leading to a large and fragmented ecosystem. This work addresses the research question "Are there user-visible and security-related differences between X.509 certificate parsers?". Relevant libraries offering APIs for parsing X.509 certificates were investigated and an appropriate test suite was developed. From 34 libraries 6 were chosen for further analysis. The X.509 parsing modules of the chosen libraries were called with 186,576,846 different certificates from a real-world dataset and the observed error codes were investigated. This study reveals an anomaly in wolfSSL's X.509 parsing module and that there are fundamental differences in the ecosystem. While related studies nowadays mostly focus on fuzzing techniques resulting in artificial certificates, this study confirms that available X.509 parsing modules differ largely and yield different results, even for real-world out-in-the-wild certificates.

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

↑