Beacon Object File (BOF) that injects beacon shellcode into remote process, avoiding the usage of common monitored APIs.
Using the CLIPBRDWNDCLASS injection technique (similar to Propagate) learned from Hexacorn.
NtCreateSection()->NtMapViewOfSection()[local process]->
NtMapViewOfSection()[remote process]->SetProp()->PostMessage()
x64
1.List processes with clipboard window
ClipboardWindow-Inject list
2.Inject beacon shellcode into target process
ClipboardWindow-Inject <pid> <listener>
Windows: with x64 Native Tools Command Prompt for VS
nmake -f Makefile.msvc build
Linux/macOS: with x64 MinGW
x86_64-w64-mingw32-gcc -c ClipboardWindow-Inject.c -o ClipboardWindow-Inject.x64.o
- x86 support