Virtual Machine Secure Boot via Hypervisor Trap Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current virtualization technologies lack a reliable method to verify the integrity of boot components and restore corrupt files before booting a virtual machine, particularly in the face of threats like bootkits, where the hypervisor or virtualization host's higher privileges are not utilized effectively for secure booting.

Innovation Solution

An apparatus and method that uses a trap to temporarily interrupt the virtual machine's boot process, allowing higher-level access to the virtual disk to verify the integrity of boot files and sequences by comparing them with a trusted boot image, and restore any forged data using a trusted boot image stored in image storage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the hypervisor or virtualization host is used as a root-of-trust with higher privileges, then the ability to verify boot component integrity is improved, but the complexity of the boot verification system increases

Engineering Contradiction:
Improveboot component integrity verificationVSAvoidboot verification system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a trap generation unit as an intermediary mechanism between the virtual machine and the hypervisor. When a trap is generated during boot, the hypervisor intercepts it and gains temporary higher privileges to access the virtual disk and verify boot components. This intermediary trap mechanism enables the hypervisor to act as a root-of-trust without requiring permanent system complexity changes, resolving the contradiction between verification reliability and system complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the boot process is interrupted to verify integrity, then the security verification capability is improved, but the boot time increases

Engineering Contradiction:
Improvesecurity verification capabilityVSAvoidboot time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements preliminary action by generating a trap at the very beginning of the boot process, before the virtual machine fully boots. This allows the hypervisor to verify the integrity of boot components (such as VXD files and boot sequences) before they are executed. By performing verification in advance during the initial trap interruption rather than after boot completion, the system maintains high security verification capability while minimizing the time added to the overall boot process.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If the virtual disk is accessed using higher-level access privileges, then the ability to detect forged boot files is improved, but the operational complexity of disk access increases

Engineering Contradiction:
Improveforged boot file detection accuracyVSAvoiddisk access complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies dynamics by making the disk access privilege level dynamic rather than static. During normal virtual machine operation, the virtual machine accesses the virtual disk with standard privileges. However, when a trap is generated during boot, the system dynamically transitions to higher-level access privileges for the duration of the verification process, allowing detection of forged boot files. After verification completes, the system returns to normal privilege levels. This dynamic privilege adjustment improves detection accuracy while avoiding permanent operational complexity.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11204776B2Apparatus and method for booting virtual machines
Publication Date: 2021.12.21 ELECTRONICS & TELECOMM RES INST
  • US11204776B2 patent drawing
  • US11204776B2 patent drawing
  • US11204776B2 patent drawing

AI summary

Disclosed herein are an apparatus and method for booting a virtual machine. The apparatus for booting a virtual machine includes: an access unit for accessing a virtual disk, corresponding to a virtual machine that exists in a virtualization area, using a trap generated by a trap generation unit, and for controlling the input and output of data stored in the virtual disk; an extraction unit for extracting data used for booting from the virtual disk; and a verification unit for extracting a trusted boot image from image storage and verifying the integrity of the data used for booting based on a result of comparing the trusted boot image with the data used for booting.