ios-redteam-pipeline
できること
このスキルは、設定、保存された秘密情報、ネットワークセキュリティのルールなど、iOSアプリの分析をセキュリティテスト担当者に案内します。企業のiPhoneアプリを、許可を得てテストするためのものです。
使う場面
- ✓企業のiPhoneアプリが、許可を得たセキュリティテストの対象になっているとき。
- ✓分析に使えるアプリのパッケージまたはテスト用ビルドがあるとき。
- ✓iOSアプリとAndroidアプリがバックエンドを共有していて、両者を比べたいとき。
スキルのリンク
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/ios-redteam-pipeline/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“当社のiPhoneアプリのパッケージを、許可を得たテストで、保存された秘密情報と弱いネットワーク設定がないか分析してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはアプリの設定とコードを確認し、秘密情報とネットワークのルールを探して、アプリがサーバーとの接続をどう扱っているかを調べます。確認できた問題を報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
When to use this skill
Trigger when:
- Recon surfaces 1+ apps under the target's Apple Developer / App Store publisher page
- A TestFlight public link or enterprise/ad-hoc
.ipa/manifest.plist(OTA install) is found - Customer-facing app, dealer/partner portal, or employee mobile companion app ships on iOS
- Bug bounty program lists iOS in scope
apk-redteam-pipelinealready found Android endpoints/secrets — the iOS build often ships a different backend version worth diffing (seehunt-shadow-api)
DO NOT use for:
- Android-only targets — that's
apk-redteam-pipeline - React Native / Flutter apps already fully covered by JS-bundle analysis on the web side
- Server-side only assessments with no mobile client in scope
Stage 0 — Inventory all org-owned iOS apps
# App Store search API (no auth, no scraping needed)
curl -s "https://itunes.apple.com/search?term=<brand>&country=us&entity=software&limit=50" | python3 -m json.tool
# Pull the full metadata for a known bundle ID (once you have one)
curl -s "https://itunes.apple.com/lookup?bundleId=com.<brand>.app&country=us"
Extract: trackId, bundleId, sellerName (developer account — pivot to find sibling apps), version,
releaseNotes (changelogs often reference deprecated/removed API behavior — feeds hunt-shadow-api).
Cross-reference sibling-app bundle IDs surfaced from Android APK inventories (same
multi-brand conglomerate usually reuses com.<corp>.<sub-brand> naming on both platforms).
Stage 1 — IPA acquisition
Primary: from a real device you control (no jailbreak needed for a purchased/free app)
# Install the app on a real device via Apple Configurator 2 or Xcode, then pull the .ipa
# Apple Configurator 2 (macOS): Devices > select device > right-click installed app > "Save to..."
# Or via libimobiledevice:
brew install libimobiledevice ideviceinstaller
ideviceinstaller -l # list installed apps + bundle IDs
Secondary: TestFlight (if the program distributes betas publicly)
Open the public TestFlight link, install via the TestFlight app, then extract as above. TestFlight builds are frequently LESS hardened than App Store releases (debug logging left on, staging API hosts hardcoded) — always prefer a TestFlight build over the Store build if both exist.
Tertiary: enterprise / ad-hoc distribution (OTA install)
# itms-services:// links embed a manifest.plist with a direct .ipa URL
curl -s "https://<target>/manifest.plist" | plutil -convert xml1 -o - -
# Look for <key>software-package</key> — that URL is a directly downloadable, unencrypted IPA
curl -sk -L "<software-package-url>" -o target.ipa
Enterprise/ad-hoc IPAs are not FairPlay-encrypted — no jailbreak or decryption tooling needed, unlike an App Store binary pulled from a device.
Decrypting an App-Store-sourced binary (only if extracted from a jailbroken device)
App Store binaries are FairPlay-encrypted at rest; a binary copied off a jailbroken device
needs runtime decryption (frida-ios-dump, bagbak, or flexdecrypt) before static tools can
read it meaningfully:
pip install --break-system-packages frida-tools
# with frida-server running on the jailbroken device and the app in foreground:
python3 dump.py <bundle_id> # frida-ios-dump — outputs a decrypted .ipa
Stage 2 — Unpack and static analysis
# An IPA is just a zip
unzip -o target.ipa -d extracted_target/
cd extracted_target/Payload/*.app
# Info.plist — bundle ID, URL schemes, ATS config, entitlements hint
plutil -convert xml1 -o - Info.plist
# Entitlements — codesign reads the .app bundle (or the Mach-O binary), NOT Info.plist
codesign -d --entitlements :- Payload/<AppName>.app 2>/dev/null || \
security cms -D -i embedded.mobileprovision | plutil -convert xml1 -o - -
# class-dump for Objective-C symbol/class recovery (compiled binary, not the .app bundle)
brew install class-dump
class-dump -H <AppBinaryName> -o headers/
# Swift binaries: class-dump won't show much — use Hopper, Ghidra, or `nm`/`strings` instead
nm -a <AppBinaryName> | grep -i swift | head -50
strings -a <AppBinaryName> > strings_target.txt
For a fast triage pass without a disassembler, the strings dump alone usually surfaces most of what Stage 3 is looking for.
Stage 3 — Secret grep (same catalog as apk-redteam-pipeline, iOS-specific sources added)
# URL grep — owned-domain references
grep -oE 'https?://[a-zA-Z0-9.
よくある質問
Androidのスキルと同じものですか?
いいえ。スキルによると、iOSには独自の手順が必要です。ただし、結果はAndroidのレビューと比べることができます。
サーバーだけのテストも対象ですか?
いいえ。このスキルはモバイルアプリに焦点を当てており、サーバーだけのテストには別のスキルが必要だとしています。
どのツールが挙げられていますか?
スキルは、分析用にclass-dump、Ghidra、Frida、objectionなどのツールに言及しています。
詳細
作者による元の説明
End-to-end iOS red-team pipeline — IPA acquisition (App Store extraction, TestFlight, enterprise/ad-hoc sideload), class-dump/Hopper/Ghidra static analysis, Info.plist + entitlements + Keychain secret extraction, App Transport Security (ATS) misconfig + certificate-pinning bypass (frida-ios-dump, objection, SSL Kill Switch 2), URL-scheme / Universal Link hijack, exported-service enumeration, Frida runtime instrumentation. Companion to apk-redteam-pipeline for the iOS side of a mobile app catalogue. Use when target has an iOS app (App Store listing, TestFlight link, enterprise MDM distribution)
人気
- GitHubのスター
- 5.4k
- ランキング
- #14942
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
apk-redteam-pipeline
5.4kエージェントが、Android アプリのセキュリティの弱点を、APK ファイルの発見と逆コンパイルから、埋め込まれた機密情報の確認まで、認可されたテストとして確認できるよう支援します。
bugcrowd-reporting
5.4kエージェントが、適切なカテゴリーを選び、対象外の異議に答えることで、より良い Bugcrowd の脆弱性報告書を書けるよう支援します。
cloud-iam-deep
5.4kエージェントが、認可されたセキュリティテストの間に、見つかったクラウドの認証情報が AWS、Azure、Google Cloud で何にアクセスできるかを確認できるよう支援します。
enterprise-vpn-attack
5.4kエージェントが、認可されたテスト中に、Cisco、Fortinet、Citrix などの VPN とリモートアクセスの機器に、既知の弱点がないか確認できるよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。