integrating tcg technology in linux2005/01/25  · platform: pc104 pc104 tpm daughter board tpm :...

15
IBM Research 2005 CELF Plenary Meeting © 2005 IBM Corporation Integrating TCG Technology in Linux January 25, 2005 IBM Tokyo Research Laboratory Seiji Munetoh

Upload: others

Post on 29-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Integrating TCG Technology in Linux

January 25, 2005IBM Tokyo Research LaboratorySeiji Munetoh

Page 2: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

2

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

What are the fundamental TCG Components?

Hardware based Root of Trust• TPM (Trusted Platform Module)• Write protected Boot ROM

Software Support• TSS (TCG Software Stack)• TPM Device Driver• Trusted Boot Support (Trust Measurement)

Infrastructure • Credentials – PKI

Page 3: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

3

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

HardwareTPM Protects• Identity (Private Keys)• Integrity (Platform Configurations)

TPM for Embedded Platform…• Discrete TPM

TPM for PC Platform (LPC bus)Atmel AT97SC3201S supports I2C bus!

• CPU Embedded TPMIntel PXA27x (Also supports Trusted ROM)

• Software TPM with Strong Separation ARM11 TrustZone?

CPUTPM

ROM

CPUTPM

ROM

CPUNormal

Discrete TPM

Embedded TPM

Software TPM

Trusted Area

Page 4: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

4

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

SoftwareSpecifications • You can download them from TCG site

TPM Main Specification v1.1b and v1.2TCG Software Stack (TSS) Specification v1.1

Opensource Implementation from IBM• TPM Device Driver for LINUX (GPL)

http://sourceforge.net/projects/tpmdd/• TSS (TCG Software Stack) for LINUX (CPL)

http://sourceforge.net/projects/trousers

Page 5: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

5

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

TCG Components Overview

Operating SystemTPM Device Driver

TDDL

TCG Core Service (TCS)

TCG Service Provider (TSP)

Application

RPC

Remote Platform

TSP

Application

Measure

Root of Trust

TPMBoot ROM

Measure

TCG Software Stack Spec.tcsd

TCG Main Spec.

(PC Platform Specific Spec.)

Page 6: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

6

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Take a look at the technical detail of our demonstration

PC104 TPM Board

Arcom Viper (Industry Controller based on XScale and Linux)

Page 7: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

7

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Bill Of Materials

Arcom ViperCPU: Intel XScale (PXA255 400MHz)Memory: 32M Flash, 64MB SDRAMPlatform: PC104

PC104 TPM Daughter BoardTPM : Atmel AT97SC3291SI2C bus controller : Philips PCA9564Battery backup (for RTC)

TPMTPM

CPUCPU

Boot FlashWork as CRTM(Core Root of Trust

Measurement)TCG Enabled RedBoot

TCG Enabled LinuxTPM Device Driver and TSS

LSM Modules: IMA and LIDS

Java MiddlewareWith Integrity Check Capability

Flash2Flash2

Flash1Flash1

Page 8: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

8

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Transitive TrustIntegrity Measurement Strategy

• RedBoot measure itself and Kernel Image • Kernel measures Executables, Shared libraries and Loadable Kernel

Modules• The OSGi bundle loader measures integrity of each bundle JAR file

before loading it

RedBoot

Linux Kernel

ApplicationsLibraries

Java (OSGi)

Bundles

TPM

POR

Extend(n,digest):PCR[n] = SHA1(PCR[n] + digest)Measure

Measure

Page 9: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

9

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Linux - Security EnhancementLSM (Linux Security Module)

• LISD (Linux Intrusion Detection System)MAC Policy Enforcement

• IMA (Integrity Measurement Architecture)Integrity Measurement

Stacked!

Linux Kernel Hook PointsLinux Kernel Hook Points

TPM

IMA (Primary)TPM DD

LIDS (2nd)

LSM

TCG(Integrity Protection)

AC Policy

MAC(Domain Separation)

Page 10: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

10

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Demonstration – Stored Measurement Log (SML)

Contains sequences of related measured values. Each sequence shares a common measurement digest.

SML

Verified by PCR

Verified by Integrity Database

Page 11: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

11

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Attestation (Integrity Reporting)Root of Trust Reporting

• To expose shielded-locations for storage of integrity measurements (PCRs). • To attest to the authenticity of stored value based on trusted platform identities (AIK).

?

!QuoteQuote Get the PCR Values

Signed by AIK in TPM

PCR Values

Page 12: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

12

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Seal/UnsealTPM_Seal: External data is concatenated with a value of integrity metric sequence and encrypted under a parent key. TPM_Unseal decrypts the blob using the parent key and exports the plaintext data if the current integrity metric sequence inside the TPM matches the value of integrity metric sequence inside the blob

Concatenated with PCR Values

Page 13: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

13

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

ConclusionsTCG develop and promote open, vendor-neutral industry standard specifications for trusted computing building blocks and software interfaces across multiple platforms

Hardware protection for Keys used by various applicationsHardware protection for Platform Integrity - this achieve an evaluation of assuranceLowest cost – standardized security solution

Future Works• Integrity Management and Validation

Vulnerability, Provisioning….• Credential, Infrastructure

Page 14: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

14

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Thank you!

Trusted RFID Gateway will be demonstrate at upcoming RSA Conference. See you at the IBM booth

Page 15: Integrating TCG Technology in Linux2005/01/25  · Platform: PC104 PC104 TPM Daughter Board TPM : Atmel AT97SC3291S I2C bus controller : Philips PCA9564 Battery backup (for RTC) TPM

15

IBM Research

2005 CELF Plenary Meeting © 2005 IBM Corporation

Links

Trusted Computing Group (TCG) • https://www.trustedcomputinggroup.org/home

Linux Intrusion Detection System (LIDS) • http://www.lids.org/

Integrity Measurement Architecture (IMA)• http://www.research.ibm.com/secure_systems_department/projects/tcglinux/• http://www.research.ibm.com/compsci/project_spotlight/security/

TPM Device Driver for LINUX (GPL) • http://sourceforge.net/projects/tpmdd/