hashcat Forum
How to get DES key if I know plain text? - 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: How to get DES key if I know plain text? (/thread-5582.html)



How to get DES key if I know plain text? - 1010 - 07-01-2016

Could someone please advice what would be the command to run hashcat to get DES key with Cuda?
I know the plain text 

char[8] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 }

I know the encrypted hex bytes

char[8] = { 0x11, 0x22, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF }

and I would like to find the DES key which was used to encrypt the plain text. The DES key is 8 bytes but I know that the last byte is 0x00 and that every 8th bit in previous bytes is parity bit. So I'm looking for 49^2 unknown key. Can this be done with hashcat?
Thanks!


RE: How to get DES key if I know plain text? - undeath - 07-02-2016

hashcat can only attack hashes, not encryption.


RE: How to get DES key if I know plain text? - atom - 07-04-2016

There's a request for that: https://github.com/hashcat/hashcat/issues/129 you can +1 it if you want

A known-plaintext attack is possible for limited ciphers like DES and RC4-40


RE: How to get DES key if I know plain text? - royce - 08-30-2016

DES and 3DES have been implemented:

https://github.com/hashcat/hashcat/commit/71a8459d851d246945343ea59effa1d46b965bf8

Beta binaries are here: https://hashcat.net/beta/


RE: How to get DES key if I know plain text? - kiara - 08-31-2016

greats!