arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.13922cs.CRcs.AR
收藏

Stockade:分布式可信沙盒的硬件加固

Stockade: Hardware Hardening for Distributed Trusted Sandboxes

Joongun Park, Seunghyo Kang, Sanghyeon Lee, Taehoon Kim, Jongse Park, Youngjin Kwon, Jaehyuk Huh

摘要:

基于硬件的可信执行环境(TEE)的可用性不断扩大,加速了使用TEE的新应用程序的适应。最近的研究表明,云应用程序由相互不信任的各方提供的多个分布式软件模块组成。应用程序使用多个通过软件加密的内存通道进行通信的TEE(飞地)。这样的执行模型需要双向保护:通过沙箱化保护系统的其余部分不受飞地模块的影响,以及保护飞地模块不受第三方模块和操作系统的影响。然而,当前的TEE模型(如英特尔SGX)无法有效地表示此类分布式沙箱应用。为了克服沙箱TEE缺乏硬件支持的问题,提出了一种扩展的飞地模型Stockade,它支持硬件加固的分布式沙箱。Stockade提出了新的三个关键技术。首先,它扩展了SGX中基于硬件的内存隔离,将用户软件模块仅限制在其安全区内。其次,它提出了一个可信的监视器飞地,过滤和验证来自飞地的系统调用。最后,它允许在一对安全区之间共享硬件保护的内存,以实现高效的受保护通信,而无需基于软件的加密。使用模拟SGX平台与建议的扩展,本文表明,分布式沙箱应用程序可以有效地支持SGX硬件的小变化。

英文摘要:

The widening availability of hardware-based trusted execution environments (TEEs) has been accelerating the adaptation of new applications using TEEs. Recent studies showed that a cloud application consists of multiple distributed software modules provided by mutually distrustful parties. The applications use multiple TEEs (enclaves) communicating through software-encrypted memory channels. Such execution model requires bi-directional protection: protecting the rest of the system from the enclave module with sandboxing and protecting the enclave module from a third-part module and operating systems. However, the current TEE model, such as Intel SGX, cannot efficiently represent such distributed sandbox applications. To overcome the lack of hardware supports for sandboxed TEEs, this paper proposes an extended enclave model called Stockade, which supports distributed sandboxes hardened by hardware. Stockade proposes new three key techniques. First, it extends the hardware-based memory isolation in SGX to confine a user software module only within its enclave. Second, it proposes a trusted monitor enclave that filters and validates systems calls from enclaves. Finally, it allows hardware-protected memory sharing between a pair of enclaves for efficient protected communication without software-based encryption. Using an emulated SGX platform with the proposed extensions, this paper shows that distributed sandbox applications can be effectively supported with small changes of SGX hardware.

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

↑