Skip to content

Instantly share code, notes, and snippets.

@x42en
x42en / README.md
Created May 22, 2026 09:56
Simple VM detection mitigation

vm_hide

Reconfigure a VirtualBox VM so that its guest operating system perceives it as a physical server rather than a virtual machine. The script rewrites the DMI/SMBIOS strings, the storage device identity, the NIC vendor OUI, and the CPUID brand string, and disables the paravirtualization provider that would otherwise leak VBox/KVM to the guest.

Hardware profiles are stored in profiles.json next to the script. At startup, an interactive menu lists every profile defined in that file and lets the operator choose which one to apply.

Requirements

Tool Purpose