SGX-LKL: Securing the Host OS Interface for Trusted Execution
arXiv:1908.11143
Abstract
Hardware support for trusted execution in modern CPUs enables tenants to shield their data processing workloads in otherwise untrusted cloud environments. Runtime systems for the trusted execution must rely on an interface to the untrusted host OS to use external resources such as storage, network, and other functions. Attackers may exploit this interface to leak data or corrupt the computation. We describe SGX-LKL, a system for running Linux binaries inside of Intel SGX enclaves that only exposes a minimal, protected and oblivious host interface: the interface is (i) minimal because SGX-LKL uses a complete library OS inside the enclave, including file system and network stacks, which requires a host interface with only 7 calls; (ii) protected because SGX-LKL transparently encrypts and integrity-protects all data passed via low-level I/O operations; and (iii) oblivious because SGX-LKL performs host operations independently of the application workload. For oblivious disk I/O, SGX-LKL uses an encrypted ext4 file system with shuffled disk blocks. We show that SGX-LKL protects TensorFlow training with a 21% overhead.
References in corpus (5)
Cited by in corpus (13)
- SmashEx: Smashing SGX Enclaves Using Exceptions
- Minimum Viable Device Drivers for ARM TrustZone
- Confidential Machine Learning Computation in Untrusted Environments: A Systems Security Perspective
- Understanding TEE Containers, Easy to Use? Hard to Trust
- Enclave-Aware Compartmentalization and Secure Sharing with Sirius
- TEEMon: A continuous performance monitoring framework for TEEs
- Confidential Attestation: Efficient in-Enclave Verification of Privacy Policy Compliance
- Distributed systems and trusted execution environments: Trade-offs and challenges
- Binary Compatibility For SGX Enclaves
- CRC: Fully General Model of Confidential Remote Computing
- Hector: Using Untrusted Browsers to Provision Web Applications
- BAHULAM: Distributed Data Analytics on Secure Enclaves
- Stockade: Hardware Hardening for Distributed Trusted Sandboxes