Skip to content

UEFI Exploitation for the Masses

ShkatovMichael

Shkatov and Michael presents uefi exploitation for the masses: So how do you debug bios and triage a vulnerability for exploitability with no stack trace or error log?

Summary

Architecture and Background

So how do you debug bios and triage a vulnerability for exploitability with no stack trace or error log? How do BIOS developers do it?

Vulnerability Analysis

Do not worry! We will explain how anyone can have debug capabilities on modern Intel platforms and show you how this massively simplifies exploit dev.

Exploitation and Demonstrations

Developing an exploit for a BIOS vulnerability is a different experience than other types of exploit dev. Your available code base to draw from is unlike what you would expect when running at the operating system level and you have no gdb you can use.

Remediation and Defensive Strategies

In this talk we will summarize BIOS exploitation techniques and dive deeper into the specifics of an exploit we developed to provide reliable arbitrary code execution for an"over-the-internet" bios update vulnerability we found and responsibly disclosed. We will explain the relevant parts of UEFI and talk more about the exploit mitigations that exist there. We will also explain how to explore System Management Mode (SMM) in an Intel based platform, utilizing Intel hardware debug capabilities on an Intel 8th gen platform to obtain SMRAM content, analyze its contents, and search for vulnerable code.

Related talks

Main Stage·42 min

  • DEF CON
  • Hardware
  • Date: Aug 2018
  • Location: Las Vegas

Ladar Levison · hon1nbo

Ladar Levison and hon1nbo presents booby trapping boxes: Ever worry about the hardware you leave behind?

hardware-hackingreverse-engineeringhardware+1

Main Stage·46 min

  • DEF CON
  • Hardware
  • Date: Aug 2018
  • Location: Las Vegas

Douglas McKee

Douglas McKee presents 80 to 0 in under 5 seconds: It seems each day that passes brings new technology and an increasing dependence upon it.

hardware-hackingreverse-engineeringhardware+1