mimikatz closes when trying to export certificate to DER
Author: hsh9544Created Jan 14, 2021Updated May 20, 2025
I lost access to EFS encrypted files after reinstalling windows, and I finally found a method to build a PFX certificate here.
After recovering files in "SystemCertificates" folder, I tried to "export certificate and its public key to DER" using crypto::system, and mimikatz closed with the following output:
* File: 'CERTIFICATE_FILE_NAME'
I have tried it on a few machines, including a Windows XP VM, and with privilege::debug.
I also tried crypto::system with current certificates, and everything is working as expected.
Is it normal, or can anyone help me, please?
Source: gentilkiwi/mimikatz