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

CacheZoom:SGX如何增强缓存攻击的威力

CacheZoom: How SGX Amplifies The Power of Cache Attacks

Ahmad Moghimi, Gorka Irazoqui, Thomas Eisenbarth

摘要:

在现代计算环境中,硬件资源普遍共享,并行计算得到广泛应用。如果不强制执行适当的隔离,并行任务可能会导致隐私和安全问题。英特尔提出SGX是为了在处理器内创建一个可信的执行环境。SGX依赖于硬件,并声称即使操作系统和其他软件组件是恶意的,也能提供运行时保护。然而,新交所不理会侧信道攻击。我们介绍了一个强大的缓存侧信道攻击,提供系统对手的高分辨率通道。我们的攻击工具CacheZoom能够以高空间和时间精度虚拟跟踪SGX飞地的所有内存访问。作为概念证明,我们演示了AES密钥恢复攻击常用的实现,包括那些被认为是在以前的情况下抵抗。我们的研究结果表明,SGX不能保护关键数据敏感的计算,有效的AES密钥恢复是可能的,在实际环境中。与以前需要数百次测量的作品相比,这是第一次对真实系统进行缓存侧信道攻击,可以用最少的测量次数恢复AES密钥。我们可以成功地恢复AES密钥从T-表为基础的实现,只有十个测量。

英文摘要:

In modern computing environments, hardware resources are commonly shared, and parallel computation is widely used. Parallel tasks can cause privacy and security problems if proper isolation is not enforced. Intel proposed SGX to create a trusted execution environment within the processor. SGX relies on the hardware, and claims runtime protection even if the OS and other software components are malicious. However, SGX disregards side-channel attacks. We introduce a powerful cache side-channel attack that provides system adversaries a high resolution channel. Our attack tool named CacheZoom is able to virtually track all memory accesses of SGX enclaves with high spatial and temporal precision. As proof of concept, we demonstrate AES key recovery attacks on commonly used implementations including those that were believed to be resistant in previous scenarios. Our results show that SGX cannot protect critical data sensitive computations, and efficient AES key recovery is possible in a practical environment. In contrast to previous works which require hundreds of measurements, this is the first cache side-channel attack on a real system that can recover AES keys with a minimal number of measurements. We can successfully recover AES keys from T-Table based implementations with as few as ten measurements.

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

↑