Hypervisor Mediator for Virtual Machine Memory Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current virtualized systems lack adequate protection for guest partitions against malicious privileged users and malware, as the primary partition has control over the guest partition's virtualized state, compromising confidentiality and integrity.

Innovation Solution

The hypervisor configures the virtualized environment to restrict the primary partition's direct access to emancipated guest partitions' memory and virtual register state, using mechanisms like modifying the GPA-to-SPA map to point to decoy pages and providing a virtualized I/O channel with selective protection management, ensuring that only authorized changes are made through the hypervisor.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the primary partition has direct access to the guest partition's virtualized state for management purposes, then the ease of operation is improved, but the security and integrity of the guest partition deteriorates

Engineering Contradiction:
Improvemanagement accessVSAvoidguest partition integrity
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent introduces a hypervisor as an intermediary layer between the primary partition and the emancipated partition. The hypervisor manages all access requests, allowing the primary partition to interface with the emancipated partition only through controlled communication channels. This mediator architecture enables management operations while preventing direct access that could compromise guest partition integrity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the GPA-to-SPA map is modified to protect emancipated partition memory, then the security of the emancipated partition is improved, but the device complexity increases

Engineering Contradiction:
Improvememory protectionVSAvoidaddress mapping complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent employs decoy pages as fake memory copies in the GPA-to-SPA mapping for the primary partition. When the primary partition attempts to access emancipated partition memory, it receives data from these decoy pages instead of the actual memory. This copying approach provides protection without requiring complex access control logic, as the deception is achieved through simple data duplication.

Inventive Principle:
Principle #26Copying

3Reliability

If direct access to emancipated partition memory is restricted, then the confidentiality of the partition is improved, but the productivity of I/O operations deteriorates

Engineering Contradiction:
ImproveconfidentialityVSAvoidI/O operation speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments memory access into two distinct paths: protected access through the hypervisor for confidential operations, and direct access through I/O memory-mapped regions for performance-critical operations. This segmentation allows the system to maintain confidentiality for management operations while preserving I/O productivity by allowing optimized direct access paths for bulk data transfers.

Inventive Principle:
Principle #1Segmentation

4Reliability

If the trusted computing base is reduced for the emancipated partition, then the security against malicious users is improved, but the adaptability of the system deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoidsystem flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic trust management where the hypervisor can adjust the level of access and protection for different emancipated partitions based on their specific requirements. The system can dynamically allocate resources, modify communication channel permissions, and adjust protection levels without requiring changes to the overall architecture, thus maintaining adaptability while enforcing security boundaries.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8839239B2Protection of virtual machines executing on a host device
Publication Date: 2014.09.16 MICROSOFT TECHNOLOGY LICENSING LLC
  • US8839239B2 patent drawing
  • US8839239B2 patent drawing
  • US8839239B2 patent drawing

AI summary

Technology is described for protection of virtual machines executing on a host device having host processors and host memory. The system can include a hypervisor configured to enable the virtual machines to execute concurrently on the host device. An emancipated partition can be provided with a communication channel to the hypervisor. A primary partition can be configured to interface with the emancipated partition through the communication channel via the hypervisor. In addition, an emancipated memory space and virtual register state for the emancipated partition can be protected from direct access by the primary partition.