Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is even with boundlessgeo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
exportrsa
.gitignore
CMake-build.bat
CMakeLists.txt
README.rst
exportrsa-console.png
exportrsa.config
exportrsa.creator
exportrsa.files
exportrsa.includes

README.rst

Exporting Windows Non-Exportable RSA Private Keys

This project has been directly inspired by the follwing paper and slideshow:

https://www.nccgroup.trust/globalassets/our-research/uk/whitepapers/exporting_non-exportable_rsa_keys.pdf

https://www.nccgroup.trust/globalassets/resources/uk/presentations/2011/blackhat_europe_2011_exporting_non-exportable_rsa_keys.pdf

by Jason Geffner <jason.geffner@ngssecure.com> of NCC Group (UK)

https://www.nccgroup.trust/uk/our-services/security-consulting/

Executables

Pre-built exportrsa.exe executables are located in:

DEBUG: exportrsa/Debug/ (requires Visual Studio 2010 installed)

RELEASE: exportrsa/Release/ (requires only Visual Studio 2010 runtime installed)

Code

Visual Studio 2010 build project:

exportrsa/exportrsa.sln

The single code file is here:

exportrsa/exportrsa/exportrsa.cpp

How to use

The code parses all system key stores and exports in .pxf files for all certificates that have a RSA private key available.

Just run exportrsa.exe in a command shell:

exportrsa-console.png

Sample run of exportrsa.exe

If you receive an error due to missing the msvcr100.dll (release version), you will need to install the vcredist_x86_2010.exe runtime. To use the debug version, you will need Visual Studio 2010 installed.

You can’t perform that action at this time.