An external process memory injector for x86_64 Linux written in C. Uses the ptrace syscall to handle running processes. Features include shared object injection as well as reading/writing memory to/from set locations in memory.
As of right now, the only way to install jection is to compile it with make.
git clone https://github.com/stoatsec/jection.git
cd jection
make
sudo mv build/jection /usr/bin/
Jection attaches to a running process, so the first argument supplied must be the target PID. Jection must be run with root.
jection <PID> [FLAGS]
Flags:
- -l -- injects a shared object into the running process where libpath is the absolute path to the shared object file
- -p -- poke data to a specified memory address
- -r -- read memory from a specified memory address
- -h -- displays the help dialogue
- attach to and edit running process memory
- shared object injection