PINJECT is a process/memory injector for Linux, which inject your payload directly into other running process memory with persistence.
PINJECT uses simple method to inject payload into the running process.
- Pass the target process name you want to inject.
- PINJECT itself recognize the pid of the target process and attach to it.
- It identifies offset of RIP register.
- Then, it overwrites existing bytes of RIP with shellcode/payload.
For testing phase i use shellcode that prints "Injected: ar.p" but can use bind-shell or any other...
As dropthly, PINJECT is also a stealthy persistance to inject backdoor into the running process memory without leaving any file aroundfileless
.
:$ git clone https://github.com/0x00snape/pinject.git
:$ cd pinject
:$ cargo build --release
Works with target process having proper write permissions.
This project is licensed under MIT