Back to skills
SKILL.md
Ios Frida Objection Instrumentation
ASecurityBaseline Frida/objection instrumentation for iOS — enumerate classes/methods, hook and watch methods, dump args/returns, trace crypto/network, and tamper client-side logic. Tier 1. Use to set up dynamic analysis. Needs a jailbroken device (or resigned-gadget build).
- 16 stars
- 0 votes
- 0 copies
- 3 views
- Added November 17, 2026
Works with
Security analysis
100/100npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill ios-frida-objection-instrumentation --agent claude-codeAre you the author of Ios Frida Objection Instrumentation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-ios-frida-objection-instrumentation)---
name: ios-frida-objection-instrumentation
description: Baseline Frida/objection instrumentation for iOS — enumerate classes/methods, hook and watch methods, dump args/returns, trace crypto/network, and tamper client-side logic. Tier 1. Use to set up dynamic analysis. Needs a jailbroken device (or resigned-gadget build).
---
# iOS Frida / objection Instrumentation
The dynamic-analysis workhorse: attach to the running app, enumerate the Obj-C/Swift runtime, hook methods to read/modify args and returns, and defeat client-side-only gates (MASVS-RESILIENCE, MASVS-AUTH logic).
## Trigger phrases
`frida ios, objection explore, ios hooking, frida-trace, method hook ios, dump args ios, instrument ios app, frida-ps`
## Method
1. **List & attach:** `frida-ps -Uai` (installed apps + bundle ids); `objection -g <bundle> explore` (spawns/attaches). Spawn-at-launch to catch early checks: `frida -U -f <bundle> -l script.js --no-pause`.
2. **Enumerate runtime:** `ios hooking list classes`, `ios hooking search classes <kw>`, `ios hooking list class_methods <Class>`.
3. **Watch methods:** `ios hooking watch class <Class>` (all methods) or `ios hooking watch method "-[Class sel:]" --dump-args --dump-return --dump-backtrace`.
4. **Trace:** `frida-trace -U -m "-[NSURLSession *]" <bundle>`; `frida-trace -U -m "-[* dataTaskWithRequest:*]"`; crypto: `frida-trace -U -i "CCCrypt"`.
5. **Invoke / set returns:** in objection, `ios hooking set return_value "-[Class isPremium]" true`; or Frida `Interceptor.attach(... { onLeave(retval){ retval.replace(0x1); } })` to flip client-side boolean gates (feature unlock, auth, validation).
6. **Find live instances:** Frida `ObjC.choose(ObjC.classes.ClassName, {onMatch:function(i){...}})` to read instance state (config flags, tokens).
7. **Memory:** objection `memory search`/`memory dump all` to recover in-memory secrets/keys.
## Modern / rare techniques
- **Swift targets** lack Obj-C metadata — hook via `Module.enumerateExports`/demangled symbols (`swift demangle`) and Hopper-found offsets with `Interceptor.attach(base.add(0x...))`.
- **`ObjC.choose` on view controllers** reveals which client-side flags gate premium/admin UI — flip them to prove client-trust flaws.
- **Early-check capture:** always spawn (`-f`) rather than attach when the app runs integrity/jailbreak/anti-debug checks at launch.
## Bypass / evasion
This skill is the mechanism other bypasses build on: jailbreak detection → `ios-jailbreak-detection-bypass`, pinning → `ios-ssl-pinning-bypass`, anti-debug → `ios-anti-debug-bypass`, biometrics → `ios-biometric-localauth-bypass`.
## Escalation / chaining
Client-side gate flips expose server-trust flaws → verify server-side in `ios-network-backend-testing`. Hooked crypto → `ios-crypto`. Non-jailbroken setup → `ios-nonjailbroken-resign-gadget`.
## Backend & tooling
frida/frida-tools/objection from Kali (WSL+Kali / Kali-SSH / HexStrike) with `frida-server` on device over `iproxy`/USB. **Requires a jailbroken device** running `frida-server`, or a resigned IPA with FridaGadget for non-JB.
## Verification (background, before reporting)
A client-side flip (e.g., `isPremium=true`) is only a finding if the *server* also honors the unauthorized state — reconfirm server-side before marking CONFIRMED; for anything blind, use an OAST callback.
## Evidence
Capture the hook script/command, the pre/post arg-return dump, and proof of the resulting privileged behavior. Remediation: enforce all security decisions server-side; treat the client as untrusted. MASVS: MASVS-RESILIENCE-1/4, MASVS-AUTH-1.
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.