All skills
hardw00t avatar

/ios-pentest

@f9bb3b2

iOS mobile application penetration testing with Frida and Objection on jailbroken or non-jailbroken devices. Use for static + dynamic analysis of IPAs, SSL pinning / jailbreak / biometric bypass, keychain & local-storage extraction, network interception, and OWASP MASTG iOS assessments. Triggers on requests to pentest iOS apps, analyze IPAs, bypass iOS security controls, or produce MASTG-aligned findings.

Use this Skill: https://skilld.dev/gh/hardw00t/ai-security-arsenal/ios-pentest

This session only. Nothing lands on disk.

methodologydynamic_analysis.md

≈351 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Methodology: iOS Dynamic Analysis

Attach vs Spawn

frida -U <bundle_id>                         # attach (app already running)
frida -U -f <bundle_id> --no-pause           # spawn (intercept __start)
objection -g <bundle_id> explore             # interactive REPL
objection -g <bundle_id> explore --startup-command 'ios sslpinning disable'

Prefer spawn when bypasses must hook initialisation (SSL, jailbreak check, anti-debug).

Class & Method Discovery at Runtime

> ios hooking list classes
> ios hooking search classes <term>
> ios hooking list class_methods <Class>

Method Watching

> ios hooking watch class <Class>
> ios hooking watch method "-[Class selector:]" --dump-args --dump-return --dump-backtrace
> ios hooking set return_value "-[Class boolSelector]" false

Heap / Ivar Inspection

In Frida REPL:

var cls = ObjC.classes.AuthManager;
ObjC.chooseSync(cls).forEach(i => console.log(i.$ivars));

Common Hooks Library

See scripts/ — pre-built for SSL pinning, jailbreak, biometric, keychain, crypto, URL scheme, method tracer, anti-debug. Compose multiple -l flags on one frida invocation.

Session Hygiene

  • After each test, ios hooking unwatch all to avoid log noise.
  • Restart frida-server between targets if memory balloons: ssh root@device "killall -9 frida-server && /usr/sbin/frida-server &".

Source: SKILL.md on GitHub

2 alerts16d4 checks · Risk CRITICAL
  • Gen Agent Trust Hub16d

    iOS penetration testing toolkit for security professionals. The skill provides methodologies, workflows, and Frida scripts for analyzing mobile applications on jailbroken or stock devices. It utilizes standard industry tools and well-known community repositories for its tasks.

  • Socket16d

    11 alerts: gptSecurity, gptAnomaly

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    3/9 files flagged

Signed by skilld at f9bb3b2. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago

README badge

README badge for hardw00t/ai-security-arsenal/ios-pentest