• Stars
    star
    125
  • Rank 285,304 (Top 6 %)
  • Language
  • Created over 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Certificate extraction tool for Windows

Jailbreak (Windows)

For a newer and open-source version of these tools please see https://github.com/iSECPartners/jailbreak

Written by: andreas [at] isecpartners.com and cclark [at] isecpartners.com

Jailbreak exports certificates marked as non-exportable from the Windows certificate store. This can help when you need to extract certificates for backup or testing. You must have permissions to use the private key on the filesystem in order for jailbreak to work -- Jailbreak cannot keys stored on smartcards.

Tested On:

  • WinXP SP2 x86
  • Win2k3 SP1 x86
  • Vista RTM & SP1 x86
  • Vista RTM x64 (jbstore only!)
  • Windows 7 x86
  • Windows 7 x64 (jbstore only!)

Note: Win2k does not work.

Instructions

  1. Extract the files from the Jailbreak zip.
  2. Run jailbreak.exe while running as administrator
  3. A mmc with the Local Machine and Current-User Certificate snap-ins will load
  4. All certificates are now marked as exportable
  5. Use the certificate UI to export certificates and their private keys.

Note: If you get an unhandled exception, email andreas. It is probably a bug in Jailbreak.

Other Included Tools

jbcsp

jbcsp exports keys that are contained within the CSP and not associated with a certificate. jbscp requires .NET Framework 2.0.

Run: jbscp "Key container" "output file name" [-u]

-u is an optional parameter and will export from the user store instead of the machine store.

jbstore

JBStore exports all of the certificates in the "MY" user store. This has the advantage that it does not require user interaction with MMC. Use jbstore on x64 platforms.

JBStore can be set to export from either the CURRENT_USER\MY store or the LOCAL_MACHINE\MY store. The default is CURRENT_USER\MY.

To export from the LOCAL_MACHINE\MY store: jbstore /computer <outfile> <password>

To export from the CURRENT_USER\MY store: jbstore /user <outfile> <password>

or

jbstore <outfile> <password>

Acknowledgements

Thank you to those who have performed testing or provided feedback. Especially Andreas Klein for the jbcsp suggestions and Tom Aafloen for testing it on Vista x64.

(c) 2007-2010 iSEC Partners (www.isecpartners.com)

More Repositories

1

ios-ssl-kill-switch

Blackbox tool to disable SSL certificate validation - including certificate pinning - within iOS Apps
Objective-C
894
star
2

Introspy-iOS

Security profiling for blackbox iOS
Objective-C
725
star
3

Android-SSL-TrustKiller

Bypass SSL certificate pinning for most applications
Java
704
star
4

sslyze

Current development of SSLyze now takes place on a separate repository
Python
644
star
5

jailbreak

Jailbreak
C++
472
star
6

Introspy-Android

Security profiling for blackbox Android
Java
464
star
7

android-ssl-bypass

Black box tool to bypass SSL verification on Android, even when pinning is used.
Java
314
star
8

yontma-mac

You'll Never Take Me Alive!
Objective-C
233
star
9

ssl-conservatory

Sample SSL client code for correct endpoint validation.
Objective-C
232
star
10

Introspy-Analyzer

JavaScript
213
star
11

LibTech-Auditing-Cheatsheet

Python
198
star
12

nano-ecc

A very small ECC implementation for 8-bit microcontrollers
C
149
star
13

Android-OpenDebug

Make any application debuggable
Java
132
star
14

tlspretense

A test framework for testing SSL/TLS client certificate validation.
Ruby
95
star
15

yontma

You'll never take me alive.
C++
85
star
16

Android-KillPermAndSigChecks

Bypass signature and permission checks for IPCs
Java
82
star
17

publications

iSEC Partners' research publications
C++
76
star
18

RtspFuzzer

RTSP network protocol fuzzer
Python
64
star
19

femtocatcher

Java
54
star
20

manifest-explorer

A tool for viewing Android application Manifests.
Java
48
star
21

fuzzbox

A multi-codec media fuzzing tool.
Python
42
star
22

scout

AWS EC2 and S3 Security Auditing Tool
Clojure
41
star
23

dnsRedir

Python
38
star
24

R2B2

A brute-forcing delta robot
Python
27
star
25

PeachFarmer

A log collector for Peach fuzzing in the cloud
C#
27
star
26

vtfinder

pykd script to dynamically find vtables on heap (windows x86/x64)
Python
24
star
27

sqlperms

A tool for calculating necessary SQL Server permissions
C#
23
star
28

package-play

Tool for viewing Android package details, including permissions, services, activities, and more.
Java
22
star
29

libshambles

A library for efficient interception of established TCP connections
C++
19
star
30

hiccupy

Jython binding for Burp to facilitate realtime traffic analysis and modification using simple plugins.
Java
14
star
31

ZigTools

C
11
star
32

ccs-testing-tool

9
star
33

samlpummel

A BeanShell plugin for WebScarab to automate SAML auditing.
Java
8
star
34

gizmo

A graphical web proxy written in Java. It is designed to be speedy, with the user interfaced centered around keyboard use. It should do what you want, and then get out of your way.
Java
8
star
35

extractparam

Java
7
star
36

SecureNSCoder

NSKeyed(Un)ArchiverDelegate implementation to encrypt state prior to preservation and decrypt it when restoring.
Objective-C
6
star