Files
mandiant-capa-rules/host-interaction/environment-variable/get-comspec-environment-variable.yml
Yacine Elhamer 0aea484e04 updated rules
2023-08-21 19:14:45 +02:00

22 lines
559 B
YAML

rule:
meta:
name: get COMSPEC environment variable
namespace: host-interaction/environment-variable
authors:
- matthew.williams@mandiant.com
scopes:
static: function
dynamic: process
att&ck:
- Discovery::System Information Discovery [T1082]
mbc:
- Operating System::Environment Variable [C0034]
examples:
- Practical Malware Analysis Lab 14-02.exe_:0x401880
features:
- and:
- match: query environment variable
- or:
- string: "COMSPEC"
- string: "%COMSPEC%"