Testing system virtual machines
Lorenzo Martignoni, Roberto Paleari, Giampaolo Fresi Roglia et al. · International Symposium on Software Testing and Analysis · 2010
Virtual machines offer the ability to partition the resources of a physical system and to create isolated execution environments. The development of virtual machines is a very challenging task. This is particularly true for system virtual machines, since they run an operating system and must replicate in every detail the incredibly complex environment it requires. Nowadays, system virtual machines are the key component of many critical architectures. However, only little effort has been invested to test if the environment they provide is semantically equivalent to the environment found on real machines. In this paper we present a methodology specific for testing system virtual machines. This methodology is based on protocol-specific fuzzing and differential analysis, and consists in forcing a virtual machine and the corresponding physical machine to execute specially crafted snippets of user- and system-mode code and in comparing their behaviors. We have developed a prototype, codenamed KEmuFuzzer, that implements our methodology for the Intel x86 architecture and used it to test four state-of-the-art virtual machines: BOCHS, QEMU, VirtualBox and VMware. We discovered defects in all of them.
Cited by 58 works. doi:10.1145/1831708.1831730
Authors
References
- Proceedings of the 11th USENIX Security Symposium
- QEMU, a fast and portable dynamic translator
- An empirical study of the reliability of UNIX utilities
- Formal requirements for virtualizable third generation architectures
- CUTE
- Automated Whitebox Fuzz Testing.
- EXE
- Analysis of the Intel Pentium's Ability to Support a Secure Virtual Machine Monitor
- Virtual Machines: Versatile Platforms for Systems and Processes
- Fuzzing: Brute Force Vulnerability Discovery