Skip to main navigation Skip to search Skip to main content

Evict+Spec+Time on RISC-V: Gem5-Based Implementation and Microarchitectural Analysis

  • Institut Polytechnique de Paris

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Microarchitectural side-channel attacks are a growing concern and have been widely studied on x86 and ARM architectures, but RISC-V's susceptibility to similar attacks remains understudied. We present the first implementation and evaluation of the Evict+Spec+Time attack on RISC-V, previously demonstrated only on x86 [2]. This advanced variant of Evict+Time integrates three critical phases: eviction, speculation, and timing. First, the attack forcibly evicts target cache lines using RISC-V's cbo.flush instruction via the Zicbom extension [6]. Next, it exploits out-of-order execution to manipulate microarchitectural resources such as the reorder buffer, limiting the processor's ability to mask cache-miss latency. Finally, it infers secret-dependent memory access patterns through precise timing measurements. We validate RISC-V's vulnerability by recovering secret keys from AES T-table implementations. Using the gem5 simulator [4], we provide the first detailed analysis of microarchitectural behavior during the attack, including cache contention, pipeline stalls, and latency variations. These insights establish foundational guidance for developing RISC-V-specific countermeasures against such attacks.

Original languageEnglish
Title of host publicationProceedings - 2025 28th Euromicro Conference on Digital System Design, DSD 2025
EditorsDaniel Casini, Francisco J. Cazorla
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages260-267
Number of pages8
ISBN (Electronic)9798331584993
DOIs
Publication statusPublished - 1 Jan 2025
Event28th Euromicro Conference on Digital System Design, DSD 2025 - Salerno, Italy
Duration: 10 Sept 202512 Sept 2025

Publication series

NameProceedings - 2025 28th Euromicro Conference on Digital System Design, DSD 2025

Conference

Conference28th Euromicro Conference on Digital System Design, DSD 2025
Country/TerritoryItaly
CitySalerno
Period10/09/2512/09/25

Keywords

  • AES T-table
  • Cache timing attacks
  • Evict+Spec+Time
  • Hardware security
  • Microarchitectural attacks
  • Out-of-order execution
  • RISC-V
  • Speculative execution
  • gem5

Fingerprint

Dive into the research topics of 'Evict+Spec+Time on RISC-V: Gem5-Based Implementation and Microarchitectural Analysis'. Together they form a unique fingerprint.

Cite this