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

ObliDB:安全数据库的不经意查询处理

ObliDB: Oblivious Query Processing for Secure Databases

Saba Eskandarian, Matei Zaharia

摘要:

像英特尔SGX这样的硬件飞地是一种很有前途的技术,可以提高外包给云的数据库的安全性。这些安全区提供了一个与管理程序/操作系统隔离的执行环境,并对RAM中的数据进行加密。然而,对于使用大量内存的应用程序(包括大多数数据库),安全区不能防止访问模式泄漏,这使得攻击者可以获得有关数据的大量信息。此外,使用安全文献中的不经意RAM(ORAM)原语来解决此问题的简单方法会增加大量开销。最近的一些工作探索可信硬件飞地作为一种安全的,访问模式无关的数据存储和分析外包的路径。虽然这些工作有效地解决了特定的子问题(例如,构建安全索引或运行始终扫描整个表的分析查询),但没有先前的工作支持具有多种访问方法的DBMS引擎上的一般查询工作负载的不经意查询处理。此外,单独应用这些技术并不能保证端到端的工作负载(如对多个表的复杂SQL查询)不会被察觉。在本文中,我们介绍ObliDB,一个不经意的数据库引擎设计,是第一个系统,提供遗忘一般数据库读取工作负载的多种访问方法。ObliDB支持广泛的查询,包括聚合、连接、插入、删除和点查询。我们实现了ObliDB,并表明,在分析工作负载上,ObliDB的速度比Opaque快1.1- 19倍,Opaque是一个以前的不经意的,基于飞地的系统,仅用于分析,并且在Spark SQL的2.6倍之内。ObliDB支持3- 10 ms延迟的点查询,其运行速度比HIRB快7倍以上,HIRB是以前的一个基于自动化的不经意索引系统。

英文摘要:

Hardware enclaves such as Intel SGX are a promising technology for improving the security of databases outsourced to the cloud. These enclaves provide an execution environment isolated from the hypervisor/OS, and encrypt data in RAM. However, for applications that use large amounts of memory, including most databases, enclaves do not protect against access pattern leaks, which let attackers gain a large amount of information about the data. Moreover,the naive way to address this issue, using Oblivious RAM (ORAM) primitives from the security literature, adds substantial overhead. A number of recent works explore trusted hardware enclaves as a path toward secure, access-pattern oblivious outsourcing of data storage and analysis. While these works efficiently solve specific subproblems (e.g. building secure indexes or running analytics queries that always scan entire tables), no prior work has supported oblivious query processing for general query workloads on a DBMS engine with multiple access methods. Moreover, applying these techniques individually does not guarantee that an end-to-end workload, such as a complex SQL query over multiple tables, will be oblivious. In this paper, we introduce ObliDB, an oblivious database engine design that is the first system to provide obliviousness for general database read workloads over multiple access methods. ObliDB supports a broad range of queries, including aggregation, joins, insertions, deletions and point queries. We implement ObliDB and show that, on analytics work-loads, ObliDB ranges from 1.1-19x faster than Opaque,a previous oblivious, enclave-based system designed only for analytics, and comes within 2.6x of Spark SQL. ObliDB supports point queries with 3-10ms latency, which runs over 7x faster than HIRB, a previous encryption-based oblivious index system.

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

↑