/HookCase

Tool for reverse engineering macOS/OS X

Primary LanguageC++

HookCase

HookCase is a tool for debugging and reverse engineering applications on macOS (aka OS X), and the operating system itself. It re-implements and extends Apple's DYLD_INSERT_LIBRARIES functionality. It can be used to hook any method in any module (even non-exported ones, and even those that don't have an entry in their own module's symbol table). In a single operation, it can be applied to a parent process and all its child processes, whether or not the child processes inherit their parent's environment. It supports watchpoints. So HookCase is considerably more powerful than DYLD_INSERT_LIBRARIES. It also doesn't have the restrictions Apple has placed on DYLD_INSERT_LIBRARIES. So, for example, HookCase can be used with applications that have entitlements. HookCase runs on OS X 10.9 (Mavericks) through macOS 12 (Monterey).

Steven Michaud, 11/2021

Table of Contents