Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Odd bug with hashcat-0.39 and SHA-512(Unix) hashes
06-08-2012, 12:36 AM
Post: #1
Odd bug with hashcat-0.39 and SHA-512(Unix) hashes
So I've been doing some experimentation and I've found a strange situation. Here it is:
Code:
$ for i in $(seq 1 10); do mkpasswd -m sha-512 zyx >> hashes; done

$ cat hashes
$6$WIvMbM2fDEfU141$XSFynW7bphfEJRIMXDobIbpkTWhVu8N7tQM1odLEMoXd9C8FQZKypjNinGbDh​zUvVXOLre/.DBjvpPn1xRq610
$6$avx1aGgP$Pgx3rj2/HQjxATcqiABgmTQIUE7bLT5ZSaqSclAMDAf9oDvN3Pxtljr8QRvvrn7lyG5UsNi83NANqMaY7191j.
$6$wJi7qqoUs9PrHUP$1ECzm460txKK3zv6j7ziirtZj1MkQli/FfRzZRFyNXo6otd4fLHhruKHi2PIkGwZ5eVt.Z2gWYxvVtFT09pPR.
$6$IxvaYgMFRt8bG$SVH.Y9Xam7wxZtwSb1SUz8jiV/os7yfh01LSOR9mgN8FjVxSwqzsR05UyLJln8YylRNDVDvDtpyki/YqaHex30
$6$s8e3gsgB2D$v5RyhSh8szRn5wxpqoBCoiU5QBT.q38XwIPkYJm2zX2nBX6VVOk8wZY.FKGfx7nZSD​ey1mYw9XPmqHSHI/uum/
$6$qzzOIzdCqrEvCM$wzoHAMz7GSu3Pht7v47v6WvhEE7ycOpPXeODrFOgIoTHks.QcLA3fldIpjQghO​U6XEFwslzVHBe1jgzDhm7Ge0
$6$F3c1u1wMf.UAS$.e3UfjeCmsLzO.nPazvMGtK3OEjDXoYmWpsLxtBE5wvnB25bqIsanwSDU1Neh6a​dqtVyIczxXou/qraCv/c1/.
$6$BG/w9vMqdeQ$qXA3mDRXgMOU7LfHfoyOsJxpR2Vv9jodDCYHn9wTxg6IeKT/PFuc2G2HT/32Hedqc2O/79DRx5HDUVNvnuFEz.
$6$nNFJzK.v70Ixxh$IGQeSIYRZHtKGLD21V31p6Pn60KI6ZNEihJheullr1TNu1biXH4mAr.aGbm2Ot​8G.sekyXeS3kkWbfXJw3mRl/
$6$yVqIQn/DH$xbUlRKiIKrCUB9X6Rd4u7X2mFjpNq2tTkNbGDtkljAFvLjqJEmjPQ4TZIGiU55Xn00cDsrD4xyzsO​8hdTv8ts/

$ ./hashcat-cli64.bin -a 3 -m 1800 --pw-min=3 -1 xyz hashes ?1?1?1
Initializing hashcat v0.39 by atom with 8 threads and 32mb segment-size...

NOTE: press enter for status-screen

Added hashes from file hashes: 10 (10 salts)
$6$WIvMbM2fDEfU141$XSFynW7bphfEJRIMXDobIbpkTWhVu8N7tQM1odLEMoXd9C8FQZKypjNinGbDh​zUvVXOLre/.DBjvpPn1xRq610:zyx
$6$avx1aGgP$Pgx3rj2/HQjxATcqiABgmTQIUE7bLT5ZSaqSclAMDAf9oDvN3Pxtljr8QRvvrn7lyG5UsNi83NANqMaY7191j.:z​yx
$6$s8e3gsgB2D$v5RyhSh8szRn5wxpqoBCoiU5QBT.q38XwIPkYJm2zX2nBX6VVOk8wZY.FKGfx7nZSD​ey1mYw9XPmqHSHI/uum/:zyx
$6$nNFJzK.v70Ixxh$IGQeSIYRZHtKGLD21V31p6Pn60KI6ZNEihJheullr1TNu1biXH4mAr.aGbm2Ot​8G.sekyXeS3kkWbfXJw3mRl/:zyx
$6$yVqIQn/DH$xbUlRKiIKrCUB9X6Rd4u7X2mFjpNq2tTkNbGDtkljAFvLjqJEmjPQ4TZIGiU55Xn00cDsrD4xyzsO​8hdTv8ts/:zyx
Input.Mode: Mask (?1?1?1)
Index.....: 0/1 (segment), 27 (words), 0 (bytes)
Recovered.: 5/10 hashes, 5/10 salts
Speed/sec.: 374 plains, - words
Progress..: 27/27 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--
Started: Thu Jun  7 15:08:15 2012
Stopped: Thu Jun  7 15:08:15 2012

$ ./hashcat-cli64.bin -a 3 -m 1800 --pw-min=3 -1 zyx hashes ?1?1?1
Initializing hashcat v0.39 by atom with 8 threads and 32mb segment-size...

NOTE: press enter for status-screen

Added hashes from file hashes: 10 (10 salts)
$6$avx1aGgP$Pgx3rj2/HQjxATcqiABgmTQIUE7bLT5ZSaqSclAMDAf9oDvN3Pxtljr8QRvvrn7lyG5UsNi83NANqMaY7191j.:z​yx
$6$s8e3gsgB2D$v5RyhSh8szRn5wxpqoBCoiU5QBT.q38XwIPkYJm2zX2nBX6VVOk8wZY.FKGfx7nZSD​ey1mYw9XPmqHSHI/uum/:zyx
$6$F3c1u1wMf.UAS$.e3UfjeCmsLzO.nPazvMGtK3OEjDXoYmWpsLxtBE5wvnB25bqIsanwSDU1Neh6a​dqtVyIczxXou/qraCv/c1/.:zyx
$6$nNFJzK.v70Ixxh$IGQeSIYRZHtKGLD21V31p6Pn60KI6ZNEihJheullr1TNu1biXH4mAr.aGbm2Ot​8G.sekyXeS3kkWbfXJw3mRl/:zyx
$6$yVqIQn/DH$xbUlRKiIKrCUB9X6Rd4u7X2mFjpNq2tTkNbGDtkljAFvLjqJEmjPQ4TZIGiU55Xn00cDsrD4xyzsO​8hdTv8ts/:zyx
Input.Mode: Mask (?1?1?1)
Index.....: 0/1 (segment), 27 (words), 0 (bytes)
Recovered.: 5/10 hashes, 5/10 salts
Speed/sec.: 344 plains, - words
Progress..: 27/27 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--
Started: Thu Jun  7 15:08:25 2012
Stopped: Thu Jun  7 15:08:25 2012

So I create 10 SHA-512 hashes that are all made from 'zyx' and throw them into a file called 'hashes'. Then I execute hashcat brute-force with very specific character sets, and it only gets about half of them. I then try it with the character set reversed, and it gets only half of them, but not the same ones. I've tried this with a single word wordlist of 'zyx' and it still only gets half of them. I've tried this with the 32 bit binary and it doesn't get any of them.

I've tried this a bunch of times with a bunch of different hashes, more than the 10 seen here, and it only is able to solve it about 50% of the time.

I'm running this on a Debian Sid installation, 3.2.0-2-amd64

This seems like a pretty bad bug or am I doing something wrong?
Find all posts by this user
Quote this message in a reply
06-08-2012, 09:28 AM
Post: #2
RE: Odd bug with hashcat-0.39 and SHA-512(Unix) hashes
what driver do you have installed?
Find all posts by this user
Quote this message in a reply
06-08-2012, 10:34 AM
Post: #3
RE: Odd bug with hashcat-0.39 and SHA-512(Unix) hashes
I can reproduce it. I am pretty busy with oclHashcat, it might take some time to fix it. Many thanks for report!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-08-2012, 04:47 PM
Post: #4
RE: Odd bug with hashcat-0.39 and SHA-512(Unix) hashes
No problem. Thanks for Hashcat. Smile
Find all posts by this user
Quote this message in a reply
Post Reply