competition-ad-certificate-abuse
ما الذي تفعله
تساعد هذه المهارة على فهم كيف يمكن استغلال سوء إعداد الشهادات الرقمية للوصول غير المصرح به. تحلل كيف تقود الشهادة الصادرة إلى صلاحيات داخل بيئة شبكة.
متى تستخدمها
- ✓عندما تشك في أن شهادة رقمية مُعدّة بشكل خاطئ.
- ✓عند التحقيق في كيفية استخدام الشهادة للوصول إلى النظام.
- ✓لفهم خطوات الهجوم القائم على الشهادات.
رابط المهارة
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف يمكن لشهادة مُعدّة بشكل خاطئ أن تمنحني صلاحيات مدير؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تفحص الأداة إعدادات الشهادات الرقمية وكيف تقبلها الأنظمة. وتتبع المسار من إصدار الشهادة إلى الصلاحية المكتسبة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Competition AD Certificate Abuse
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 identity edge is certificate-based and the hard part is proving how a template or CA policy turns into accepted privilege.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Identify the CA, template, enrolling principal, and accepting service before diving into every certificate detail.
- Separate template enrollability from cert-based authentication or privilege acceptance.
- Record EKUs, subject or SAN controls, issuance requirements, enrollment rights, and mapping behavior in compact blocks.
- Tie the issued cert to one accepted path: PKINIT, Schannel, LDAPS, WinRM, or another mapped service.
- Reproduce the smallest certificate issuance-to-acceptance chain that yields the decisive privilege.
Workflow
1. Map CA And Template Trust
- Record CA configuration, template name, enrollment permissions, manager approval, authorized signatures, EKUs, subject requirements, and SAN behavior.
- Note whether the path depends on alternate subject names,
UPN, DNS names, enrollment agent behavior, or template supersedence. - Keep principal, template, and issuance policy tied together.
2. Prove Cert-To-Privilege Acceptance
- Show how the issued certificate is mapped or accepted: PKINIT, smartcard logon, Schannel auth, service mapping, or explicit certificate mapping.
- Record serial, subject, SAN, EKU, validity, and the exact service or domain edge that accepts it.
- Distinguish certificate issuance from the separate step where privilege is actually granted.
3. Reduce To The Decisive Abuse Chain
- Compress the path to the smallest sequence: enrollment right or misconfig -> issued cert -> accepted mapping -> resulting privilege.
- State clearly whether the weakness lives in template config, CA policy, mapping logic, relay path, or enrollment rights.
- If the task is really about delegation or ticket transformation after PKINIT, switch back to the tighter Kerberos skill.
Read This Reference
- Load
references/ad-certificate-abuse.mdfor the AD CS checklist, template checklist, and evidence packaging.
What To Preserve
- CA names, template names, rights, EKUs, issuance flags, SAN controls, and mapping details
- Issued certificate fields, serials, subjects, SANs, and the accepting service or logon path
- The smallest reproducible enrollment-to-privilege chain
الأسئلة الشائعة
ما هي EKUs وSANs؟
EKUs (استخدامات المفتاح الموسعة) تحدد ما يمكن استخدام الشهادة من أجله، وSANs (أسماء الموضوع البديلة) تضيف معلومات مثل أسماء النطاقات أو عناوين IP إلى الشهادة.
ما هو PKINIT؟
PKINIT طريقة مصادقة تستخدم الشهادات لإثبات هوية مستخدم أو حاسوب، وتتيح تسجيل الدخول إلى النظام.
ماذا تعني «privilege path» (مسار الصلاحيات)؟
هو تسلسل الخطوات أو الثغرات التي تقود من نقطة بداية (مثل شهادة مُعدّة بشكل خاطئ) إلى الحصول على صلاحيات أعلى في النظام.
التفاصيل
الوصف الأصلي من المؤلف
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for AD CS, certificate templates, enrollment rights, EKUs, SAN controls, PKINIT, certificate mapping, and cert-based privilege paths. Use when the user asks about ESC-style abuse, certificate templates, enrollment agents, EKUs, SAN or subject controls, smartcard or PKINIT logon, CA policy, or how an issued cert turns into
الشعبية
- نجوم GitHub
- 42k
- الترتيب
- #6417
- الترخيص
- MIT
- آخر تحديث
- 22/9/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
competition-agent-cloud
42kيساعد وكيلك على تحليل التحديات الأمنية في أنظمة الذكاء الاصطناعي والسحابة. يبحث في كيفية استغلال الأوامر والأدوات والسحابة.
competition-android-hooking
42kيساعد وكيلك على التحقيق في تطبيقات Android. يحلل كيف تعمل التطبيقات من الداخل وكيف يمكن تعديلها أو استغلالها.
competition-browser-persistence
42kيساعد وكيلك على تحليل كيفية تخزين المواقع للمعلومات في متصفحك. يبحث في ملفات تعريف الارتباط وغيرها من البيانات لفهم عمل الجلسات.
competition-bundle-sourcemap-recovery
42kيساعد وكيلك على إعادة بناء شيفرة المواقع. يحلل الملفات وخرائط الشيفرة لفهم كيفية بناء الموقع وعمله.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.