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

Cerberus:一种安全高效的飞地内存共享形式化方法

Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing

Dayeol Lee, Kevin Cheang, Alexander Thomas, Catherine Lu, Pranav Gaddamadugu, Anjo Vahldiek-Oberwagner, Mona Vij, Dawn Song, Sanjit A. Seshia, Krste Asanović

摘要:

硬件安全区依赖于不相交的内存模型,该模型将每个物理地址映射到安全区以实现强内存隔离。然而,这严重限制了飞地程序的性能和可编程性。虽然一些先前的工作提出了飞地存储器共享,但它没有提供其设计的正式模型或验证。本文介绍了Cerberus,一种安全有效的飞地内存共享的正式方法。为了减轻形式化验证的负担,我们比较了不同的共享模型,并选择了一个简单而强大的共享模型。基于共享模型,Cerberus扩展了一个安全区平台,使得安全区内存可以通过额外的操作在多个安全区之间变得不可变和可共享。我们使用增量验证开始与现有的正式模型称为可信的抽象平台(TAP)。使用我们的扩展TAP模型,我们正式验证Cerberus不打破或削弱安全保证的飞地,尽管允许内存共享。更具体地说,我们证明了我们的正式模型的安全远程执行(SRE)属性。最后,本文通过在现有的飞地平台RISC-V Keystone中实现Cerberus来展示其可行性。

英文摘要:

Hardware enclaves rely on a disjoint memory model, which maps each physical address to an enclave to achieve strong memory isolation. However, this severely limits the performance and programmability of enclave programs. While some prior work proposes enclave memory sharing, it does not provide a formal model or verification of their designs. This paper presents Cerberus, a formal approach to secure and efficient enclave memory sharing. To reduce the burden of formal verification, we compare different sharing models and choose a simple yet powerful sharing model. Based on the sharing model, Cerberus extends an enclave platform such that enclave memory can be made immutable and shareable across multiple enclaves via additional operations. We use incremental verification starting with an existing formal model called the Trusted Abstract Platform (TAP). Using our extended TAP model, we formally verify that Cerberus does not break or weaken the security guarantees of the enclaves despite allowing memory sharing. More specifically, we prove the Secure Remote Execution (SRE) property on our formal model. Finally, the paper shows the feasibility of Cerberus by implementing it in an existing enclave platform, RISC-V Keystone.

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

↑