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

Patterns shared across the 20 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (21 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine15contains 12, in 3, match 2, wildcard 1(?i)whoami|systeminfo|ipconfig|arp|nltest|dclist|domain_t..., *& *, *&C:*, *&*, *--disable-3d-apis*
process_name14in 8, eq 4, match 2brave.exe, chrome.exe, msedge.exe, (?i)(whoami|systeminfo|ipconfig|arp|nltest|tasklist|net1?..., ping.exe
EventType4eq 2, in 2exec, ProcessRollup2, exec_event, modification, rename
Image3ends_with 2, wildcard 1/sysctl, /system_profiler, ?:\users\*\appdata\*.exe
event.type3eq 3start
host.os.type3eq 3
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
ParentCommandLine2in 2, contains 1*& *, *&C:*, *&*, *ping 0 -n *, *ping 0 -n *
dc_process2gt 23
dc_process_name2gt 21
OriginalFileName1eq 1ping.exe
ParentImage1ne 1, wildcard 1/*.app/*, /applications/*.app/*, /library/application...
ScriptBlockText1contains 1get-wmiobject, gwmi, msacpi_thermalzonetemperature
Type1eq 1

Top indicator values (113 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
process_namein
brave.exe
710
process_namein
chrome.exe
712
process_namein
msedge.exe
711
process_namein
opera.exe
79
process_namein
vivaldi.exe
79
event.typeeq
start
3606
process_nameeq
ping.exe
39
CommandLinematch
(?i)whoami|systeminfo|ipconfig|arp|nltest|dclist|domain_trusts|tasklist|quser...
22
dc_processgt
3
24
dc_process_namegt
1
22
process_namematch
(?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
--no-sandbox
1
CommandLinecontains
--user-data-dir
12
CommandLinecontains
--window-size
1
CommandLinecontains
-n
1
CommandLinecontains
/n
1
CommandLinecontains
/t
12
CommandLinecontains
enabled
12
CommandLinecontains
hw.
1
CommandLinecontains
kern.
1
CommandLinecontains
machdep.
1
CommandLinecontains
spapplicationsdatatype
1
CommandLinecontains
sphardwaredatatype
1
CommandLinecontains
spnetworkdatatype
1
CommandLinecontains
spusbdatatype
1

Exclusions (36 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
CommandLinematch
(?i)\x5cSplunkUniversalForwarder\x5c(etc|bin)\x5c
2
usermatch
\$$
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
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
ParentImagein
/usr/sara/sbin/sys2ganglia
1
ParentImagein
/usr/sara/sbin/sys2prometheus
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 3 rules

Elastic 5 rules

Splunk 12 rules