protect
dpapi::protect
protects data via a DPAPI call. It has the following command line arguments:
/c
: displays the output as a C programming language char array/out
: save the results to a file/data
: the data to encrypt/system
: the data are encrypted under the system account context. It will be visible in theflags : system
/prompt
: the Mimikatz's additional DPAPI prompt GUI/entropy
: the entropy for the encryption/machine
: The data are encrypted under the machine account context. It will be visible in theflags : local_machine
/description
: provide a description for the blob data
It must be noted that during our tests when using the /system
parameter, even running Mimikatz with token::elevate
, the following error was raised
Searching on Google the error code displayed this link
Example output with the /c
parameter:
Save the blob results to a file:
The following picture demonstrates an example when the /prompt
argument is used:
Last updated