Runtime Process Infection Made Easy
C Assembly Makefile
Latest commit 50804aa Aug 20, 2017 @lattera lattera style(9)-ify rtld.c
Still not 100% compliant with style(9). That's okay as most of this code
is going to be completely rewritten, anyways.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
Sponsored-by:	SoldierX

README.md

Libhijack - FreeBSD Code Injection Swiss Army Knife

Libhijack is a tool that enables easy injection of arbitrary code during runtime. Injection is done into newly-created anonymous memory mappings, providing stealth. An API is provided for hooking the PLT/GOT, hence the "hijack" part of libhijack.

NOTE: libhijack is undergoing a major revamp. Please do not consider the ABI or API as stable for the moment.

Supported Architectures

  • amd64
  • arm64

Prerequisites

  • FreeBSD source code in /usr/src matching the system libhijack is to target.

Building libhijack

# make depend all install