通过全时间分区系统性预防核心内时序通道
Systematic Prevention of On-Core Timing Channels by Full Temporal Partitioning
AI总结:
本文基于RISC-V ISA引入时间栅栏指令fence.t,通过清除易受攻击的微架构状态并保证与历史无关的上下文切换延迟来防止时序通道信息泄漏,在seL4微内核和CVA6核心上验证了其三种实现,发现系统擦除所有非架构核心组件最有效且性能开销低于1%。
摘要:
微架构时序通道能够跨越安全边界实现不受欢迎的信息流,违反了基本的安全假设。它们利用若干保持状态的微架构组件的时序变化,并且已在多种指令集架构和硬件实现中得到演示。类似于内存保护,Ge等人提出了时间保护,用于防止通过时序通道发生信息泄漏。他们还表明,时间保护需要硬件支持。本工作利用开放且可扩展的RISC-V指令集架构(ISA)引入了时间栅栏指令fence.t,它通过清除易受攻击的微架构状态并保证与历史无关的上下文切换延迟,提供了所需的机制。我们提出并讨论了fence.t的三种不同实现,并在seL4微内核的实验版本和CVA6(一个开源的、按序的、应用级、64位RISC-V核心)上实现了它们。我们发现,对所有非架构核心组件进行完整、系统且由ISA支持的擦除是最有效的实现,同时具有较低的实施工作量、低于1%的最小性能开销以及可忽略的硬件成本。
英文摘要:
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 less than 1%, and negligible hardware costs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。