go-procinject
go-procinject copied to clipboard
Process Injection Techniques with Golang
go-procinject
Repository with some process injection techniques implemented in Golang.
For each technique, the program does the following steps:
- Create the target 32-bit process
C:\\Windows\\SysWOW64\\notepad.exein suspended and no window mode - Allocate RW memory to that target process
- Write the 32-bit shellcode into that target process
- Change the memory to RX
- Execute the MessageBox shellcode
Techniques
- [x] CreateRemoteThread
- [x] NtCreateRemoteThread
- [x] QueueUserAPC
- [x] NtQueueUserAPC
- [x] RtlCreateUserThread
- [x] SetThreadContext
- [x] SetThreadContext with C code