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

域页表隔离

Domain Page-Table Isolation

Claudio Canella, Andreas Kogler, Lukas Giner, Daniel Gruss, Michael Schwarz

摘要:

现代应用程序通常由不同的安全域组成,这些安全域需要相互隔离。虽然存在几种解决方案,但它们中的大多数依赖于专用硬件、硬件扩展或需要应用程序的效率较低的软件工具。在本文中,我们提出了域页表隔离(DPTI),一种新的机制,硬件强制执行的安全域,可以很容易地用于商品现成的CPU。DPTI使用两种新颖的技术,在安全关键点对内存隔离进行动态的、有时间限制的更改,称为内存冻结和存储。我们在两种情况下展示了DPTI的多功能性和有效性:首先,DPTI冻结或隐藏内存,以支持比最先进的seccomp-bpf更快,更细粒度的系统调用过滤。通过提供内存安全保证,DPTI甚至可以安全地支持深度参数过滤,例如字符串比较。其次,DPTI冻结或隐藏内存,以有效地限制潜在的不受信任的SGX飞地,在提供相同安全保证的同时,性能比现有解决方案高出14.6%-22%。我们的研究结果表明,DPTI是一种可行的机制,可以使用现代CPU上现有的机制来隔离应用程序中的域,而不依赖于特殊的硬件指令或扩展

英文摘要:

Modern applications often consist of different security domains that require isolation from each other. While several solutions exist, most of them rely on specialized hardware, hardware extensions, or require less-efficient software instrumentation of the application. In this paper, we propose Domain Page-Table Isolation (DPTI), a novel mechanism for hardware-enforced security domains that can be readily used on commodity off-the-shelf CPUs. DPTI uses two novel techniques for dynamic, time-limited changes to the memory isolation at security-critical points, called memory freezing and stashing. We demonstrate the versatility and efficacy of DPTI in two scenarios: First, DPTI freezes or stashes memory to support faster and more fine-grained syscall filtering than state-of-the-art seccomp-bpf. With the provided memory safety guarantees, DPTI can even securely support deep argument filtering, such as string comparisons. Second, DPTI freezes or stashes memory to efficiently confine potentially untrusted SGX enclaves, outperforming existing solutions by 14.6%-22% while providing the same security guarantees. Our results show that DPTI is a viable mechanism to isolate domains within applications using only existing mechanisms available on modern CPUs, without relying on special hardware instructions or extensions

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

↑