Filesystem detection techniques
All filesystem detection methods conform to the following principle – such files and directories do not exist on a typical host, but they do exist in virtual environments and sandboxes. If such an artifact is present, it can be detected as virtualized.
Let’s check whether specific files exist.
VirtualBox machine detection
If the target system has the following files, then the target system is most likely a VirtualBox VM:
c:\windows\system32\drivers\VBoxMouse.sys
c:\windows\system32\drivers\VBoxGuest.sys
c:\windows\system32\drivers\VBoxSF.sys
c:\windows\system32\drivers\VBoxVideo.sys
c:\windows\system32\vboxdisp.dll
c:\windows\system32\vboxhook.dll
c:\windows\system32\vboxservice.exe
c:\windows\system32\vboxtray.exe
A practical example
This filesystem detection technique method makes use of the file differences between a typical host system and virtual environments. There are numerous...