Skip to content
Skillpedia
Misc42k · #4713

competition-dpapi-credential-chain

Helps your agent recover protected secrets on Windows. It can analyze security files, retrieve passwords saved in browsers, and understand how information is protected.

What it does

This tool helps investigate protected secrets in Windows, like browser passwords or encryption keys. It traces how these secrets are protected and how they can be recovered to prove access.

When to use it

  • ✓When you need to recover saved browser passwords.
  • ✓To understand how Windows encryption keys protect information.
  • ✓When investigating access to protected secrets in a Windows environment.

Example of what to ask your AI

“Recover the saved passwords in Chrome and explain how they were protected.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-dpapi-credential-chain/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-dpapi-credential-chain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool analyzes the files where secrets are stored and the keys used to protect them. It reconstructs the path from the protected secret to the access it enables.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add zhaoxuya520/reverse-skill --skill competition-dpapi-credential-chain

Or download just the file:

curl -L https://raw.githubusercontent.com/zhaoxuya520/reverse-skill/main/CTF-Sandbox-Orchestrator/competition-dpapi-credential-chain/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from 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

  1. Separate protected blob, masterkey, decrypting context, and final accepting service.
  2. Record SID, user or machine context, masterkey path, vault or browser store, and target replay point before broad conclusions.
  3. Keep DPAPI source artifact, unwrap step, plaintext secret, and acceptance edge in one chain.
  4. Distinguish local user DPAPI, machine DPAPI, domain backup key use, and application-specific wrapping.
  5. 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.md for 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
FAQ

What is DPAPI?

DPAPI is a Windows system that protects sensitive data, like passwords, using keys tied to the user or the computer.

What are 'masterkeys'?

These are the master keys used by DPAPI to encrypt and decrypt other secrets.

What does 'replay chain' mean?

It's the sequence of steps showing how a recovered secret can be used to gain access to another system or service.

Details

Original description by the author

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

repo: zhaoxuya520/reverse-skill

Popularity

GitHub stars
42k
Ranking position
#4713
License
MIT
Updated
9/22/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills