linux ptrace usermode shellcode injection tool
Find a file
2021-02-27 19:25:31 +02:00
shellcode 27.02.2021: Remove binaries. 2021-02-27 19:25:31 +02:00
proc.c Initial commit 2017-04-10 01:39:49 +03:00
proc.h Initial commit 2017-04-10 01:39:49 +03:00
README.md Create README.md 2017-04-10 01:48:27 +03:00
vmap.c Initial commit 2017-04-10 01:39:49 +03:00
vmap.h Initial commit 2017-04-10 01:39:49 +03:00
vtrace.c Initial commit 2017-04-10 01:39:49 +03:00

vtrace

Linux Shellcode Injection Tool Allows to inject your shellcode to another process memory and execute. You can return control to the program

Compiling

gcc vtrace.c proc.c vmap.c -o vtrace

or 32 bit

gcc -m32 vtrace.c proc.c vmap.c -o vtrace

Usage: ./vtrace [pid] [shellcode _file]

Shellcode writing tips

When VTrace loads the shellcode, into stack pushed: [HIGH Adress]

  1. Return address
  2. Old RBX/EBX [LOW Adress]

Into RBX/EBX storeed libc base pointer, this allow you to use libc stuff with offsets More examples in shellcode/