Pcornel
Security · Symmetric Cryptography

DES

Cheat sheet · https://pcornel.dk/topic.php?topic=4688

Back to the Topic

Answer

DES is the old Data Encryption Standard with a 56-bit key, which can be brute-forced in hours. It is broken and must not be used.

Remember

  • DES has a 56-bit key and is broken.
  • Remove it everywhere.
  • Replace with AES.

First checks

  • nmap --script ssl-enum-ciphers -p 443 <host> | grep -i des — DES in TLS
  • Legacy system inventory — where DES remains
  • Replacement plan — AES

Verify in this order

56-bit key → brute-forceable

Where it usually breaks

First mismatch in key/secret generation → storage/rotation → trust/certificate validation → protocol negotiation → cryptographic operation → peer/application verification; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4688

Confirmation

Confirm action

Continue?