capa-rules/nursery/resolve-function-by-fnv-1a-hash.yml
Willi Ballenthin c1d20764ad
use "span of calls" scope (#973)
* use sequence scope instead of thread scope for "static: function" rules

* use sequence scope instead of thread scope for "static: basic block" rules

* make runtime linking rules more concise

* doc: describe sequence scope

* rename "sequence" scope to "span of calls" scope

* Update anti-analysis/anti-av/check-for-sandbox-and-av-modules.yml

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>

* Update anti-analysis/anti-vm/vm-detection/check-for-windows-sandbox-via-device.yml

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>

* Update collection/get-geographical-location.yml

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>

* Update collection/file-managers/gather-classicftp-information.yml

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>

* Update collection/database/wmi/reference-wmi-statements.yml

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>

* Update collection/database/sql/reference-sql-statements.yml

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>

---------

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
2025-01-29 10:27:13 +01:00

25 lines
925 B
YAML

rule:
meta:
name: resolve function by FNV-1a hash
namespace: linking/runtime-linking
authors:
- still@teamt5.org
description: known import name hashes calculated using the non-cryptographic FNV-1a hashing algorithm
scopes:
static: function
dynamic: span of calls
att&ck:
- Defense Evasion::Obfuscated Files or Information::Indicator Removal from Tools [T1027.005]
references:
- https://blog.xorhex.com/blog/reddeltaplugxchangeup/
features:
- or:
- number: 0x53b2070f = FNV(LoadLibraryA)
- number: 0xfaba0065 = FNV(CloseHandle)
- number: 0x03285501 = FNV(VirtualAlloc)
- number: 0x820621f3 = FNV(VirtualProtect)
- number: 0xf8f45725 = FNV(GetProcAddress)
- number: 0xbdcac9ce = FNV(CreateFileA)
- number: 0xafcab3c4 = FNV(CreateFileW)
- number: 0x54fcc943 = FNV(ReadFile)
- number: 0x2fa62ca8 = FNV(Sleep)