hashcat Forum

Full Version: How to get DES key if I know plain text?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
hashcat can only attack hashes, not encryption.
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
DES and 3DES have been implemented:


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