Breaking Hardware-Enforced Security with Hypervisors

Presented at Black Hat USA 2016, Aug. 4, 2016, 3:50 p.m. (50 minutes).

Hardware-Enforced Security is touted as the panacea solution to many modern computer security challenges. While certainly adding robust options to the defenders toolset, they are not without their own weaknesses. In this talk we will demonstrate how low-level technologies such as hypervisors can be used to subvert the claims of security made by these mechanisms. Specifically, we will show how a hypervisor rootkit can bypass Intel's Trusted Execution Environment (TXT) DRTM (dynamic root of trust measurement) and capture keys from Intel's AES-NI instructions. These attacks against TXT and AES-NI have never been published before. Trusted computing has had a varied history, to include technologies such as Trusted Execution Technology (TXT), ARM TrustZone, and now Microsoft Isolated User Mode and Intel SGX. All of these technologies attempt to protect user data from privileged processes snooping or controlling execution. These technologies claim that no elevated process, whether kernel based, System Management Mode (SMM) based, or hypervisor based will be able to compromise the user's data and execution.

This presentation will highlight the age-old problem of misconfiguration of Intel TXT by exploiting a machine through the use of another Intel technology, the Type-1 hypervisor (VT-x). Problems with these technologies have surfaced not as design issues but during implementation. Whether there remains a hardware weakness where attestation keys can be compromised, or a software and hardware combination, such as exposed DMA that permits exfiltration, and sometimes modification, of user process memory. This presentation will highlight one of these implementation flaws as exhibited by the open source tBoot project and the underlying Intel TXT technology. Summation will offer defenses against all too often pitfalls when deploying these systems, including proper deployment design using sealed storage, remote attestation, and hardware hardening.


Presenters:

  • Joseph Sharkey - Siege Technologies
    Joseph Sharkey is the Chief Technology Officer for Siege Technologies where he leads all corporate technical strategy while still finding time to get his hands dirty conducting R&D and writing code. Before entering the security domain in 2007, his work focused on micro-processor design, where he has more than two dozen publications and conference presentations (see https://scholar.google.com/citations?user=x5jerpcAAAAJ&hl=en). Dr. Sharkey's research interests include trusted computing, hypervisors, low-level system software, and advanced processor architecture features and how they interact with the overall security of the system.

Links:

Similar Presentations: