HMAC-SHA1 with binary Key
#2
There are 2 things that need to be done to make this work.

#1: Just use the hex of the key and then use the --hex-salt flag to read it into hashcat. It will make you life so much easier.

#2: Unicode.GetBytes("hashcat")); is NOT going to give you back just the literal string "hashcat". It is going to give you Unicode bytes, which would mean "hashcat" becomes "h[NULL]a[NULL]s[NULL]h[NULL]c[NULL]a[NULL]t[NULL]" or in hex, "68617368636174" would become "6800610073006800630061007400".

Your hash with it's given key written in hex and used with --hex-flag, will crack just fine if given the correct unicode plaintext:
30263e435f8ce1b2fcdb9c559941783e337d2168:548afbb1fff2e98e2483209cf891546db5be25ef04868d2dd7c8c673d6c5826e:$HEX[6800610073006800630061007400]

Or even given the raw key:
30263e435f8ce1b2fcdb9c559941783e337d2168:Tèv¦ =TÄ$â £°æTm¦+%n?åì-++¦s++én:$HEX[6800610073006800630061007400]


Messages In This Thread
HMAC-SHA1 with binary Key - by vinicius.vbf - 10-16-2017, 02:32 AM
RE: HMAC-SHA1 with binary Key - by Chick3nman - 10-16-2017, 06:03 AM
RE: HMAC-SHA1 with binary Key - by philsmd - 10-16-2017, 07:33 AM
RE: HMAC-SHA1 with binary Key - by vinicius.vbf - 10-17-2017, 03:12 AM