Confidential Computing and TEEs: What Are They?

Nov 10, 20242 min read
photo

You've likely heard terms like Confidential Computing and Trusted Execution Environments (TEEs) thrown around, but they can be challenging to understand. Today, we’re here to break down these concepts, explain how they work, and show you how they fit into the security framework at Oraichain.

What is Confidential Computing?

Confidential Computing refers to the protection of data while it is being processed. It involves using secure, hardware-based environments known as Trusted Execution Environments (TEEs). TEEs provide a secure and trusted foundation to ensure that computations are carried out without unauthorized access or modification of data and applications during processing. This is essential for organizations handling sensitive or regulated data, as it safeguards the data throughout its lifecycle.

The Role of Confidential Computing in Private Intelligence

One of the key applications of Confidential Computing is in Private Intelligence. This refers to securely analyzing sensitive data to derive insights while ensuring that its confidentiality and integrity are maintained. By utilizing Confidential Computing, organizations can analyze data without exposing it, ensuring both privacy and regulatory compliance.

Technologies Behind Confidential Computing

To establish a secure Confidential Computing infrastructure, several advanced technologies are employed, with Trusted Execution Environments (TEEs) being one of the core components. In addition to TEEs, other technologies commonly used include:

  • Homomorphic Encryption (HE): Allows data to be processed while still encrypted, maintaining its privacy during analysis.
  • Secure Multiparty Computation (MPC): Enables multiple parties to collaborate on data analysis without sharing their private data with one another.
  • Trusted Execution Environments (TEE): Provides a secure, isolated environment for computations, ensuring that data remains protected during processing.

Trusted Execution Environment (TEE): The Core of Secure Computing

A TEE is a secure area within a CPU or GPU that ensures sensitive data is processed safely. Think of it as a "safe room" for data, isolated from the rest of the system—even if the device itself is compromised. By keeping data within this secure environment, TEEs are essential for ensuring that sensitive data is processed securely without the risk of unauthorized access.

Pros of TEEs:

  • Hardware-Based Security: TEEs rely on hardware-based security, providing an extra layer of protection compared to software-only methods.
  • Widespread Availability: Many major infrastructure providers support TEEs, making it easier for organizations to adopt and integrate this technology.
  • Simpler Application Migration: Moving applications to a TEE is relatively straightforward, particularly compared to more complex technologies like Homomorphic Encryption (HE) and Secure Multiparty Computation (MPC).

Oraichain’s Use of TEE for Secure Computing

At Oraichain, we leverage TEEs to bolster the security of our data processing infrastructure. Specifically, we utilize Intel's Software Guard Extensions (SGX) to safeguard workloads running in Kubernetes clusters. This choice provides several advantages in maintaining the confidentiality and integrity of sensitive data:

  1. Isolation and Encryption: Each workload operates within a secure enclave, which encrypts and protects the data, preventing unauthorized access, even by administrators with high privileges.
  2. Reduced TCB (Trusted Computing Base): By selecting Intel SGX—a process-based TEE—we are able to minimize the components we need to trust, limiting our TCB to only the most essential parts rather than the entire virtual machine or hypervisor layer.
  3. Vendor Support: Intel and AMD both support TEE-enabled CPUs (Intel TDX/SGX and AMD SEV), allowing for seamless integration with our existing infrastructure.
Table of Contents
  1. What is Confidential Computing?
  2. The Role of Confidential Computing in Private Intelligence
  3. Technologies Behind Confidential Computing
  4. Trusted Execution Environment (TEE): The Core of Secure Computing
  5. Pros of TEEs:
  6. Oraichain’s Use of TEE for Secure Computing