AndroidSubstrate_hookingC_examples
Switch branches/tags
Nothing to show
Clone or download
Latest commit a4d3f42 Jun 1, 2015
Permalink
Failed to load latest commit information.
nativeHook1 Initial commit Jun 1, 2015
nativeHook2 minor bugfix Jun 1, 2015
nativeHook3 Initial commit Jun 1, 2015
targetApp1 Initial commit Jun 1, 2015
targetApp2 Initial commit Jun 1, 2015
README.md Initial commit Jun 1, 2015

README.md

This project contains code used in the examples of this blogpost: https://koz.io/android-substrate-c-hooking

targetApp1 -> The original target application, with exported getAge().

targetApp2 -> A modified version of the target application where getAge() is static (symbol not visible).

nativeHook1 -> A substrate module hooking arc4random() (bionic).

nativeHook2 -> A substrate module hooking arc4random() (bionic) and getAge() (internal) - getAge symbol needs to be visible.

nativeHook3 -> A substrate module hooking arc4random() (bionic) and getAget() (internal) - getAge symbol does not need to be visible, but you have to edit the source and hardcode the correct prefix.

John Kozyrakis