Exporting Non-exportable Certificates from Microsoft Windows
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example_data
LICENSE
MSPrivKeytoPKCS8.class
MSPrivKeytoPKCS8.java
README.md
run.bat
unprotect.py

README.md

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.