overview of windows 10 requirements for tpm, hvci and ... · presented by overview of windows 10...

25
presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest – May 18-22, 2015 Gabe Stocco, Scott Anderson, Suhas Manangi UEFI Plugfest May 2015 www.uefi.org 1 Updated 2011-06-01

Upload: others

Post on 02-Feb-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

presented by

Overview of Windows 10 Requirements for TPM, HVCI and

SecureBootUEFI Spring Plugfest – May 18-22, 2015

Gabe Stocco, Scott Anderson, Suhas Manangi

UEFI Plugfest – May 2015 www.uefi.org 1

Updated 2011-06-01

Page 2: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Agenda

• Introduction

oTPM

oDevice Guard and HVCI

oSecure Boot

oFew other important things

• Q&A

UEFI Plugfest – May 2015 www.uefi.org 2

Page 3: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

TPM (Trusted Platform Module)

UEFI Plugfest – May 2015 www.uefi.org 3

Page 4: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

TPM

• New features enabled by a properly configured TPM

–Windows Hello (Passwordless, secure, login)

–Remote Health Attestation

–Virtual Smart Card

UEFI Plugfest – May 2015 www.uefi.org 4

Page 5: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

TPM

• TPM 2.0 – Required on Mobile at RTM – Required on Client if either:

• Silicon on device has fTPM support. • 365 days have elapsed since RTM of Win10.

– HLK Tests available

• Important Notes Regarding Client– Clients may ship with more than one TPM.

• Windows only supports one TPM. • When more than one TPM is available a toggle is needed.

– Warn user that they should disable Bitlocker before changing TPMs and that they will lose any stored keys.

• Correct TPM PCR value measurement and validation are critical.

UEFI Plugfest – May 2015 www.uefi.org 5

Page 6: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

TPM

• HMAC Commands are needed– Essential for new features – such as Windows

Passport/Hello

• TPM Must be able to be disabled.– See Min HW Requirement for specific procedure to

follow to ensure TPM is fully disabled.

• These new requirements set up Windows to be a highly secure by default platform, providing high security scenarios out of the box.

UEFI Plugfest – May 2015 www.uefi.org 6

Page 7: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Device Guard and HVCI

UEFI Plugfest – May 2015 www.uefi.org 7

Page 8: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Device Guard OverviewThe Parts of the solution

• Hardware security

• Configurable code integrity

• Virtualization based security

• Protects critical parts of the OS against admin/kernel level malware

• Manageability via GP, MDM, or PowerShell

UEFI Plugfest – May 2015 www.uefi.org 8

Page 9: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Virtualization Based Security

• Provides a new trust boundary for system software– Leverage platform virtualization to enhance platform security– Limit access to high-value security assets from supervisor mode (CPL0)

code

• Provides a secure execution environment to enable:– Protected storage and management of platform security assets– Enhanced OS protection against attacks (including attacks from kernel-

mode)– A basis for strengthening protections of guest VM secrets from the

host OS

• Windows 10 services protected with virtualization based security– LSA Credential Isolation– vTPM (server only)– Kernel Mode Code Integrity (HVCI)

UEFI Plugfest – May 2015 www.uefi.org 9

Page 10: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Host OS

User

Kerne

l

Normal World

Firmware (UEFI)

Hardware (TPM 2.0, Vt-x2, IOMMU)

KMCI in Windows 8.1

KMCI Malware

Howdy Peer!

Page 11: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Host OS

User

Normal WorldSecure World

Hardened Boundary

KMCI with Windows 10 VBS

Hardware (TPM 2.0, Vt-x2, IOMMU)

Firmware (UEFI)

Kernel

Hypervisor

KMCI

Mea

sure

d

Malware

I thought we could be friends

Page 12: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

HVCI

• CI rules are still enforced even if a vulnerability allows unauthorized kernel mode memory access

• Memory pages are only marked executable if CI validation succeeds

• Kernel memory cannot be marked both writable and executable

• BUT impacts– Driver compatibility– UEFI Runtime services compatibility

UEFI Plugfest – May 2015 www.uefi.org 12

Page 13: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Hardware Security

• This means the users physically in possession of a machine cannot easily modify it

• Includes:–Platform Secure Boot

– Secure Firmware Updates

– Locking the BIOS menus

–Restricting Boot options

UEFI Plugfest – May 2015 www.uefi.org 13

Page 14: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Device Guard andHVCI Ready Devices

• Virtualization extensions ON by default

• UEFI Runtime services compatible with HVCI

• BIOS locked down against Physical attacker–Boot options

– Secure Boot

– Secure Firmware Updates

UEFI Plugfest – May 2015 www.uefi.org 14

Page 15: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Secure Boot

UEFI Plugfest – May 2015 www.uefi.org 15

Page 16: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Secure Boot

• HSTI – Required for Win10 (Mobile SKU and CS)

– Specification published on msdn

– HLK test available

• Microsoft UEFI CA - Required for Win10

– DBX must ship upto date

– HLK test for default DBX available

UEFI Plugfest – May 2015 www.uefi.org 16

Page 17: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

HSTI

• HSTI is a Hardware Security Testability Interface– Required by

System.Fundamentals.Firmware.CS.UEFISecureBoot.Provisioning• On MSDN here: https://msdn.microsoft.com/en-

us/library/windows/hardware/dn879006.aspx

– HSTI is an interface to report the results of security-related self-tests.• IHVs provide the definition of the reporting fields. • Each reporting entity is responsible for full analysis and testing of

their own components.

• HSTI is for providing high assurance validation of proper security configuration as systems leave the line.– This reduces support load for IBVs, decreases debug time for OEMs

and increases consumer confidence in properly configured machines.

UEFI Plugfest – May 2015 www.uefi.org 17

Page 18: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Microsoft UEFI CA – signing service

Policy details: msdn link 1. No organization only, OEM only, internal tools only

products – only 3rd party products that supported to be run on all UEFI machines in the world

2. RTM product only

3. No products that would possibly bypass Secure Boot, hence the need for detailed security review and resulting turn around time

NOTE: Brainstorm and discussion session

UEFI Plugfest – May 2015 www.uefi.org 18

Page 19: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Few other important things

UEFI Plugfest – May 2015 www.uefi.org 19

Page 20: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Remote Attestation

Remote Attestation: is part of New “Host Guardian Service” Windows Server Role

Validate host identity & host configuration Issue Attestation Certificate to a validated host

Host Validation:• Host Identity validation:

Known good TPM’s EKpub

• Host Configuration validation: Known good TPM measurements Consistent TCG log Known good HVCI policy hash

• Host UEFI validation: Known good DB & DBX

UEFI Plugfest – May 2015 www.uefi.org 20

Page 21: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Remote Attestation - UEFI Requirements

Windows 10 Server Assurance AQ requirements:

TPM 2.0• Mandatory: TPM 2.0 is required• Mandatory: TPM Functionality required as specified in System.Fundamentals.TPM20

requirements for Windows 10• Mandatory: An automated tool is provided to clear TPMs remotely on an arbitrary

number of managed machines.• Optional: PPI clear settings may be chosen by the OEM.• Optional: An automated tool is provided to toggle PPI status remotely on an arbitrary number of

managed machines.

UEFI Secure Boot• Mandatory: Secure Boot requirements as specified in

System.Fundamentals.Firmware.UEFISecureBoot for Windows 10.• Mandatory: Secure Boot is shipped enabled or an automated tool is provided to enable

Secure Boot remotely managing arbitrary number of machines.

UEFI Plugfest – May 2015 www.uefi.org 21

Page 22: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Recommendations on UEFI 2.5 updates

1. Mantis 1224: Physical Memory Protection attribute (MemoryProtectionAttribute)

Needed for HVCI on Windows 10.

2. Mantis 1227: Platform Recovery Recommended to not implement this until atleast one OS adopts.

Windows 10 doesn’t have a support for this and hopeful to have support in the next OS release

3. Mantis 1263: Customized Deployment of Secure Boot

Recommended to not implement this until atleast one OS adopts.

Windows 10 doesn’t have a support for this and hopeful to have support in the next OS release

UEFI Plugfest – May 2015 www.uefi.org 22

Page 23: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Firmware Update through WU

Open to all OEMs

• UEFI Plugfest 2014 presentation: Leveraging Windows Update to Distribute Firmware …www.uefi.org/sites/default/files/resources/2014_UEFI_Plugfest_07...

MSDN documentation:http://www.microsoft.com/en-us/download/details.aspx?id=38405

Interested? Follow-up with [email protected] and [email protected]>

UEFI Plugfest – May 2015 www.uefi.org 23

Page 24: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Q & A

UEFI Plugfest – May 2015 www.uefi.org 24

Page 25: Overview of Windows 10 Requirements for TPM, HVCI and ... · presented by Overview of Windows 10 Requirements for TPM, HVCI and SecureBoot UEFI Spring Plugfest –May 18-22, 2015

Thanks for attending the UEFI Spring Plugfest 2015

For more information on the Unified EFI Forum and UEFI Specifications, visit http://www.uefi.org

presented by

UEFI Plugfest – May 2015 www.uefi.org 25