Has it been Pwned
ProtocolPractical impact

MS-CHAPv2 reduced to a single DES key search

At DEF CON 20, Moxie Marlinspike and David Hulton showed that any captured MS-CHAPv2 handshake (used by PPTP VPNs and some WPA2-Enterprise setups) can be broken with one 2^56 DES key search regardless of password strength. Their chapcrack tool fed handshakes to an FPGA cracking service with a worst case of about a day.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

MS-CHAPv2 splits the 16-byte NT password hash into three DES keys to encrypt a challenge; the third key has only two unknown bytes, and the first two can be searched together, so the whole exchange collapses to a single DES exhaustion. Microsoft responded with Security Advisory 2743314 (August 2012) recommending PEAP encapsulation or a different VPN protocol.

The flaw is in how the protocol uses DES and the password hash, not in DES itself, although it is only exploitable because DES keys are 56 bits. Recovering the NT hash lets the attacker authenticate as the user (pass-the-hash) without ever learning the password.

Sources

  1. announcementMicrosoft Security Advisory 2743314: Unencapsulated MS-CHAP v2 Authentication Could Allow Information DisclosureMicrosoft, learn.microsoft.com
  2. blogWeaknesses in MS-CHAPv2 authenticationMicrosoft MSRC, microsoft.com
  3. codecrack.sh (DES / NTLMv1 / MS-CHAP cracking service)crack.sh, crack.sh