Skip to main content
QUICK REVIEW

[Paper Review] Trusted Container Extensions for Container-based Confidential Computing

Ferdinand Brasser, Patrick Jauernig|arXiv (Cornell University)|May 11, 2022
Security and Verification in ComputingComputer Science7 citations
TL;DR

This paper introduces Trusted Container Extensions (TCX), a novel container security architecture that combines Docker's agility with hardware-enforced Trusted Execution Environments (TEEs) using AMD SEV to provide strong confidentiality and integrity guarantees for container workloads in untrusted cloud environments. TCX achieves low performance overhead—5.77% on SPEC2017 benchmarks—by leveraging lightweight Secure Container VMs and seamless integration with Kata Containers.

ABSTRACT

Cloud computing has emerged as a corner stone of today's computing landscape. More and more customers who outsource their infrastructure benefit from the manageability, scalability and cost saving that come with cloud computing. Those benefits get amplified by the trend towards microservices. Instead of renting and maintaining full VMs, customers increasingly leverage container technologies, which come with a much more lightweight resource footprint while also removing the need to emulate complete systems and their devices. However, privacy concerns hamper many customers from moving to the cloud and leveraging its benefits. Furthermore, regulatory requirements prevent the adaption of cloud computing in many industries, such as health care or finance. Standard software isolation mechanisms have been proven to be insufficient if the host system is not fully trusted, e.g., when the cloud infrastructure gets compromised by malicious third-party actors. Consequently, confidential computing is gaining increasing relevance in the cloud computing field. We present Trusted Container Extensions (TCX), a novel container security architecture, which combines the manageability and agility of standard containers with the strong protection guarantees of hardware-enforced Trusted Execution Environments (TEEs) to enable confidential computing for container workloads. TCX provides significant performance advantages compared to existing approaches while protecting container workloads and the data processed by them. Our implementation, based on AMD Secure Encrypted Virtualization (SEV), ensures integrity and confidentiality of data and services during deployment, and allows secure interaction between protected containers as well as to external entities. Our evaluation shows that our implementation induces a low performance overhead of 5.77% on the standard SPEC2017 benchmark suite.

Motivation & Objective

  • To address the growing need for strong security in cloud-native container workloads where traditional isolation mechanisms fail under untrusted cloud providers.
  • To overcome the limitations of existing TEE-based container solutions, such as high performance overhead, inflexible memory management, and vulnerability to malicious cloud providers.
  • To design a generic, extensible architecture that integrates seamlessly with existing container ecosystems like Docker and Kata Containers.
  • To ensure end-to-end protection of container workloads, including secure deployment, runtime integrity, and secure inter-container communication.
  • To demonstrate that hardware-enforced TEEs can be efficiently applied to containerized workloads without sacrificing manageability or performance.

Proposed method

  • TCX uses a single trusted Secure Container VM (SC-VM) per host to manage multiple isolated container workloads via hardware-enforced TEEs, such as AMD SEV.
  • Each container runs inside a dedicated, lightweight SC-VM that provides memory encryption and isolation, ensuring data confidentiality and integrity even if the host is compromised.
  • The architecture integrates with the Kata Containers project to enable native Docker container lifecycle management and system call handling within the SC-VM.
  • TCX provides secure communication channels between SC-VMs and external entities using authenticated and encrypted messaging protocols.
  • It supports secure storage and remote attestation, enabling trust verification of container workloads without exposing sensitive data.
  • The design avoids kernel modifications and supports multiple TEEs, including AMD SEV, Intel TDX, and Arm CCA, ensuring portability across modern CPU architectures.

Experimental results

Research questions

  • RQ1Can a container security architecture combine the manageability of Docker with the strong isolation guarantees of hardware-enforced TEEs?
  • RQ2How can TEEs be efficiently applied to container workloads without incurring prohibitive performance overhead?
  • RQ3Can the attack surface be minimized while still enabling secure system call handling and inter-container communication?
  • RQ4To what extent can TCX protect against both insider threats and malicious cloud providers?
  • RQ5Is it feasible to build a generic, portable container security framework that supports multiple TEE architectures?

Key findings

  • TCX achieves a performance overhead of only 5.77% on the standard SPEC2017 benchmark suite, demonstrating high efficiency for confidential computing in containerized environments.
  • Network throughput overhead is 22.1% for NGINX and 13.36% for Apache, indicating strong performance characteristics for web workloads.
  • The architecture successfully protects container workloads at rest, during deployment, and at runtime, ensuring confidentiality and integrity even under a compromised host.
  • TCX enables secure, transparent communication between protected containers and external entities using authenticated channels.
  • The solution supports multiple TEEs, including AMD SEV, Intel TDX, and Arm CCA, making it portable across modern hardware platforms.
  • TCX avoids kernel modifications and does not require code signing restrictions, unlike SGX-based solutions, enhancing usability and security.

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.