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

金字塔方案:可信处理器的不经意RAM

The Pyramid Scheme: Oblivious RAM for Trusted Processors

Manuel Costa, Lawrence Esswood, Olga Ohrimenko, Felix Schuster, Sameer Wagh

摘要:

现代处理器,例如,英特尔SGX允许应用程序将秘密代码和数据隔离在称为安全区的加密内存区域中。虽然加密有效地隐藏了内存的内容,但由密码发出的地址引用序列会泄漏信息。这是一个严重的问题,因为这些泄漏可以很容易地打破飞地的机密性保证。在本文中,我们探讨了不经意RAM(ORAM)的设计,防止这些信息泄漏的限制下,现代SGX处理器。大多数的有机随机存取存储器都不适合这些处理器,因为它们有很高的恒定开销系数,或者需要很大的专用存储器,而这些专用存储器在这些处理器中是不可用的。我们解决了这些限制与一个新的分层ORAM建设,金字塔ORAM,这是对在线带宽成本和小块优化。它使用了一种新的哈希方案,避免了以前分层方案的复杂性。我们提出了一个高效的x64优化的实现金字塔ORAM,只使用处理器的寄存器作为私有内存。我们比较金字塔ORAM与电路ORAM,一个国家的最先进的基于树的ORAM计划,也使用恒定的私有内存。金字塔ORAM比电路ORAM具有更好的在线渐近复杂度。我们的金字塔ORAM和电路ORAM的实现验证了这一点:作为所有的分层方案,金字塔ORAM具有高的访问延迟变化;虽然延迟可能是高的一些访问,对于典型的配置,金字塔ORAM提供的访问延迟是8倍,比电路ORAM的99%的访问。虽然最著名的分层ORAM具有更好的渐近复杂度,但金字塔ORAM具有显著更低的常数开销因子,使其成为实践中的首选。

英文摘要:

Modern processors, e.g., Intel SGX, allow applications to isolate secret code and data in encrypted memory regions called enclaves. While encryption effectively hides the contents of memory, the sequence of address references issued by the secret code leaks information. This is a serious problem because these leaks can easily break the confidentiality guarantees of enclaves. In this paper, we explore Oblivious RAM (ORAM) designs that prevent these information leaks under the constraints of modern SGX processors. Most ORAMs are a poor fit for these processors because they have high constant overhead factors or require large private memories, which are not available in these processors. We address these limitations with a new hierarchical ORAM construction, the Pyramid ORAM, that is optimized towards online bandwidth cost and small blocks. It uses a new hashing scheme that circumvents the complexity of previous hierarchical schemes. We present an efficient x64-optimized implementation of Pyramid ORAM that uses only the processor's registers as private memory. We compare Pyramid ORAM with Circuit ORAM, a state-of-the-art tree-based ORAM scheme that also uses constant private memory. Pyramid ORAM has better online asymptotical complexity than Circuit ORAM. Our implementation of Pyramid ORAM and Circuit ORAM validates this: as all hierarchical schemes, Pyramid ORAM has high variance of access latencies; although latency can be high for some accesses, for typical configurations Pyramid ORAM provides access latencies that are 8X better than Circuit ORAM for 99% of accesses. Although the best known hierarchical ORAM has better asymptotical complexity, Pyramid ORAM has significantly lower constant overhead factors, making it the preferred choice in practice.

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

↑