GitHunt
NE

neox41/go-procinject

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:

  1. Create the target 32-bit process C:\\Windows\\SysWOW64\\notepad.exe in suspended and no window mode
  2. Allocate RW memory to that target process
  3. Write the 32-bit shellcode into that target process
  4. Change the memory to RX
  5. Execute the MessageBox shellcode

Techniques

  • CreateRemoteThread
  • NtCreateRemoteThread
  • QueueUserAPC
  • NtQueueUserAPC
  • RtlCreateUserThread
  • SetThreadContext
  • SetThreadContext with C code

Languages

Go100.0%

Contributors

Created May 29, 2020
Updated December 8, 2025
neox41/go-procinject | GitHunt