DPAPI
Data Protection API
Master keys locations (hidden files, need -Force):
PS > ls -Force C:\Users\snovvcrash\AppData\Roaming\Microsoft\Protect\ (%appdata%\Microsoft\Protect\)
PS > ls -Force C:\Users\snovvcrash\AppData\Local\Microsoft\Protect\ (%localappdata%\Microsoft\Protect\)Credential files locations (hidden files, need -Force):
PS > ls -Force C:\Users\snovvcrash\AppData\Roaming\Microsoft\Credentials\ (%appdata%\Microsoft\Credentials\)
PS > ls -Force C:\Users\snovvcrash\AppData\Local\Microsoft\Credentials\ (%localappdata%\Microsoft\Credentials\)Unhide files:
PS > cmd /c "attrib -h -s 00ff00ff-00ff-00ff-00ff-00ff00ff00ff"
PS > cmd /c "attrib -h -s 00ff00ff00ff00ff00ff00ff00ff00ff"Mimikatz
Decrypt manually offline with known plaintext password:
Impacket
Retrieve the domain DPAPI backup key (never changes) from a DC to decrypt master key and blobs:
SharpDPAPI
Triage user's credentials, vaults, rdg and certificates:
Triage machine's credentials (machinecredentials), vaults (machinevaults) and certificates (certificates /machine):
Retrieve the domain DPAPI backup key (never changes) from a DC to decrypt master key and blobs for any user in the domain with it (needs DA privileges):
SharpChrome
SharpChromium
Tools
Last updated