Virtualization/Sandbox Evasion T1497

Tactics: Stealth, Discovery

Adversaries may employ various means to detect and avoid virtualization and analysis environments. This may include changing behaviors based on the results of checks for the presence of artifacts indicative of a virtual machine environment (VME) or sandbox. If the adversary detects a VME, they may alter their malware to disengage from the victim or conceal the core functions of the implant. They may also search for VME artifacts before dropping secondary or additional payloads. Adversaries may use the information learned from Virtualization/Sandbox Evasion during automated discovery to shape follow-on behaviors.

Events covered

6 catalog events are tagged with this technique by at least one rule.

Authoring guide

These 21 rules share fields, values, and exclusions.

Fields filtered most (19 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
CommandLine15contains 10, in 4, regex_match 2, wildcard 1(?i)whoami|systeminfo|ipconfig|arp|nltest|dclist|domain_t..., *--disable-gpu*, *& *, *&C:*, *&*
process_basename12in 8, eq 4Brave.exe, Chrome.exe, Opera.exe, ping.exe, Microsoft.Workflow.Compiler.exe
EventType5eq 3, in 2exec, start, ProcessRollup2, exec_event, modification
Image3ends_with 2, wildcard 1/sysctl, /system_profiler, ?:\Users\*\AppData\*.exe
event.type3eq 3start
process.args3eq 1, in 1, starts_with 1-n, /proc/ide/hd0/model, /proc/scsi/scsi, /sys/class/dmi/id/bios_version, Manufacturer*
EventID2eq 21, 4688
OriginalFileName2eq 2ping.exe, vmdetect.exe
ParentCommandLine2in 2, contains 1*& *, *&C:*, *&*, *ping 0 -n *, *ping 0 -n *
dc_process2gt 23
dc_process_name2gt 21
process_name2regex_match 2(?i)(whoami|systeminfo|ipconfig|arp|nltest|tasklist|net1?...
ParentImage1wildcard 1/*.app/*, /Applications/*.app/*, /Volumes/*.app/*
ScriptBlockText1contains 1Get-WmiObject, MSAcpi_ThermalZoneTemperature, Win32_ComputerSystem
file.name1wildcard 1~$*.zip

Top indicator values (117 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
process_basenamein
Brave.exe
79
process_basenamein
Chrome.exe
713
process_basenamein
Opera.exe
78
process_basenamein
Vivaldi.exe
78
process_basenamein
msedge.exe
712
event.typeeq
start
31036
process_basenameeq
ping.exe
312
CommandLineregex_match
(?i)whoami|systeminfo|ipconfig|arp|nltest|dclist|domain_trusts|tasklist|quser...
22
EventTypeeq
start
2388
dc_processgt
3
24
dc_process_namegt
1
22
process_nameregex_match
(?i)(whoami|systeminfo|ipconfig|arp|nltest|tasklist|net1?|quser|tasklist|nets...
22
CommandLinecontains
*--disable-extensions*
1
CommandLinecontains
*--disable-gpu*
12
CommandLinecontains
*--disable-logging*
1
CommandLinecontains
*--disable-popup-blocking*
1
CommandLinecontains
*--headless*
18
CommandLinecontains
*--user-data-dir*
12
CommandLinecontains
*--window-size*
1
CommandLinecontains
*/N*
1
CommandLinecontains
*/T*
12
CommandLinecontains
*enabled*
12
CommandLinecontains
SPApplicationsDataType
1
CommandLinecontains
SPHardwareDataType
1
CommandLinecontains
SPNetworkDataType
1
CommandLinecontains
SPUSBDataType
1
CommandLinecontains
hw.
1
CommandLinecontains
kern.
1
CommandLinecontains
machdep.
1
CommandLinecontains
sysctl
1

Exclusions (37 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
CommandLineregex_match
(?i)\x5cSplunkUniversalForwarder\x5c(etc|bin)\x5c
2
userregex_match
\$$
2
CommandLineeq
driver\DPInst_x64 /f
1
CurrentDirectoryeq
/home/qualys
1
CurrentDirectorywildcard
?:\Users\*\AppData\Local\Temp\BackupBootstrapper\Logs\
1
CurrentDirectorywildcard
?:\Users\*\AppData\Local\Temp\QBTools\
1
CurrentDirectorywildcard
?:\Windows\TempInst\*
1
OriginalFileNameeq
DPInst.exe
1
ParentCommandLinecontains
*ScreenConnectConfigurator.cmd*
1
ParentCommandLineregex_match
(?i)\x5cSplunkUniversalForwarder\x5c(etc|bin)\x5c
1
ParentImageeq
/Library/Application Support/Mosyle/MosyleMDM.app/Contents/MacOS/MosyleMDM
1
ParentImagein
/Applications/Docker.app/Contents/MacOS/Docker
1
ParentImagein
/opt/emby-server/system/EmbyServer
1
ParentImagein
/usr/libexec/kcare/virt-what
1
ParentImagein
/usr/libexec/valgrind/memcheck-amd64-linux
1

Rules under this technique

These vendors publish rules tagged with this technique.

Domain: Endpoint

Platform (all)

Sigma 3 rules

Elastic 6 rules

Splunk 12 rules