Files
mandiant-capa-rules/host-interaction/environment-variable/get-comspec-environment-variable.yml
T
2022-05-26 11:56:31 -06:00

20 lines
539 B
YAML

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