how to protect the pre-os environment with uefi...presented by how to protect the pre-os environment...

10
presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest October 24-27, 2011 Presented by Tony Mangefeste UEFI Plugfest October 2011 www.uefi.org 1 Updated 2011-06-01

Upload: others

Post on 22-Jan-2021

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

presented by

How to Protect the Pre-OS Environment with UEFI

UEFI Fall Plugfest – October 24-27, 2011Presented by Tony Mangefeste

UEFI Plugfest – October 2011 www.uefi.org 1

Updated 2011-06-01

Page 2: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

Agenda

• How we got here

• The problem

• A solution

• Authentication versus Verification

• Signing

UEFI Plugfest – October 2011 www.uefi.org 2

Page 3: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

The Long Road…

• BIOS provided hooks for field-patch

• Hooks were exploited

• And limitations of BIOS

–MBR, Disk Size, INTx

–Wild West of Option ROMs

• Difficult to Service

UEFI Plugfest – October 2011 www.uefi.org 3

Page 4: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

The Problem

• Protecting the UEFI Boot Entry versus Firmware Recovery Mode

• The Extended Service Partition (ESP) is unlocked and accessible

• PE/COFF’s not authenticated

• Multiple Entry Points

• Regardless UEFI is best pathway forward

UEFI Plugfest – October 2011 www.uefi.org 4

Page 5: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

A Solution

• Secure Boot – Using Authenticode to sign PE/COFF images

• Signatures stored in NVS provide an approach to authenticate images

• Signatures may be hashes, keys, certificates

• Signatures are tamper-proof

UEFI Plugfest – October 2011 www.uefi.org 5

Page 6: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

Authentication vs Validation

• Authentication does not guarantee quality of code

• Not feasible for firmware to perform malware signature validation

• Firmware is offline and resource limited

• Therefore, signing is the best way to restrict unauthorized execution in the boot path …

UEFI Plugfest – October 2011 www.uefi.org 6

Page 7: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

Signing

• Microsoft is using Winqual to provide a UEFI Signing Service–Winqual hosts 11,000+ companies

–Minimal one-time administrative costs

– Free signing of UEFI images

–All images uniquely identified by company

• Creates an independent certificate authority (CA) for UEFI images

UEFI Plugfest – October 2011 www.uefi.org 7

Page 8: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

Come try it out…

• Offering signing of UEFI images this week at UEFI Plugfest

• Your company must have an IEA with Microsoft or a Winqual Account

• No formal announcement of release at this time, available only for testing this week …

UEFI Plugfest – October 2011 www.uefi.org 8

Page 9: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

Thanks for attending the UEFI Fall Plugfest 2011

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

presented by

UEFI Plugfest – October 2011 www.uefi.org 9

Page 10: How to Protect the Pre-OS Environment with UEFI...presented by How to Protect the Pre-OS Environment with UEFI UEFI Fall Plugfest –October 24-27, 2011 Presented by Tony Mangefeste

But wait, there’s more …

UEFI Plugfest – October 2011 www.uefi.org 10

Welcoming Remarks – Aven Chuang, Insyde SoftwareUEFI Forum Updates – Dong Wei, VP of the UEFI Forum

Best Practices for UEFI Driver Compatibility – Stefano Righi, American Megatrends, Inc.Understanding Platform Requirements for UEFI HII – Brian Richardson, Intel Corporation

UEFI Security Enhancements – Kevin Davis, Insyde SoftwareHow to Protect the Pre-OS Environment with UEFI – Tony Mangefeste, Microsoft

Pre-OS Display Switching using GOP – James Huang, AMDDebug Methodology Under UEFI – Jack Wang, Phoenix Technologies

Download presentations after the plugfest at www.uefi.org