SLCF: Security-Level-Aware Microarchitectural Cleaning for Efficient Time Protection
The primary challenge in current microarchitectural security is that timing attacks can leak sensitive information across security domain boundaries, severely threatening system security. These attacks typically exploit microarchitectural features of shared processor resources (such as caches, branch predictors, etc.) to infer secret data in another security domain by measuring operation latency. While existing temporal partitioning techniques provide some protection, they generally adopt coarse-grained “one-size-fits-all” cleaning strategies that indiscriminately clear all microarchitectural states, causing significant performance degradation in high-performance out-of-order processors. This paper proposes a Security-LevelAware Cleaning Fence mechanism (SLCF) that dynamically selects the cleaning scope based on the processor’s security level: in user mode, only the L1 data cache is cleaned, while in supervisor mode, comprehensive microarchitectural state cleaning is performed. Experimental results on the OpenC910 RISC-V processor demonstrate that this mechanism effectively defends against microarchitectural timing channel attacks while controlling performance overhead to an extremely low level. The user mode SLCF successfully closes the L1D cache timing channel with an average performance overhead of only $0.53 \%$, while the supervisor mode SLCF provides comprehensive protection by closing all microarchitectural timing channels with a performance overhead of $1.18 \%$. This mechanism ensures system security while minimizing the impact of defensive measures on system performance.
Authors
- Kai Nie (ORCID: https://orcid.org/0000-0001-7568-4628)
- C. Fang (ORCID: https://orcid.org/0009-0002-7438-2390)
- Xiaoli Zhang (ORCID: https://orcid.org/0000-0002-4226-7622)
Institutions
- Zhengzhou University (CN)
Publication Details
- Published
- 2025-03-21
- DOI
- https://doi.org/10.1109/iscait64916.2025.11010331
- Primary Topic
- Physical Unclonable Functions (PUFs) and Hardware Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00