Skip to main content
QUICK REVIEW

[Paper Review] Pushing the Limits of Encrypted Databases with Secure Hardware

Panagiotis Antonopoulos, Arvind Arasu|arXiv (Cornell University)|Sep 7, 2018
Cryptography and Data SecurityComputer Science23 references3 citations
TL;DR

This paper proposes a confidential-by-design encrypted database system using server-side trusted hardware (e.g., Intel SGX) to overcome limitations of property-preserving encryption (PPE), enabling higher functionality and better performance. It introduces a 'confidentiality à la carte' model that dynamically composes security levels via a trusted machine, supporting complex operations like joins and aggregations securely and efficiently.

ABSTRACT

Encrypted databases have been studied for more than 10 years and are quickly emerging as a critical technology for the cloud. The current state of the art is to use property-preserving encrypting techniques (e.g., deterministic encryption) to protect the confidentiality of the data and support query processing at the same time. Unfortunately, these techniques have many limitations. Recently, trusted computing platforms (e.g., Intel SGX) have emerged as an alternative to implement encrypted databases. This paper demonstrates some vulnerabilities and the limitations of this technology, but it also shows how to make best use of it in order to improve on confidentiality, functionality, and performance.

Motivation & Objective

  • Address the limitations of property-preserving encryption (PPE), such as lack of composability and semantic insecurity, in encrypted databases.
  • Overcome the performance and functionality bottlenecks of full homomorphic encryption (FHE), which remains impractical for real-world use.
  • Enable secure, efficient execution of complex SQL operations (e.g., joins, aggregations, range queries) on encrypted data using trusted hardware.
  • Introduce a flexible confidentiality model that allows dynamic adjustment of security levels per column without full re-encryption.
  • Formalize and analyze the confidentiality, functionality, and performance tradeoffs in modern encrypted database systems using trusted computing platforms.

Proposed method

  • Leverage trusted computing platforms (e.g., Intel SGX) to host a trusted machine (TM) that performs decryption and computation on encrypted data.
  • Design a client-side encryption architecture where queries are rewritten with encrypted constants and sent to the untrusted database server.
  • Use the TM to execute arbitrary operations (e.g., comparisons, arithmetic) on decrypted data, then re-encrypt results for return to the client.
  • Introduce a program registration scheme that allows dynamic activation/deactivation of security layers (e.g., encryption schemes) per column, avoiding full data re-encryption.
  • Support multiple encryption schemes (e.g., deterministic, order-preserving, Paillier) in a composable way via the TM, enabling complex predicates.
  • Formalize three confidentiality levels inspired by PPE, but extendable via trusted hardware to support richer functionality and better performance.

Experimental results

Research questions

  • RQ1Can trusted hardware be used to overcome the composability and functionality limitations of property-preserving encryption in encrypted databases?
  • RQ2How can confidentiality be dynamically adjusted per column without incurring high re-encryption costs, as in systems like CryptDB?
  • RQ3What are the practical tradeoffs between confidentiality, functionality, and performance in encrypted databases using trusted hardware?
  • RQ4How does the trusted machine model compare to existing systems like TrustedDB and Haven in terms of security model and attack surface?
  • RQ5Can a unified, composable framework be built for encrypted databases that supports complex SQL operations securely and efficiently?

Key findings

  • The proposed system achieves higher functionality than PPE-based systems by enabling composable operations (e.g., arithmetic and comparisons) on encrypted data via a trusted machine.
  • Dynamic adjustment of confidentiality levels per column is achieved by activating/deactivating TM rules, avoiding the costly full-column re-encryption required by systems like CryptDB.
  • The system supports complex SQL operations such as equi-joins, group-by, order-by, and range predicates with better security guarantees than PPE alone.
  • Trusted hardware enables performance levels closer to plaintext databases, especially when optimized algorithms (e.g., sort-based) are used for probabilistic data types.
  • The system confirms that no perfect encrypted database exists that combines full SQL support, strong security, and good performance—validating the need for 'confidentiality à la carte'.
  • The approach is directly applicable to systems like Cipherbase and VC3, which share the same attacker model as PPE-based systems, and enables orthogonal performance optimizations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.