Sandboxing is one of the most useful security solution, however the best practices are not always followed and malware can easily detect the sandbox environment. Sandbox are often misconfigured. With simple trick like hostname detection, mac address or process detection, malware can detect the environment.
Sandbox evasion capabilities allow malware to stay undetected during sandbox analysis.
Below is a list of all the sandbox evasion techniques in Unprotect Project:
|VMprotect||VMProtect is a Russian-made security envelope and file compressor utility that makes reverse engineering of protected software quite difficult.|
|VMware artifacts||Checking for memory artifacts||VMware leaves many artifacts in memory. Some are critical processor structures, which, because they are either moved or changed on a virtual machine, leave recognisable footprints. Malware can search through physical memory for the strings "VMware", commonly used to detect memory artifacts.|
|Mac address detection||VMware uses specific virtual Mac address that can be detected by Malware. The usual mac address used started with the following numbers: "00:0C:29", "00:1C:14", "00:50:56", "00:05:69".|
|Registry keys||The VMware installation directory C:\Program Files\VMware\VMware Tools may also contain artifacts, as can the registry. A search for "VMware" in the registry might find some keys that include information about the virtual hard drive, adapters, and virtual mouse.|
|Checking process||The VMware Tools use processes like VMwareServices.exe or VMwareTray.exe, to perform actions on the virtual environment. A malware can list the process and searches for the VMware string.|
|Files||Some files are created by VMware on the system. Malware can check the different folder to find VMware artifacts.|
|Running services||VMwareService.exe runs the VMware Tools Service as a child of services.exe. It can be identified by listing services.|
|Querying the I/O Communication Port|
|Anti-VM x86 Instruction||SIDT|
|Extended sleep code|
|Office RecentFiles property|