Systematic Prevention of On-Core Timing Channels by Full Temporal Partitioning
- 10 October 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 72 (5) , 1420-1430
Abstract
Microarchitectural timing channels enable unwanted information flow across security boundaries, violating fundamental security assumptions. They leverage timing variations of several state-holding microarchitectural components and have been demonstrated across instruction set architectures and hardware implementations. Analogously to memory protection, (Ge et al. 2019) have proposed time protection for preventing information leakage via timing channels. They also showed that time protection calls for hardware support. This work leverages the open and extensible RISC-V instruction set architecture (ISA) to introduce the temporal fence instruction fence.t , which provides the required mechanisms by clearing vulnerable microarchitectural state and guaranteeing a history-independent context-switch latency. We propose and discuss three different implementations of fence.t and implement them on an experimental version of the seL4 microkernel (Klein et al. 2014) and CVA6, an open-source, in-order, application class, 64-bit RISC-V core (Zaruba and Benini 2019). We find that a complete, systematic, ISA-supported erasure of all non-architectural core components is the most effective implementation while featuring a low implementation effort, a minimal performance overhead of less than 1%, and negligible hardware costs.Keywords
All Related Versions
This publication has 26 references indexed in Scilit:
- Comprehensive formal verification of an OS microkernelACM Transactions on Computer Systems, 2014
- A Tool for Estimating Information Leakage2013
- Non-monopolizable cachesACM Transactions on Architecture and Code Optimization, 2012
- Yet another MicroArchitectural Attack:2007
- Cache Attacks and Countermeasures: The Case of AES2006
- Predicting Secret Keys Via Branch Prediction2006
- The SPLASH-2 programsACM SIGARCH Computer Architecture News, 1995
- Page placement algorithms for large real-indexed cachesACM Transactions on Computer Systems, 1992
- A note on the confinement problemCommunications of the ACM, 1973
- A Mathematical Theory of CommunicationBell System Technical Journal, 1948