arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1702.08719cs.CR
收藏

恶意软件防护扩展:使用SGX隐藏缓存攻击

Malware Guard Extension: Using SGX to Conceal Cache Attacks

Michael Schwarz, Samuel Weiser, Daniel Gruss, Clémentine Maurice, Stefan Mangard

摘要:

在现代计算机系统中,用户进程通过操作系统和硬件彼此隔离。此外,在云场景中,管理程序将租户与位于同一物理机器上的其他租户隔离是至关重要的。然而,管理程序并不保护租户免受云提供商的影响,因此也不保护租户免受所提供的操作系统和硬件的影响。英特尔SGX提供了一种机制来解决这种情况。它旨在保护用户级软件免受来自其他进程、操作系统甚至物理攻击者的攻击。在本文中,我们展示了细粒度的基于软件的侧信道攻击,从一个恶意的SGX飞地目标共位于飞地。我们的攻击是第一个在真正的SGX硬件上运行的恶意软件,滥用SGX保护功能来隐藏自己。此外,我们在本地环境和多个Docker容器中演示了我们的攻击。我们对运行最新RSA实现(使用恒定时间乘法原语)的位于同一地点的SGX飞地执行Prime+Probe缓存侧信道攻击。虽然在SGX飞地中没有计时器,没有大页面,没有物理地址,也没有共享内存,但攻击仍然有效。在半同步攻击中,我们从单个跟踪中提取96%的RSA私钥。我们提取完整的RSA私钥在一个自动化的攻击从11个痕迹在5分钟内。

英文摘要:

In modern computer systems, user processes are isolated from each other by the operating system and the hardware. Additionally, in a cloud scenario it is crucial that the hypervisor isolates tenants from other tenants that are co-located on the same physical machine. However, the hypervisor does not protect tenants against the cloud provider and thus the supplied operating system and hardware. Intel SGX provides a mechanism that addresses this scenario. It aims at protecting user-level software from attacks from other processes, the operating system, and even physical attackers. In this paper, we demonstrate fine-grained software-based side-channel attacks from a malicious SGX enclave targeting co-located enclaves. Our attack is the first malware running on real SGX hardware, abusing SGX protection features to conceal itself. Furthermore, we demonstrate our attack both in a native environment and across multiple Docker containers. We perform a Prime+Probe cache side-channel attack on a co-located SGX enclave running an up-to-date RSA implementation that uses a constant-time multiplication primitive. The attack works although in SGX enclaves there are no timers, no large pages, no physical addresses, and no shared memory. In a semi-synchronous attack, we extract 96% of an RSA private key from a single trace. We extract the full RSA private key in an automated attack from 11 traces within 5 minutes.

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

↑