SecuDB: An In-Enclave Privacy-Preserving and Tamper-Resistant Relational Database
Authors:
Open Access
- 1 August 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 17 (12) , 3906-3919
Abstract
With the escalation in the demand for privacy-preserving and tamper-resistant data management and processing on the public cloud, an increasing number of mainstream databases start to provide always-encrypted and blockchain-like features, including Microsoft SQL Server, MongoDB, and Alibaba PolarDB. The recent progress in Trusted Execution Environment (TEE) technology has enabled the deployment of the complete database engine within TEE. This implementation ensures that data stored in memory, cache, and registers is encrypted, thereby maintaining the confidentiality of information. In this paper, we present SecuDB, a multi-granularity privacy-preserving and tamper-resistant relational database by placing the entire RDBMS in Intel TDX. We propose a novel visibility control mechanism incorporating column masking, log masking, and statistics masking to realize fine-grained privacy preservation and devise an isolated TEE-endorsed temporal table method to support efficient data and query verifiability, without affecting insertion and selection performance. We evaluate SecuDB using Sysbench, TPC-C and TikTok copyright workloads. The results show that compared with a system without an enclave, SecuDB hits 84.7% and 94.7% of the performance when providing coarse-grained and fine-grained privacy preservation, respectively. While the overhead for tamper-resistance is less than 22.6%.Keywords
This publication has 28 references indexed in Scilit:
- Trusted Execution Environments: Properties, Applications, and ChallengesIEEE Security & Privacy, 2020
- EnclaveDB: A Secure Database Using SGX2018
- Hyperledger fabric2018
- Homomorphic Encryption for Arithmetic of Approximate Numbers2017
- The EU General Data Protection Regulation (GDPR)2017
- Intel® Software Guard Extensions (Intel® SGX) Support for Dynamic Memory Management Inside an Enclave2016
- TrustedDB: A Trusted Hardware-Based Database with Privacy and Data ConfidentialityIEEE Transactions on Knowledge and Data Engineering, 2013
- Homomorphic EncryptionProcedia Computer Science, 2013
- TrustedDB2011
- Fully homomorphic encryption using ideal lattices2009