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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 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 和远程访问设备是否存在已知弱点。