mirror of
https://github.com/mandiant/capa-rules.git
synced 2026-10-12 02:18:39 +00:00
add create executable heap rule (#1058)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
rule:
|
||||
meta:
|
||||
name: create executable heap
|
||||
namespace: load-code/shellcode
|
||||
authors:
|
||||
- [email protected]
|
||||
scopes:
|
||||
static: function
|
||||
dynamic: span of calls
|
||||
mbc:
|
||||
- Memory::Allocate Memory [C0007]
|
||||
features:
|
||||
- and:
|
||||
- or:
|
||||
- basic block:
|
||||
- and:
|
||||
- api: kernel32.HeapCreate
|
||||
- number: 0x40000 = HEAP_CREATE_ENABLE_EXECUTE
|
||||
- call:
|
||||
- and:
|
||||
- api: kernel32.HeapCreate
|
||||
- number: 0x40000 = HEAP_CREATE_ENABLE_EXECUTE
|
||||
- optional:
|
||||
- api: msvcrt.memcpy
|
||||
- api: ntdll.RtlCopyMemory
|
||||
- api: ntdll.RtlMoveMemory
|
||||
Reference in New Issue
Block a user