06-30-2012, 12:03 PM
(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.