Pcornel
Security · Symmetric Cryptography

3DES

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

Back to the Topic

Answer

3DES (Triple DES) applies DES three times with 112-bit effective security and a 64-bit block size, which makes it vulnerable to Sweet32 attacks. It is deprecated; use AES.

Remember

  • 3DES has a 64-bit block size, which enables Sweet32 attacks.
  • It is deprecated in TLS, SSH and IPsec.
  • Replace it with AES.

First checks

  • nmap --script ssl-enum-ciphers -p 443 <host> | grep -i 3des — 3DES suites
  • Get-TlsCipherSuite | ? Name -match 3DES — Windows
  • Disable 3DES (Sweet32) — action

Verify in this order

64-bit block → birthday attacks at volume

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=4689

Confirmation

Confirm action

Continue?