Skip to content
Tool to crack encrypted PEM files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
include Initial code commit Oct 17, 2015
src Initial code commit Oct 17, 2015
.gitignore Initial commit Oct 17, 2015
LICENSE Initial commit Oct 17, 2015
Makefile Initial code commit Oct 17, 2015
main.c Fix OS X compilation errors Nov 18, 2015
test.dict Updated readme and added test files Oct 17, 2015


Tool to crack encrypted PEM files

This tool is inspired by pemcrack by Robert Graham. The purpose is to attempt to recover the password for encrypted PEM files while utilizing all the CPU cores.

It still uses high level OpenSSL calls in order to guess the password. As an optimization, instead of continually checking against the PEM on disk, it is loaded into memory in each thread.

bwall@ragnarok:~$ ./pemcracker 
pemcracker 0.1.0
pemcracker <path to pem> <word file>

pemcracker 0.1.0 by Brian Wallace (@botnet_hunter)

Usage Example

bwall@ragnarok:~/data/publicprojects/pemcracker$ ./pemcracker test.pem test.dict
Password is komodia for test.pem



This is somewhat of a short side project, so my apologies for any issues. If there is desire for this project to be further developed, I will try to allocate time.


If you are looking for the fastest possible method of brute forcing PEM files, you may wish to try out John the Ripper. Its little known ssh2john allows for converting PEM files to a format that can be fed into ./john. Details

You can’t perform that action at this time.