competition-android-hooking
यह क्या करती है
यह टूल इस बात की जांच में मदद करता है कि Android मोबाइल ऐप (APK) अंदर से कैसे काम करता है, खासकर सुरक्षा से जुड़े मामलों में। यह ऐप चलते समय उसे देखने और उससे interact करने देता है, ताकि उसके राज़ (secrets) समझे जा सकें।
कब इस्तेमाल करें
- ✓जब आप देखना चाहते हैं कि कोई ऐप अपनी गोपनीय जानकारी पर signature कैसे लगाता है।
- ✓जब आपको समझना हो कि ऐप यह कैसे जांचता है कि डिवाइस भरोसेमंद है या नहीं (root या jailbreak से बचाव)।
- ✓जब आप जानना चाहते हैं कि ऐप सर्वर से कैसे बात करता है और कौन सा डेटा भेजता है।
Skill का लिंक
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-android-hooking/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं जानना चाहता हूँ कि यह Android ऐप सर्वर को भेजी जाने वाली requests पर signature कैसे लगाता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल ऐप के खास बिंदुओं पर छोटे-छोटे code के टुकड़े (hooks) डालता है, ताकि डेटा को देखा और पकड़ा जा सके। यह डेटा signing, encryption या सर्वर से communication जैसे अहम हिस्सों पर ध्यान देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Competition Android Hooking
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the decisive path runs through an Android app's live trust boundary rather than static strings alone.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Preserve the original APK, extracted resources, and decompiled output before patching or resigning.
- Start with manifest, exported components, deeplinks, native libs, prefs, local DBs, and bundled configs.
- Decide the narrowest runtime boundary to hook: signer, crypto helper, JNI bridge, WebView bridge, or request builder.
- Correlate static evidence and dynamic traces before claiming a trust edge is understood.
- Reproduce the signed request, accepted token, or gated branch from the smallest hook set.
Workflow
1. Static Triage Before Hooks
- Map package structure, exported activities, services, receivers, providers, and deeplink handlers.
- Note SSL pinning logic, root checks, feature flags, token storage, shared prefs, SQLite tables, and protobuf or RPC boundaries.
- Identify whether the sensitive logic sits in Java, Kotlin, JNI, or a bundled WebView.
2. Hook The Narrowest Boundary
- Prefer hooking request signers, crypto helpers, keystore access, protobuf encode or decode, or JNI marshaling instead of broad UI hooks.
- Record plaintext inputs, signed strings, headers, nonces, and outputs at the boundary that actually changes trust.
- If pinning or environment checks block progress, patch or hook only enough to expose the real request path.
3. Replay The Accepted Path
- Rebuild the smallest sequence that reaches the accepted server-side branch: local state, nonce, request body, signature, and headers.
- Keep hook logs, captured request shapes, and local storage paths tied to the same account or session state.
- If the challenge becomes more about transform recovery than Android runtime, switch back to the broader crypto or mobile skill.
Read This Reference
- Load
references/android-hooking.mdfor hook targets, storage checklist, and evidence packaging.
What To Preserve
- Hook points, class names, JNI symbols, signer inputs and outputs, and header names
- Shared prefs, local DB rows, deeplinks, exported components, and token storage paths
- The smallest replayable request or branch that proves the trust boundary
अक्सर पूछे जाने वाले सवाल
'hooking' क्या है?
यह ऐप के किसी खास बिंदु पर 'जासूस' लगाने जैसा है, ताकि देखा जा सके कि वहाँ क्या हो रहा है या जानकारी को पकड़ा जा सके।
'SSL pinning' क्या है?
यह एक अतिरिक्त सुरक्षा व्यवस्था है जिसे कुछ ऐप इस पक्का करने के लिए इस्तेमाल करते हैं कि वे सही सर्वर से ही बात कर रहे हैं। यह टूल जांच के लिए इसे बायपास करने में मदद कर सकता है।
क्या इसे इस्तेमाल करने के लिए programming आनी चाहिए?
यह टूल उन लोगों के लिए है जो पहले से ऐप की जांच कर रहे हैं, आमतौर पर सुरक्षा के संदर्भ में। इसके लिए end-user को सीधे programming करनी ज़रूरी नहीं, लेकिन इन concepts को समझना बहुत मददगार है।
जानकारी
लेखक का मूल विवरण
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for Android APK hooking, Frida tracing, request-signing recovery, SSL pinning bypass, JNI boundary inspection, and app trust-boundary analysis. Use when the user asks to hook an APK, inspect signer logic, trace Java or native boundaries, bypass pinning or root checks, inspect shared prefs or app databases, or replay accep
लोकप्रियता
- GitHub स्टार
- 42k
- रैंकिंग में स्थान
- #6419
- लाइसेंस
- MIT
- अपडेट की गई
- 22/9/2026
कमेंट
- …
इस repository की और skills
competition-ad-certificate-abuse
42kयह आपके एजेंट को digital certificate सिस्टम पर होने वाले हमलों का विश्लेषण करने में मदद करता है। जाँच करता है कि certificates का गलत इस्तेमाल करके एक्सेस कैसे पाया जा सकता है।
competition-agent-cloud
42kयह आपके एजेंट को AI और cloud सिस्टम की सुरक्षा चुनौतियों का विश्लेषण करने में मदद करता है। जाँच करता है कि prompts, tools और cloud का गलत फ़ायदा कैसे उठाया जा सकता है।
competition-browser-persistence
42kयह आपके एजेंट को समझने में मदद करता है कि वेबसाइटें ब्राउज़र में जानकारी कैसे स्टोर करती हैं। cookies और दूसरे डेटा की जाँच करके सेशन कैसे काम करते हैं, यह समझाता है।
competition-bundle-sourcemap-recovery
42kयह आपके एजेंट को वेबसाइट का कोड दोबारा बनाने में मदद करता है। फ़ाइलों और code maps का विश्लेषण करके समझता है कि साइट कैसे बनाई गई और कैसे काम करती है।
मिलती-जुलती skills
android-clean-architecture
280kयह आपके एजेंट को Android projects को व्यवस्थित तरीके से संभालने देता है। यह code को ऐसा ढांचा देता है कि उसकी देखभाल और नए features जोड़ना आसान हो।
compose-multiplatform-patterns
280kKMP projects में Compose Multiplatform और Jetpack Compose patterns इस्तेमाल करने में आपके एजेंट की मदद करता है। इसमें state, navigation, theming और performance शामिल हैं।
dart-flutter-patterns
280kयह आपके एजेंट को Dart और Flutter apps के लिए code लिखने देता है। यह आधुनिक patterns इस्तेमाल करके मज़बूत और आसानी से संभलने वाले apps बनाता है।