[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6P72J7Y95HGJKM76PJTJYMW":3,"skill-same:01M6P72J7Y95HGJKM76PJTJYMW":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":29,"commitSha":49,"skillDirectory":50,"forksCount":13,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6P72J7Y95HGJKM76PJTJYMW","ios-redteam-pipeline",null,"End-to-end iOS red-team pipeline","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fios-redteam-pipeline\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"ios redteam pipeline","ios","pipeline","community","for","relevant","offensive","scripts","scope","end","commands","main","testing","only","team","Tools","owasp","red-team","license","security","2026-11-10 10:12:30",false,"---\nname: ios-redteam-pipeline\ndescription: End-to-end iOS red-team pipeline\ncategory: security\nrisk: offensive\nsource: https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter\nsource_repo: elementalsouls\u002FClaude-BugHunter\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Requires explicit written authorization for a target scope plus the\n  relevant testing tools for this technique. Docs-only; helper scripts and commands\n  not bundled.\nsources: public_research, frida_docs, objection_docs, owasp_mastg\nreport_count: 0\n---\n> **⚠️ AUTHORIZED USE ONLY**\n> This skill is for educational purposes or authorized security assessments only.\n> You must have explicit, written permission from the system owner before using this tool.\n> Misuse of this tool is illegal and strictly prohibited.\n\n> **Mandatory confirmation gate**\n> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:\n> 1. Ask the user to state the exact target URL, IP, account, or resource.\n> 2. Ask the user to confirm written authorization and the permitted scope.\n> 3. Show the exact command(s) and explain their expected effect.\n> 4. Wait for explicit confirmation in the current conversation.\n>\n> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.\n\n## When to use this skill\n\nTrigger when:\n- Recon surfaces 1+ apps under the target's Apple Developer \u002F App Store publisher page\n- A TestFlight public link or enterprise\u002Fad-hoc `.ipa`\u002F`manifest.plist` (OTA install) is found\n- Customer-facing app, dealer\u002Fpartner portal, or employee mobile companion app ships on iOS\n- Bug bounty program lists iOS in scope\n- `apk-redteam-pipeline` already found Android endpoints\u002Fsecrets — the iOS build often ships a *different* backend version worth diffing (see `hunt-shadow-api`)\n\nDO NOT use for:\n- Android-only targets — that's `apk-redteam-pipeline`\n- React Native \u002F Flutter apps already fully covered by JS-bundle analysis on the web side\n- Server-side only assessments with no mobile client in scope\n\n---\n\n## Stage 0 — Inventory all org-owned iOS apps\n\n```bash\n# App Store search API (no auth, no scraping needed)\ncurl -s \"https:\u002F\u002Fitunes.apple.com\u002Fsearch?term=\u003Cbrand>&country=us&entity=software&limit=50\" | python3 -m json.tool\n\n# Pull the full metadata for a known bundle ID (once you have one)\ncurl -s \"https:\u002F\u002Fitunes.apple.com\u002Flookup?bundleId=com.\u003Cbrand>.app&country=us\"\n```\n\nExtract: `trackId`, `bundleId`, `sellerName` (developer account — pivot to find sibling apps), `version`,\n`releaseNotes` (changelogs often reference deprecated\u002Fremoved API behavior — feeds `hunt-shadow-api`).\n\nCross-reference sibling-app bundle IDs surfaced from Android APK inventories (same\nmulti-brand conglomerate usually reuses `com.\u003Ccorp>.\u003Csub-brand>` naming on both platforms).\n\n---\n\n## Stage 1 — IPA acquisition\n\n### Primary: from a real device you control (no jailbreak needed for a purchased\u002Ffree app)\n```bash\n# Install the app on a real device via Apple Configurator 2 or Xcode, then pull the .ipa\n# Apple Configurator 2 (macOS): Devices > select device > right-click installed app > \"Save to...\"\n# Or via libimobiledevice:\nbrew install libimobiledevice ideviceinstaller\nideviceinstaller -l              # list installed apps + bundle IDs\n```\n\n### Secondary: TestFlight (if the program distributes betas publicly)\nOpen the public TestFlight link, install via the TestFlight app, then extract as above.\nTestFlight builds are frequently LESS hardened than App Store releases (debug logging left on,\nstaging API hosts hardcoded) — always prefer a TestFlight build over the Store build if both exist.\n\n### Tertiary: enterprise \u002F ad-hoc distribution (OTA install)\n```bash\n# itms-services:\u002F\u002F links embed a manifest.plist with a direct .ipa URL\ncurl -s \"https:\u002F\u002F\u003Ctarget>\u002Fmanifest.plist\" | plutil -convert xml1 -o - -\n# Look for \u003Ckey>software-package\u003C\u002Fkey> — that URL is a directly downloadable, unencrypted IPA\ncurl -sk -L \"\u003Csoftware-package-url>\" -o target.ipa\n```\nEnterprise\u002Fad-hoc IPAs are **not FairPlay-encrypted** — no jailbreak or decryption tooling needed,\nunlike an App Store binary pulled from a device.\n\n### Decrypting an App-Store-sourced binary (only if extracted from a jailbroken device)\nApp Store binaries are FairPlay-encrypted at rest; a binary copied off a jailbroken device\nneeds runtime decryption (`frida-ios-dump`, `bagbak`, or `flexdecrypt`) before static tools can\nread it meaningfully:\n```bash\npip install --break-system-packages frida-tools\n# with frida-server running on the jailbroken device and the app in foreground:\npython3 dump.py \u003Cbundle_id>          # frida-ios-dump — outputs a decrypted .ipa\n```\n\n---\n\n## Stage 2 — Unpack and static analysis\n\n```bash\n# An IPA is just a zip\nunzip -o target.ipa -d extracted_target\u002F\ncd extracted_target\u002FPayload\u002F*.app\n\n# Info.plist — bundle ID, URL schemes, ATS config, entitlements hint\nplutil -convert xml1 -o - Info.plist\n\n# Entitlements — codesign reads the .app bundle (or the Mach-O binary), NOT Info.plist\ncodesign -d --entitlements :- Payload\u002F\u003CAppName>.app 2>\u002Fdev\u002Fnull || \\\n  security cms -D -i embedded.mobileprovision | plutil -convert xml1 -o - -\n\n# class-dump for Objective-C symbol\u002Fclass recovery (compiled binary, not the .app bundle)\nbrew install class-dump\nclass-dump -H \u003CAppBinaryName> -o headers\u002F\n\n# Swift binaries: class-dump won't show much — use Hopper, Ghidra, or `nm`\u002F`strings` instead\nnm -a \u003CAppBinaryName> | grep -i swift | head -50\nstrings -a \u003CAppBinaryName> > strings_target.txt\n```\n\nFor a fast triage pass without a disassembler, the strings dump alone usually surfaces most of\nwhat Stage 3 is looking for.\n\n---\n\n## Stage 3 — Secret grep (same catalog as apk-redteam-pipeline, iOS-specific sources added)\n\n```bash\n# URL grep — owned-domain references\ngrep -oE 'https?:\u002F\u002F[a-zA-Z0-9.-]+\\.(target1|target2|target3)\\.(com|io|net)[a-zA-Z0-9.\u002F_?=&%-]*' strings_target.txt | sort -u\n\n# Cloud credentials (same 60-pattern catalog as Android — reuse verbatim)\ngrep -oE 'AKIA[A-Z0-9]{16}'                             # AWS Access Key\ngrep -oE 'AIza[A-Za-z0-9_-]{35}'                        # Google API key\ngrep -oE 'eyJ[A-Za-z0-9_-]+\\.eyJ[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*' strings_target.txt   # JWT\n\n# iOS-specific: GoogleService-Info.plist (Firebase config bundled per-platform)\nfind extracted_target -iname \"GoogleService-Info.plist\" -exec plutil -convert xml1 -o - {} \\;\n# Look for API_KEY, PROJECT_ID, STORAGE_BUCKET, GCM_SENDER_ID, GOOGLE_APP_ID — same Firebase\n# public-read tests as apk-redteam-pipeline Stage 6.\n\n# iOS-specific: hardcoded config plists shipped in the bundle\nfind extracted_target -iname \"*.plist\" ! -iname \"Info.plist\" -exec sh -c 'echo \"=== {} ===\"; plutil -convert xml1 -o - \"{}\"' \\;\n\n# App Transport Security exceptions (Info.plist) — tells you if arbitrary\u002Finsecure loads are allowed\nplutil -extract NSAppTransportSecurity xml1 -o - Info.plist 2>\u002Fdev\u002Fnull\n```\n\n### Keychain items left in a backup (if you have a device backup, encrypted or not)\n```bash\npip install --break-system-packages iphone_backup_decrypt   # for encrypted local backups\n# keychain-dumper (run ON a jailbroken device) for live keychain contents:\n.\u002Fkeychain-dumper -e   # -e also decodes entitlements per item, showing which app owns which secret\n```\n\n---\n\n## Stage 4 — App Transport Security (ATS) misconfig + certificate-pinning bypass\n\n### Check for blanket ATS disablement (the single most common iOS network misconfig)\n```bash\nplutil -extract NSAppTransportSecurity xml1 -o - Info.plist\n```\nRed flags in the output:\n- `NSAllowsArbitraryLoads = true` at the top level — HTTP (cleartext) allowed anywhere, app-wide.\n- Per-domain `NSExceptionAllowsInsecureHTTPLoads = true` for a domain that carries auth tokens.\n- `NSAllowsArbitraryLoadsInWebContent = true` — WKWebView traffic exempted, common blind spot.\n\nA blanket ATS exception + a network position (rogue AP, ARP spoof, malicious VPN profile) =\nplaintext credential\u002Ftoken interception without touching pinning at all.\n\n### Certificate-pinning bypass (when pinning IS present and correctly configured)\n```bash\npip install --break-system-packages frida-tools objection\nobjection --gadget \u003Cbundle_id> explore\n# inside objection:\nios sslpinning disable\n```\nIf you want a Frida script instead, don't hand-roll one — use a maintained universal bypass\n(e.g. the widely-used `frida-ios-pinning`\u002F`ios-ssl-bypass` community scripts). Modern iOS TLS goes\nthrough **BoringSSL**, so a reliable universal hook targets `SSL_CTX_set_custom_verify` \u002F\n`SSL_get_psk_identity` at the native layer and forces the verify callback to return \"OK\" — this\ncatches `URLSession`, `AFNetworking`, `Alamofire`, and `TrustKit` at once, which per-delegate\nObjective-C hooks (like the deprecated `NSURLConnection` delegate) miss:\n```bash\n# Pull a maintained universal BoringSSL-layer bypass and run it:\nfrida -U -f \u003Cbundle_id> -l ios-ssl-bypass.js --no-pause\n```\nIn practice, prefer **SSL Kill Switch 2** (jailbroken device, installs as a tweak) or\n**objection's `ios sslpinning disable`** over any hand-rolled script — both cover the common\npinning implementations (`NSURLSession`, `AFNetworking`, `TrustKit`) without per-app tuning.\n\n---\n\n## Stage 5 — URL scheme \u002F Universal Link enumeration\n\n```bash\n# Custom URL schemes (CFBundleURLTypes) — anything can invoke these via Safari\u002Fanother app\nplutil -extract CFBundleURLTypes xml1 -o - Info.plist\n\n# Universal Links \u002F Associated Domains (applinks:) — requires a matching apple-app-site-association\nplutil -extract com.apple.developer.associated-domains xml1 -o - Info.plist 2>\u002Fdev\u002Fnull\ncurl -s \"https:\u002F\u002F\u003Cdomain>\u002F.well-known\u002Fapple-app-site-association\" | python3 -m json.tool\n```\n\nFor each custom scheme found (e.g. `myapp:\u002F\u002F`):\n- Trigger it from Safari\u002FNotes and observe what the app does with parameters:\n  `myapp:\u002F\u002Freset-password?token=x&redirect=https:\u002F\u002Fevil.com` — does the app trust an\n  attacker-supplied `redirect`\u002F`url`\u002F`callback` param and load it in a WebView (open-redirect →\n  WebView-XSS chain) or use it to bypass an auth screen?\n- If the scheme is also registered by another app on the device (scheme squatting), a malicious\n  app can intercept traffic intended for the legitimate app — check `CFBundleURLName` uniqueness.\n- Universal Links degrade to the custom scheme when the AASA validation fails or is absent —\n  test both paths for the same parameter-injection surface.\n\n---\n\n## Stage 6 — Runtime instrumentation (Frida \u002F objection)\n\nRequires a jailbroken device (checkra1n\u002Fpalera1n for older iOS, or a Corellium virtual device) —\nunlike Android, there is no practical rooted-emulator equivalent for iOS.\n\n```bash\n# Setup\npip install --break-system-packages frida-tools objection\n# Install frida-server on the jailbroken device via Cydia\u002FSileo (frida repo), matching the\n# host frida-tools version exactly — version skew is the #1 cause of \"failed to attach\" errors.\n\n# Full interactive exploration\nobjection --gadget \u003Cbundle_id> explore\n# Inside objection:\nios hooking watch class \u003CClassName>\nios hooking watch class_method \u003CClass>.\u003Cmethod> --dump-args --dump-return\nios keychain dump\nios plist dump\nios cookies get\n```\n\n### Network traffic capture (once pinning is bypassed)\n```bash\nmitmproxy --listen-port 8080\n# Set the device Wi-Fi proxy to host:8080, install the mitmproxy CA via http:\u002F\u002Fmitm.it on-device\n# (Settings > General > VPN & Device Management > trust the cert, then enable full trust under\n# Certificate Trust Settings — iOS requires this second step, unlike Android)\n```\n\n---\n\n## Decision tree — what to do with what you find\n\n| Finding | Next move |\n|---|---|\n| `NSAllowsArbitraryLoads = true` | Confirm a token\u002Fcredential actually transits HTTP — needs a network position to exploit, but is a real finding on its own (config-level, no MITM needed to report) |\n| Hardcoded JWT \u002F API key in strings dump | Same as Android — test against the API host, chain into `hunt-api-misconfig` |\n| GoogleService-Info.plist present | Test public Firestore\u002FRTDB\u002FStorage read (identical to apk-redteam-pipeline Stage 6) |\n| Custom URL scheme accepts a `redirect`\u002F`url` param | Test open-redirect → WebView-load chain; check for scheme squatting by other installed apps |\n| Universal Link AASA missing\u002Fmisconfigured | Confirm scheme fallback still carries the same injectable params |\n| Entitlements show `keychain-access-groups` shared with other apps | Cross-app Keychain read — a compromised sibling app reads this app's secrets |\n| Older API version referenced vs. what the current web app calls | Hand off to `hunt-shadow-api` for version-diffing |\n\n---\n\n## Anti-patterns\n\n- **Don't assume App Store = FairPlay-encrypted requires jailbreak** — TestFlight and enterprise\u002Fad-hoc\n  builds are frequently NOT encrypted and need no decryption step at all. Always check distribution\n  channel before reaching for `frida-ios-dump`.\n- **Don't skip Swift binaries because class-dump shows nothing** — `strings` and `nm` still work; a\n  proper Swift-aware disassembler (Hopper, Ghidra with Swift demangling) recovers the rest.\n- **Don't stop at \"pinning is present\" as a finding** — pinning is a mitigation, not a vulnerability;\n  the finding is what you can do once it's bypassed (or the ATS misconfig that makes it moot).\n- **Don't ignore WKWebView-loaded content** — `NSAllowsArbitraryLoadsInWebContent` is a distinct,\n  frequently-overlooked exception from the top-level ATS setting.\n- **Don't run Frida instrumentation against a personal\u002Fproduction Apple ID device** — use a\n  dedicated jailbroken test device or Corellium instance.\n\n---\n\n## Tooling install (one-time)\n\n```bash\nbrew install libimobiledevice ideviceinstaller class-dump\npip install --break-system-packages frida-tools objection iphone_backup_decrypt\n# Jailbroken test device (checkra1n\u002Fpalera1n) or a Corellium virtual iOS device for runtime work\n# frida-server installed on-device via the Frida Cydia\u002FSileo repo\n```\n\n---\n\n## Related Skills & Chains\n\n- **`apk-redteam-pipeline`** — the Android counterpart; run both when a target ships on both\n  platforms. Sibling bundle IDs and shared backend endpoints frequently surface cross-platform.\n- **`hunt-shadow-api`** — mobile builds (iOS and Android alike) often hardcode an older API\n  version than the current web app. Chain: IPA reveals `\u002Fv1\u002F*` endpoints → `hunt-shadow-api`\n  diffs `\u002Fv1\u002F` against the current `\u002Fv3\u002F` for auth\u002Fvalidation regressions.\n- **`cloud-iam-deep`** — IPA secret extraction frequently yields live AWS\u002FGCP\u002FAzure credentials\n  or Firebase configs. Chain: strings-grep produces an AWS key → `cloud-iam-deep` privilege\n  analysis.\n- **`hunt-api-misconfig`** — hardcoded JWTs\u002FAPI keys extracted here feed directly into JWT\n  algorithm-confusion and mass-assignment testing there.\n- **`evidence-hygiene`** — extracted Keychain items and secrets need redaction before report\n  inclusion.\n- **`offensive-osint`** — App Store developer-page enumeration is part of the broader org recon\n  graph; pair with certificate-transparency lookups for the same brand.\n\n## Limitations\n\n- Authorized scope only: the confirmation gate above is mandatory before any probing, exploitation, or credential-access command.\n- Docs-only import: upstream helper scripts, commands, engine, and research assets are not bundled; reinstall tooling from the source repo when needed.\n- Validate every finding (see `triage-validation`) before reporting; report via `report-writing`. Prefer a sandbox, disposable VM, or controlled lab.\n\n### Example\n\n```bash\n# Read-only first step; confirm scope before anything active.\ncat scope.txt  # target list from the authorized engagement brief\n```\n\n> Adapted from [elementalsouls\u002FClaude-BugHunter](https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.\n","> **⚠️ AUTHORIZED USE ONLY**\n> This skill is for educational purposes or authorized security assessments only.\n> You must have explicit, written permission from the system owner before using this tool.\n> Misuse of this tool is illegal and strictly prohibited.\n\n> **Mandatory confirmation gate**\n> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:\n> 1. Ask the user to state the exact target URL, IP, account, or resource.\n> 2. Ask the user to confirm written authorization and the permitted scope.\n> 3. Show the exact command(s) and explain their expected effect.\n> 4. Wait for explicit confirmation in the current conversation.\n>\n> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.\n\n## When to use this skill\n\nTrigger when:\n- Recon surfaces 1+ apps under the target's Apple Developer \u002F App Store publisher page\n- A TestFlight public link or enterprise\u002Fad-hoc `.ipa`\u002F`manifest.plist` (OTA install) is found\n- Customer-facing app, dealer\u002Fpartner portal, or employee mobile companion app ships on iOS\n- Bug bounty program lists iOS in scope\n- `apk-redteam-pipeline` already found Android endpoints\u002Fsecrets — the iOS build often ships a *different* backend version worth diffing (see `hunt-shadow-api`)\n\nDO NOT use for:\n- Android-only targets — that's `apk-redteam-pipeline`\n- React Native \u002F Flutter apps already fully covered by JS-bundle analysis on the web side\n- Server-side only assessments with no mobile client in scope\n\n---\n\n## Stage 0 — Inventory all org-owned iOS apps\n\n```bash\n# App Store search API (no auth, no scraping needed)\ncurl -s \"https:\u002F\u002Fitunes.apple.com\u002Fsearch?term=\u003Cbrand>&country=us&entity=software&limit=50\" | python3 -m json.tool\n\n# Pull the full metadata for a known bundle ID (once you have one)\ncurl -s \"https:\u002F\u002Fitunes.apple.com\u002Flookup?bundleId=com.\u003Cbrand>.app&country=us\"\n```\n\nExtract: `trackId`, `bundleId`, `sellerName` (developer account — pivot to find sibling apps), `version`,\n`releaseNotes` (changelogs often reference deprecated\u002Fremoved API behavior — feeds `hunt-shadow-api`).\n\nCross-reference sibling-app bundle IDs surfaced from Android APK inventories (same\nmulti-brand conglomerate usually reuses `com.\u003Ccorp>.\u003Csub-brand>` naming on both platforms).\n\n---\n\n## Stage 1 — IPA acquisition\n\n### Primary: from a real device you control (no jailbreak needed for a purchased\u002Ffree app)\n```bash\n# Install the app on a real device via Apple Configurator 2 or Xcode, then pull the .ipa\n# Apple Configurator 2 (macOS): Devices > select device > right-click installed app > \"Save to...\"\n# Or via libimobiledevice:\nbrew install libimobiledevice ideviceinstaller\nideviceinstaller -l              # list installed apps + bundle IDs\n```\n\n### Secondary: TestFlight (if the program distributes betas publicly)\nOpen the public TestFlight link, install via the TestFlight app, then extract as above.\nTestFlight builds are frequently LESS hardened than App Store releases (debug logging left on,\nstaging API hosts hardcoded) — always prefer a TestFlight build over the Store build if both exist.\n\n### Tertiary: enterprise \u002F ad-hoc distribution (OTA install)\n```bash\n# itms-services:\u002F\u002F links embed a manifest.plist with a direct .ipa URL\ncurl -s \"https:\u002F\u002F\u003Ctarget>\u002Fmanifest.plist\" | plutil -convert xml1 -o - -\n# Look for \u003Ckey>software-package\u003C\u002Fkey> — that URL is a directly downloadable, unencrypted IPA\ncurl -sk -L \"\u003Csoftware-package-url>\" -o target.ipa\n```\nEnterprise\u002Fad-hoc IPAs are **not FairPlay-encrypted** — no jailbreak or decryption tooling needed,\nunlike an App Store binary pulled from a device.\n\n### Decrypting an App-Store-sourced binary (only if extracted from a jailbroken device)\nApp Store binaries are FairPlay-encrypted at rest; a binary copied off a jailbroken device\nneeds runtime decryption (`frida-ios-dump`, `bagbak`, or `flexdecrypt`) before static tools can\nread it meaningfully:\n```bash\npip install --break-system-packages frida-tools\n# with frida-server running on the jailbroken device and the app in foreground:\npython3 dump.py \u003Cbundle_id>          # frida-ios-dump — outputs a decrypted .ipa\n```\n\n---\n\n## Stage 2 — Unpack and static analysis\n\n```bash\n# An IPA is just a zip\nunzip -o target.ipa -d extracted_target\u002F\ncd extracted_target\u002FPayload\u002F*.app\n\n# Info.plist — bundle ID, URL schemes, ATS config, entitlements hint\nplutil -convert xml1 -o - Info.plist\n\n# Entitlements — codesign reads the .app bundle (or the Mach-O binary), NOT Info.plist\ncodesign -d --entitlements :- Payload\u002F\u003CAppName>.app 2>\u002Fdev\u002Fnull || \\\n  security cms -D -i embedded.mobileprovision | plutil -convert xml1 -o - -\n\n# class-dump for Objective-C symbol\u002Fclass recovery (compiled binary, not the .app bundle)\nbrew install class-dump\nclass-dump -H \u003CAppBinaryName> -o headers\u002F\n\n# Swift binaries: class-dump won't show much — use Hopper, Ghidra, or `nm`\u002F`strings` instead\nnm -a \u003CAppBinaryName> | grep -i swift | head -50\nstrings -a \u003CAppBinaryName> > strings_target.txt\n```\n\nFor a fast triage pass without a disassembler, the strings dump alone usually surfaces most of\nwhat Stage 3 is looking for.\n\n---\n\n## Stage 3 — Secret grep (same catalog as apk-redteam-pipeline, iOS-specific sources added)\n\n```bash\n# URL grep — owned-domain references\ngrep -oE 'https?:\u002F\u002F[a-zA-Z0-9.-]+\\.(target1|target2|target3)\\.(com|io|net)[a-zA-Z0-9.\u002F_?=&%-]*' strings_target.txt | sort -u\n\n# Cloud credentials (same 60-pattern catalog as Android — reuse verbatim)\ngrep -oE 'AKIA[A-Z0-9]{16}'                             # AWS Access Key\ngrep -oE 'AIza[A-Za-z0-9_-]{35}'                        # Google API key\ngrep -oE 'eyJ[A-Za-z0-9_-]+\\.eyJ[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*' strings_target.txt   # JWT\n\n# iOS-specific: GoogleService-Info.plist (Firebase config bundled per-platform)\nfind extracted_target -iname \"GoogleService-Info.plist\" -exec plutil -convert xml1 -o - {} \\;\n# Look for API_KEY, PROJECT_ID, STORAGE_BUCKET, GCM_SENDER_ID, GOOGLE_APP_ID — same Firebase\n# public-read tests as apk-redteam-pipeline Stage 6.\n\n# iOS-specific: hardcoded config plists shipped in the bundle\nfind extracted_target -iname \"*.plist\" ! -iname \"Info.plist\" -exec sh -c 'echo \"=== {} ===\"; plutil -convert xml1 -o - \"{}\"' \\;\n\n# App Transport Security exceptions (Info.plist) — tells you if arbitrary\u002Finsecure loads are allowed\nplutil -extract NSAppTransportSecurity xml1 -o - Info.plist 2>\u002Fdev\u002Fnull\n```\n\n### Keychain items left in a backup (if you have a device backup, encrypted or not)\n```bash\npip install --break-system-packages iphone_backup_decrypt   # for encrypted local backups\n# keychain-dumper (run ON a jailbroken device) for live keychain contents:\n.\u002Fkeychain-dumper -e   # -e also decodes entitlements per item, showing which app owns which secret\n```\n\n---\n\n## Stage 4 — App Transport Security (ATS) misconfig + certificate-pinning bypass\n\n### Check for blanket ATS disablement (the single most common iOS network misconfig)\n```bash\nplutil -extract NSAppTransportSecurity xml1 -o - Info.plist\n```\nRed flags in the output:\n- `NSAllowsArbitraryLoads = true` at the top level — HTTP (cleartext) allowed anywhere, app-wide.\n- Per-domain `NSExceptionAllowsInsecureHTTPLoads = true` for a domain that carries auth tokens.\n- `NSAllowsArbitraryLoadsInWebContent = true` — WKWebView traffic exempted, common blind spot.\n\nA blanket ATS exception + a network position (rogue AP, ARP spoof, malicious VPN profile) =\nplaintext credential\u002Ftoken interception without touching pinning at all.\n\n### Certificate-pinning bypass (when pinning IS present and correctly configured)\n```bash\npip install --break-system-packages frida-tools objection\nobjection --gadget \u003Cbundle_id> explore\n# inside objection:\nios sslpinning disable\n```\nIf you want a Frida script instead, don't hand-roll one — use a maintained universal bypass\n(e.g. the widely-used `frida-ios-pinning`\u002F`ios-ssl-bypass` community scripts). Modern iOS TLS goes\nthrough **BoringSSL**, so a reliable universal hook targets `SSL_CTX_set_custom_verify` \u002F\n`SSL_get_psk_identity` at the native layer and forces the verify callback to return \"OK\" — this\ncatches `URLSession`, `AFNetworking`, `Alamofire`, and `TrustKit` at once, which per-delegate\nObjective-C hooks (like the deprecated `NSURLConnection` delegate) miss:\n```bash\n# Pull a maintained universal BoringSSL-layer bypass and run it:\nfrida -U -f \u003Cbundle_id> -l ios-ssl-bypass.js --no-pause\n```\nIn practice, prefer **SSL Kill Switch 2** (jailbroken device, installs as a tweak) or\n**objection's `ios sslpinning disable`** over any hand-rolled script — both cover the common\npinning implementations (`NSURLSession`, `AFNetworking`, `TrustKit`) without per-app tuning.\n\n---\n\n## Stage 5 — URL scheme \u002F Universal Link enumeration\n\n```bash\n# Custom URL schemes (CFBundleURLTypes) — anything can invoke these via Safari\u002Fanother app\nplutil -extract CFBundleURLTypes xml1 -o - Info.plist\n\n# Universal Links \u002F Associated Domains (applinks:) — requires a matching apple-app-site-association\nplutil -extract com.apple.developer.associated-domains xml1 -o - Info.plist 2>\u002Fdev\u002Fnull\ncurl -s \"https:\u002F\u002F\u003Cdomain>\u002F.well-known\u002Fapple-app-site-association\" | python3 -m json.tool\n```\n\nFor each custom scheme found (e.g. `myapp:\u002F\u002F`):\n- Trigger it from Safari\u002FNotes and observe what the app does with parameters:\n  `myapp:\u002F\u002Freset-password?token=x&redirect=https:\u002F\u002Fevil.com` — does the app trust an\n  attacker-supplied `redirect`\u002F`url`\u002F`callback` param and load it in a WebView (open-redirect →\n  WebView-XSS chain) or use it to bypass an auth screen?\n- If the scheme is also registered by another app on the device (scheme squatting), a malicious\n  app can intercept traffic intended for the legitimate app — check `CFBundleURLName` uniqueness.\n- Universal Links degrade to the custom scheme when the AASA validation fails or is absent —\n  test both paths for the same parameter-injection surface.\n\n---\n\n## Stage 6 — Runtime instrumentation (Frida \u002F objection)\n\nRequires a jailbroken device (checkra1n\u002Fpalera1n for older iOS, or a Corellium virtual device) —\nunlike Android, there is no practical rooted-emulator equivalent for iOS.\n\n```bash\n# Setup\npip install --break-system-packages frida-tools objection\n# Install frida-server on the jailbroken device via Cydia\u002FSileo (frida repo), matching the\n# host frida-tools version exactly — version skew is the #1 cause of \"failed to attach\" errors.\n\n# Full interactive exploration\nobjection --gadget \u003Cbundle_id> explore\n# Inside objection:\nios hooking watch class \u003CClassName>\nios hooking watch class_method \u003CClass>.\u003Cmethod> --dump-args --dump-return\nios keychain dump\nios plist dump\nios cookies get\n```\n\n### Network traffic capture (once pinning is bypassed)\n```bash\nmitmproxy --listen-port 8080\n# Set the device Wi-Fi proxy to host:8080, install the mitmproxy CA via http:\u002F\u002Fmitm.it on-device\n# (Settings > General > VPN & Device Management > trust the cert, then enable full trust under\n# Certificate Trust Settings — iOS requires this second step, unlike Android)\n```\n\n---\n\n## Decision tree — what to do with what you find\n\n| Finding | Next move |\n|---|---|\n| `NSAllowsArbitraryLoads = true` | Confirm a token\u002Fcredential actually transits HTTP — needs a network position to exploit, but is a real finding on its own (config-level, no MITM needed to report) |\n| Hardcoded JWT \u002F API key in strings dump | Same as Android — test against the API host, chain into `hunt-api-misconfig` |\n| GoogleService-Info.plist present | Test public Firestore\u002FRTDB\u002FStorage read (identical to apk-redteam-pipeline Stage 6) |\n| Custom URL scheme accepts a `redirect`\u002F`url` param | Test open-redirect → WebView-load chain; check for scheme squatting by other installed apps |\n| Universal Link AASA missing\u002Fmisconfigured | Confirm scheme fallback still carries the same injectable params |\n| Entitlements show `keychain-access-groups` shared with other apps | Cross-app Keychain read — a compromised sibling app reads this app's secrets |\n| Older API version referenced vs. what the current web app calls | Hand off to `hunt-shadow-api` for version-diffing |\n\n---\n\n## Anti-patterns\n\n- **Don't assume App Store = FairPlay-encrypted requires jailbreak** — TestFlight and enterprise\u002Fad-hoc\n  builds are frequently NOT encrypted and need no decryption step at all. Always check distribution\n  channel before reaching for `frida-ios-dump`.\n- **Don't skip Swift binaries because class-dump shows nothing** — `strings` and `nm` still work; a\n  proper Swift-aware disassembler (Hopper, Ghidra with Swift demangling) recovers the rest.\n- **Don't stop at \"pinning is present\" as a finding** — pinning is a mitigation, not a vulnerability;\n  the finding is what you can do once it's bypassed (or the ATS misconfig that makes it moot).\n- **Don't ignore WKWebView-loaded content** — `NSAllowsArbitraryLoadsInWebContent` is a distinct,\n  frequently-overlooked exception from the top-level ATS setting.\n- **Don't run Frida instrumentation against a personal\u002Fproduction Apple ID device** — use a\n  dedicated jailbroken test device or Corellium instance.\n\n---\n\n## Tooling install (one-time)\n\n```bash\nbrew install libimobiledevice ideviceinstaller class-dump\npip install --break-system-packages frida-tools objection iphone_backup_decrypt\n# Jailbroken test device (checkra1n\u002Fpalera1n) or a Corellium virtual iOS device for runtime work\n# frida-server installed on-device via the Frida Cydia\u002FSileo repo\n```\n\n---\n\n## Related Skills & Chains\n\n- **`apk-redteam-pipeline`** — the Android counterpart; run both when a target ships on both\n  platforms. Sibling bundle IDs and shared backend endpoints frequently surface cross-platform.\n- **`hunt-shadow-api`** — mobile builds (iOS and Android alike) often hardcode an older API\n  version than the current web app. Chain: IPA reveals `\u002Fv1\u002F*` endpoints → `hunt-shadow-api`\n  diffs `\u002Fv1\u002F` against the current `\u002Fv3\u002F` for auth\u002Fvalidation regressions.\n- **`cloud-iam-deep`** — IPA secret extraction frequently yields live AWS\u002FGCP\u002FAzure credentials\n  or Firebase configs. Chain: strings-grep produces an AWS key → `cloud-iam-deep` privilege\n  analysis.\n- **`hunt-api-misconfig`** — hardcoded JWTs\u002FAPI keys extracted here feed directly into JWT\n  algorithm-confusion and mass-assignment testing there.\n- **`evidence-hygiene`** — extracted Keychain items and secrets need redaction before report\n  inclusion.\n- **`offensive-osint`** — App Store developer-page enumeration is part of the broader org recon\n  graph; pair with certificate-transparency lookups for the same brand.\n\n## Limitations\n\n- Authorized scope only: the confirmation gate above is mandatory before any probing, exploitation, or credential-access command.\n- Docs-only import: upstream helper scripts, commands, engine, and research assets are not bundled; reinstall tooling from the source repo when needed.\n- Validate every finding (see `triage-validation`) before reporting; report via `report-writing`. Prefer a sandbox, disposable VM, or controlled lab.\n\n### Example\n\n```bash\n# Read-only first step; confirm scope before anything active.\ncat scope.txt  # target list from the authorized engagement brief\n```\n\n> Adapted from [elementalsouls\u002FClaude-BugHunter](https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.\n",{"name":5,"risk":24,"source":43,"license":14,"sources":44,"category":37,"date_added":45,"description":7,"source_repo":46,"source_type":21,"report_count":13,"compatibility":47,"license_source":48},"https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter","public_research, frida_docs, objection_docs, owasp_mastg","2026-09-20","elementalsouls\u002FClaude-BugHunter","Requires explicit written authorization for a target scope plus the relevant testing tools for this technique. Docs-only; helper scripts and commands not bundled.","https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter\u002Fblob\u002Fmain\u002FLICENSE","f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Fios-redteam-pipeline","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill ios-redteam-pipeline",{"tool":60,"command":61},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill ios-redteam-pipeline",{"tool":63,"command":64},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill ios-redteam-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fios-redteam-pipeline\u002FSKILL.md",true,[],[69,94,118,142,170,194],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":80,"publishedAt":38},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[75],{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[81,82,83,84,85,86,71,87,88,89,90,31,21,29,91,92,26,25,23,93],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","devops-security","access","configure","active","critical","implementing",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":38},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[101,102,103,104,105,106,107,108,109,110,111,112,113,31,114,21,115,116,92,117],"delegate","zcode","zcode delegate","review","cli","orchestration","tasks","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":38},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript","Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[125,126,127,128,129,130,131,36,132,133,134,135,136,21,29,137,138,139,140,141],"transcript","youtube transcript","youtube","safe","github","codex","research","https","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts","blob",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":159,"publishedAt":38},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[148,151,154],{"categoryNo":149,"categoryName":150,"taxonomyType":78,"taxonomyTypeDesc":79},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":152,"categoryName":153,"taxonomyType":78,"taxonomyTypeDesc":79},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":155,"categoryName":156,"taxonomyType":157,"taxonomyTypeDesc":158},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[125,126,127,160,128,161,129,130,36,162,163,164,165,134,166,21,29,167,168,169],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":180,"publishedAt":38},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[176,179],{"categoryNo":177,"categoryName":178,"taxonomyType":78,"taxonomyTypeDesc":79},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":152,"categoryName":153,"taxonomyType":78,"taxonomyTypeDesc":79},[127,181,182,105,128,183,184,185,186,36,164,187,188,189,190,29,191,137,192,193],"youtube notetaker","notetaker","workflow","official","notes","code","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":201,"publishedAt":38},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[200],{"categoryNo":149,"categoryName":150,"taxonomyType":78,"taxonomyTypeDesc":79},[202,127,203,204,128,161,162,205,206,163,164,165,134,207,166,21,29,167,208,140],"youtube full","full","google","server","dlp","credits","automatic"]