Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.24 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.24 KB

maxresdefault


PINJECT

PINJECT is a process/memory injector for Linux, which inject your payload directly into other running process memory with persistence.

Working

PINJECT uses simple method to inject payload into the running process.

  1. Pass the target process name you want to inject.
  2. PINJECT itself recognize the pid of the target process and attach to it.
  3. It identifies offset of RIP register.
  4. 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...

Usage

As dropthly, PINJECT is also a stealthy persistance to inject backdoor into the running process memory without leaving any file aroundfileless.

Installation

:$ git clone https://github.com/0x00snape/pinject.git
:$ cd pinject
:$ cargo build --release

Disclaimer

Works with target process having proper write permissions.

License

This project is licensed under MIT