This script tries to detect if it is run under a (para)virtualization. This is done by looking for wellknown boot messages, device names, installed tools etc.
Detected virtualizations:
- ARAnyM
- KVM
- lguest
- LXC
- Microsoft Virtual PC / Hyper-V
- OpenVZ/Virtuozzo
- Parallels Workstation
- QEMU
- UML
- VMware GSX, ESX, Workstation
- VirtualBox
- Xen (para and non-para virtualized)
- any HVM providing CPUID 0x40000000 detection
imvirt is comparable with virt-what [1]. imvirt was written to run as non-root - virt-what requires to be run as root but had some more details on Xen (Dom0/DomU/HVM) in the past.
There is a portable version available: ImVirt Portable
Some random links taken as suggestions:
- http://et.redhat.com/~rjones/virt-what/
- http://www.dmo.ca/blog/detecting-virtualization-on-linux/
- http://my.opera.com/jaelanicu/blog/2008/04/02/a-better-red-pill-scooby-for-vmware
- http://my.opera.com/jaelanicu/blog/show.dml/4257341
- http://www.codegurus.be/codegurus/Programming/virtualpc&vmware_en.htm
- http://flierlu.blogspot.com/2008/04/virtualization-detection.html
- http://www.microsoft.com/downloads/details.aspx?FamilyId=91E2E518-C62C-4FF2-8E50-3A37EA4100F5&displaylang=en
- http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458
- http://invisiblethings.org/papers/redpill.html
- http://www.offensivecomputing.net/files/active/0/vm.pdf
- http://www.s21sec.com/descargas/vmware-eng.pdf
- http://www.trapkit.de/research/vmm/scoopyng/index.html
-- Thomas Liske [email protected] Thu, 31 Aug 2012 22:36:09 +0200