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

JustSTART:如何通过模糊测试在Xilinx UltraScale(+)上发现RSA认证绕过漏洞

JustSTART: How to Find an RSA Authentication Bypass on Xilinx UltraScale(+) with Fuzzing

Maik Ender, Felix Hahn, Marc Fyrbiak, Amir Moradi, Christof Paar

AI总结:

本研究提出ConFuzz框架对Xilinx FPGA配置引擎进行模糊测试,定义3种新策略,成功发现导致系统崩溃的漏洞,并找到能绕过UltraScale(+) RSA认证的JustSTART漏洞。

摘要:

模糊测试是软件领域中用于发现漏洞和缺陷的成熟技术。然而,模糊测试在硬件系统安全漏洞方面的应用十分匮乏,主要原因在于需要访问设计信息(HDL源代码)。此外,在运行时观察硬件内部状态通常是一种无效的信息来源,因为其文档通常不公开。同时,由于带宽受限的分析接口(JTAG,以及对内部模块的极少内省),这种运行时的观察也效率低下。在本研究中,我们针对7-Series和UltraScale(+) FPGA配置引擎(即控制FPGA内(安全)比特流配置的控制平面)进行模糊测试研究。我们的目标是检验模糊测试在分析和记录FPGA配置引擎不透明内部运作方面的有效性,并主要侧重于识别安全漏洞。仅使用公开可用的芯片和分散的文档,我们首先设计并实现了ConFuzz,这是一个先进的FPGA配置引擎模糊测试和快速原型设计框架。基于对比特流文件格式的详细理解,我们随后为Xilinx配置引擎系统地定义了3种新颖的关键模糊测试策略。此外,我们的策略通过变异型结构感知模糊测试器执行,并融合了各种新颖的、针对FPGA定制的优化。我们的评估揭示了配置引擎中此前未记录的行为,包括导致FPGA无响应状态的系统崩溃等关键发现。此外,我们的研究不仅重新发现了starbleed攻击,还发现了JustSTART(CVE-2023-20570),该漏洞能够绕过Xilinx UltraScale(+)的RSA认证。请注意,我们还讨论了相应的对策。

英文摘要:

Fuzzing is a well-established technique in the software domain to uncover bugs and vulnerabilities. Yet, applications of fuzzing for security vulnerabilities in hardware systems are scarce, as principal reasons are requirements for design information access (HDL source code). Moreover, observation of internal hardware state during runtime is typically an ineffective information source, as its documentation is often not publicly available. In addition, such observation during runtime is also inefficient due to bandwidth-limited analysis interfaces (JTAG, and minimal introspection of internal modules). In this work, we investigate fuzzing for 7-Series and UltraScale(+) FPGA configuration engines, the control plane governing the (secure) bitstream configuration within the FPGA. Our goal is to examine the effectiveness of fuzzing to analyze and document the opaque inner workings of FPGA configuration engines, with a primary emphasis on identifying security vulnerabilities. Using only the publicly available chip and dispersed documentation, we first design and implement ConFuzz, an advanced FPGA configuration engine fuzzing and rapid prototyping framework. Based on our detailed understanding of the bitstream file format, we then systematically define 3 novel key fuzzing strategies for Xilinx configuration engines. Moreover, our strategies are executed through mutational structure-aware fuzzers and incorporate various novel custom-tailored, FPGA-specific optimizations. Our evaluation reveals previously undocumented behavior within the configuration engine, including critical findings such as system crashes leading to unresponsive states of the FPGA. In addition, our investigations not only lead to the rediscovery of the starbleed attack but also uncover JustSTART (CVE-2023-20570), capable of circumventing RSA authentication for Xilinx UltraScale(+). Note that we also discuss countermeasures.

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

↑