/windows-certificate-export

Exporting Non-exportable Certificates from Microsoft Windows

MIT LicenseMIT

Source code to accompany the article:

Exporting a non-exportable certificate - a reverse engineering demonstration

Published in Hakin9, 2009

Original blog here


File Description
run.bat Batch file to automate the whole process
unprotect.py Decrypts private key extracted from keyfile in keystore. Expects input file priv.enc to be in the same directory. Outputs priv.dec
MSPrivKeytoPKCS8.java Source code for MSPrivKeytoPKCS8
MSPrivKeytoPKCS8.class Compiled MSPrivKeytoPKCS8 which converts priv.dec into PKCS8 format. Expects name of input & output files as parameters.