cred
Last updated
Last updated
dpapi::cred
decrypts DPAPI saved credential such as RDP, Scheduled tasks, etc (cf. ). It has the following command line arguments:
/in
: the file path to decrypt. The file locations are C:\Users\<UserName>\AppData\Local\Microsoft\Credentials\<credential_blob>\
and C:\Users\<UserName>\AppData\Roaming\Microsoft\Credentials\<credential_blob>\
. Tools like come in handy for enumerating credential blob files' location
/lsaiso
: It is used when Credentials Guard is in place
/masterkey
: the masterkey to use for decryption. It can be obtained through .
/password
: the password to decrypt the blob
/unprotect
: displays the decryption results on screen
The following example was taken from Benjamin's guide, which displays the content of the credential file: