
Pinjectra ist eine C/C++-Bibliothek mit OOP-ähnlichem Ansatz, die Techniken zur Prozessinjektion implementiert (mit Fokus auf Windows 10 64-Bit).
Pinjectra ist eine C/C++-Bibliothek, die Process-Injection-Techniken (mit Fokus auf Windows 10 64-Bit) in einem "Mix-and-Match"-Stil implementiert. Hier ein Beispiel:
// CreateRemoteThread Demo + DLL Load (i.e., LoadLibraryA as Entry Point)
executor = new CodeViaCreateRemoteThread(
new OpenProcess_VirtualAllocEx_WriteProcessMemory(
(void *)"MsgBoxOnProcessAttach.dll",
25,
PROCESS_VM_WRITE | PROCESS_CREATE_THREAD | PROCESS_VM_OPERATION,
MEM_COMMIT | MEM_RESERVE,
PAGE_READWRITE),
LoadLibraryA
);
executor->inject(pid, tid);
Es ist derzeit auch die einzige Implementierung der "Stack Bomber"-Technik. Eine neue Process-Injection-Technik, die unter Windows 10 64-Bit sowohl mit CFG als auch mit CIG funktioniert.
Pinjectra und die "Stack Bomber"-Technik wurden im Rahmen des Vortrags Process Injection Techniques - Gotta Catch Them All auf der BlackHat USA 2019 und der DEF CON 27 von Itzik Kotler und Amit Klein von SafeBreach Labs veröffentlicht.
0.1.0
BSD 3-Clause