Virtual Communication Device for Secure Guest Host Messaging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtualization architectures face challenges in establishing secure communication between guest operating systems and virtualization layers, particularly due to the risk of malware compromising virtual machines and exploiting vulnerabilities in operating system data structures, which can lead to unauthorized access and data breaches.

Innovation Solution

A technique is introduced that utilizes a virtual communication device implemented as shared memory with two memory buffers (G2H and H2G) to establish a low-latency, high-bandwidth communication interface between the guest operating system and the virtualization layer, employing a signaling mechanism and a request/response protocol to ensure secure and hidden communication, with the virtualization layer protecting the buffers from the guest operating system and I/O devices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If virtualization layers are deployed to provide enhanced security and malware detection, then security capability is improved, but system complexity increases and performance overhead occurs

Engineering Contradiction:
Improvesecurity capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The virtualization layer is segmented into distinct functional components: a micro-hypervisor for core virtualization functions, hyper-processes for management tasks, and agent processes for guest OS integration. This segmentation allows each component to be optimized independently for security while managing overall system complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A virtual communication device is introduced as an intermediary between the virtualization layer and guest operating system. This mediator handles all communication through controlled interfaces (hyper-calls and hyper-parameters), preventing direct access and reducing security vulnerabilities while maintaining manageable complexity through standardized protocols.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If virtual machines are used to monitor and detect malware, then detection capability is improved, but malware may compromise the virtual machines to avoid detection

Engineering Contradiction:
Improvemalware detection capabilityVSAvoidmalware compromise risk
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The system applies preliminary security measures by implementing a micro-hypervisor that operates at the highest privilege level, establishing security controls before malware can compromise the system. The virtual communication device is pre-configured with authentication mechanisms and access controls that prevent malware from gaining unauthorized access to virtual machine internals.

Inventive Principle:
Principle #9Preliminary anti-action

Solution Approach 2:

The architecture implements nested virtualization where a micro-hypervisor runs at the highest privilege level, containing the guest operating system and its virtual machines within a protected layer. This nested structure allows the virtualization layer to monitor guest OS activities for malware detection while the micro-hypervisor provides an additional protective barrier that malware cannot easily penetrate.

Inventive Principle:
Principle #7Nested doll (Nesting)

3Adaptability or versatility

If strict specifications require execution of software despite known vulnerabilities, then software compatibility is improved, but security risk increases

Engineering Contradiction:
Improvesoftware compatibilityVSAvoidsecurity risk
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The virtual communication device serves as an intermediary that allows software to execute with known vulnerabilities while preventing exploitation. All communication between the guest OS and virtualization layer goes through controlled interfaces, blocking malicious code from exploiting vulnerabilities to compromise the system while maintaining software functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements prior cushioning by deploying the micro-hypervisor and virtual communication device before software execution. These pre-established security layers provide a protective buffer that absorbs potential exploitation attempts, allowing vulnerable software to run while the security infrastructure prevents actual compromise.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

4Ease of operation

If communication interfaces are exposed to guest operating systems for functionality, then operational capability is improved, but access security deteriorates

Engineering Contradiction:
Improveoperational capabilityVSAvoidaccess security
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The virtual communication device implements local quality by providing different access characteristics to different components. The guest OS sees a standardized communication interface for operational purposes, while the virtualization layer maintains secure controlled access through hyper-calls. Each interface layer has tailored security properties appropriate to its function.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The communication interface is segmented into multiple layers: a user-facing interface for operational capability in the guest OS, and a secure backend interface using hyper-calls for the virtualization layer. This segmentation allows the interface to be accessible for legitimate operations while maintaining security through the separated authentication and access control mechanisms.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10846117B1Technique for establishing secure communication between host and guest processes of a virtualization architecture
Publication Date: 2020.11.24 MAGENTA SECURITY HOLDINGS LLC
  • US10846117B1 patent drawing
  • US10846117B1 patent drawing
  • US10846117B1 patent drawing

AI summary

Secure communication is established between a hyper-process of the virtualization layer (e.g., host) and an agent process in the guest operating system (e.g., guest) using a virtual communication device which, in an embodiment, is implemented as shared memory having two memory buffers. A guest-to-host buffer is used as a first message box configured to provide unidirectional communication from the agent to the virtualization layer and a host-to-guest buffer is used as a second message box configured to provide unidirectional communication from the virtualization layer to the agent. The buffers cooperate to transform the virtual device into a low-latency, high-bandwidth communication interface configured for bi-directional transfer of information between the agent process and the hyper-process of the virtualization layer, wherein the communication interface also includes a signaling (doorbell) mechanism configured to notify the processes that information is available for transfer over the interface.