Home

Awesome

VBoxCloak

A PowerShell script that attempts to help malware analysts hide their VirtualBox Windows VM's from malware that may be trying to evade analysis. Guaranteed to bring down your pafish ratings by at least a few points ;)

The script accomplishes this by doing the following:

For more info, see my blog post here: https://securityliterate.com/hiding-virtual-machines-from-malware-introducing-vmwarecloak-vboxcloak/

Note: This script will not cover ALL VM detection techniques! There are a lot of ways to detect a VM, and many of these cannot be fixed with a simple Powershell script. For example, techniques such as RDTSC and timing detection are not covered, neither is CPUID detection.

Tested on Windows 7 and Windows 10 - Probably works on Windows XP and Windows 11 as well.

Spot any bugs? Let me know!

Usage

  1. Simply run VBoxCloak.ps1 as Administrator on your Windows VirtualBox VM.
  2. Detonate your malware. Profit.
  3. When done, reset your VM to clean state.

Usage examples:

Make registry changes, remove VBox files, and kill VBox processes:

Just make registry modificaitons:

Just remove VBox files:

Just kill VBox processes:

Warnings & Disclaimers