arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2009.01144cs.CR
收藏

SGX Enclave的二进制兼容性

Binary Compatibility For SGX Enclaves

Shweta Shinde, Jinhua Cui, Satyaki Sen, Pinghai Yuan, Prateek Saxena

摘要:

飞地(例如英特尔SGX支持的飞地)为应用程序分区提供了强大的硬件隔离原语。为了在未来的商业操作系统上普遍可用,飞地设计应该提供与现有软件的兼容性。在本文中,我们提请注意SGX中的5个设计决策,这些决策与现有软件不兼容。我们希望,这些是今后改进技术三效经济体的具体起点。此外,虽然许多以前的作品提供了部分形式的兼容性,我们提出了第一次尝试提供二进制兼容性与现有的软件在SGX。我们提出Ratel,一个系统,使一个动态的二进制翻译引擎在Linux上的SGX飞地。通过Ratel的镜头,我们揭示了操作系统飞地接口上的性能和完全中介之间的基本权衡,这些权衡植根于上述5个SGX设计限制。我们报告了Ratel对200多个程序的广泛评估,包括微基准测试和实际应用程序,如Linux实用程序。

英文摘要:

Enclaves, such as those enabled by Intel SGX, offer a powerful hardware isolation primitive for application partitioning. To become universally usable on future commodity OSes, enclave designs should offer compatibility with existing software. In this paper, we draw attention to 5 design decisions in SGX that create incompatibility with existing software. These represent concrete starting points, we hope, for improvements in future TEEs. Further, while many prior works have offered partial forms of compatibility, we present the first attempt to offer binary compatibility with existing software on SGX. We present Ratel, a system that enables a dynamic binary translation engine inside SGX enclaves on Linux. Through the lens of Ratel, we expose the fundamental trade-offs between performance and complete mediation on the OS-enclave interface, which are rooted in the aforementioned 5 SGX design restrictions. We report on an extensive evaluation of Ratel on over 200 programs, including micro-benchmarks and real applications such as Linux utilities.

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

↑