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

基于SGX的混合安全函数计算方法

A Hybrid Approach to Secure Function Evaluation Using SGX

Joseph I. Choi, Dave 'Jing' Tian, Grant Hernandez, Christopher Patton, Benjamin Mood, Thomas Shrimpton, Kevin R. B. Butler, Patrick Traynor

摘要:

一种用于两方安全函数评估(2 P-SFE)的协议旨在允许各方学习其私有输入的函数$f$的输出,而不泄漏更多。在某种意义上,这样的协议实现了一个可信的oracle,它计算$f$并将结果返回给双方。在过去的十年中,效率有了巨大的进步,但2 P-SFE协议对于大多数实时在线计算仍然不切实际,特别是在适度配置的设备上。英特尔的Software Guard Extensions(SGX)提供硬件保护的执行环境,称为安全区,可视为可信计算预言机。虽然SGX为安全计算提供了本机CPU速度,但以前的侧通道和微架构攻击已经证明了飞地的安全保证如何受到损害。在本文中,我们探讨了一种平衡的方法,以2 P-SFE的SGX使能的处理器,通过构建一个协议,用于评估$f$相对于分区的$f$。这种方法通过允许协议设计者选择应该在飞地内评估哪些组件,以及哪些组件通过标准加密技术来评估,从而减轻了飞地上的信任负担。我们描述了支持SGX的SFE协议(将飞地建模为Oracle),并为我们的设置形式化了最强可能的2 P-SFE概念。我们证明我们的协议符合这一概念时,正确实现。我们实现的协议,并将其应用到两个实际问题:隐私保护查询的数据库,和隐私保护导航的Dijkstra的算法的一个版本。我们的评估表明,我们的SGX使能的SFE方案的性能比基于混淆电路的SFE提高了38倍。最后,我们证明建模的飞地作为一个甲骨文实施保护已知的侧通道。

英文摘要:

A protocol for two-party secure function evaluation (2P-SFE) aims to allow the parties to learn the output of function $f$ of their private inputs, while leaking nothing more. In a sense, such a protocol realizes a trusted oracle that computes $f$ and returns the result to both parties. There have been tremendous strides in efficiency over the past ten years, yet 2P-SFE protocols remain impractical for most real-time, online computations, particularly on modestly provisioned devices. Intel's Software Guard Extensions (SGX) provides hardware-protected execution environments, called enclaves, that may be viewed as trusted computation oracles. While SGX provides native CPU speed for secure computation, previous side-channel and micro-architecture attacks have demonstrated how security guarantees of enclaves can be compromised. In this paper, we explore a balanced approach to 2P-SFE on SGX-enabled processors by constructing a protocol for evaluating $f$ relative to a partitioning of $f$. This approach alleviates the burden of trust on the enclave by allowing the protocol designer to choose which components should be evaluated within the enclave, and which via standard cryptographic techniques. We describe SGX-enabled SFE protocols (modeling the enclave as an oracle), and formalize the strongest-possible notion of 2P-SFE for our setting. We prove our protocol meets this notion when properly realized. We implement the protocol and apply it to two practical problems: privacy-preserving queries to a database, and a version of Dijkstra's algorithm for privacy-preserving navigation. Our evaluation shows that our SGX-enabled SFE scheme enjoys a 38x increase in performance over garbled-circuit-based SFE. Finally, we justify modeling of the enclave as an oracle by implementing protections against known side-channels.

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

↑