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.

workflowsipa_decryption.md

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

Workflow: IPA Decryption & Extraction

App Store binaries ship FairPlay-encrypted. Static analysis requires a decrypted Mach-O.

Prereqs

Jailbroken device with Frida server, SSH, and the app installed & launched at least once.

Steps

# Option A — frida-ios-dump
git clone https://github.com/AloneMonkey/frida-ios-dump
cd frida-ios-dump
python3 dump.py <bundle_id>              # yields <AppName>.ipa (decrypted)

# Option B — manual pull
ssh root@<device> "find /var/containers/Bundle/Application -maxdepth 3 -name '*.app'"
scp -r root@<device>:/var/containers/Bundle/Application/<UUID>/App.app .
# Decrypt each Mach-O slice using bagbak or Clutch (iOS ≤ 14) or frida-ios-dump (iOS 15+).

Verify Decryption

otool -l App.app/App | grep -A4 LC_ENCRYPTION_INFO
# cryptid 0 = decrypted; cryptid 1 = still encrypted

Post-decryption Parallel Analysis

Run concurrently:

  • class-dump -H App.app/App -o headers/
  • strings -a App.app/App > strings.txt
  • otool -L App.app/App and otool -hv App.app/App
  • Load into Hopper/Ghidra/IDA for function-level review.

Non-jailbroken Alternative — Frida Gadget

objection patchipa --source app.ipa --codesign-signature "Apple Development: <you>"
ios-deploy --bundle Payload/App.app
frida-ps -Uai            # Gadget shows as attachable

Does not decrypt FairPlay, but lets Frida attach on stock devices for dev/enterprise builds.

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