android-frida-objection-instrumentationlisted
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# Android Dynamic Instrumentation (Frida / objection)
Hook the running app to read arguments, dump secrets from memory, and override client-side decisions. The engine behind pinning/root/biometric bypasses.
## Trigger phrases
`frida, objection, frida hooking, frida-trace, fridump, memory dump, hook method, force return, android instrumentation, objection explore`
## Method
1. **Device prep:** push + run `frida-server` matching device arch:
- `adb push frida-server /data/local/tmp/ && adb shell "chmod 755 /data/local/tmp/frida-server"`
- `adb shell "su -c /data/local/tmp/frida-server &"`; `frida-ps -Uai`
2. **objection explore:**
```
objection -g <package> explore
android > android hooking list classes
android > android hooking search methods <keyword>
android > android hooking watch class_method <class>.<method> --dump-args --dump-return --dump-backtrace
android > memory search --string "secret"
```
3. **Frida method tracing:** `frida-trace -U -i "*login*" -f <package>`
4. **Memory dump:** `python3 fridump.py -U <package>` then `strings`/grep the dump for secrets.
5. **Force return values** to bypass client-side checks (feature flags, license, "isPremium", local auth) — hook the method and return the desired value.
## Modern / rare techniques
- **Spawn-gating** (`frida -U -f <package> --no-pause`) to hook checks that run at startup before you can attach.
- **Hook decrypt routines** to recover secrets that are encrypted at rest (feeds `android-in