Cracking a p12 PFX certificate
#8
(06-29-2012, 08:34 AM)halfie Wrote: @aestu: OpenSSL is not thread safe (especially its error handling part) unless some callbacks have been implemented.

See http://curl.haxx.se/libcurl/c/threaded-ssl.html. How much speed are you getting with your cracker?

crackpkcs12 use openssl into two steps:

1.- Every thread loads its own pkcs#12 struct from file
2.- Check passwords

Step 1: I avoid concurrency by using a mutex.
Step 2: Every thread has its own struct and there is no concurrency problems

You can check crackpkcs12 works.

Regarding speed, I achieve 260k/s using brute force and this CPU (not a cutting edge one):

Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz

aestu

(06-29-2012, 11:14 AM)halfie Wrote: I implemented support for cracking PKCS #12 files in JtR (based on aestu's program).

$ ../run/john -format=pfx -t
Benchmarking: pfx [32/32]... DONE
Raw: 2121 c/s real, 2121 c/s virtual

How does Elcomsoft distributed password recovery (which cracks at speed 500k/s) achieve those nice speeds?

Could I see your code? Is there a public repository?

Thanks,

aestu
Reply


Messages In This Thread
Cracking a p12 PFX certificate - by fizikalac - 06-27-2012, 06:59 PM
RE: Cracking a p12 PFX certificate - by Mem5 - 06-27-2012, 08:26 PM
RE: Cracking a p12 PFX certificate - by fizikalac - 06-27-2012, 08:33 PM
RE: Cracking a p12 PFX certificate - by aestu - 06-29-2012, 02:03 AM
RE: Cracking a p12 PFX certificate - by blazer - 06-28-2012, 07:31 AM
RE: Cracking a p12 PFX certificate - by halfie - 06-29-2012, 08:34 AM
RE: Cracking a p12 PFX certificate - by aestu - 06-29-2012, 11:24 AM
RE: Cracking a p12 PFX certificate - by halfie - 06-29-2012, 11:14 AM
RE: Cracking a p12 PFX certificate - by halfie - 06-29-2012, 11:29 AM
RE: Cracking a p12 PFX certificate - by aestu - 06-29-2012, 02:00 PM
RE: Cracking a p12 PFX certificate - by halfie - 06-29-2012, 02:26 PM
RE: Cracking a p12 PFX certificate - by halfie - 06-29-2012, 03:33 PM
RE: Cracking a p12 PFX certificate - by halfie - 06-29-2012, 04:47 PM
RE: Cracking a p12 PFX certificate - by aestu - 06-30-2012, 12:03 PM
RE: Cracking a p12 PFX certificate - by halfie - 06-30-2012, 03:35 PM
RE: Cracking a p12 PFX certificate - by aestu - 07-01-2012, 03:18 AM
RE: Cracking a p12 PFX certificate - by halfie - 07-01-2012, 09:38 AM
RE: Cracking a p12 PFX certificate - by tiagocan - 12-21-2012, 02:00 AM