ios-redteam-pipeline
ما الذي تفعله
ترشد هذه المهارة المختبِر الأمني خلال تحليل تطبيق iOS، بما يشمل إعداداته والأسرار المخزنة وقواعد أمان الشبكة. وهي مخصصة للاختبار المصرّح به لتطبيقات آيفون التابعة للشركة.
متى تستخدمها
- ✓عندما يكون تطبيق آيفون للشركة ضمن نطاق اختبار أمني مصرّح به.
- ✓عندما تتوفر حزمة التطبيق أو نسخة اختبار للتحليل.
- ✓عندما يشترك تطبيق iOS وتطبيق Android في خلفية واحدة وتريد مقارنتهما.
رابط المهارة
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/ios-redteam-pipeline/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك تحليل حزمة تطبيق آيفون لدينا بحثًا عن أسرار مخزنة وإعدادات شبكة ضعيفة في اختبارنا المصرّح به؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يراجع الوكيل إعدادات التطبيق وشيفرته، ويبحث عن الأسرار وقواعد الشبكة، ويتحقق من طريقة تعامل التطبيق مع اتصاله بالخادم. ويبلّغ عن المشكلات المؤكدة.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
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يساعد وكيلك على فحص أجهزة VPN والوصول عن بُعد من Cisco وFortinet وCitrix وغيرها بحثًا عن نقاط ضعف معروفة، أثناء اختبار مصرّح به.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.