Hypervisor Device Trust Classification for VM Security

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtualization systems face inefficiencies and security risks when exposing untrusted devices to virtual machines, as they require significant system resources and time to modify security protocols, potentially compromising security and integrity.

Innovation Solution

The hypervisor determines whether a device is trusted or untrusted and abstracts it accordingly, exposing untrusted devices as host-controlled devices and trusted devices as hypervisor-controlled devices, allowing the guest OS to initiate appropriate security protocols without unnecessary resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the hypervisor exposes untrusted devices to virtual machines with strict security protocols, then security is improved, but system latency and resource consumption increase

Engineering Contradiction:
ImprovesecurityVSAvoidsystem latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The hypervisor performs preliminary classification of devices as trusted or untrusted during device initialization, before the virtual machine needs to access them. This pre-categorization allows the guest OS to apply appropriate security protocols only when necessary, avoiding the overhead of implementing strict security checks for all devices from the outset.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system applies different security protocol requirements to different devices based on their trust status. Trusted devices receive standard security treatment while untrusted devices trigger enhanced security protocols. This localized application of security measures ensures that strict security is applied only where needed, reducing overall system latency and resource consumption.

Inventive Principle:
Principle #3Local quality

2Reliability

If the guest OS implements strict security protocols for all devices, then security is improved, but system resources are wasted on unnecessary security checks

Engineering Contradiction:
ImprovesecurityVSAvoidsystem resources
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The hypervisor enables the guest OS to differentiate between trusted and untrusted devices by providing trust status information. This allows the guest OS to implement strict security protocols only for untrusted devices while using standard protocols for trusted devices, eliminating unnecessary security overhead and optimizing system resource utilization.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The trust classification is performed in advance by the hypervisor before the guest OS needs to process device security. This preliminary action provides the guest OS with ready-to-use trust status information, enabling it to make efficient security decisions without performing redundant security assessments on already-classified devices.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If the hypervisor abstracts all devices uniformly, then device management is simplified, but security differentiation between trusted and untrusted devices is lost

Engineering Contradiction:
Improvedevice managementVSAvoidsecurity protocol execution
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The hypervisor maintains a dual approach: it provides uniform device abstraction for simplified management while simultaneously attaching trust status metadata to each device. This allows the guest OS to distinguish between trusted and untrusted devices based on the provided information, enabling differentiated security protocol execution without complicating the overall device management architecture.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The hypervisor acts as an intermediary that bridges simplified device abstraction and security differentiation. It presents a unified device interface to the guest OS while embedding trust status information that enables security protocols to be applied appropriately. This intermediary role allows both simplified management and security differentiation to coexist.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12020053B2Exposing untrusted devices to virtual machines
Publication Date: 2024.06.25 RED HAT LLC
  • US12020053B2 patent drawing
  • US12020053B2 patent drawing
  • US12020053B2 patent drawing

AI summary

A method includes receiving, by a hypervisor executing on a computing system, a request to associate an input/output (I/O) device with a virtual machine running on the computing system. The I/O device corresponds to a physical device attached to a first peripheral bus of a first bus type. The method further includes determining whether the I/O device is a trusted I/O device. The method further includes, in response to determining that the I/O device is not a trusted I/O device, exposing the I/O device to the virtual machine via a first virtual bus of a second bus type. Exposing the I/O device to the virtual machine via the first virtual bus causes the virtual machine to initiate a first security protocol associated with the first virtual bus.