mirror of
https://github.com/vee1e/capa-rules.git
synced 2026-09-03 20:07:18 +00:00
20 lines
597 B
YAML
20 lines
597 B
YAML
rule:
|
|
meta:
|
|
name: query environment variable
|
|
namespace: host-interaction/environment-variable
|
|
author:
|
|
- michael.hunhoff@fireeye.com
|
|
- "@_re_fox"
|
|
scope: function
|
|
att&ck:
|
|
- Discovery::System Information Discovery [T1082]
|
|
examples:
|
|
- Practical Malware Analysis Lab 14-02.exe_:0x401880
|
|
- 0761142efbda6c4b1e801223de723578:0x65483490
|
|
features:
|
|
- or:
|
|
- api: kernel32.GetEnvironmentVariable
|
|
- api: kernel32.GetEnvironmentStrings
|
|
- api: kernel32.ExpandEnvironmentStrings
|
|
- api: msvcr90.getenv
|
|
- api: msvcrt.getenv
|