• No results found

vtpm: Virtualizing the Trusted Platform Module

N/A
N/A
Protected

Academic year: 2021

Share "vtpm: Virtualizing the Trusted Platform Module"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Systems and Internet Infrastructure Security

Network and Security Research Center

Department of Computer Science and Engineering Pennsylvania State University, University Park PA

vTPM: Virtualizing the

Trusted Platform Module

(2)

It could happen to you…

• Computers offer no implicit reason to trust them

‣ Key Loggers, root kits, spy ware

• Do you know of anyone who has fallen victim to one

of these?

(3)

Trusted Computing

• The Trusted Computing Group suggests we:

‣ Deploy a Trusted Platform Module (TPM) in all systems

‣ And an infrastructure to support their use

Shamon?

• TPMs allow a system to:

‣ Gather and attest system state

‣ Store and generate cryptographic data

(4)

Virtual Trust?

• Unfortunately, your computer might be an illusion…

• Advances in hardware virtualization

‣ Improve system utilization

‣ Saves money

‣ Gives the illusion of an independent system

• A Virtual Machine Monitor

(Hypervisor) could control what data is measured by the TPM

(5)

Virtualize the TPM

• Cannot have multiple users per TPM

• Why don’t we just virtualize the TPM?

‣ It would violate its security properties

• Trust rooted in hardware

• VMs support unique lifecycles

‣ Suspend and Resume on different platforms

(6)

Requirements

• Authors identify four requirements for vTPMs:

‣ Same usage model and command set

‣ Strong association between VM and its vTPM instance

‣ Strong association between real TPM and vTPM

(7)

The vTPM Model

• Similar to Xen, Dom-0:

‣ Contains access to the hardware TPM

‣ Control of vTPM

instances

‣ Can spawn vTPMs

• Client-side driver

request are routed to the server-side drivers

(8)

Secure Coprocessor

• The vTPM design was made to be modular

• PCI-X Cryptographic Coprocessor

‣ Accelerated cryptographic engine

‣ Tamper-Responsive

• Not all TPMs have this support

(9)

Xend is your Friend

• Implementation modified Xen to support the vTPM

‣ Xen Management tool parses config file

‣ Xend determines where the vTPM manager is located

• Xenstore, frontend, backend, hotplug scripts

‣ A table of VM to vTPMs is also maintained

• Absence of mapping = create new instance • Presence of mapping = resume vTPM

(10)

Driver Considerations

• Existing TPM protocol assumes

‣ Reliable bus

‣ Must ensure a response is given to the last message before suspending the OS

• Shared memory (grant tables) is used to

communicate between Front and Backends

(11)

Interesting Issues

• VM migration

• Associating vTPM with underlying system

• Key management

(12)

VM Migration

• Created extensions to TPM 1.2 command set

‣ vTPM Management / Migration / Utility commands

• Migration is rather straightforward:

‣ Create instance with associated nonce

‣ Lock source with nonce and encrypt with key

• Wrapped with parent TPM instance SRK

(13)

Associating the Real TPM

• The TPM has security properties that makes it

different from most hardware

‣ Virturalized TPMs cannot be totally transparent

‣ Must have knowledge of the underlying system

• Solution: Divide the PCRs into localities

‣ Lower set used for system

‣ Upper set for the vTPM instance

(14)

Key Hierarchy

• Root keys stored inside the TPM to prevent leakage

‣ Endorsement Key (EK) to identify the platform

• Manufacture certificates not so common as once prescribed

‣ Storage Root Key (SRK) to seal (encrypt) data / keys

• vTPMs are too ephemeral to bind to hardware TPM

‣ They are kept independent of the platform

(15)

Trust Management

• AIKs and SKs follows a chain of keys rooted

hardware

• Programs rely on these keys (TSS, User PS)

‣ Migrating VMs will change their host TPM EK

‣ vTPM EKs are freshly generated for each VM

‣ How can we identify a vTPM EK?

(16)

Suggestions

• Create EK’ for each vTPM

• Create an AIK’ for all vTPMs

• Use a local authority to verify the vTPM

(17)
(18)
(19)

Take Away

• Virtualizing a TPM is not as easy as normal hardware

‣ Security and trust must be addressed

• It is not clear how to establish trust in a transient

TPM identity

References

Related documents

The main topics, which have been divided into chapters, include structural and mix design, hydrologic design, hydraulic performance (i.e. infiltration capacity),

This article will consider the existing literature on employee incen- tives as well as the literature on tourist motivations and will bring together management and tourism

Now that we have defined the stochastic model for the price of copper and correlated the behaviour of the Chilean exchange rate, we can develop probabilistic financial models for

In this regard, Konow and Earley (2008) presented experimental evidence which showed that overall happiness measures were not significantly correlated with the score of the

author concludes that “the actual waste level of the fi rm does not directly depend upon the size of the fi ne or the probability of discovery of the violation.” That is, increases

Departing from these questions we have developed a tentative model framework for the Swedish People’s Home multi-family housing stock comprising ten value areas and their

According to one participant, ―By breaking the isolation that is typical of online teaching, this PLC has made my job more enjoyable and my learning more engaging.‖ One

(See also our Frequency Editing Reimbursement Policy.) In addition, HCPCS code G0471 for the collection of venous blood by venipuncture or urine sample by catheterization from