A minimal safe version of mimikatz to only allow the export of non-exportable Windows certificates
- Based on the latest stable mimikatz version
2.1.1
- Compiled following that awesome article guidance
- Compiled with only the
standard
andcrypto
modules and removing all the other offensive ones (privilege
,sekurlsa
,kerberos
,lsadump
etc.) - Removing most of the
mimikatz
textual occurences in the code and even the icon to try to stay undetected by antimalware solutions - Providing x86 and x64 self-signed binaries, compatible from Windows 7 (tested on Windows 7 x86 and Windows 10 x64)
- Download the binary matching your architecture (x86 or x64)
- Execute
mimicertz_x64.exe "crypto::capi" "crypto::certificates /export /store:MY /systemstore:CURRENT_USER" "exit"
- PFX certificates will be exported in the current directory
- Use
mimicertz
as passphrase to import your PFX certificate - Profit
- Follow the provided prerequisites
- Download the
source
folder from this repository - Open the
mimikatz.sln
Visual Studio Solution and build it
- version 2.1.1 - 23/09/2018: initial commit
The very same of the original mimikatz
project which is CC BY 4.0 licence
Last but not least, antivirus softwares might report these binaries as hacktools or even malwares: this is a known and common issue. If you don't trust this compilation, just don't download it.