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

基于泄漏契约的开源处理器覆盖率引导硅前模糊测试

Coverage-Guided Pre-Silicon Fuzzing of Open-Source Processors based on Leakage Contracts

Saarland University(萨尔兰州立大学);Sharif University of Technology(谢里夫理工大学)

Gideon Geier, Pariya Hajipour, Jan Reineke

AI总结:

针对现有硬件验证难扩展、传统模糊测试无法检测侧信道泄漏的问题,提出基于自组合偏差覆盖率指标的契约模糊测试方法,在RISC-V开源核上验证其可更快发现安全漏洞。

摘要:

软硬件泄漏契约已成为一种用于明确现代处理器侧信道安全保障的形式化方法,但验证复杂硬件设计是否符合其契约仍是一项重大挑战。形式化验证虽能提供强保障,现有验证方法却难以扩展到工业级规模的设计;反之,主流硬件模糊测试方法旨在发现功能正确性缺陷,却无法检测Spectre类信息泄漏问题。为填补这一空白,我们提出一种可扩展的新方法:覆盖率引导的软硬件契约模糊测试。该方法利用自组合框架,将信息泄漏直接转化为可观测的微架构状态偏差。我们的核心贡献是提出了面向安全的新型覆盖率指标——自组合偏差(SCD),可引导模糊测试器探索违反泄漏契约的执行路径。我们实现了该方法,并在两款开源RISC-V核上开展了全面评估:顺序执行的Rocket Core与复杂乱序执行的BOOM核。实验结果表明,覆盖率引导策略优于无引导模糊测试,且更高的微架构覆盖率可更快发现BOOM核中的安全漏洞。

英文摘要:

Hardware-software leakage contracts have emerged as a formalism for specifying side-channel security guarantees of modern processors, yet verifying that a complex hardware design complies with its contract remains a major challenge. While verification provides strong guarantees, current verification approaches struggle to scale to industrial-sized designs. Conversely, prevalent hardware fuzzing approaches are designed to find functional correctness bugs, but are blind to information leaks like Spectre. To bridge this gap, we introduce a novel and scalable approach: coverage-guided hardware-software contract fuzzing. Our methodology leverages a self-compositional framework to make information leakage directly observable as microarchitectural state divergence. The core of our contribution is a new, security-oriented coverage metric, Self-Composition Deviation (SCD), which guides the fuzzer to explore execution paths that violate the leakage contract. We implemented this approach and performed an extensive evaluation on two open-source RISC-V cores: the in-order Rocket Core and the complex out-of-order BOOM core. Our results demonstrate that coverage-guided strategies outperform unguided fuzzing and that increased microarchitectural coverage leads to a faster discovery of security vulnerabilities in the BOOM core.

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

↑