Lune

USENIX Security2022Top-tier venue

Morphuzz: Bending (Input) Space to Fuzz Virtual Devices

Alexander Bulekov, Bandan Das, Stefan Hajnoczi, Manuel Egele

Abstract

The security of the entire cloud ecosystem crucially depends on the isolation guarantees that hypervisors provide between guest VMs and the host system. To allow VMs to communicate with their environment, hypervisors provide a slew of virtual-devices including network interface cards and performance-optimized VIRTIO-based SCSI adapters. As these devices sit directly on the hypervisor's isolation boundary and accept potentially attacker controlled input (e.g., from a malicious cloud tenant), bugs and vulnerabilities in the devices' implementations have the potential to render the hypervisor's isolation guarantees moot. Prior works applied fuzzing to simple virtual-devices, focusing on a narrow subset of the vast input-space and the state-of-the-art virtual-device fuzzer, Nyx, requires precise, manually-written, specifications to exercise complex devices. In this paper we present MORPHUZZ, a generic approach that leverages insights about hypervisor design combined with coverage-guided fuzzing to find bugs in virtual device implementations. Crucially MORPHUZZ does not rely on expert knowledge specific to each device. MORPHUZZ is the first approach that automatically elicits the complex I/O behaviors of the real-world virtual devices found in modern clouds. To demonstrate this capability, we implemented MORPHUZZ in QEMU and bhyve and fuzzed 33 different virtual devices (a superset of the 16 devices analyzed by prior work). Additionally, we show that MORPHUZZ is not tied to a specific CPU architecture, by fuzzing 3 additional ARM devices. MOR-PHUZZ matches or exceeds coverage obtained by Nyx, for 13/16 virtual devices, and identified a superset (110) of all crashes reported by Nyx (44). We reported all newly discovered bugs to the respective developers. Notably, MORPHUZZ achieves this without initial seed-inputs, or expert guidance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SGXFuzz: Efficiently Synthesizing Nested Structures for SGX Enclave Fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • SGXFuzz: Efficiently Synthesizing Nested Structures for SGX Enclave Fuzzing cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • SGXFuzz: Efficiently Synthesizing Nested Structures for SGX Enclave Fuzzing cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • Hacksaw: Hardware-Centric Kernel Debloating via Device Inventory and Dependency Analysis cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • Razzer: Finding Kernel Race Bugs through Fuzzing cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • HYPERPILL: Fuzzing for Hypervisor-bugs by leveraging the Hardware Virtualization Interface cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • HYPERPILL: Fuzzing for Hypervisor-bugs by leveraging the Hardware Virtualization Interface cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • HYPERPILL: Fuzzing for Hypervisor-bugs by leveraging the Hardware Virtualization Interface cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • HYPERPILL: Fuzzing for Hypervisor-bugs by leveraging the Hardware Virtualization Interface cites CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines
  • HYPERPILL: Fuzzing for Hypervisor-bugs by leveraging the Hardware Virtualization Interface cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • KIT: Testing OS-Level Virtualization for Functional Interference Bugs cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • KIT: Testing OS-Level Virtualization for Functional Interference Bugs cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • To Boldly Go Where No Fuzzer Has Gone Before: Finding Bugs in Linux' Wireless Stacks through VirtIO Devices cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • To Boldly Go Where No Fuzzer Has Gone Before: Finding Bugs in Linux' Wireless Stacks through VirtIO Devices cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • To Boldly Go Where No Fuzzer Has Gone Before: Finding Bugs in Linux' Wireless Stacks through VirtIO Devices cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. KIT: Testing OS-Level Virtualization for Functional Interference BugsCongyu Liu, Sishuai Gong, Pedro FonsecaASPLOS 2023 · 16 citations
  2. HYPERPILL: Fuzzing for Hypervisor-bugs by leveraging the Hardware Virtualization InterfaceAlexander Bulekov, Qiang Liu, Manuel Egele, Mathias PayerUSENIX Security 2024 · 15 citations
  3. To Boldly Go Where No Fuzzer Has Gone Before: Finding Bugs in Linux' Wireless Stacks through VirtIO DevicesSönke Huster, Matthias Hollick, Jiska ClassenS&P 2024 · 8 citations
  4. Hacksaw: Hardware-Centric Kernel Debloating via Device Inventory and Dependency AnalysisZhenghao Hu, Sangho Lee, Marcus PeinadoCCS 2023 · 3 citations
  5. SGXFuzz: Efficiently Synthesizing Nested Structures for SGX Enclave FuzzingTobias Cloosters, Johannes Willbold, Thorsten Holz, Lucas DaviUSENIX Security 2022

Builds on14

  1. QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang et al.USENIX Security 2018 · 537 citations
  2. kAFL: Hardware-Assisted Feedback Fuzzing for OS KernelsSergej Schumilo, Cornelius Aschermann, Robert Gawlik, Sebastian Schinzel et al.USENIX Security 2017 · 324 citations
  3. Razzer: Finding Kernel Race Bugs through FuzzingDae R. Jeong, Kyungtae Kim, Basavesh Shivakumar, Byoungyoung Lee et al.S&P 2019 · 202 citations
  4. DIFUZE: Interface Aware Fuzzing for Kernel DriversJake Corina, Aravind Machiry, Christopher Salls, Yan Shoshitaishvili et al.CCS 2017 · 195 citations
  5. CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript EnginesHyungSeok Han, DongHyeon Oh, Sang Kil ChaNDSS 2019 · 178 citations

Related papers

  1. Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine TypesSergej Schumilo, Cornelius Aschermann, Ali Abbasi, Simon Wörner et al.USENIX Security 2021 · 102 citations
  2. MundoFuzz: Hypervisor Fuzzing with Statistical Coverage Testing and Grammar InferenceCheolwoo Myung, Gwangmu Lee, Byoungyoung LeeUSENIX Security 2022
  3. Truman: Constructing Device Behavior Models from OS Drivers to Fuzz Virtual DevicesZheyu Ma, Qiang Liu, Zheming Li, Tingting Yin et al.NDSS 2025
  4. VD-Guard: DMA Guided Fuzzing for Hypervisor Virtual DeviceYuwei Liu, Siqi Chen, Yuchong Xie, Yanhao Wang et al.ASE 2023 · 6 citations
  5. ViDeZZo: Dependency-aware Virtual Device FuzzingQiang Liu, Flavio Toffalini, Yajin Zhou, Mathias PayerS&P 2023
Dusk over the sea between two cliffs drawn in fine vertical lines