mirror of
https://github.com/vee1e/capa-rules.git
synced 2026-09-01 19:07:15 +00:00
17 lines
628 B
YAML
17 lines
628 B
YAML
rule:
|
|
meta:
|
|
name: execute shellcode via Windows fibers
|
|
namespace: load-code/shellcode
|
|
author: jakub.jozwiak@mandiant.com
|
|
scope: function
|
|
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 RWX memory
|
|
- api: ConvertThreadToFiber
|
|
- api: CreateFiber
|
|
- api: SwitchToFiber
|