bof_injection
Inject shellcode into target processes using CFG hook, section mapping, Pool Party techniques, or cross-architecture injection from WOW64 to x64.
Instructions
Injection-BOF: Shellcode injection into target processes.
inject-cfg Inject via CFG hook (combase.dll __guard_check_icall_fptr). Example: inject-cfg 808 /tmp/shellcode.bin
inject-sec Inject via section mapping. Example: inject-sec 808 /tmp/shellcode.bin
inject-poolparty Inject via Pool Party techniques (1-8). 1=StartRoutine, 2=TP_WORK, 7=TP_DIRECT, etc. Example: inject-poolparty 7 808 /tmp/shellcode.bin
inject-32to64 Inject x64 shellcode from WOW64 (32-bit) agent into native x64 process via RtlCreateUserThread. Requires 32-bit agent. Example: inject-32to64 808 /tmp/shellcode.bin
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| command | Yes | ||
| args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |