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

WhisperFuzz:用于检测和定位处理器中时序漏洞的白盒模糊测试

WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors

Pallavi Borkar, Chen Chen, Mohamadreza Rostami, Nikhilesh Singh, Rahul Kande, Ahmad-Reza Sadeghi, Chester Rebeiro, Jeyavijayan Rajendran

AI总结:

WhisperFuzz提出首个结合静态分析的白盒模糊测试器,通过提取微架构状态转换并测量执行时间,检测并定位处理器时序漏洞,在RISC-V处理器中发现12个新漏洞。

摘要:

处理器中的时序漏洞已成为一种强大的威胁。由于处理器是任何计算系统的基础,识别这些缺陷至关重要。近年来,传统上用于检测软件漏洞的模糊测试技术,在揭示大规模硬件设计(如处理器)中的漏洞方面已显示出有前景的结果。研究人员已采用黑盒或灰盒模糊测试来检测处理器中的时序漏洞。然而,它们无法识别这些时序漏洞的位置或根本原因,也无法提供覆盖反馈以使设计者对处理器的安全性建立信心。为解决现有模糊测试器的不足,我们提出了WhisperFuzz——首个结合静态分析的白盒模糊测试器——旨在检测和定位处理器中的时序漏洞,并评估微架构时序行为的覆盖情况。WhisperFuzz利用处理器时序行为的基本性质,即微架构状态转换,来定位时序漏洞。WhisperFuzz从寄存器传输级(RTL)的处理器设计中自动提取微架构状态转换,并对设计进行插桩以监控状态转换作为覆盖。此外,WhisperFuzz测量被测设计(DUT)处理测试所需的时间,识别可能暗示时序漏洞的任何微小异常变化。WhisperFuzz在先进的开源RISC-V处理器:BOOM、Rocket Core和CVA6中检测到12个新的时序漏洞。其中八个违反了Zkt扩展的零延迟要求,被视为严重的安全漏洞。此外,WhisperFuzz还精确定位了新漏洞和现有漏洞的位置。

英文摘要:

Timing vulnerabilities in processors have emerged as a potent threat. As processors are the foundation of any computing system, identifying these flaws is imperative. Recently fuzzing techniques, traditionally used for detecting software vulnerabilities, have shown promising results for uncovering vulnerabilities in large-scale hardware designs, such as processors. Researchers have adapted black-box or grey-box fuzzing to detect timing vulnerabilities in processors. However, they cannot identify the locations or root causes of these timing vulnerabilities, nor do they provide coverage feedback to enable the designer's confidence in the processor's security. To address the deficiencies of the existing fuzzers, we present WhisperFuzz--the first white-box fuzzer with static analysis--aiming to detect and locate timing vulnerabilities in processors and evaluate the coverage of microarchitectural timing behaviors. WhisperFuzz uses the fundamental nature of processors' timing behaviors, microarchitectural state transitions, to localize timing vulnerabilities. WhisperFuzz automatically extracts microarchitectural state transitions from a processor design at the register-transfer level (RTL) and instruments the design to monitor the state transitions as coverage. Moreover, WhisperFuzz measures the time a design-under-test (DUT) takes to process tests, identifying any minor, abnormal variations that may hint at a timing vulnerability. WhisperFuzz detects 12 new timing vulnerabilities across advanced open-sourced RISC-V processors: BOOM, Rocket Core, and CVA6. Eight of these violate the zero latency requirements of the Zkt extension and are considered serious security vulnerabilities. Moreover, WhisperFuzz also pinpoints the locations of the new and the existing vulnerabilities.

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

↑