Trusted Service Counter for TEE Restart Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Trusted Execution Environments (TEEs) are vulnerable to attacks that exploit side-channels, particularly those that involve restarting the environment to leak secrets, as existing detection methods fail to effectively monitor performance anomalies and detect stealthy attacks.

Innovation Solution

A trusted service is provided to TEEs that monitors and tracks the number of restarts and execution time, using a secure communication channel with authenticated messages and pseudo-random functions to determine the validity of counter increments, enabling the TEEs to assess their health status and respond to potential threats.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional performance monitoring methods are used to detect attacks on TEEs, then cache-misses and page-faults can be detected, but stealthy attacks that restart the environment cannot be effectively detected

Engineering Contradiction:
Improveattack detection capabilityVSAvoiddetection method effectiveness
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent introduces a trusted service as an intermediary component that maintains a persistent counter across TEE restarts. This counter serves as a mediator between the TEE and the external monitoring system, allowing detection of restart-based attacks without relying on performance metrics that attackers can bypass. The trusted service validates counter increments and provides authenticated responses, creating a reliable detection mechanism that works even when traditional performance monitoring fails.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a trusted service is introduced to monitor restarts and execution time, then stealthy attacks can be detected, but system complexity increases

Engineering Contradiction:
Improveattack detection reliabilityVSAvoidsystem architecture complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the detection system into distinct functional components: a trusted service that maintains and validates the restart counter, an authenticated communication channel for message exchange, and a pseudo-random function generator for security validation. This segmentation allows each component to perform its specific function reliably while keeping the overall system manageable and modular.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The trusted service performs preliminary actions by pre-establishing an authenticated communication channel and pre-generating pseudo-random values before actual attack detection begins. The counter is initialized and ready to track restarts from the outset, allowing immediate detection without requiring complex post-hoc analysis.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If authenticated messages with pseudo-random functions are used for secure communication, then security is enhanced, but communication overhead increases

Engineering Contradiction:
Improvecommunication securityVSAvoidmessage processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent replaces complex cryptographic verification mechanisms with a simpler counter-based authentication system. Instead of using heavy cryptographic protocols for every message exchange, the system uses a trusted counter that increments with each valid interaction, providing security through the integrity and persistence of the counter value rather than through computationally intensive cryptographic operations.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS11748472B2Trusted service for detecting attacks on trusted execution environments
Publication Date: 2023.09.05 NEC CORP
  • US11748472B2 patent drawing
  • US11748472B2 patent drawing
  • US11748472B2 patent drawing

AI summary

A method for providing a trusted service to a trusted execution environment running on a remote host machine includes receiving a message from the trusted execution environment and incrementing a counter of the trusted service. A response message is sent to the trusted execution environment using a value of the incremented counter.