Trusted Execution Environment Replication for Side-Channel Security

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Trusted Execution Environments (TEEs) like Intel SGX are vulnerable to side-channel attacks, which can leak secret material such as private keys, compromising security provisions that rely on key secrecy.

Innovation Solution

The solution involves replicating TEE applications across multiple secure platforms and using threshold signature schemes and secure multi-party computation to distribute cryptographic operations, ensuring that an adversary must attack all replicas to invalidate security provisions, thereby mitigating the impact of side-channel attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If TEE applications run on a single secure platform, then device complexity is low, but security reliability is vulnerable to side-channel attacks

Engineering Contradiction:
Improvesecurity reliabilityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The application is divided into multiple independent replicas distributed across different secure platforms. Each replica operates independently and can be attacked separately, so compromising one does not compromise the entire system. This segmentation approach transforms a single point of failure into multiple distributed secure execution instances.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system transitions from a single-platform execution model to a multi-platform distributed execution model. By adding the dimension of spatial distribution across multiple secure platforms, the system achieves fault tolerance and security against side-channel attacks that would be impossible in a single-platform configuration.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If multiple replicas are deployed across secure platforms, then security against side-channel attacks is improved, but device complexity increases

Engineering Contradiction:
Improvesecurity reliabilityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

Multiple replica executions are merged through a coordination mechanism that collects results from all replicas and verifies consistency. The master application aggregates outputs from all replicas and uses threshold signature schemes to combine cryptographic operations, achieving both security and functional correctness.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system implements feedback mechanisms where the master application monitors and verifies results from all replicas. Consistency checks between replicas provide feedback that ensures correct computation while detecting potential attacks or failures, allowing the system to maintain security through continuous verification.

Inventive Principle:
Principle #23Feedback

3Reliability

If threshold signature schemes are used across replicas, then security provisions are maintained even if some replicas are compromised, but computational overhead increases

Engineering Contradiction:
Improvesecurity reliabilityVSAvoidcomputational overhead
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system uses threshold signature schemes where only a subset of replicas (the threshold number) needs to participate in the signature generation process. This partial action approach allows the system to maintain security even when some replicas are compromised or slow, as long as the threshold is met. The excessive action of having multiple replicas provides redundancy that can be activated only when needed.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11362841B2Method and system for providing security in trusted execution environments
Publication Date: 2022.06.14 NEC CORP
  • US11362841B2 patent drawing
  • US11362841B2 patent drawing
  • US11362841B2 patent drawing

AI summary

A method secures a system that includes an application owner, a master application, and a plurality secure platforms. The master application receives from the application owner an application and an input. The application computes a function to calculate an output from the input. The master application deploys replicas of the application on a number of the secure platforms. The master application establishes a secure channel with each of the replicas, and sends at least a portion of the input to the replicas. The master application receives a result calculated by each of the replicas. The result is determined according to the function and the at least the portion of input. The master application determines the output based on the result received from each of the replicas; and sends to the application owner, the output.