competition-android-hooking
ما الذي تفعله
تساعد هذه المهارة على التحقيق في كيفية عمل تطبيق Android (APK) من الداخل، خاصة في سيناريوهات الأمان. تتيح مراقبة التطبيق والتفاعل معه أثناء تشغيله لفهم أسراره.
متى تستخدمها
- ✓عندما تريد أن ترى كيف يوقّع التطبيق المعلومات السرية.
- ✓عندما تحتاج إلى فهم كيف يتحقق التطبيق من أن الجهاز موثوق (وتجنّب الجهاز المكسور root أو jailbreak).
- ✓عندما تريد أن تكتشف كيف يتواصل التطبيق مع الخادم وما البيانات التي يرسلها.
رابط المهارة
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-android-hooking/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد أن أعرف كيف يوقّع تطبيق Android هذا الطلبات التي يرسلها إلى الخادم.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تُدخل الأداة شيفرات صغيرة (hooks) في نقاط محددة من التطبيق لمراقبة البيانات والتقاطها. وتركز على الأجزاء الحاسمة، مثل توقيع البيانات والتشفير والتواصل مع الخادم.
المحتوى التقني (ملف 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»؟
هو إجراء أمني إضافي تستخدمه بعض التطبيقات لتتأكد من أنها تتواصل مع الخادم الصحيح. ويمكن لهذه الأداة أن تساعد في تجاوزه لأغراض التحليل.
هل أحتاج إلى معرفة البرمجة لاستخدامها؟
هذه الأداة لمن يحقق في التطبيقات أصلًا، وغالبًا في سياقات أمنية. ولا تتطلب برمجة مباشرة من المستخدم النهائي، لكن فهم المفاهيم مفيد جدًا.
التفاصيل
الوصف الأصلي من المؤلف
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
التعليقات
- …
المزيد من المهارات من هذا المستودع
competition-ad-certificate-abuse
42kيساعد وكيلك على تحليل الهجمات على أنظمة الشهادات الرقمية. يبحث في كيفية إساءة استخدام الشهادات للوصول إلى الصلاحيات.
competition-agent-cloud
42kيساعد وكيلك على تحليل التحديات الأمنية في أنظمة الذكاء الاصطناعي والسحابة. يبحث في كيفية استغلال الأوامر والأدوات والسحابة.
competition-browser-persistence
42kيساعد وكيلك على تحليل كيفية تخزين المواقع للمعلومات في متصفحك. يبحث في ملفات تعريف الارتباط وغيرها من البيانات لفهم عمل الجلسات.
competition-bundle-sourcemap-recovery
42kيساعد وكيلك على إعادة بناء شيفرة المواقع. يحلل الملفات وخرائط الشيفرة لفهم كيفية بناء الموقع وعمله.
مهارات مشابهة
android-clean-architecture
280kينظّم وكيلك مشاريع أندرويد بكفاءة، ويبني الشيفرة بطريقة تجعل الصيانة وإضافة الميزات الجديدة أسهل.
compose-multiplatform-patterns
280kيساعد وكيلك على استعمال أنماط Compose Multiplatform وJetpack Compose في مشاريع KMP، وتشمل الحالة والتنقل والتصميم والأداء.
dart-flutter-patterns
280kيساعد وكيلك على كتابة شيفرة تطبيقات Dart وFlutter، باستعمال أنماط حديثة لبناء تطبيقات متينة وسهلة الإدارة.