Virtualized TPM Binding in Secure Processors for Cloud VM Isolation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing virtualized trusted platform modules (vTPM) face challenges in cloud environments due to scalability, security of access paths, and secure migration of VMs, as well as the need for unchangeable binding mechanisms to ensure trust and authenticity.
Innovation Solution
Implementing a virtualized trusted platform module (vTPM) within a secure processor (SP) that uniquely binds each vTPM to a virtual machine (VM) using a virtual machine security block (VMSB), ensuring secure communication through encrypted interfaces, and managing vTPM instance data with user-specific keys to prevent unauthorized migration and access.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a separate physical TPM device is used for each user, then security isolation between users is improved, but device complexity and cost increase
Solution Approach 1:
The physical TPM device is segmented into multiple virtual TPM instances through virtualization technology. Each user is assigned a dedicated virtual TPM instance that operates independently, providing security isolation without requiring separate physical devices. The segmentation is achieved by creating isolated execution environments within the single physical TPM, where each virtual instance has its own security context and cannot access other users' data.
Solution Approach 2:
Instead of providing separate physical TPM devices to each user, the system creates virtual copies of the TPM functionality within a single physical device. These virtual copies emulate the behavior of physical TPMs while sharing the underlying hardware resources. The copying approach allows multiple users to have their own isolated TPM instances without duplicating the entire physical device for each user.
2Device complexity
If TPM functions are virtualized and shared, then device complexity is reduced, but security isolation between users deteriorates
Solution Approach 1:
The virtualized TPM implementation segments the shared physical resource into isolated logical units. Each user's virtual TPM instance is confined to its own security context with enforced access boundaries. The segmentation ensures that even though the hardware is shared, the logical separation maintains security isolation through virtualization-based access control and memory protection mechanisms.
Solution Approach 2:
The system introduces a TPM manager as an intermediary layer between users and the physical TPM device. This manager handles authentication, authorization, and resource allocation, ensuring that each user can only access their designated virtual TPM instance. The intermediary enforces security policies and prevents unauthorized cross-access while enabling efficient resource sharing of the underlying hardware.
3Productivity
If multiple users share one physical TPM, then resource utilization is improved, but security risks increase due to potential cross-user access
Solution Approach 1:
The physical TPM is segmented into multiple isolated virtual instances, each dedicated to a specific user. This segmentation allows the single physical device to serve multiple users simultaneously while preventing cross-user access. Each virtual instance operates independently with its own security context, enabling high resource utilization without compromising security through improper sharing.
Solution Approach 2:
A TPM manager acts as an intermediary that mediates all access requests to the shared physical TPM. It authenticates users, assigns them to appropriate virtual instances, and enforces access control policies. The intermediary monitors and manages resource allocation, ensuring that security risks are eliminated through proper authorization while maintaining efficient resource utilization across multiple users.
4Reliability
If separate physical TPM devices are allocated to each user, then security isolation is improved, but cost and portability deteriorate
Solution Approach 1:
The solution segments the TPM functionality into virtual instances within a single physical device, eliminating the need to manufacture and distribute separate physical TPM devices to each user. This segmentation approach maintains security isolation while reducing manufacturing costs by consolidating hardware resources that can be shared across multiple users through virtualization.
Solution Approach 2:
Instead of physically copying TPM devices for each user, the system creates virtual copies of TPM functionality within a shared physical device. This copying approach provides each user with their own isolated TPM instance without the cost of duplicating physical hardware, thereby reducing overall system cost while maintaining security through virtualization-based isolation.
5Reliability
If separate physical TPM devices are used, then security isolation is improved, but portability and flexibility deteriorate
Solution Approach 1:
The system creates virtual copies of TPM functionality that can be dynamically allocated and migrated across different physical devices. These virtual TPM instances are not tied to specific hardware, enabling portability and flexibility. Users can access their virtual TPM instances on different devices while maintaining security isolation, as the virtual instances are software-based and can be moved or replicated as needed.
Solution Approach 2:
By segmenting TPM functionality into virtual instances rather than binding it to physical devices, the system achieves both security isolation and portability. The virtual instances can be independently managed, moved, or accessed from different locations without requiring physical device migration, thereby improving adaptability and versatility while maintaining security through logical separation.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
Provided in the embodiments of the present disclosure are a method for realizing a virtualized trusted platform module, and a secure processor and a storage medium. The method comprises: creating a virtualized trusted platform module inside a secure processor, and uniquely binding same to a virtual machine; and receiving, by means of a virtualized trusted platform module communication interface provided by the secure processor, an access request that is initiated by the virtual machine for the bound virtualized trusted platform module, and returning, to the virtual machine, response data of the bound virtualized trusted platform module for the access request. By means of the embodiments of the present disclosure, known vTPM technology can be improved, and the present disclosure is applicable to scenarios regarding how to improve the vTPM security in a public cloud environment.