Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 24 Aug 2011 14:36:09 -0400 (EDT)
From: "Robert B. Harris" <rs904c@...scape.net>
To: john-users@...ts.openwall.com, john-dev@...ts.openwall.com
Subject: Terrible performance of sha512 (crypt) hash audit on/for Solaris



John-Users/John-Dev,

I compiled JtR on Solaris and ran it against some Sha512 password hashes.
This same test can't be performed on the Windows build, Linux build on Suse, Linux build on Owl, since it doesn't support the sha512 format.
----If anyone knows of a version of Linux that supports sha512 hashes, please reply to this message and let me know.---------

My Solaris builds were compilied with the latest version of gcc, version 4.6.1 and latest version of opensll, version 1.0.0d.

First, I was surprised that the sha512 passwords are worked as format=crypt (hash encoding string length 98, type id $6), and not format=raw-sha512.  (I don't know what the definition of RAW SHA512 is)
Not too long ago, it believe it was worked as format=sha512, or sha, or something like that.

Secondly, I'm very surprised at how slow my real world run is, compared to the performance test.
See, the performance I experienced below for three different builds.   Well, maybe just two builds, since omp4 and omp7 performed about the same.
Is the sha512 hash, or something else, to blame on this poor performance?
Why such a hudge difference between the test and actual?

john-1.7.8-jumbo-5-Solaris-x86-64:
bash-3.00$ ./john --format=crypt --test
Benchmarking: generic crypt(3) [?/64]... DONE
Many salts:     8108 c/s real, 8188 c/s virtual
Only one salt:  8174 c/s real, 8256 c/s virtual
bash-3.00$ ./john --format=crypt --wordlist=various.dic --session=test2 -rules test2
Loaded 5 password hashes with 5 different salts (generic crypt(3) [?/64])
guesses: 0  time: 0:00:01:07 0.00%  c/s: 171  trying: 0129936670 - 0134

john-1.7.8-jumbo-5-omp-des-4-Solaris-x86-64:
bash-3.00$ ./john --format=crypt --test
Benchmarking: generic crypt(3) [?/64]... (2xOMP) DONE
Many salts:     7152 c/s real, 6948 c/s virtual
Only one salt:  7128 c/s real, 6923 c/s virtual
./john --format=crypt --wordlist=various.dic --session=test2 -rules test2
guesses: 0  time: 0:00:00:51 0.00%  c/s: 323  trying: 0177531 - 0183072483

john-1.7.8-jumbo-5-omp-des-7-Solaris-x86-64:
bash-3.00$ ./john --format=crypt --test
Benchmarking: generic crypt(3) [?/64]... (2xOMP) DONE
Many salts:     7128 c/s real, 6923 c/s virtual
Only one salt:  7508 c/s real, 7292 c/s virtual
bash-3.00$ ./john --format=crypt --wordlist=various.dic --session=test2 -rules t              est2
Loaded 5 password hashes with 5 different salts (generic crypt(3) [?/64])
guesses: 0  time: 0:00:00:50 0.00%  c/s: 329  trying: 0183115008 - 0188640544

-Robert B. Harris from VA

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ