mirror of
https://github.com/mandiant/capa-rules
synced 2026-06-08 15:41:20 +00:00
75c16e4b14
* remove redundant matches for dynamic scope * fix lints * fix lints * tighten scopes
30 lines
981 B
YAML
30 lines
981 B
YAML
rule:
|
|
meta:
|
|
name: encrypt data using RC4 via SystemFunction032
|
|
namespace: data-manipulation/encryption/rc4
|
|
authors:
|
|
- richard.weiss@mandiant.com
|
|
scopes:
|
|
static: function
|
|
dynamic: call
|
|
att&ck:
|
|
- Defense Evasion::Obfuscated Files or Information [T1027]
|
|
mbc:
|
|
- Defense Evasion::Obfuscated Files or Information::Encryption-Standard Algorithm [E1027.m05]
|
|
- Cryptography::Encrypt Data::RC4 [C0027.009]
|
|
references:
|
|
- https://doxygen.reactos.org/df/d13/sysfunc_8c_source.html
|
|
- https://blog.gentilkiwi.com/tag/systemfunction032
|
|
examples:
|
|
- 3BBDF04C25FCD9876733EAA9163B3ED64D81396E7414619758D9376EDF4C103E:0x1000976C # api match
|
|
features:
|
|
- or:
|
|
- api: SystemFunction032
|
|
- basic block:
|
|
- and:
|
|
- match: link function at runtime on Windows
|
|
- string: "SystemFunction032"
|
|
- optional:
|
|
- string: /advapi32/i
|
|
- string: /cryptsp/i
|