Feeds

Marlinspike demos MS-CHAPv2 crack

‘The strength of a single DES encryption’ not enough

Securing Web Applications Made Simple and Scalable

Security researcher Moxie Marlinspike has turned his attention to VPNs based on Microsoft’s MS-CHAPv2 protocol, demonstrating software at Defcon that can capture and crack passwords.

Chapcrack parses the credential information out of MS-CHAPv2 handshakes, which are then sent to Cloudcracker. Cloudcracker will then return a packet that can be decrypted by Chapcrack to recover the password.

As noted by ThreatPost, MS-CHAPv2 is an old protocol that should have been replaced, but hasn’t: criticisms go back as far as 1999.

Marlinspike writes in this blog post, “It shows up most notably in PPTP VPNs, and is also used quite heavily in WPA2 Enterprise environments”.

There is, he writes, “only one unknown in the entire protocol – the MD4 hash of the user’s passphrase, which is used to construct three separate DES keys”. Since the MD4 hash of a user’s password “is enough to authenticate as them”, Marlinspike and collaborator David Hulton of Pico computing made this the focus of Chapcrack.

While El Reg doesn’t propose reproducing Marlinspike’s technical explanation in full, it’s worth a read, if only for the reasoning behind how the attack works: from what looks like a seriously difficult computational task, he and Hulton winnow the problem down to a complexity of 256: “the security of MS-CHAPv2 can be reduced to the strength of a single DES encryption” [original emphasis].

Pico Computing’s key contribution to the effort is in the form of an FPGA-based box that can “crack any MS-CHAPv2 handshake in less than a day”, Marlinspike writes.

Marlinspike says that MS-CHAPv2 should be purged from the Internet, advising that PPTP traffic “should be considered unencrypted”, and that MS-CHAPv2 enterprise users should begin migrating – now. ®

The smart choice: opportunity from uncertainty

More from The Register

next story
BMW's ConnectedDrive falls over, bosses blame upgrade snafu
Traffic flows up 20% as motorway middle lanes miraculously unclog
Putin: Crack Tor for me and I'll make you a MILLIONAIRE
Russian Interior Ministry offers big pile o' roubles for busting pro-privacy browser
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
Don't look, Snowden: Security biz chases Tails with zero-day flaws alert
Exodus vows not to sell secrets of whistleblower's favorite OS
Roll out the welcome mat to hackers and crackers
Security chap pens guide to bug bounty programs that won't fail like Yahoo!'s
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.