Vulnerability & Exploit Database

Back to search

Windows Gather Virtual Environment Detection

This module attempts to determine whether the system is running inside of a virtual environment and if so, which one. This module supports detection of Hyper-V, VMWare, Virtual PC, VirtualBox, Xen, and QEMU.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Carlos Perez <carlos_perez [at]>


  • windows



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use post/windows/gather/checkvm msf post(checkvm) > sessions ...sessions... msf post(checkvm) > set SESSION <session-id> msf post(checkvm) > show options and set options... msf post(checkvm) > run