hashcat Forum
DES-ECB Numeric Key Search - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: DES-ECB Numeric Key Search (/thread-6748.html)



DES-ECB Numeric Key Search - Room641A - 08-03-2017

I was wondering if I could conduct a numeric only search when using -m 14000 instead of searching through the entire keyspace?

Test Example (DES-ECB):
Key: 6891082025701013 (randomly made up)
PT: 4B0A161F0BAB3CD4
CT: B384B7B51C1D5073

If I run -m 14000 (CTTongueT) -a 3 -1 charsets/DES_full.charset --hex-charset ?1?1?1?1?1?1?1?1 -o cracked.txt -w 3, it is telling me it would take 3 weeks for a 100% search.

If I know the test key only uses numeric values that cuts the variables to 50^8 vs 128^8, a huge difference.


RE: DES-ECB Numeric Key Search - philsmd - 08-03-2017

just use -1 charsets/DES_special/DES_numeral.charset


RE: DES-ECB Numeric Key Search - Room641A - 08-03-2017

(08-03-2017, 07:48 AM)philsmd Wrote: just use -1 charsets/DES_special/DES_numeral.charset

I am missing something. It's exhausting too quick with no results and the candidates #1 and #2 do not look correct. My hash is correct and it is my key so I'm right on my variables. 

I'm using the following for my command line:
-m 14000 [ct pt] -a 3 -1 charsets/DES_special/DES_numeral.charset ?1?1?1?1?1?1?1?1 -w 3

If I replace the DES numeral charset with the  DES full charset and add --hex-charset it launches fine. Is the mask defined differently for the DES numeral charset?

Thanks for your reply.


RE: DES-ECB Numeric Key Search - philsmd - 08-03-2017

you still need to use --hex-charset also for charsets/DES_special/DES_numeral.charset since the charset is in hexadecimal format