Key Management for Encrypted Virtual Machine Migration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional encrypted virtualization techniques face complexity in key management for guest launch, requiring attestation processes and secure communication connections between encrypted virtual machines and owners, which complicates migration and management, especially in public cloud environments.

Innovation Solution

A key management mechanism that allows encrypted virtual machines to migrate securely between host machines without direct communication with the guest owner, using VM-specific keys for encryption and decryption, enabling efficient and secure transmission of secret data for launching encrypted VMs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional encrypted virtualization techniques are used with attestation processes and secure communication connections, then security is improved, but device complexity increases

Engineering Contradiction:
ImprovesecurityVSAvoidkey management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the key management functionality from the hypervisor and guest OS, placing it instead in a dedicated key management service (KMS) and secure enclave. This separation removes the complex key management burden from the virtualization layer while maintaining security through hardware-backed key protection and automated key lifecycle management in the KMS.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a key management service (KMS) as an intermediary between the guest VM and the encryption keys. The KMS acts as a mediator that handles key generation, storage, and distribution without requiring direct access to keys by the hypervisor or guest OS, thereby simplifying key management while maintaining security through centralized control and auditability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If attestation processes and secure communication connections are implemented, then security is improved, but ease of operation deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoidmigration ease
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent implements self-service key management where the key management service (KMS) automatically performs key generation, rotation, and distribution without manual intervention. During VM migration, the KMS automatically handles key transfer and re-encryption operations, eliminating the need for manual key exchange between guest owners and VMs while maintaining security through automated attestation and encryption.

Inventive Principle:
Principle #25Self-service

3Reliability

If direct key exchange between guest owner and VMs is required, then security is improved, but productivity decreases

Engineering Contradiction:
ImprovesecurityVSAvoidmigration efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent replaces the manual mechanical process of direct key exchange between guest owners and VMs with an automated cryptographic system. The key management service (KMS) uses automated attestation, cryptographic key generation, and secure key distribution protocols to eliminate manual key exchange operations, thereby maintaining security while dramatically improving migration efficiency and reducing operational overhead.

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

Data Source

PatentUS10860359B2Key management for encrypted virtual machines
Publication Date: 2020.12.08 RED HAT INC
  • US10860359B2 patent drawing
  • US10860359B2 patent drawing
  • US10860359B2 patent drawing

AI summary

Systems and methods for key management for encrypted virtual machines are disclosed. An example method may include receiving, by a source hypervisor running on a source host machine, a notification that a guest initialization is complete for migration of a virtual machine from the source hypervisor to a destination hypervisor, wherein the guest initialization comprises storing secret data associated with the virtual machine in an encrypted memory; initiating the migration of the virtual machine from the source host machine to the destination host machine in view of the notification; and transmitting, by the source hypervisor, an execution state of the virtual machine to the destination hypervisor, the execution state comprising at least a portion of the encrypted memory that stores the secret data. In some embodiments, the secret data comprises a cryptographic key.