competition-dpapi-credential-chain
它能做什么
这个工具可以帮你调查 Windows 中受保护的机密信息,比如浏览器密码或加密密钥。它会追踪这些机密是如何被保护的,以及如何被恢复,从而证明访问权限。
适用场景
- ✓当你需要恢复已保存的浏览器密码时。
- ✓当你想了解 Windows 加密密钥如何保护信息时。
- ✓当你在 Windows 环境中调查对受保护机密的访问情况时。
技能链接
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-dpapi-credential-chain/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“恢复 Chrome 中已保存的密码,并说明它们是如何被保护的。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会分析存放机密的文件,以及用于保护这些机密的密钥。然后它会重建一条路径,从受保护的机密一直追溯到它所能带来的访问权限。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Competition Dpapi Credential Chain
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 Windows secret is DPAPI-protected and the hard part is proving which context unwraps it and where the plaintext is accepted.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Separate protected blob, masterkey, decrypting context, and final accepting service.
- Record SID, user or machine context, masterkey path, vault or browser store, and target replay point before broad conclusions.
- Keep DPAPI source artifact, unwrap step, plaintext secret, and acceptance edge in one chain.
- Distinguish local user DPAPI, machine DPAPI, domain backup key use, and application-specific wrapping.
- Reproduce the smallest DPAPI-to-accepted-access path that proves the decisive edge.
Workflow
1. Map Protected Secret And DPAPI Context
- Record blob source, masterkey location, SID, protector scope, profile path, credential store, and any application wrapper such as browser encryption or vault metadata.
- Note whether the decisive value lives in Credential Manager, Vault, browser cookies, browser passwords, Wi-Fi profiles, RDP files, or custom app storage.
- Keep protected artifact, masterkey candidate, and account or machine context tied together.
2. Prove Unwrap And Acceptance
- Show how the secret is decrypted: user logon material, machine context, domain backup key, or another recovered protector.
- Record plaintext type, target host or service, replay method, and resulting session, token, or data access.
- Distinguish successful blob decryption from actual accepted access.
3. Reduce To The Decisive DPAPI Chain
- Compress the result to the smallest sequence: protected artifact -> masterkey or unwrap context -> plaintext secret -> accepted replay or access -> resulting capability.
- State clearly whether the decisive edge lives in masterkey recovery, DPAPI scope confusion, application wrapper handling, or the service that accepts the recovered secret.
- If the task broadens into generic LSASS ticket material or full Windows pivoting, hand back to the tighter host or pivot skill.
Read This Reference
- Load
references/dpapi-credential-chain.mdfor the blob checklist, masterkey checklist, and evidence packaging.
What To Preserve
- Blob paths, masterkey paths, SIDs, protector scope, store names, and application wrapper details
- The exact accepting service or dataset unlocked by the recovered plaintext
- One minimal protected-artifact-to-accepted-access sequence that proves the edge
常见问题
什么是 DPAPI?
DPAPI 是 Windows 的一个系统,它使用与用户或计算机绑定的密钥来保护密码等敏感数据。
什么是“masterkey”?
它们是 DPAPI 用来加密和解密其他机密的主密钥。
“replay chain”是什么意思?
它指的是一系列步骤,展示了恢复出的机密如何被用来访问另一个系统或服务。
详情
作者的原始描述
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for DPAPI masterkeys, vault blobs, browser credential stores, protected secrets, domain backup keys, and secret-to-acceptance replay chains. Use when the user asks to inspect DPAPI blobs or masterkeys, recover browser or vault credentials, trace DPAPI context or backup-key use, or explain how protected Windows secrets bec
热度
- GitHub 星标
- 42k
- 排名
- #6426
- 许可证
- MIT
- 更新时间
- 2026/9/22
评论
- …
同一仓库的更多技能
competition-ad-certificate-abuse
42k帮你的智能体分析针对数字证书系统的攻击。它会研究证书可能如何被滥用来获取访问权限。
competition-agent-cloud
42k帮你的智能体分析 AI 和云系统中的安全问题。它会研究提示词、工具和云端可能如何被利用。
competition-android-hooking
42k帮你的智能体研究 Android 应用。它会分析应用的内部运行方式,以及可能如何被修改或利用。
competition-browser-persistence
42k帮你的智能体分析网站如何在浏览器中存储信息。它会研究 Cookie 等数据,以理解会话是如何运作的。