mirror of
https://github.com/mandiant/capa-rules.git
synced 2026-10-12 02:18:39 +00:00
* 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 <[email protected]> * Update anti-analysis/anti-vm/vm-detection/check-for-windows-sandbox-via-device.yml Co-authored-by: Mike Hunhoff <[email protected]> * Update collection/get-geographical-location.yml Co-authored-by: Mike Hunhoff <[email protected]> * Update collection/file-managers/gather-classicftp-information.yml Co-authored-by: Mike Hunhoff <[email protected]> * Update collection/database/wmi/reference-wmi-statements.yml Co-authored-by: Mike Hunhoff <[email protected]> * Update collection/database/sql/reference-sql-statements.yml Co-authored-by: Mike Hunhoff <[email protected]> --------- Co-authored-by: Mike Hunhoff <[email protected]>
25 lines
898 B
YAML
25 lines
898 B
YAML
rule:
|
|
meta:
|
|
name: resolve function by hash
|
|
namespace: linking/runtime-linking
|
|
authors:
|
|
- [email protected]
|
|
scopes:
|
|
static: function
|
|
dynamic: span of calls
|
|
att&ck:
|
|
- Defense Evasion::Obfuscated Files or Information::Indicator Removal from Tools [T1027.005]
|
|
references:
|
|
- https://www.mandiant.com/resources/precalculated-string-hashes-reverse-engineering-shellcode
|
|
- https://pastebin.com/ci5XYW4P
|
|
features:
|
|
- or:
|
|
- number: 0x6a4abc5b = ROR13(kernel32.dll)
|
|
- number: 0x3cfa685d = ROR13(ntdll.dll)
|
|
- number: 0xec0e4e8e = ROR13(LoadLibraryA)
|
|
- number: 0x7c0dfcaa = ROR13(GetProcAddress)
|
|
- number: 0x91afca54 = ROR13(VirtualAlloc)
|
|
- number: 0x534c0ab8 = ROR13(NtFlushInstructionCache)
|
|
- number: 0xff7f061a = ROR13(RtlExitUserThread)
|
|
- number: 0x60e0ceef = ROR13(ExitThread)
|