Cracking a p12 PFX certificate
#14
(06-29-2012, 04:47 PM)halfie Wrote: I checked the speed of Elcomsoft Distributed Password Recovery and it is 1831 for openwall.pfx file. My JtR
plug-in is faster than EDPR.

@aestu: do report back your speeds with openwall.pfx. I tried running it myself and it does seem to be faster than my JtR plug-in.

Did your plugin support threads?

Definitely, performance depends on the PKCS#12 file. I tested with openwall.pfx and performance is 6175 per second:

Code:
> time ./crackpkcs12 -b -c a -m 4 -M 4 ~/PKCS#12/openwall.pfx

Brute force attack - Starting 4 threads

Min length: 4
Max length: 4
Use -m and -M flags to modify these values.

Brute force attack - Thread 1 - Starting with 4 characters passwords
Brute force attack - Thread 2 - Starting with 4 characters passwords
Brute force attack - Thread 3 - Starting with 4 characters passwords
Brute force attack - Thread 4 - Starting with 4 characters passwords

Brute force attack - Exhausted search

No password found

real    1m14.410s
user    4m23.976s
sys    0m0.032s

Since we are using a 26 letters alphabet we try 26*26*26*26~=457000 passwords. 457000/74 second ~= 6175 passwords per second.

I can achive a better performance cracking another .p12 file that I exported from an older version of Firefox. It is revoked but I can't attach it here because it is a personal certificate with my name, surname, etc... I will try to get a similar PKCS#12 sample file to attach here.
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