arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.00766cs.CR
收藏

Montsalvat:划分Java应用程序以最小化Intel SGX中的TCB

Montsalvat: Partitioning Java Applications to Minimize the TCB in Intel SGX

University of Neuchâtel(纳沙泰尔大学);ENS Télécom SudParis(巴黎高等电信学院);Institut Polytechnique de Paris(巴黎理工学院);Oracle Labs(甲骨文实验室)

Peterson Yuhala, Jämes Ménétrey, Pascal Felber, Valerio Schiavoni, Alain Tchana, Gaël Thomas, Hugo Guiroux, Jean-Pierre Lozi

AI总结:

针对Java应用在不可信云中面临的安全威胁,提出基于注解的划分工具Montsalvat,通过类似RMI机制解决对象通信与垃圾回收一致性挑战,有效减小Intel SGX的TCB并提升性能。

摘要:

Java编程语言的流行使其在云计算基础设施中得到广泛采用。然而,在不可信云上运行的Java应用程序容易受到各种形式的特权攻击。诸如Intel SGX等可信执行环境(TEEs)的出现缓解了这一问题。TEEs在不可信软件(包括内核和hypervisors)无法访问的安全飞地中保护代码和数据。为了高效使用TEEs,开发者必须手动将其应用程序划分为可信和不可信部分,以减小可信计算基(TCB)的规模并最大程度降低安全漏洞风险。然而,划分应用程序带来两个重要挑战:(i)确保划分组件之间高效的对象通信,以及(ii)确保各部分之间垃圾回收的一致性,特别是对于像Java这样的内存管理语言。我们提出了Montsalvat,这是一种为面向安全飞地的Java应用程序提供实用且直观的基于注解的划分方法的工具。Montsalvat提供类似RMI的机制来确保对象间通信,以及跨划分组件的一致垃圾回收。我们使用GraalVM native-image实现了Montsalvat,这是一种将Java应用程序提前编译为运行时不需要JVM的独立本地可执行文件的工具。我们使用微基准和宏基准进行的广泛评估表明,我们的划分方法提升了真实世界应用程序的性能。

英文摘要:

The popularity of the Java programming language has led to its wide adoption in cloud computing infrastructures. However, Java applications running in untrusted clouds are vulnerable to various forms of privileged attacks. The emergence of trusted execution environments (TEEs) such as Intel SGX mitigates this problem. TEEs protect code and data in secure enclaves inaccessible to untrusted software, including the kernel and hypervisors. To efficiently use TEEs, developers must manually partition their applications into trusted and untrusted parts, in order to reduce the size of the trusted computing base (TCB) and minimise the risks of security vulnerabilities. However, partitioning applications poses two important challenges: (i) ensuring efficient object communication between the partitioned components, and (ii) ensuring the consistency of garbage collection between the parts, especially with memory-managed languages such as Java. We present Montsalvat, a tool which provides a practical and intuitive annotation-based partitioning approach for Java applications destined for secure enclaves. Montsalvat provides an RMI-like mechanism to ensure inter-object communication, as well as consistent garbage collection across the partitioned components. We implement Montsalvat with GraalVM native-image, a tool for compiling Java applications ahead-of-time into standalone native executables that do not require a JVM at runtime. Our extensive evaluation with micro- and macro-benchmarks shows our partitioning approach to boost performance in real-world applications

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

↑