Skip to content

mach based hooking library for OS X (and soon iOS). Still WIP

Notifications You must be signed in to change notification settings

Razzile/Ghetto-Hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ghetto Hook

A PoC library that aims to showcase function hooking on multiple architectures with minimal patching to executable code (a maximum of 1 instruction patch needed, although it can be achieved with none).

Ghetto Hook works by installing a breakpoint at the specified address and handling the exception it raises, redirecting the 'PC' register to a target function in the process.

I have already achieved this in another project but the code is messy and dependent on other parts of the project so I have decided to create a separate repo dedicated to ghetto hook.

It is so named because of the unorthodox nature of the hooking method and because of the pretty bad code; this is my first decent-sized project in pure C.


For an example of the method ghetto hook uses in action right now, please see my other project Liberation

About

mach based hooking library for OS X (and soon iOS). Still WIP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published