GitHub - MyEXECFileCrackInjection/procjack: PoC of injecting code into a running Linux process · GitHub
Skip to content

MyEXECFileCrackInjection/procjack

 
 

Folders and files

Repository files navigation

procjack

PoC of injecting code into a running Linux process. Spawns a new thread to host the injected code.

Example

This will inject a string into a running process 'dummy'.

$ cd src
$ make
$ ./dummy &
$ ./inject -p $(pidof dummy) -f ./count

Quick-n-dirty command to verify that a process is running multiple threads

$ ps -eLF | head -1; ps -eLF | grep -i dummy

Dependencies

  • Capstone (apt-get install libcapstone3 libcapstone-dev)

About

PoC of injecting code into a running Linux process

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • C 93.2%
  • Assembly 4.6%
  • Makefile 2.2%