Middlebox TEE for Encrypted Message Content Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing communication systems face a conflict between the need for middlebox devices to analyze message content for security purposes, such as intrusion detection and filtering, and the requirement to maintain end-to-end encryption, as middleboxes cannot typically read encrypted messages without compromising privacy.

Innovation Solution

Incorporating trusted execution environment (TEE) circuitry in middlebox devices to determine and use cryptographic session keys to decrypt and analyze encrypted messages, allowing for content analysis while ensuring the privacy of communication between endpoint devices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If end-to-end encryption is applied to protect privacy of communication between endpoint devices, then privacy and security are improved, but middlebox devices cannot read encrypted messages to perform content analysis for intrusion detection and filtering

Engineering Contradiction:
Improveprivacy securityVSAvoidmessage content analysis
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system segments the middlebox functionality into two distinct parts: an untrusted component that handles encrypted traffic forwarding and a trusted execution environment (TEE) that performs content analysis. The TEE is isolated from the rest of the middlebox system, creating a secure boundary that allows decryption and analysis without compromising overall system security or endpoint privacy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The trusted execution environment acts as an intermediary between the encrypted communication channel and the content analysis function. It receives encrypted messages from the untrusted middlebox component, decrypts them using secure keys stored within the TEE, performs content analysis, and returns results without exposing plaintext to the untrusted environment or external attackers.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Difficulty of detecting and measuring

If a middlebox decrypts and analyzes message content to perform filtering and security functions, then content analysis capability is improved, but privacy of communication between endpoints is compromised

Engineering Contradiction:
Improvemessage content analysisVSAvoidcommunication privacy
Core Design Contradiction:
Difficulty of detecting and measuringVSReliability

Solution Approach 1:

The system applies different security qualities to different parts of the middlebox: the majority of the middlebox operates in an untrusted manner for forwarding encrypted traffic, while a specific localized component (the TEE) operates in a highly trusted manner for decryption and analysis. This local quality differentiation allows content analysis capability while maintaining endpoint privacy, as only the isolated TEE has access to plaintext.

Inventive Principle:
Principle #3Local quality

3Reliability

If end-to-end encryption is used to prevent middleboxes from reading messages, then privacy is protected, but middleboxes cannot perform intrusion detection, DDoS prevention, and access control functions

Engineering Contradiction:
Improveprivacy protectionVSAvoidsecurity function capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The trusted execution environment provides multi-functionality by enabling the middlebox to perform multiple security functions (intrusion detection, DDoS prevention, access control, content filtering) while maintaining end-to-end encryption. The TEE's ability to securely decrypt and analyze messages allows diverse security applications without requiring the middlebox to compromise the encrypted channel, thus achieving both privacy protection and versatile security functionality.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11658944B2Methods and apparatus for encrypted communication
Publication Date: 2023.05.23 ARM IP
  • US11658944B2 patent drawing
  • US11658944B2 patent drawing
  • US11658944B2 patent drawing

AI summary

Aspects of the present disclosure relate to an apparatus comprising first interface circuitry to communicate with a first computing device and second interface circuitry to communicate with a second computing device. The first interface circuitry is configured to receive a handshake message from the first computing device. The second interface circuitry is configured to transmit the handshake message to the second computing device and to receive a handshake response message from the second computing device. The first interface circuitry is configured to transmit the handshake response message to the first computing device, whereby to establish a communication session between the first computing device and the second computing device. Apparatus comprises trusted execution environment circuitry to determine a cryptographic session key associated with said communication session, and use said session key to decrypt content of messages transmitted between the first and second computing devices via the apparatus, and analyse said decrypted content.