gentilkiwi / mimikatz

A little tool to play with Windows security
http://blog.gentilkiwi.com/mimikatz
19.49k stars 3.74k forks source link

Private Export certificate KO #305

Closed kad25 closed 4 years ago

kad25 commented 4 years ago

Hello,

I am trying to pull a certificate needed to connect to the wifi from laptop (windows 10 enterprise version 1809) and transfer it to another laptop to get access to the wifi. When trying to export the certificate I got this message: mimikatz(powershell) # privilege::debug Privilege '20' OK

mimikatz(powershell) # crypto::capi

mimikatz(powershell) # crypto::cng ERROR kull_m_patch_genericProcessOrServiceFromBuild ; Incorrect version in refe rences

mimikatz(powershell) # crypto::certificates /systemstore:local_machine /export

any ideas on how to fix it and export the certificate with the key?

gentilkiwi commented 4 years ago

This isn't a CNG certificate, but a CAPI one, crypto::capi before

kad25 commented 4 years ago

Hello, I don't understand , I use this command: PowerLine.exe Invoke-Mimikatz “Invoke-Mimikatz -Command \”\”privilege::debug\” \”crypto::capi\” \”crypto::cng\” \”crypto::certificates /systemstore:local_machine /export\” \””

gentilkiwi commented 4 years ago

You don't use mimikatz here...