一种基于内存总线的硬件飞地片外攻击
An Off-Chip Attack on Hardware Enclaves via the Memory Bus
摘要:
本文展示了攻击者如何利用基于窥探内存总线的片外攻击--入侵者攻击器来破坏硬件飞地的机密性。具有物理访问的攻击者可以观察未加密的地址总线并提取受害者的细粒度内存访问模式。攻击者在本质上不同于先前对飞地的片上攻击,并且更难以挫败。我们强调了几个挑战,为企业家。首先,DRAM请求仅在末级高速缓存未命中时在存储器总线上可见。其次,攻击需要对受害者产生最小的干扰或开销,以防止检测到攻击。最后,攻击者需要对虚拟、物理和DRAM地址之间的转换进行逆向工程,以执行强大的攻击。我们介绍了三种技术,关键页白名单,高速缓存挤压,和基于Oracle的模糊匹配算法,以增加缓存未命中的内存访问是有用的攻击,没有检测到的干扰受害者,并转换为敏感数据的内存访问。我们在英特尔SGX CPU上演示了如何从Hunspell和Memcached两个应用程序中泄漏机密数据。我们表明,一个单一的不间断运行的受害者可以泄漏大部分的敏感数据,具有很高的准确性。
英文摘要:
This paper shows how an attacker can break the confidentiality of a hardware enclave with Membuster, an off-chip attack based on snooping the memory bus. An attacker with physical access can observe an unencrypted address bus and extract fine-grained memory access patterns of the victim. Membuster is qualitatively different from prior on-chip attacks to enclaves and is more difficult to thwart. We highlight several challenges for Membuster. First, DRAM requests are only visible on the memory bus at last-level cache misses. Second, the attack needs to incur minimal interference or overhead to the victim to prevent the detection of the attack. Lastly, the attacker needs to reverse-engineer the translation between virtual, physical, and DRAM addresses to perform a robust attack. We introduce three techniques, critical page whitelisting, cache squeezing, and oracle-based fuzzy matching algorithm to increase cache misses for memory accesses that are useful for the attack, with no detectable interference to the victim, and to convert memory accesses to sensitive data. We demonstrate Membuster on an Intel SGX CPU to leak confidential data from two applications: Hunspell and Memcached. We show that a single uninterrupted run of the victim can leak most of the sensitive data with high accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。