Virtual TPM Read-Only Mode for Safe VM Template Replication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The replication of virtual TPM devices in virtualized deployments leads to security risks and violates TPM specification principles, as each new VM inherits the same identity and cryptographic keys from a source VM, making it vulnerable to attacks.

Innovation Solution

Implementing a read-only mode for virtual TPM devices that prevents the generation, storage, or use of security-sensitive data, allowing safe duplication and installation of TPM-compulsory guest OSs without replicating sensitive information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a virtual TPM device is replicated in VM provisioning workflows, then VM provisioning efficiency is improved, but security risks increase due to duplication of cryptographic keys and identity information

Engineering Contradiction:
ImproveVM provisioning efficiencyVSAvoidsecurity risks
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The virtual TPM device is segmented into two functional parts: a read-only template store that contains template data for VM provisioning, and a read-write key store that securely stores cryptographic keys. This segmentation allows the template to be replicated while preventing duplication of sensitive key material, resolving the contradiction between provisioning efficiency and security.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The invention extracts the template storage function from the key storage function by implementing separate stores for each. The read-only template store can be replicated across VMs, while the read-write key store maintains unique, non-replicable key material. This extraction eliminates the security risk of key duplication while preserving provisioning efficiency.

Inventive Principle:
Principle #2Taking out (Extraction)

2Speed

If a virtual TPM device is cloned to multiple VMs, then deployment speed is improved, but compliance with TPM specification is violated due to lack of unique identity

Engineering Contradiction:
Improvedeployment speedVSAvoidTPM specification compliance
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The TPM device is segmented into template storage (read-only, replicable) and key storage (read-write, unique). This allows rapid deployment through template replication while ensuring each VM receives unique key material, maintaining TPM specification compliance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The read-only template store is prepared in advance with template data that can be quickly copied to new VMs during deployment. This preliminary preparation enables fast deployment speeds while the subsequent initialization of unique keys ensures specification compliance.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If security sensitive data is stored in the virtual TPM device, then cryptographic functionality is enabled, but the attack surface increases when the device is replicated

Engineering Contradiction:
Improvecryptographic functionalityVSAvoidattack surface
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The virtual TPM device is divided into a read-only template store (containing non-sensitive template data) and a read-write key store (containing sensitive cryptographic keys). This segmentation enables cryptographic functionality while limiting the attack surface by preventing replication of sensitive data.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Sensitive key material is extracted from the replicable template and placed in a separate non-replicable key store. This extraction maintains cryptographic functionality while eliminating the attack surface expansion that would occur if keys were replicated with the template.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12386650B2Read-only mode for virtual trusted platform module (TPM) devices
Publication Date: 2025.08.12 VMWARE INC
  • US12386650B2 patent drawing
  • US12386650B2 patent drawing
  • US12386650B2 patent drawing

AI summary

Techniques for implementing a read-only mode for a virtual TPM device are provided. In one set of embodiments, while operating in this read-only mode, the virtual TPM device will not generate, store, or allow the use of any security sensitive data, thereby avoiding the security risks arising out of replicating (e.g., cloning) a VM or VM template that includes the device.