competition-ad-certificate-abuse
Skill này làm gì
Công cụ này giúp hiểu cách các cấu hình sai của chứng chỉ số có thể bị khai thác để truy cập trái phép. Nó phân tích cách một chứng chỉ đã được cấp có thể dẫn đến quyền hạn trong môi trường mạng.
Khi nào nên dùng
- ✓Khi bạn nghi ngờ một chứng chỉ số bị cấu hình sai.
- ✓Khi điều tra cách một chứng chỉ có thể được dùng để giành quyền truy cập hệ thống.
- ✓Khi tìm hiểu các bước của một cuộc tấn công dựa trên chứng chỉ.
Liên kết skill
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm thế nào một chứng chỉ bị cấu hình sai có thể cấp cho tôi quyền quản trị viên?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kiểm tra cấu hình của chứng chỉ số và cách hệ thống chấp nhận chúng. Nó truy vết đường đi từ lúc chứng chỉ được cấp đến quyền hạn đạt được.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
EKU và SAN là gì?
EKU (Extended Key Usages) xác định chứng chỉ có thể dùng cho mục đích gì, còn SAN (Subject Alternative Names) bổ sung thông tin như tên miền hoặc IP vào chứng chỉ.
PKINIT là gì?
PKINIT là phương thức xác thực dùng chứng chỉ để chứng minh danh tính của người dùng hoặc máy tính, cho phép đăng nhập vào hệ thống.
“Privilege path” nghĩa là gì?
Đó là chuỗi các bước hoặc lỗi dẫn từ điểm xuất phát (như một chứng chỉ bị cấu hình sai) đến việc giành được quyền cao hơn trên hệ thống.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 42k
- Vị trí xếp hạng
- #6417
- Giấy phép
- MIT
- Cập nhật
- 22/9/2026
Bình luận
- …
Thêm skill từ kho mã này
competition-agent-cloud
42kGiúp agent phân tích các thách thức bảo mật trong hệ thống AI và đám mây. Tìm hiểu cách prompt, công cụ và đám mây có thể bị khai thác.
competition-android-hooking
42kGiúp agent điều tra các ứng dụng Android. Phân tích cách ứng dụng hoạt động bên trong và cách chúng có thể bị sửa đổi hoặc khai thác.
competition-browser-persistence
42kGiúp agent phân tích cách website lưu thông tin trên trình duyệt của bạn. Điều tra cookie và dữ liệu khác để hiểu cách phiên đăng nhập hoạt động.
competition-bundle-sourcemap-recovery
42kGiúp agent tái tạo mã của website. Phân tích các file và bản đồ mã để hiểu cách một trang được xây dựng và cách nó hoạt động.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.