Abstract
Modern processor microarchitectural optimizations, while enhancing performance, inadvertently introduce side channels that can leak sensitive information through timing variations. This paper presents an FPGA-based security testbed for studying branch predictor side-channel vulnerabilities in open-source RISC-V out-of-order cores. We demonstrate a configurable platform built on the Berkeley Out-of-Order Machine (BOOM) core, adapted for resource-constrained FPGA deployment with customizable branch predictor configurations. Through bare-metal execution and cycle-accurate timing measurements, we implement and evaluate three classes of timing attacks: Conditional Branch Prediction Attacks (CBPA), Indirect Branch Prediction Attacks (IBPA), and a practical smart-lock application attack. Our results show that simplified one-level predictors exhibit deterministic timing separations of 9 to 17 cycles, enabling perfect secret recovery with 100% accuracy for 16-bit secrets within 500 measurement rounds. We further demonstrate practical attack scenarios, including the extraction of a randomly-generated 4-digit smart-lock code, and evaluate the impact of branch predictor complexity on attack feasibility. This work provides an open-source framework for reproducible microarchitectural security research on RISC-V platforms, enabling evaluation of both attacks and countermeasures.
| Original language | English |
|---|---|
| Title of host publication | ISDFS 2026 - 14th International Symposium on Digital Forensics and Security |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Edition | 2026 |
| ISBN (Electronic) | 9798331573102 |
| DOIs | |
| Publication status | Published - 1 Jan 2026 |
| Event | 14th International Symposium on Digital Forensics and Security, ISDFS 2026 - Boston, United States Duration: 19 Mar 2026 → 20 Mar 2026 |
Conference
| Conference | 14th International Symposium on Digital Forensics and Security, ISDFS 2026 |
|---|---|
| Country/Territory | United States |
| City | Boston |
| Period | 19/03/26 → 20/03/26 |
Keywords
- BOOM
- FPGA
- RISC-V
- branch prediction
- microarchitectural security
- side-channel attacks
- timing attacks
Fingerprint
Dive into the research topics of 'Microarchitectural Espionage: FPGA-Based Security Analysis of Branch Prediction in RISC-V Out-of-Order Cores'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver