which is the correct salt file format? - Printable Version
+- hashcat Forum (http://hashcat.net/forum)
+-- Forum: Support (/forum-3.html)
+--- Forum: hashcat (/forum-20.html)
+--- Thread: which is the correct salt file format? (/thread-943.html)
Pages: 1 2
which is the correct salt file format? - tlc - 02-21-2012 03:01 PM
I have a single password (00000000) and its' corresponding SHA256 hash (CAE201A8B791CA25B81B04876CACD62897883EE4C1907D2BD51D5671FEEC7562) and I am trying to find the salt. I expect that the salt is 8 bytes long and that each byte can vary from 00 to 09. So I have generated a salt file consisting in 8 byte combinations of 00-09 values. Examples:
.....and so on
Next, I fire up the hashcat command (trying to feed the salts to the single hash):
but I notice that the salts are NOT used:
Wham am I doing wrong and how can I feed the salt file to the program?
Also how can I tell the program the format for the password and salt? (salt-password or password-salt)
RE: which is the correct salt file format? - atom - 02-21-2012 03:09 PM
Is the salt left or right side of the plaintext?
RE: which is the correct salt file format? - mastercracker - 02-21-2012 03:14 PM
The quick answer is probably that since the mode 1400 don't use salts, the salt file does not get loaded and used. As for a solution for this, you could try oclHashcat-plus with rules that prepend or append your salts. However the problem would be the length so I don't have a real solution.
RE: which is the correct salt file format? - tlc - 02-21-2012 03:54 PM
@atom: the plaintext represents only the salts (each per row):
am I making a mistake here?
@mastercracker: the problem is that I don't possess a compatible GPU that would enable the use of oclHashcat... so I have to do it using hashcat...
thank you for your fast answers!
RE: which is the correct salt file format? - atom - 02-21-2012 04:15 PM
you said something about 8 byte salts but each line of your salt.txt has 16 byte.
please also not that hashcat is not able to do hex-salts - only oclHashcat-* can do that.
RE: which is the correct salt file format? - tlc - 02-21-2012 04:31 PM
Yes, I used the hex format for the salt file (two characters for one byte). I didn't know that it does not work with hashcat...
Is there any way in which I could feed "binary" salts to hashcat? (more like a hybrid text-binary file, in which each line consists of 8 bytes with 0 to 9 ASCII values in it).
RE: which is the correct salt file format? - atom - 02-21-2012 08:44 PM
only 1 to 9
RE: which is the correct salt file format? - tlc - 02-22-2012 10:03 AM
To verify that I understood you right, could you tell me if my statements are correct (inside the following image)?
RE: which is the correct salt file format? - atom - 02-22-2012 10:41 AM
RE: which is the correct salt file format? - tlc - 02-23-2012 01:02 PM
Ok. I borrowed an AMD HD 5550 video card, so now I can use oclHashcat.
Please advise how the proper command line should look in order to crack this one:
- a SHA256 hash (such as CAE201A8B791CA25B81B04876CACD62897883EE4C1907D2BD51D5671FEEC7562)
- with an appended salt of Hex value 00 00 00 00 00 00 00 00 (8 bytes with 0 ASCII value)
- with decimal charset
- password length: 8 chars
How should I specify the above-mentioned salt to the program? I can only find the --hex-salt option, but no parameter to feed the salt...