论文标题
通过完整的时间分配系统预防核心计时渠道
Systematic Prevention of On-Core Timing Channels by Full Temporal Partitioning
论文作者
论文摘要
微体系定时渠道允许在安全边界跨度的不良信息流,违反了基本的安全假设。它们利用了几种状态持有的微体系结构组件的定时变化,并已在指令集架构和硬件实现之间得到了证明。 Ge等人类似于记忆保护。提出了时间保护,以防止通过计时渠道泄漏信息。他们还表明,时间保护需要硬件支持。这项工作利用开放且可扩展的RISC-V指令集体系结构(ISA)引入时间围栏指令围栏。我们提出并讨论了围栏的三种不同实现。我们发现,所有非构造核心组件的完整,系统的,由ISA支持的擦除是最有效的实施,同时具有低廉的实施工作,最小的性能开销约为2%,并且可忽略不计。
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. 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 and CVA6, an open-source, in-order, application class, 64-bit RISC-V core. 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 approximately 2%, and negligible hardware costs.