Docsity

Terra: A Virtual Machine-Based Platform for Trusted Computing - An Overview - Prof. Prasad, Papers of Deductive Database Systems

Partial preview of the text

Download Terra: A Virtual Machine-Based Platform for Trusted Computing - An Overview - Prof. Prasad and more Papers Deductive Database Systems in PDF only on Docsity!

Terra: A Virtual Machine-Based Platform for

Trusted Computing

By

Tal Garfinkel, Ben Pfaff, Jim Chow, Mendel Rosenblum, Dan Boneh

Computer Science Department, Stanford University

Balasubramaniam Sridhar

Contents

-^

Introduction

-^

Motivation

-^

Terra Architecture

-^

Platform Security

-^

Trusted Virtual Machine Monitor - Design

-^

Implementation

-^

Conclusion

Motivation

•^

Reasons for Trusted Computing:^ 

Low-Assurance Commercial Operating Systems ^

Isolation of Applications is done poorly ^

Weak Authentication Mechanisms provided to authenticate with peers. ^

No Trusted Path between Applications and users.

•^

Solution to this problem:^ 

Specialized Closed Platforms – that work just for that application. ^

Embedding Cryptographic keys within the systems – used forauthenticating itself with remote peers.

Terra

•^

Contains a Trusted Virtual Machine Monitor.

-^

Provides a simple and flexible programming model

-^

Provides two types of environment^ 

Closed Box VM – Runs application specific OS, general OS  Open Box VM – Runs general OS

-^

Attestation – Mechanism by which the TVMM authenticates the application toremote parties.

-^

Applications running in the closed box platform can modify the software stack.

-^

Security and privacy are its main features.

Trusted Virtual Machine Monitor

•^

Thin software layer allowing multiple VM’s to be running on the same physicalmachine.

-^

Isolation – Each VM runs in its own Hardware Protection Domain.

-^

Extensibility – applications run on platforms that are compatible, optimal andsecured.

-^

Efficiency – provides the same efficiency as provided by physical machine

-^

Compatibility – Can run any of the commercial operating systems.

-^

Security – narrow, stable well defined interface, abstractions only for the CPUand Memory.

Terra’s VMM

•^

Provides all the properties described above.

-^

Root Secure – Platform administrator cannot break the privacy and isolationguarantees of the TVMM

-^

Attestation – Way by which remote users can trust the application

-^

Trusted Path – provides a trusted path between the user and the applicationrunning on the VM

Attestation / VM Identity

•^

Each certificate is generated based on public/ private key pair of eachcomponent.

-^

The higher level component sends its public key and other information to itslower level component to create the certificate.

-^

Certificate contains the SHA hash of attestable parts of the higher levelcomponent and the higher level component’s public key and other applicationinformation.

-^

Certification of the VM involves the TVMM signing a hash of all persistent stateof the VM.

-^

Application developer has full control over application data that is attached to thecertificate.

Attestation / VM Identity

•^

The remote user maintains a list of authorized applications, software etc.

-^

Software upgrades and patches involve version changes – solved by sending anadditional certificate by software vendor.

-^

Revocation – removing tampered information is tough considering thateverything is based on the embedded hardware key.

-^

Privacy – real identity of the machine is not disclosed using mechanisms like:^ 

PCA  Group Signatures

-^

Interoperability and consumer protection – Only softwares produced by thesame vendors would interoperate properly.

Platform Security

•^

Platform Security Involves:^ 

Security model implemented

Assurance as exhibited by the application

Trusting software

Local Security Model

•^

Access control model is controlled by TVMM and Management VM

-^

TVMM dictates policy for Attestation

-^

Executes at a higher level of privilege

-^

Isolation, No disclosure of information in closed box VM’s

-^

Management VM implements platform access control and resourcemanagement policies.

-^

TVMM security guarantees independent of Management VM

-^

Management VM can deny service to a particular VM.

Trusting Software

•^

Attestation provides a way for remote users to believe that they are connectedto the trusted peer.

-^

Attestation is just an additional security feature, it is not the primary feature onwhich applications should depend.

-^

Attestation cannot guarantee the future.

-^

Hardware tampered by malicious remote users can only be trusted until the levelof hardware tamper resistance.

Terra’s TVMM

•^

They provide^ 

Raw Hardware Interface ^

VM’s attest contents through TVMM ^

Interfaces to create and Drop VM’s

•^

Interfaces to be discussed:^ 

Storage ^

Attestation ^

Management ^

Device Driver Security ^

Hardware Support

Implementing Attestation

•^

In principle, computing the hash over the entire executable image of anapplication.

-^

Each VM has a descriptor – list of hashes for attestable parts of the VM.

-^

If separate subsections of attestable parts are to be verified then a hash in thedescriptor points to a list of hashes.

-^

Problems that you might encounter are in terms of memory and time – they areexpensive.

-^

Two Types of Attestation^ 

Ahead-of-Time  Optimistic

Attesting Interface

•^

Provides a narrow interface to the VM’s

-^

Operations provided:^ 

Endorse –

^

VM’s hash is stored in the common name field ^

Signs using the TVMM’s private key. ^

Contents of the certificate is the public-key of the component beingverified and other application level details.

^

HASH – retrieves the hash of the calling VM