Sandbox Evasion

From Unprotect Project
Revision as of 10:45, 21 October 2016 by Admin (talk | contribs) (Techniques)

Jump to: navigation, search

Technique Description

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.

Techniques

Below is a list of all the sandbox evasion techniques in Unprotect Project:

Anti-Sandbox Techniques
Techniques Description
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 are:
  • 00:0C:29 * 00:1C:14
  • 00:50:56
  • 00:05:69
Registry keys
Checking process
Files
Running services
Cuckoo detection
Qemu detection
Virtualbox artifacts
Red Pill
No Pill
Querying the I/O Communication Port
Anti-VM x86 Instruction SIDT
SGDT
SLDT
SMSW
STR
CPUID
IN
Onset delay
Stalling code
Extended sleep code
Timing base
RDTSC
User interaction
Office RecentFiles property
Screen resolution
Installed software
Memory size
Hostname
USB drive
Printer

References