Skip to main navigation Skip to search Skip to main content

TrackRISC: An Implicit Attack Flow Model and Hardware Microarchitectural Mitigation for Speculative Cache-Based Covert Channels

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

32 Downloads (CityUHK Scholars)

Abstract

Speculative execution attacks significantly compromise the security of modern processors by enabling information leakage. These well-known attacks exploit speculative cache-based covert channels to effectively exfiltrate secret data by altering cache states. Existing hardware defenses specifically designed to prevent cache-based covert channels are effective at blocking explicit channels. However, their protection against implicit attack variants remains limited, since these hardware defenses do not fully eliminate secret-dependent microarchitectural changes in caches. In this paper, we propose TrackRISC, a framework which comprises (i) a refined implicit attack flow model specifically for the exploration and analysis of implicit cache-based speculative execution attacks which severely compromise the security of existing hardware defenses, and (ii) a security-enhanced tracking and mitigation microarchitecture, termed TrackRISC-Defense, designed to mitigate both implicit and explicit attack variants that use speculative cache-based covert channels. To obtain realistic hardware evaluation results, we implement and evaluate both TrackRISC-Defense and a representative existing defense on top of the Berkeley’s out-of-order RISC-V processor core (SonicBOOM) using the VCU118 FPGA platform running Linux. Compared to the representative existing defense which incurs a performance overhead of 13.8%, TrackRISC-Defense ensures stronger security guarantees with a performance overhead of 19.4%. In addition, TrackRISC-Defense can mitigate both explicit and implicit speculative cache-based covert channels with a register-based hardware resource overhead of 0.4%. © 2025 by the authors.
Original languageEnglish
Article number3973
JournalElectronics
Volume14
Issue number20
Online published10 Oct 2025
DOIs
Publication statusPublished - Oct 2025

Funding

This research was supported by Hong Kong Innovation and Technology Commission (ITF Seed Fund ITS/098/22), City University of Hong Kong (Project Grant No. 9440356).

Research Keywords

  • CPU microarchitecture
  • hardware defenses
  • instruction tracking
  • attack flow model
  • speculative execution attacks
  • RISC-V

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

Fingerprint

Dive into the research topics of 'TrackRISC: An Implicit Attack Flow Model and Hardware Microarchitectural Mitigation for Speculative Cache-Based Covert Channels'. Together they form a unique fingerprint.

Cite this