mirror of
https://github.com/mandiant/capa-rules
synced 2026-06-08 15:41:20 +00:00
23 lines
779 B
YAML
23 lines
779 B
YAML
rule:
|
|
meta:
|
|
name: execute shellcode via Windows fibers
|
|
namespace: load-code/shellcode
|
|
authors:
|
|
- jakub.jozwiak@mandiant.com
|
|
scopes:
|
|
static: function
|
|
dynamic: process
|
|
mbc:
|
|
- Defense Evasion::Process Injection::Injection via Windows Fibers [E1055.m05]
|
|
references:
|
|
- https://www.ired.team/offensive-security/code-injection-process-injection/executing-shellcode-with-createfiber
|
|
- https://github.com/S4R1N/AlternativeShellcodeExec/blob/master/FiberContextEdit/Source.cpp
|
|
examples:
|
|
- f03bdb9fa52f7b61ef03141fefff1498ad2612740b1fdbf6941f1c5af5eee70a:0x4026E0
|
|
features:
|
|
- and:
|
|
- match: allocate or change RWX memory
|
|
- api: ConvertThreadToFiber
|
|
- api: CreateFiber
|
|
- api: SwitchToFiber
|