Runtime Process Infection Made Easy
C Assembly Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
hijack Add optional verbose mode to hijack Aug 17, 2017
include
libhijack
shellcode
.gitignore
LICENSE
Makefile Find the base address dynamically with libprocstat Aug 5, 2017
Makefile.inc
README.md
doxygen.conf

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