Skip to content

Bug Hunting in VMware Device Virtualization

Jiaqing HuangHao ZhengYue Liu

Attack surface exploration of device virtualization within VMware VMKernel and exploitation of eight newly discovered vulnerabilities.

Summary

Exploring the VMKernel Device Virtualization Layer

In this presentation, we will unveil a new attack surface: Device Virtualization in VMKernel. This isan unknown territory that has not been explored by security researchers to date. During the reverse engineering of the VMware Hypervisor, we discovered 8 vulnerabilities related to device virtualization, 3 of them have been assigned CVE number (some vulnerabilities have even been successfully exploited in Tianfu Cup), and the remaining 5 of our vulnerabilities have been officially confirmed by VMware.

Discovery of Eight Hypervisor Vulnerabilities

Firstly we will delve into the loading process of vmm, the implementation of data sharing between vmm and vmx, and VMware's UserRPC, which facilitates communication between the Hypervisor and the Host. These mechanisms are crucial in virtual device emulation.

Escaping Guests and Hardening Hypervisors

Then We will explain security issues in various parts of the USB system, including the host controller, VUsb middleware, and VUsb backend devices, based on the vulnerabilities we have unearthed.

In the end, We will primarily discuss the similarities and differences in SCSI-related device emulation in the virtual disk system between VMware Workstation and ESXi Additionally, we will cover design flaws related to disk device emulation that we discovered in VMKernel.

Related talks

Main Stage·45 min

  • DEF CON
  • Cloud
  • Date: Aug 2016
  • Location: Las Vegas

Ronny Bull · Jeanna Matthews · Kaitlin Trumbull

Ronny Bull, Jeanna Matthews, and Kaitlin Trumbull examine cross-VM side-channel attacks, hypervisor escape mechanisms, and memory isolation flaws in virtualized cloud environments.

virtualizationhypervisorside-channel+2