Docsity

Trusted Computing: A Comprehensive Study for CSE543 - Fall 2006, Study notes of Computer Science

Partial preview of the text

Download Trusted Computing: A Comprehensive Study for CSE543 - Fall 2006 and more Study notes Computer Science in PDF only on Docsity!

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

CSE 543 - Computer Security

(Fall 2006)

Lecture 8 - Trusted Computing

October 3, 2006

URL: http://www.cse.psu.edu/~tjaeger/cse543-f06/

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Background…

  • Background and Related Work sections for your course project are due on 10/12 (formerly 10/10) - It should be at least 2-3 pages long, add figures if necessary and relevant - 1 + for problem, 1+ for related work (longer than problem) - Should cover 10-20 related works beyond just citation - Writing style counts, so use good grammar (get readers) - This is 5% of your grade, so take it very seriously - You need to make some critical assessments about what work is relevant and why.
  • Background
    • Current status of the technology related to the problem
    • What’s the problem?
    • Why hasn’t it been solved yet?
      • (some high level related work)

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Trustworthy Computing

  • Microsoft Palladium (NGSCB)

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Example of FUD

  • Trusted Computing: An Animated Short
    • http://www.lafkon.net/tc/

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Trust

  • “a system that you are forced to trust because you have no choice” -- US DoD
  • “A ‘trusted’ computer does not mean a computer is trustworthy” -- B. Schneier

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Trusted Computing Base

  • Trusted Computing Base (TCB)
    • Hardware, Firmware, Operating System, etc
  • There is always a level at which we must rely on trust
  • How can we shrink the TCB?

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Trusted Platform Module

  • The Trusted Platform Module (TPM) provides hardware support for sealed storage and remote attestation
  • What else can it do?
    • www.trustedcomputinggroup.org

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Where are the TPMs?

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

TPM Discrete Components

  • Input/Output (I/O)
    • Allows the TPM to communicate with the rest of the system
  • Non-Volatile Storage
    • Stores long term keys for the TPM
  • Platform Configuration Registers (PCRs)
    • Provide state storage
  • Attestation Identity Keys (AIKs)
    • Public/Private keys used for remote attestation
  • Program Code
    • Firmware for measuring platform devices
  • Random Number Generator (RNG)
    • Used for key generation, nonce creation, etc

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

TPM Discrete Components

  • SHA-1 Engine
    • Used for computing signatures, creating key Blobs, etc
  • RSA Key Generation
    • Creates signing keys, storage keys, etc. (2048 bit)
  • RSA Engine
    • Provides RSA functions for signing, encryption/decryption
  • Opt-In
    • Allows the TPM to be disabled
  • Execution Engine
    • Executes Program Code, performing TPM initialization and measurement taking

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Secure vs. Authenticated Boot

  • Secure boot stops execution if measurements are not correct
  • Authenticated boot measures each boot state and lets remote systems determine if it is correct
  • The Trusted Computing Group architecture uses authenticated boot

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Public/Private Keys

  • Endorsement Key (EK)
    • Only one EK pair for the lifetime of the TPM
    • Usually set by manufacturer
    • Private portion never leaves the TPM
  • Storage Root Key (SRK)
    • Created as part of creating a new platform owner
    • Used for protected storage
    • Manages other keys, e.g., storage keys
    • Private portion never leaves the TPM
  • Attestation Identity Keys (AIKs)
    • Used for remote attestation
    • The TPM may have multiple AIKs

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Remote Attestation

  • Before remote attestation can occur, the challenger must have either knowledge of the public portion of an AIK, or a CA’s public key
  • Old standards required the Privacy CA to know the TPM’s PUBlic Endorsement Key (PUBEK)
  • Direct Anonymous Attestation (DAA), added to the latest specifications, uses a zero- knowledge proof to ensure the TPM is real TPM Privacy CA Challenger AIK+ SigCA- {AIK+, ...} Sig^ {CA+} AIK-^ {PCR}, SigCA-^ {AIK +, ...} 2 3 1 4

CSE543 Computer (and Network) Security - Fall 2006 - Professor Jaeger Page

Using TCG

  • Protecting keys and data
  • Approaches
    • Trusted Platform on Demand (TPoD)
      • IBM Research Tokyo
    • Linux Integrity Measurement Architecture - Sailer et. al. (USENIX Security 2004)
    • BIND: A Fine-grained Attestation Service for Secure Distributed Systems - Shi et. al. (IEEE S&P 2005)
  • Network Authentication
    • Trusted Network Connect (TNC)
      • www.trustedcomputinggroup.org
    • How would you do this?