软件大曝光:SGX缓存攻击切实可行
Software Grand Exposure: SGX Cache Attacks Are Practical
摘要:
侧信道信息泄漏是SGX的已知限制。研究人员已经证明,可以通过页面错误访问模式从安全区执行中提取与秘密相关的信息。因此,各种最近的研究努力正在积极寻求对SGX侧信道攻击的对策。人们普遍认为,SGX可能容易受到其他侧通道的攻击,例如缓存访问模式监控。然而,在我们的工作之前,没有研究这种信息泄漏的实用性和程度。在本文中,我们证明了基于缓存的攻击确实是一个严重的威胁,SGX保护程序的机密性。我们的目标是设计一种难以使用已知防御来缓解的攻击,因此我们在不中断飞地执行的情况下发起攻击。这种方法具有重大的技术挑战,因为如果受害者进程不被中断,则现有的高速缓存监视技术会经历显著的噪声。我们设计并实施了新颖的攻击技术,通过利用特权对手的能力来减少这种噪音。我们的攻击能够从SGX飞地中恢复机密信息,我们在两个示例案例中说明了这一点:在RSA解密期间提取整个RSA-2048密钥,以及在基因组索引期间检测特定的人类基因组序列。我们表明,我们的攻击比以前的缓存攻击更有效,更难减轻比以前的SGX侧信道攻击。
英文摘要:
Side-channel information leakage is a known limitation of SGX. Researchers have demonstrated that secret-dependent information can be extracted from enclave execution through page-fault access patterns. Consequently, various recent research efforts are actively seeking countermeasures to SGX side-channel attacks. It is widely assumed that SGX may be vulnerable to other side channels, such as cache access pattern monitoring, as well. However, prior to our work, the practicality and the extent of such information leakage was not studied. In this paper we demonstrate that cache-based attacks are indeed a serious threat to the confidentiality of SGX-protected programs. Our goal was to design an attack that is hard to mitigate using known defenses, and therefore we mount our attack without interrupting enclave execution. This approach has major technical challenges, since the existing cache monitoring techniques experience significant noise if the victim process is not interrupted. We designed and implemented novel attack techniques to reduce this noise by leveraging the capabilities of the privileged adversary. Our attacks are able to recover confidential information from SGX enclaves, which we illustrate in two example cases: extraction of an entire RSA-2048 key during RSA decryption, and detection of specific human genome sequences during genomic indexing. We show that our attacks are more effective than previous cache attacks and harder to mitigate than previous SGX side-channel attacks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。