arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.00122cs.CR
收藏

高速缓存侧通道信号的优化和放大

Optimization and Amplification of Cache Side Channel Signals

David A. Kaplan

摘要:

在基于高速缓存的侧信道攻击中,攻击者基于一个或多个高速缓存行的存在或缺乏来推断关于受害者的信息。确定高速缓存行的存在,我们称之为“读取信号”,通常需要使用适当的高精度计时器测试行的访问时间。在本文中,我们介绍了新的小工具,利用CPU的投机,使这些信号的修改,在他们被读取,用于各种目的。首先,这些小工具使攻击者能够通过在测量高速缓存行信号之前评估高速缓存行信号上的任意逻辑函数来优化基于高速缓存的侧信道攻击。其次,我们演示了放大技术,使攻击者能够读取信号,即使没有高精度计时器。结合起来,这些技术可以用于改善现有的侧信道攻击,即使定时器访问是有限的。我们评估了这些技术在现代x86 CPU上的有效性,并证明了当适当调整时,高速缓存侧通道信号可以可靠地修改,精度接近100%,并且能够用100ms或更长时间的定时器读取。

英文摘要:

In cache-based side channel attacks, an attacker infers information about the victim based on the presence, or lack thereof, of one or more cachelines. Determining a cacheline's presence, which we refer to as "reading the signal", typically requires testing the access time of the line using a suitably high precision timer. In this paper we introduce novel gadgets which leverage CPU speculation to enable modification of these signals, before they are read, for a variety of purposes. First, these gadgets enable an attacker to optimize cache-based side channel attacks by evaluating arbitrary logic functions on cacheline signals prior to their measurement. Second, we demonstrate amplification techniques that enable an attacker to read a signal even if no high precision timer is available. Combined, these techniques can be used to improve existing side channel attacks even if timer access is limited. We evaluate the effectiveness of these techniques on a modern x86 CPU and demonstrate that when properly tuned, cache side channel signals can be reliably modified with near 100% accuracy and are able to be read with a timer as coarse as 100ms or more.

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

↑