arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.07706cs.CRcs.AR
收藏

Ozone:现代微架构的零时序泄漏高效执行

Ozone: Efficient Execution with Zero Timing Leakage for Modern Microarchitectures

Zelalem Birhanu Aweke, Todd Austin

摘要:

程序执行期间的时间变化可能会泄漏敏感信息。由于程序控制流和硬件资源争用而引起的时间变化已被用于窃取AES和RSA等密码实现中的加密密钥。已经提出了许多减轻基于定时的侧信道攻击的方法,包括高速缓存分区、控制流混淆和将定时噪声注入到代码的输出中。虽然这些技术使得基于定时的侧信道攻击更加困难,但它们并没有消除风险。现有技术要么太具体,要么太昂贵,并且都留下了原始定时侧信道的残余,供后来的攻击者尝试利用。在这项工作中,我们表明,定时侧信道保护中的最新技术限制了定时泄漏,但并没有消除它,但对于基于定时的侧信道攻击仍然存在显着的漏洞。为了提供一种手段,从定时为基础的侧信道攻击的总保护,我们开发臭氧,第一个零定时泄漏执行资源的现代微架构。Ozone中的代码在一个特殊的硬件线程下执行,该线程在固定(有限)的周期内独占访问单个核心的资源,在此期间不能中断。Ozone线程执行下的内存访问仅限于固定大小的未缓存暂存器内存,并且所有Ozone线程都以已知的固定微体系结构状态开始执行。我们评估臭氧使用一些安全敏感的内核,以前的定时侧信道攻击的目标,并表明臭氧消除定时泄漏,最小的性能开销。

英文摘要:

Time variation during program execution can leak sensitive information. Time variations due to program control flow and hardware resource contention have been used to steal encryption keys in cipher implementations such as AES and RSA. A number of approaches to mitigate timing-based side-channel attacks have been proposed including cache partitioning, control-flow obfuscation and injecting timing noise into the outputs of code. While these techniques make timing-based side-channel attacks more difficult, they do not eliminate the risks. Prior techniques are either too specific or too expensive, and all leave remnants of the original timing side channel for later attackers to attempt to exploit. In this work, we show that the state-of-the-art techniques in timing side-channel protection, which limit timing leakage but do not eliminate it, still have significant vulnerabilities to timing-based side-channel attacks. To provide a means for total protection from timing-based side-channel attacks, we develop Ozone, the first zero timing leakage execution resource for a modern microarchitecture. Code in Ozone execute under a special hardware thread that gains exclusive access to a single core's resources for a fixed (and limited) number of cycles during which it cannot be interrupted. Memory access under Ozone thread execution is limited to a fixed size uncached scratchpad memory, and all Ozone threads begin execution with a known fixed microarchitectural state. We evaluate Ozone using a number of security sensitive kernels that have previously been targets of timing side-channel attacks, and show that Ozone eliminates timing leakage with minimal performance overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑