Secure Enclave Logging Unit for VM Exit Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current information processing systems face challenges in securely managing and isolating confidential information, particularly in maintaining secure environments within these systems, as existing techniques may not efficiently log and monitor memory management and paging activities within secure enclaves without causing virtual machine exits, which can impact performance.

Innovation Solution

The implementation of a secure enclave unit with an enclave page cache (EPC) and logging unit that logs instructions related to secure enclave creation, memory management, and paging activities, allowing for improved performance by reducing the need for virtual machine exits through logging in system memory, enabling the virtual machine monitor to monitor these activities without interruptions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If logging is implemented in secure enclaves to monitor memory management and paging activities, then security monitoring capability is improved, but system performance deteriorates due to increased virtual machine exits

Engineering Contradiction:
Improvesecurity monitoring capabilityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The logging functionality is segmented into a dedicated logging unit within the secure enclave that operates independently from the main virtual machine monitor. This segmentation allows logging operations to be performed within the enclave without triggering virtual machine exits, thus maintaining security monitoring capability while preserving system performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A logging unit acts as an intermediary component within the secure enclave that captures and records memory management and paging activities locally. This intermediary enables monitoring functionality without requiring communication with the external virtual machine monitor, eliminating performance-degrading virtual machine exits while maintaining reliable security oversight.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If virtual machine monitor monitors secure enclave activities, then security oversight is improved, but control transfer frequency increases impacting performance

Engineering Contradiction:
Improvesecurity oversightVSAvoidcontrol transfer frequency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The secure enclave incorporates a self-contained logging unit that performs monitoring and logging of memory management and paging activities autonomously within the enclave boundaries. This self-service capability eliminates the need for frequent control transfers to the virtual machine monitor, maintaining security oversight while reducing time loss from control transfers.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9189411B2Logging in secure enclaves
Publication Date: 2015.11.17 INTEL CORP
  • US9189411B2 patent drawing
  • US9189411B2 patent drawing
  • US9189411B2 patent drawing

AI summary

Embodiments of an invention for logging in secure enclaves are disclosed. In one embodiment, a processor includes an instruction unit and an execution unit. The instruction unit is to receive an instruction having an associated enclave page cache address. The execution unit is to execute the instruction without causing a virtual machine exit, wherein execution of the instruction includes logging the instruction and the associated enclave page cache address.