Skip to content

a64307410/HookZz

 
 

Repository files navigation

转到中文README

What is HookZz ?

a hook framework for arm/arm64/ios/android

ref to: frida-gum and minhook and substrate.

special thanks to frida-gum perfect code and modular architecture, frida is aircraft carrier, HookZz is boat, but still with some tricks

thanks for @lauos with contributing android code

Features

  • solidify inlinehook without Jailbreak(Static Binary Instrumentation) [new-90%]

  • GOT hook with HookZz(i.e. change fishhook to inlinehook), better for APM

  • the power to access registers directly

  • hook function with replace_call

  • hook function with pre_call and post_call

  • hook address(a piece of instructions) with pre_call and half_call

  • (almost)only one instruction to hook(i.e. hook short funciton, even only one instruction) [arm/thumb/arm64]

  • runtime code patch, without codesign limit [Jailbreak]

  • it's cute, 100kb

Compile

tip: CMakeLists.txt and build.sh just dummy files. (so do not use it.)

git clone --depth 1 git@github.com:jmpews/HookZz.git

iOS

just make clean; make BACKEND=ios ARCH=arm64

Android

ndkbuild or use Android Studio

How it works ?

Move to HookFrameworkDesign.md

Demo

iOS

DemoTemplate.zip

Android

HookZzAndroidDemoTemplate.zip

Thanks List

@sxf144 - RMB1000

@ckis - RMB88

Contact Me

recommend_email: jmpews@gmail.com
wechat: winter1ife
QQ: 858982985

qrcode

About

a hook framework for arm/arm64/ios/android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 78.1%
  • C 14.9%
  • Makefile 4.8%
  • Assembly 1.9%
  • CMake 0.2%
  • Objective-C 0.1%