Hypervisor-Based Encryption for Virtual Machine Data Isolation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current encryption methods for network data in cloud environments lack contextual information, granularity, and ease of management, particularly in virtual machine communications, leading to inadequate protection against internal threats and high overhead in key management.

Innovation Solution

A hypervisor-based encryption scheme that uses guest introspection to apply context-aware, fine-grained security policies, dynamically encrypting data messages based on application-centric and contextual metadata, and managing encryption keys to isolate and secure data flows within and between virtual machines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional IPSec encryption is used for network data, then basic data protection is provided, but the system lacks contextual information and granularity for fine-grained security decisions

Engineering Contradiction:
Improvesecurity granularityVSAvoidencryption management complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the encryption function by introducing per-VM encryption keys instead of a single network-wide key. Each virtual machine receives a unique encryption key, enabling fine-grained security control at the VM level. This segmentation allows the system to provide contextual information for security decisions while maintaining manageable complexity through centralized key distribution.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a host-level intermediary that performs encryption before data reaches the VMs. The host acts as a mediator between the network and VMs, applying encryption based on contextual information about each VM and its traffic. This intermediary approach provides fine-grained control without requiring encryption complexity within the VMs themselves.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If in-guest encryption is implemented within virtual machines, then contextual information for security decisions is provided, but the protected data cannot be isolated from the protection mechanism

Engineering Contradiction:
Improvecontextual security informationVSAvoiddata isolation compromise
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent extracts the encryption function from the VMs and places it at the host level. Instead of VMs performing encryption themselves (which would couple data with protection mechanism), the host performs encryption externally. This separation maintains data isolation while providing contextual security information through host-based policy enforcement.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If both endpoints negotiate security associations and agree upon keys in traditional IPSec, then endpoint-to-endpoint security is established, but the number of keys grows quadratically to O(N2) in networks with N endpoints

Engineering Contradiction:
Improveendpoint securityVSAvoidkey management overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements a universal encryption key distribution model where a single host maintains encryption keys for multiple VMs. Instead of each VM pair negotiating separate keys (O(N2) complexity), the host centrally manages keys and distributes them as needed. This multi-functional approach allows one host to secure communications for many VMs without quadratic key proliferation.

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

Solution Approach 2:

The patent enables VMs to request and receive encryption keys autonomously from the host based on their security needs. Each VM self-identifies its requirements, and the host provides appropriate keys without requiring manual key negotiation between all endpoint pairs. This self-service model reduces key management overhead while maintaining endpoint security.

Inventive Principle:
Principle #25Self-service

4Reliability

If encryption is applied to all data messages from all GVMs, then comprehensive data protection is achieved, but the system cannot provide fine-grained differentiation for different VMs or data flows

Engineering Contradiction:
Improvedata protection coverageVSAvoidfine-grained security differentiation
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by encrypting data differently for different VMs and data flows based on their specific security requirements. The host examines contextual information about each VM and its traffic, then applies encryption selectively and差异化地. This allows comprehensive protection where needed while maintaining adaptability to provide fine-grained differentiation for different VMs or data flows.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12093406B2Method and apparatus for dynamically creating encryption rules
Publication Date: 2024.09.17 VMWARE INC
  • US12093406B2 patent drawing
  • US12093406B2 patent drawing
  • US12093406B2 patent drawing

AI summary

For a host that executes one or more guest virtual machines (GVMs), some embodiments provide a novel encryption method for encrypting the data messages sent by the GVMs. The method initially receives a data message to send for a GVM executing on the host. The method then determines whether it should encrypt the data message based on a set of one or more encryption rules. When the process determines that it should encrypt the received data message, it encrypts the data message and forwards the encrypted data message to its destination; otherwise, the method just forwards the received data message unencrypted to its destination. In some embodiments, the host encrypts differently the data messages for different GVMs that execute on the host. When two different GVMs are part of two different logical overlay networks that are implemented on common network fabric, the method in some embodiments encrypts the data messages exchanged between the GVMs of one logical network differently than the data messages exchanged between the GVMs of another logical network. In some embodiments, the method can also encrypt different types of data messages from the same GVM differently. Also, in some embodiments, the method can dynamically enforce encryption rules in response to dynamically detected events, such as malware infections.