Posts

Frida: Hook methods

Image
  💉 Frida's Gadget Injection on Android: No Root, 2 Methods You will learn  Method 1 :  If targeted APK contains any native library ( <apk>/lib/arm64-v8a/libfromapk.so ), then you can inject  libfrida-gadget.so  as a dependency into the native library. Method 2 :  If APK doesn't contain a native library, then you can inject  System.loadLibrary  bytecode. Basic use case:  you've got a third-party APK (Android application package), and you want to debug/trace/explore/reverse-engineer it, and you have your personal Android phone which you don't want to root. It means you need Frida's Gadget. How it basically works Note: where to get an APK Google Play doesn't allow you to download APK directly. If you decide to analyze some APK, but you haven't got one yet, you have a bunch of options then:  https://www.google.com/search?q=download+apk . https://apkpure.com https://apkmirror.com https://apkcombo.com etc. Method 1: Inject a libfrida-gadget.so as a depend