GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Wenzel/awesome-virtualization: Collection of resources about Virtualization

BranchesTags
Open more actions menu

Latest commit

 

History

212 Commits
212 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
contributing.md
contributing.md
 
 

Repository files navigation

Awesome Virtualization Awesome

Resources for people who build, break and introspect hypervisors: CPU virtualization internals, hypervisor development, virtual machine introspection and hypervisor security.

Management platforms, desktop apps, plain containers, sandboxes and CPU emulators are out of scope; see Related lists.

Contents

  • Start here
  • Chronology
  • Foundations
    • Specifications
    • Books
    • Courses
    • Papers
  • Hypervisor internals
    • KVM
    • Xen
    • QEMU
    • Hyper-V
    • VMware
    • VirtualBox
  • Building hypervisors
    • Tutorials
    • Teaching hypervisors
    • Special-purpose hypervisors
    • Production VMMs and research hypervisors
    • MicroVMs and container isolation
  • Introspection and debugging
    • Tools
    • Papers and talks
  • Security
    • Attacking hypervisors
    • Fuzzing
    • Confidential VMs
    • VM detection and malware analysis
  • Related lists

Start here

Write your first hypervisor:

  1. Read Hardware and Software Support for Virtualization for the concepts (Books).
  2. Keep the Intel SDM volume 3C and the VMCS layout open as references (Specifications).
  3. Follow Hypervisor From Scratch or Hypervisor 101 in Rust end to end (Tutorials).
  4. Read SimpleVisor, then HyperPlatform or hvpp, to see complete small implementations (Teaching hypervisors).
  5. Read MMU Virtualization via Intel EPT before adding memory virtualization (Tutorials).
  6. Compare with a production codebase such as Firecracker or NOVA (Production VMMs and research hypervisors).

Start in hypervisor security:

  1. Watch Lessons Learned from Eight Years of Breaking Hypervisors for the bug classes (Attacking hypervisors).
  2. Read Hypervisor Vulnerability Research: State of the Art for the attack surface of each hypervisor (Attacking hypervisors).
  3. Work through one full exploit write-up: An EPYC escape for KVM or the Quarkslab series for Xen (Attacking hypervisors).
  4. Read First Steps in Hyper-V Research to set up a debugging environment (Hyper-V).
  5. Read the HyperCube and Morphuzz papers, then run kAFL (Fuzzing).
  6. Learn what the hardware-isolated threat model changes with SEVered and Heckler (Confidential VMs).

Chronology

Date Vendor Milestone
2005-11-13 Intel VT-x released on Pentium 4 (models 662 and 672)
2006-05-23 AMD AMD-V released on Orleans and Windsor processors
2007-09-10 AMD Barcelona adds RVI (Rapid Virtualization Indexing), a.k.a. Nested Page Tables, AMD's SLAT
2008-11 Intel Nehalem adds EPT (Extended Page Tables, Intel's SLAT) and VPID (Virtual Processor ID)
2010-01-07 Intel Westmere adds unrestricted guest (real mode support)
2013-06-04 Intel Haswell adds VMCS Shadowing, VMFUNC, #VE and EPTP switching
2017-06-21 AMD EPYC adds Secure Encrypted Virtualization (SEV)
2017 AMD Documents Encrypted State (SEV-ES)
2019 AMD Documents Secure Nested Paging (SEV-SNP)
2019-08-01 Intel Ice Lake adds EPT SPP (EPT-Based Sub-Page Write Protection) and virtualization of the Intel Processor Trace output buffer using EPT
2020-03 Intel Documents Hypervisor-Managed Linear Address Translation (HLAT)
2021-03 AMD EPYC Milan ships SEV-SNP
2021-03 Arm Announces the Confidential Compute Architecture (CCA) and its Realm Management Extension (RME) with Armv9-A
2023-01 Intel Sapphire Rapids ships Trust Domain Extensions (TDX)
2024 Linux KVM gains SEV-SNP host support (6.11)
2025 Linux KVM gains TDX host support (6.16)

Foundations

Specifications

  • Intel 64 and IA-32 Architectures Software Developer's Manual - The reference for VT-x; volume 3C covers VMX operation, the VMCS, VM entries and exits, and EPT.
  • VMCS Layout - Every VMCS field and its encoding on a single page.
  • VMX Caps - Table of the VMX capabilities reported by Intel processors. Unmaintained since 2020.
  • VIRTIO specification - OASIS standard for paravirtualized devices, implemented by every mainstream hypervisor.
  • RISC-V Instruction Set Manual - The privileged volume defines the hypervisor (H) extension.

Books

  • Hardware and Software Support for Virtualization - Bugnion, Nieh and Tsafrir, 2017. The best single text on CPU, memory and I/O virtualization on x86 and Arm.
  • Virtual Machines: Versatile Platforms for Systems and Processes - Smith and Nair, 2005. Broad taxonomy of process and system virtual machines, including binary translation.
  • Mastering KVM Virtualization - Chirammal, Mukhedkar and Vettathu, 2016. Operations-oriented, with a chapter on KVM and QEMU internals.

Courses

  • Advanced Operating Systems: memory virtualization - Georgia Tech on Udacity. Lecture videos on shadow page tables, ballooning and memory sharing.
  • Full Virtualization - Geoffrey Challen, 2017. Undergraduate lecture on trap-and-emulate and why x86 was hard to virtualize.
  • Xen and the Art of Virtualization - Geoffrey Challen, 2017. Lecture walking through the Xen paper and paravirtualization.
  • Advanced x86: Virtualization with Intel VT-x - David Weinstein, OpenSecurityTraining. Slides and labs for a full VT-x course.
  • From Kernel to VMM - Jacob Torrey, Dartmouth. Introduction to what a VMM adds on top of a kernel.
  • Virtualization and Cloud Computing lectures - Mythili Vutukuru, IIT Bombay. Graduate course covering CPU, memory and I/O virtualization.

Papers

  • Formal Requirements for Virtualizable Third Generation Architectures - Popek and Goldberg, CACM 1974. Defines when an architecture can be virtualized by trap-and-emulate.
  • Xen and the Art of Virtualization - Barham et al., SOSP 2003. Introduces paravirtualization on x86.
  • A Comparison of Software and Hardware Techniques for x86 Virtualization - Adams and Agesen, ASPLOS 2006. Binary translation against first-generation VT-x, and why hardware was not yet faster.
  • kvm: the Linux Virtual Machine Monitor - Kivity et al., Ottawa Linux Symposium 2007. The original KVM design in six pages.
  • Dynamic Binary Translation from x86-32 Code to x86-64 Code for Virtualization - Yu-hsin Chen, MIT thesis, 2009. Detailed design of a binary translator inside a VMM.
  • The Evolution of an x86 Virtual Machine Monitor - Agesen et al., SIGOPS OSR 2010. How VMware's monitor changed as hardware support arrived.
  • The Turtles Project: Design and Implementation of Nested Virtualization - Ben-Yehuda et al., OSDI 2010. How KVM runs hypervisors inside guests.
  • Bringing Virtualization to the x86 Architecture with the Original VMware Workstation - Bugnion et al., ACM TOCS 2012. Retrospective on virtualizing x86 before hardware support.
  • KVM/ARM: The Design and Implementation of the Linux ARM Hypervisor - Dall and Nieh, ASPLOS 2014. Split-mode virtualization on Arm.
  • MemoryRanger Prevents Hijacking FILE_OBJECT Structures in Windows Kernel - Igor Korkin, 2019. Uses EPT to isolate kernel drivers from each other.
  • Protecting Cloud Virtual Machines from Hypervisor and Host Operating System Exploits - Li et al., USENIX Security 2019. HypSec shrinks the KVM trusted computing base to a small core.
  • Firecracker: Lightweight Virtualization for Serverless Applications - Agache et al., NSDI 2020. Design rationale for a minimal KVM-based VMM.

Hypervisor internals

KVM

  • KVM documentation - Kernel documentation for the KVM API, MMU, nested virtualization and per-architecture details.
  • KVM website - Project wiki.
  • KVM Forum - Yearly developer conference; slides and videos for every edition.
  • How VT-x, KVM and QEMU Work Together - Binary Debt, 2018. Follows a guest from QEMU through the KVM ioctls down to VMX.

Xen

  • Xen website - Project home.
  • Xen documentation - Hypercall interfaces, design documents and man pages for each release.

QEMU

  • QEMU website - Project home.
  • QEMU documentation - System emulation, device models and developer internals.
  • QEMU Starter - Beginner's guide to running and configuring QEMU. Unmaintained since 2023.

Hyper-V

  • Virtualization documentation - Official Microsoft documentation.
  • Hypervisor Top Level Functional Specification - Microsoft. The guest-visible interface: hypercalls, synthetic MSRs and partitions.
  • Hyper-V Internals - Arthur Khudyaev's blog, reverse engineering the hypervisor and its components.
  • Hyper-V internals research history - Chronological index of public Hyper-V research since 2006.
  • Battle of SKM and IUM - Alex Ionescu, Black Hat USA 2015. How Windows 10 builds Virtualization Based Security on Hyper-V.
  • Virtualization Based Security - Part 1: The boot process - Amossys, 2017. How VBS starts from the boot loader. (part 2: kernel communications)
  • Hyper-V and its Memory Manager - Andrea Allievi, REcon 2017. Internals of the hypervisor's memory management.
  • First Steps in Hyper-V Research - MSRC, 2018. Architecture overview and how to set up hypervisor debugging.
  • Hyper-V Internals and LIS - Alisa Esage, 2020. Notes on VMBus and the Linux Integration Services.

VMware

  • Understanding Full Virtualization, Paravirtualization and Hardware Assist - VMware white paper, 2007. Short comparison of the three approaches.
  • The Architecture of VMware ESXi - VMware white paper, 2008. VMkernel, user worlds and the management stack.

VirtualBox

  • VirtualBox website - Project home.
  • VirtualBox technical documentation - Developer wiki on the source tree, VMM and device emulation.

Building hypervisors

Tutorials

  • Hypervisor From Scratch - Sina Karvandi. Eight-part series building a VT-x hypervisor for Windows: VMX entry, VMCS setup, EPT, virtualizing a running system and hidden hooks.
  • 5 Days to Virtualization - Daax Rynd. Six-part series from environment setup to a VM-exit handler with CPUID emulation.
  • MMU Virtualization via Intel EPT - Daax Rynd. Follow-up series on paging structures, EPT setup and EPT violations.
  • Hypervisor 101 in Rust - Satoshi Tanda. One-day course that builds a fuzzing hypervisor for Intel and AMD, with exercises.

Teaching hypervisors

Small enough to read in full. Many are no longer maintained and may not build on current toolchains; the code is still the best reference.

  • Blue Pill - Invisible Things Lab, 2007. Source of New Blue Pill, the hypervisor rootkit that moves a running OS into a VM.
  • SimpleVisor - Alex Ionescu, 2016. Minimal VT-x hypervisor for Windows and UEFI, written to be read.
  • HyperPlatform - Satoshi Tanda, 2016. VT-x platform for Windows kernel monitoring. Archived.
  • SimpleSvm - Satoshi Tanda, 2017. The AMD SVM counterpart to SimpleVisor.
  • MiniVisorPkg - Satoshi Tanda, 2020. VT-x hypervisor built as both a UEFI and a Windows driver.
  • hvpp - Petr Beneš, 2018. VT-x hypervisor in modern C++ with EPT hooking examples. Unmaintained since 2021.
  • ksm - Ahmed Samy, 2017. VT-x hypervisor for Windows and Linux using EPT, #VE and VMFUNC. Unmaintained since 2021.
  • gbhv - Gbps, 2018. Heavily commented VT-x hypervisor with EPT hooking. Unmaintained since 2023.
  • NoirVisor - Zero Tang, 2018. Supports both VT-x and AMD-V, with nested virtualization.
  • kHypervisor - Kelvin Chan, 2016. Nested VMM built on HyperPlatform. Unmaintained since 2021.
  • HyperBone - DarthTon, 2016. Minimal VT-x hypervisor with hooks. Unmaintained since 2019.
  • hypervisor-for-beginners - Rohan, 2017. Step-by-step VT-x samples. Unmaintained since 2017.
  • zpp_hypervisor - Eyal Z, 2019. Simple VT-x hypervisor in C++ written as a learning exercise.
  • rustyvisor - Ian Kronquist, 2016. Early VT-x hypervisor in Rust. Unmaintained since 2022.
  • mythril - Type-1 VT-x hypervisor in Rust, 2019. Unmaintained since 2022.
  • illusion-rs - UEFI blue-pill hypervisor in Rust with EPT hooks, by memN0ps. Archived.
  • matrix-rs - Windows kernel blue-pill hypervisor in Rust, by memN0ps. Archived.
  • HOSS - Don Porter, 2014. Extends MIT's JOS teaching OS into a hypervisor, with guided lab exercises.

Special-purpose hypervisors

  • ramooflax - Airbus, 2011. Pre-boot hypervisor for remotely debugging a whole machine. Unmaintained since 2018.
  • VivienneVMM - Stealthy hardware-breakpoint debugging through a VT-x hypervisor, by changeofpace. Unmaintained since 2020.
  • MemoryRanger - Igor Korkin, 2019. Runs kernel drivers in separate EPT enclaves to stop data-only attacks.
  • applepie - Brandon Falk, 2018. Fuzzing hypervisor built on Bochs and the Windows Hypervisor Platform. Unmaintained since 2019.
  • orange_slice - Brandon Falk, 2019. Research kernel and hypervisor in Rust aiming at deterministic execution. Unmaintained since 2021.
  • Barbervisor - Cisco Talos, 2020. Bare-metal VT-x hypervisor in Rust for snapshot fuzzing. Unmaintained since 2020.
  • vbh - Intel, 2019. Thin hypervisor for virtualization-based hardening of a Linux kernel. Archived.

Production VMMs and research hypervisors

  • Firecracker - AWS, 2018. Minimal KVM-based VMM in Rust behind Lambda and Fargate.
  • Cloud Hypervisor - 2019. Rust VMM for cloud workloads on KVM and Microsoft Hypervisor.
  • crosvm - Google, 2017. The ChromeOS and Android VMM, where the Rust VMM ecosystem started.
  • rust-vmm - 2018. Shared Rust crates (KVM bindings, virtio, guest memory) used by the three VMMs above.
  • OpenVMM - Microsoft, 2024. Rust VMM that also runs as OpenHCL, the paravisor used for Azure confidential VMs.
  • uhyve - 2019. Minimal hypervisor for the Hermit unikernel.
  • Android pKVM - Google. Protected KVM on Arm64, which removes the host kernel from the guest's trusted computing base.
  • NOVA - Udo Steinberg, 2010. Microhypervisor with a small trusted computing base for x86 and Arm.
  • Hedron - Cyberus Technology, 2020. NOVA derivative. Unmaintained since 2023.
  • BitVisor - University of Tsukuba, 2008. Thin hypervisor that mediates I/O for a single guest. (GitHub mirror)
  • Xvisor - 2010. Monolithic type-1 hypervisor for Arm, RISC-V and x86.
  • Jailhouse - Siemens, 2013. Linux-based static partitioning hypervisor. No commits since 2024.
  • Bao - 2020. Static partitioning hypervisor for Arm and RISC-V mixed-criticality systems.
  • ACRN - Intel, 2018. Type-1 hypervisor for embedded and IoT devices.
  • Bareflank - Assured Information Security, 2015. SDK for building custom hypervisors. No commits since 2024.
  • Boxy - Assured Information Security, 2018. Bareflank-based hypervisor for running guest VMs, the predecessor of MicroV. Unmaintained since 2020.
  • MicroV - Assured Information Security, 2020. Micro-VM hypervisor built on Bareflank. No commits since 2024.
  • GiantVM - Shanghai Jiao Tong University, 2017. Distributed hypervisor that spans one VM across several hosts.
  • napoca - Bitdefender, 2020. Type-1 hypervisor designed to host memory introspection. Archived.
  • Intel HAXM - Intel, 2017. VT-x accelerator for QEMU on Windows and macOS. Archived.
  • NEMU - Intel, 2018. Stripped-down QEMU fork, superseded by Cloud Hypervisor. Archived.

MicroVMs and container isolation

Projects that put a virtualization boundary around containers and single processes. Firecracker, Cloud Hypervisor and crosvm, listed above, are the VMMs most of them build on.

  • My VM is Lighter (and Safer) than your Container - Manco et al., SOSP 2017. Shows that VMs can boot in milliseconds once the toolstack and guest are trimmed.
  • Kata Containers - 2017. Container runtime that runs each pod inside its own lightweight VM.
  • gVisor - Google, 2018. Application kernel that intercepts container system calls in user space, with an optional KVM platform; a sandbox, not a hypervisor.
  • microvm machine type - QEMU. Minimal x86 machine model with virtio-mmio devices and no PCI, inspired by Firecracker.
  • libkrun - 2020. Library that embeds a minimal KVM or Hypervisor.framework VMM in a process, used by crun and Podman.
  • go-microvm - Stacklok, 2026. Go framework that runs OCI container images as microVMs through libkrun.

Introspection and debugging

Tools

  • LibVMI - The reference VMI library: read and write guest memory and receive hardware events on Xen and KVM.
  • libmicrovmi - Rust library exposing one low-level VMI API across Xen, KVM, VirtualBox and memory dumps.
  • KVM-VMI - KVM and QEMU patches that add an introspection API, with setup instructions.
  • DRAKVUF - Agentless dynamic malware analysis on Xen using altp2m and LibVMI.
  • HVMI - Bitdefender's commercial introspection engine, open-sourced in 2020. Archived.
  • HyperDbg - Hypervisor-based kernel and user-mode debugger for Windows with EPT hooks and scripting.

Papers and talks

  • A Virtual Machine Introspection Based Architecture for Intrusion Detection - Garfinkel and Rosenblum, NDSS 2003. The paper that founded VMI.
  • Hypervisor Memory Forensics - Graziano, Lanzi and Balzarotti, RAID 2013. Finding hypervisors and nested guests in a physical memory dump. (slides)
  • Hypervisor-based, hardware-assisted system monitoring - Virus Bulletin conference. Monitoring malware from outside the guest with hardware virtualization.
  • Hypervisor-based Memory Introspection at the Next Level - Lutas et al., USENIX ATC 2015. User-mode memory introspection and protection of live VMs.
  • Zero-Footprint Guest Memory Introspection from Xen - Mihai Donțu and Ravi Sahita, Xen Project Developer Summit. Agentless introspection with #VE and VMFUNC. (slides, update)
  • Virtual Machine Introspection to Detect and Protect - Tamas K. Lengyel, Hacktivity. Practical VMI on Xen with LibVMI and DRAKVUF.
  • Bringing Commercial Grade Virtual Machine Introspection to KVM - Mihai Donțu, KVM Forum 2017. The design of the KVM introspection API.
  • Who Watches The Watcher? Detecting Hypervisor Introspection from Unprivileged Guests - Tuzel et al., DFRWS 2018. Timing side channels that reveal an introspecting hypervisor.
  • Patchguard: Detection of Hypervisor Based Introspection - Reverse Engineering blog. How Windows kernel patch protection detects hypervisor hooks. (part 2)
  • HyperDbg: Reinventing Hardware-Assisted Debugging - Karvandi et al., CCS 2022. Design of a debugger built on VT-x and EPT rather than OS debugging APIs.
  • The Reversing Machine: Reconstructing Memory Assumptions - Karvandi et al., 2024. Hypervisor-based memory tracing to defeat anti-analysis techniques.
  • Reversing with HyperDbg (Dbg3301) - OpenSecurityTraining2. Free video course on using HyperDbg.

Security

Attacking hypervisors

  • The Arms Race Over Virtualization - Thomas Ptacek, Reflections Projections 2007. Hypervisor rootkits and how to detect them.
  • Lessons Learned from Eight Years of Breaking Hypervisors - Rafal Wojtczuk, Black Hat Europe 2014. Taxonomy of hypervisor bug classes; the best starting point. (slides)
  • Attacking Hypervisors Using Firmware And Hardware - Bulygin et al., Black Hat USA 2015. Reaching the hypervisor through firmware interfaces and hardware emulation. (slides)
  • Software Attacks on Hypervisor Emulation of Hardware - Oleksandr Bazhaniuk, Troopers 2017. Fuzzing CPU and device emulation with CHIPSEC. (slides)
  • Glitches in the Matrix - Escape via NMI - Blog post, with Windows kernel code, on using non-maskable interrupts to escape a hypervisor's control.
  • Hypervisor Vulnerability Research: State of the Art - Alisa Esage, 2020. Attack surface and known bug classes of each mainstream hypervisor.

KVM

  • Virtualization under attack: Breaking out of KVM - Nelson Elhage, DEF CON 19, 2011. Full guest-to-host exploit for a QEMU device emulation bug. (slides)
  • Performant Security Hardening of KVM - Steve Rutherford, KVM Forum 2016. How Google reduces the KVM attack surface in production. (slides)
  • An EPYC escape: Case-study of a KVM breakout - Felix Wilhelm, Project Zero, 2021. Guest-to-host escape through a bug in KVM's own AMD nested virtualization code.

Xen

  • Subverting the Xen hypervisor - Rafal Wojtczuk, Black Hat USA 2008. Modifying the running hypervisor through DMA.
  • Preventing and Detecting Xen Hypervisor Subversions - Rutkowska and Wojtczuk, Black Hat USA 2008. Defences against the attacks of part one, and their limits.
  • Bluepilling the Xen Hypervisor - Rutkowska and Tereshkin, Black Hat USA 2008. Nesting a malicious hypervisor underneath Xen.
  • Ouroboros: Tearing Xen Hypervisor With the Snake - Shangcong Luan, Black Hat USA 2016. Exploiting a paravirtualized memory management bug. (slides)
  • Xenpwn: Breaking Paravirtualized Devices - Felix Wilhelm, Black Hat USA 2016. Finding double fetches in shared-memory device backends. (paper)
  • Advanced Exploitation: Xen Hypervisor VM Escape - Shangcong Luan, HITB Amsterdam 2016. Walk-through of a Xen guest-to-host exploit.
  • Xen exploitation part 1: XSA-105, from nobody to root - Quarkslab, 2016. Privilege escalation inside a guest through an instruction emulation bug.
  • Xen exploitation part 2: XSA-148, from guest to host - Quarkslab, 2016. Full escape through a page table validation bug.
  • Pandavirtualization: Exploiting the Xen hypervisor - Jann Horn, Project Zero, 2017. Exploiting XSA-212 from a paravirtualized guest.

VMware

  • Cloudburst: Hacking 3D And Breaking Out Of VMware - Kostya Kortchinsky, Black Hat USA 2009. Guest-to-host exploit through the virtual GPU.
  • The Great Escapes of VMware - Mandal and Zhang, Black Hat Europe 2017. Retrospective study of VMware guest-to-host escape vulnerabilities.
  • Out of the Truman Show: VM Escape in VMware Gracefully - BlueHat v17, 2017. Guest-to-host escape in VMware Workstation.
  • Analyzing a Patch of a Virtual Machine Escape on VMware - McAfee Labs. Patch diffing a fixed escape to locate the bug.
  • A bunch of Red Pills: VMware Escapes - Keen Lab, 2018. The bug chain used against VMware Workstation at Pwn2Own 2017.
  • Wandering through the Shady Corners of VMware Workstation/Fusion - Comsecuris. Vulnerabilities in the virtual GPU shader translator.
  • Control Register Access Exiting and Crashing VMware - How to Hypervise, 2018. A nested virtualization bug found while writing a hypervisor.
  • VMSA-2025-0004 - Broadcom, 2025. Advisory for the three-bug ESXi escape chain (CVE-2025-22224, 22225, 22226) exploited in the wild.

VirtualBox

  • Breaking Out of VirtualBox through 3D Acceleration - Francisco Falcon, REcon 2014. Memory corruption in the Chromium 3D service. (slides)
  • CVE-2017-3558: Guest-to-Host Privilege Escalation via Broken Length Handling in slirp Copy - Jann Horn, Project Zero, 2017. Heap overflow in the NAT networking code, with exploit.
  • Unboxing your VirtualBox - Niklas Baumstark, Insomni'hack 2018. Attack surface review and exploitation of the 3D and guest services. (slides)
  • Better slow than sorry - VirtualBox 3D acceleration considered harmful - Bugs and an exploit for the 3D acceleration service, by phoenhex, 2018.
  • VirtualBox 3D Acceleration: An Accelerated Attack Surface - Zero Day Initiative, 2018. How the Chromium protocol is exposed to guests.
  • CVE-2018-2844: From Compiler Optimization to Code Execution - Reno Robert, 2018. A double fetch introduced by the compiler, turned into a VM escape.
  • VirtualBox VMSVGA VM Escape - Reno Robert, 2018. Exploiting the VMware-compatible SVGA device.
  • VirtualBox NAT DHCP/BOOTP server vulnerabilities - Reno Robert, 2018. Memory disclosure and corruption in the built-in DHCP server.
  • SSD Advisory - Oracle VirtualBox Multiple Guest to Host Escape Vulnerabilities - SSD Secure Disclosure. Details and proof of concept for several escapes.

Hyper-V

  • Security Assessment of Microsoft Hyper-V - ERNW, 2014. Early public review of the Hyper-V attack surface.
  • Ring 0 to Ring -1 Exploitation with Hyper-V IPC - Alex Ionescu, SyScan 2015. Hypercalls and VMBus as an attack surface. (slides)
  • VBS and VSM Internals - Saar Amar, BlueHat IL, 2018. How the hypervisor enforces virtual trust levels.
  • A Dive in to Hyper-V Architecture & Vulnerabilities - Joly and Bialek, Black Hat USA 2018. Architecture overview and case studies of fixed bugs.
  • Hardening Hyper-V through offensive security research - Jordan Rabet, Black Hat USA 2018. Exploiting a vmswitch bug and the mitigations that followed.
  • Breaking VSM by Attacking SecureKernel - Amar and King, Black Hat USA 2020. Fuzzing and exploiting the secure kernel from the normal world.

Fuzzing

  • kAFL - Coverage-guided fuzzer for kernels, firmware and hypervisors using Intel PT and VM snapshots.
  • Hyper-Cube: High-Dimensional Hypervisor Fuzzing - Schumilo et al., NDSS 2020. A custom guest OS that fuzzes every hypervisor interface at once.
  • Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types - Schumilo et al., USENIX Security 2021. Coverage-guided fuzzing of hypervisors run nested. (code)
  • V-Shuttle: Scalable and Semantics-Aware Hypervisor Virtual Device Fuzzing - Pan et al., CCS 2021. Handles the nested structures that devices read through DMA.
  • Morphuzz: Bending (Input) Space to Fuzz Virtual Devices - Bulekov et al., USENIX Security 2022. The generic device fuzzer now part of QEMU.
  • ViDeZZo - Liu et al., IEEE S&P 2023. Virtual device fuzzing that models dependencies between messages.
  • HyperPill: Fuzzing for Hypervisor-bugs by Leveraging the Hardware Virtualization Interface - Bulekov et al., USENIX Security 2024. Snapshots any x86 hypervisor and fuzzes it through VM exits.
  • hAFL1 - Hadar and Harpaz, 2021. kAFL-based fuzzer for Hyper-V's vmswitch that found CVE-2021-28476. Unmaintained since 2021.
  • Growing Hypervisor 0day with Hyperseed - King and Denbow, OffensiveCon 2019. Microsoft's internal hypercall fuzzer and the bugs it found.
  • Fuzzing para-virtualized devices in Hyper-V - MSRC, 2019. Fuzzing VMBus device backends from a guest.
  • Writing a Hyper-V Bridge for Fuzzing - Alex Ionescu, 2019. Building a driver that issues arbitrary hypercalls from user mode.

Confidential VMs

  • AMD Secure Encrypted Virtualization - Specifications and white papers for SEV, SEV-ES and SEV-SNP.
  • Intel Trust Domain Extensions - Specifications and documentation for TDX.
  • Arm Confidential Compute Architecture - Specifications for realms, the RMM and the Realm Management Extension.
  • COCONUT-SVSM - Secure VM Service Module in Rust, running at the most privileged level inside an SEV-SNP guest.
  • SEVered: Subverting AMD's Virtual Machine Encryption - Morbitzer et al., EuroSec 2018. A malicious hypervisor remaps guest pages to extract encrypted memory.
  • CacheWarp - Zhang et al., USENIX Security 2024. Software fault injection against SEV-ES and SEV-SNP by reverting guest cache lines.
  • WeSee - Schlüter et al., IEEE S&P 2024. Injecting #VC exceptions to read, write and execute inside SEV-SNP guests.
  • Heckler - Schlüter et al., USENIX Security 2024. Injecting interrupts to break SEV-SNP and TDX guests.

VM detection and malware analysis

  • VMAware - C++ library and tool implementing a large catalogue of VM detection techniques.
  • al-khaser - Proof-of-concept collection of the anti-VM, anti-debug and anti-sandbox tricks used by malware.
  • Reverse Engineering By Crayon: Hypervisor Based Malware Analysis and Visualization - Quist and Liebrock, DEF CON 17, 2009. Tracing malware from a modified hypervisor.
  • Hypervisors In Ur Toolbox: Monitoring N Controlling System Events With HyperPlatform - Satoshi Tanda, Nullcon 2017. Using a thin hypervisor as a malware analysis tool.
  • How to hide a hook: A hypervisor for rootkits - Phrack 69, 2016. Hiding kernel hooks with split EPT views.

Related lists

  • awesome-vm-escape - VM and QEMU escape exploits and write-ups.
  • awesome-hyper-v-exploitation - Hyper-V exploitation, fuzzing and vulnerability research.
  • awesome-confidential-computing - Confidential computing projects, attestation and the wider ecosystem.
  • awesome-proxmox-ve - Proxmox VE documentation and tools.
  • awesome-sandbox - Code sandboxing for AI, including microVM-based sandboxes.

About

Collection of resources about Virtualization

Topics

hypervisorvirtual-machinevirtualization

Resources

Readme
GPL-3.0 license

Contributing

Contributing
Activity

Stars

2.0k stars

Watchers

80 watching

Forks

311 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.