mobile-pentest
यह क्या करती है
यह स्किल एजेंट को Android या iOS ऐप में सुरक्षा समस्याएँ जाँचना सिखाती है। यह ऐप के सामान्य नेटवर्क ट्रैफ़िक को देखने से शुरू करती है, क्योंकि वही बैकएंड API अक्सर वेब लक्ष्य की तरह परखे जाते हैं।
कब इस्तेमाल करें
- ✓जब परीक्षक को Android APK या iOS ऐप में API कमज़ोरियाँ जाँचनी हों।
- ✓जब बाउंटी प्रोग्राम में मोबाइल ऐप और उसके बैकएंड API शामिल हों।
- ✓जब परीक्षक का प्रॉक्सी ऐप का ट्रैफ़िक नहीं देख पाता और डिकंपाइल करना ज़रूरी है।
Skill का लिंक
https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/mobile-pentest/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस Android ऐप के API का परीक्षण करने में मदद कीजिए। मैं इसका ट्रैफ़िक अपने Burp प्रॉक्सी से गुज़ार सकता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट ऐप इंस्टॉल करता है, उसका ट्रैफ़िक प्रॉक्सी से गुज़ारता है, और मुख्य प्रवाह हाथ से चलाता है। अगर ट्रैफ़िक दिखता और दोहराया जा सकता है, तो वह API को किसी भी वेब लक्ष्य की तरह परखता है। डिकंपाइल केवल ज़रूरत पड़ने पर होता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
MOBILE APP PENTEST (ANDROID / iOS)
Mobile apps talk to the same backend as the web app — but they ship a different, less-hunted attack surface: base URLs, API endpoints, header schemes, and hardcoded secrets that web recon never sees. Most hunters skip mobile. That's the edge.
The whole point: the APK/IPA is a copy of the client. Decompile it once and you get every endpoint the web JS never references, every staging/internal base URL, and often a live API key sitting in
strings.xml. Then you attack the backend like any web target.
RUNTIME-FIRST — THE ONE RULE THAT MATTERS
Do NOT start by decompiling. Decompiling first burns hours recovering crypto you may never need. Default order:
1. Install the app on a device/emulator (in scope confirmed via /scope)
2. Point it at Burp / mitmproxy
3. Drive the real business flows by hand (login, pay, edit profile, share)
4. After each action, check the proxy: are requests visible and replayable?
5. Traffic visible + replayable → STOP. Test the API like a web target.
6. Traffic pinned / encrypted / absent → THEN escalate to apktool/jadx/Frida.
Most of your paid mobile bugs (IDOR, auth bypass, business logic) come from step 5 — plain HTTP traffic you replay in Burp. Reversing (apktool/jadx/Frida) is a support step to get traffic flowing or to recover a request signer, not the goal.
If Burp already has a stable, replayable request, you are done reversing. Switch to server-side testing.
0. SCOPE CHECK FIRST
Mobile has its own scope traps. Before touching the binary:
- Is the app itself in scope, or only the web domains? Many programs list the app package (
com.target.app) explicitly. If only*.target.comis listed, the API endpoints the app calls are usually in scope — but the app binary analysis may not be. Run/scope. - Third-party SDKs (analytics, ads, crash reporters) bundled in the APK are out of scope — they belong to Firebase/Sentry/AppsFlyer, not the target.
- Don't report "app is debuggable" / "no root detection" / "no obfuscation" — these are N/A on almost every program (no real-world attacker impact). See the Never-Submit list below.
1. SETUP (one-time)
# Android device/emulator over adb
adb devices
adb install target.apk # or pull a live install: adb shell pm path com.target.app
# Proxy — route device traffic through Burp or mitmproxy
# Android: Settings > Wi-Fi > proxy = <laptop-ip>:8080, install Burp CA as a *system* cert
# (user certs are ignored by apps targeting API 24+ — push to /system/etc/security/cacerts on a rooted device,
# or use objection patchapk to inject a network_security_config that trusts user certs)
mitmproxy --listen-port 8080 # CLI alternative to Burp; mitmweb for a UI
# Reversing toolchain
apktool d target.apk -o target_src # smali + resources + manifest (recompilable)
jadx-gui target.apk # DEX -> readable Java (best for reading logic)
jadx -d target_jadx target.apk # CLI batch decompile
# Runtime instrumentation
pip install frida-tools objection
# Pin a compatible gadget version — Frida 17 broke older flows; 16.7.x is the stable bug-bounty pick (2025)
frida --version
iOS needs a jailbroken device (Apple ships no emulator that defeats pinning). Same flow: install IPA, proxy, drive UI, escalate to frida/objection only if pinned.
2. STATIC SWEEP — SECRETS + ENDPOINTS WEB RECON MISSES 🔑
This is the highest-ROI 5 minutes in mobile hunting. Decompile, then grep. The quick check (no rooted device needed):
apktool d target.apk -o target_src
# Hardcoded secrets — strings.xml is where lazy devs stash keys
grep -rn "api_key\|secret\|password\|token\|Authorization\|Bearer\|client_secret\|private_key" \
target_src/ --include="*.smali" --include="*.xml"
# Base URLs + endpoints — the gold. Strip framework noise:
grep -rn "https://" target_src/ | grep -v "schema\|xmlns\|android\|google\|w3.org\|apache" | sort -u | head -80
# Firebase / cloud creds frequently shipped in resources
grep -rniE "firebaseio\.com|amazonaws\.com|s3\.|googleapis|cloudfront|\.blob\.core" target_src/
# Use jadx output (Java) for readability when smali is unreadable
jadx -d target_jadx target.apk
grep -rnE "https?://[a-z0-9.-]+" target_jadx/sources/ | grep -viE "android|google|w3\.org" | sort -u
Automate it with apkleaks (regex pack for URIs + secrets) when installed:
अक्सर पूछे जाने वाले सवाल
डिकंपाइल की जगह ट्रैफ़िक से शुरू क्यों?
स्किल कहती है कि डिकंपाइल में घंटों लग सकते हैं और आमतौर पर तभी चाहिए जब ट्रैफ़िक pinned, एन्क्रिप्टेड या गायब हो।
डिकंपाइल क्या उजागर कर सकता है?
छिपे एंडपॉइंट, staging बेस URL और कभी-कभी हार्डकोडेड secrets।
कौन-से टूल का नाम लिया गया है?
Burp, mitmproxy, apktool, jadx, Frida और objection।
जानकारी
लेखक का मूल विवरण
Mobile app pentest for bug bounty (Android APK + iOS IPA) — runtime-first workflow: install app, proxy through Burp/mitmproxy, drive the UI, capture packets, then test the API exactly like a web target; escalate to decompile (apktool/jadx) and Frida/objection only when traffic is SSL-pinned, encrypted, or absent. Covers APK/IPA decompile for hardcoded secrets + hidden API endpoints + base URLs the web app never exposes, exported-activity and deeplink intent injection, WebView addJavascriptInterface bridge abuse, SSL pinning bypass (objection patchapk / Frida CertificatePinner + checkServerTrus
लोकप्रियता
- GitHub स्टार
- 5.5k
- रैंकिंग में स्थान
- #14793
- लाइसेंस
- MIT
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
bug-bounty
5.5kआपके एजेंट को बग बाउंटी समीक्षा चरणों में योजना बनाने में मदद करती है, प्रोग्राम का दायरा जाँचने और संपत्तियाँ मैप करने से लेकर प्रभाव सत्यापित करने और रिपोर्ट लिखने तक।
agentic-app-audit
5.5kआपके एजेंट को लाइव AI असिस्टेंट की बाहर से समीक्षा करने देती है, हाइजैक्ड टूल कॉल, दूषित मेमोरी और उपयोगकर्ता से अधिक पहुँच वाली कार्रवाइयों जैसे जोखिमों के लिए।
argus
5.5kआपके एजेंट को वेब और AI ऐप की आम खामियों के लिए छह स्वचालित स्कैनर चलाने देती है, जैसे खुला cross-origin एक्सेस, JWT कमज़ोरियाँ और out-of-band में पुष्ट अंधी बग।
bb-methodology
5.5kआपके एजेंट को बग बाउंटी सत्र चरणों में योजना बनाने देती है, अगला कदम और सही जाँच चुनते हुए, और ऐसे विचार छोड़ते हुए जो असली नुकसान नहीं कर सकते।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।