Skip to content

0x00snape/pinject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

About

Process injection for Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages