Title
A Practical Intel SGX Setting for Linux Containers in the Cloud.
Abstract
With close to native performance, Linux containers are becoming the de facto platform for cloud computing. While various solutions have been proposed to secure applications and containers in the cloud environment by leveraging Intel SGX, most cloud operators do not yet offer SGX as a service. This is likely due to a number of security, scalability, and usability concerns coming from both cloud providers and users. Cloud operators worry about the security guarantees of unofficial SDKs, limited support for remote attestation within containers, limited physical memory for the Enclave Page Cache (EPC) making it difficult to support hundreds of enclaves, and potential DoS attacks against EPC by malicious users. Meanwhile, end users need to worry about careful program partitioning to reduce the TCB and adapting legacy applications to use SGX. We note that most of these concerns are the result of an incomplete infrastructure, from the OS to the application layer. We address these concerns with lxcsgx, which allows SGX applications to run inside containers while also: enabling SGX remote attestation for containerized applications, enforcing EPC memory usage control on a per-container basis, providing a general software TPM using SGX to augment legacy applications, and supporting partitioning with a GCC plugin. We then retrofit Nginx/OpenSSL and Memcached using the software TPM and SGX partitioning to defend against known and potential attacks. Thanks to the small EPC footprint of each enclave, we are able to run up to 100 containerized Memcached instances without EPC swapping. Our evaluation shows the overhead introduced by lxcsgx is less than 6.9% for simple SGX applications, 9.5% for Nginx/OpenSSL, and 20.9% for containerized Memcached.
Year
DOI
Venue
2019
10.1145/3292006.3300030
CODASPY
Keywords
Field
DocType
Cloud, Containers, Security, SGX
Application layer,Denial-of-service attack,End user,Computer science,Computer security,Page cache,Plug-in,Legacy system,Cloud computing,Scalability
Conference
ISBN
Citations 
PageRank 
978-1-4503-6099-9
2
0.41
References 
Authors
0
5
Name
Order
Citations
PageRank
Dave (Jing) Tian120.41
Joseph I. Choi263.85
Grant Hernandez3335.41
Patrick Traynor4117187.80
Kevin Butler567549.73