PPTP

PPTP (TCP 1723) authenticates with MS-CHAPv2, whose security reduces to a single DES key that is brute-forced in bounded time, so a captured PPTP handshake is cracked to recover the password or the MPPE key. PPTP is considered cryptographically broken, and a captured authentication reliably yields the credential offline.

1 phút đọccập nhật 7 thg 10, 2026florianamette1 người đóng góp
Hỏi trợ lý của bạn (MCP)Sửa trên GitHub

PPTP (Point-to-Point Tunneling Protocol, TCP 1723 with GRE for data) commonly authenticates with MS-CHAPv2, which is cryptographically broken. The MS-CHAPv2 response is derived from the NT password hash in a way that reduces, through the protocol's use of three DES operations with a known structure, to recovering a single DES key. That search is independent of the original password's strength because it targets the hash-derived protocol value. A captured handshake can therefore yield the NT hash material needed to derive the MPPE encryption keys and decrypt captured tunnel traffic. It does not inherently reveal the plaintext password; recovering that still requires a separate password-cracking step.

bash
# capture a PPTP MS-CHAPv2 handshake (on-path or by prompting a connection)
tcpdump -i eth0 -w pptp.pcap tcp port 1723 or proto gre
# extract the MS-CHAPv2 challenge/response and crack to the DES key / NT hash
chapcrack parse -i pptp.pcap                     # extracts the handshake fields
# the reduced DES keyspace is brute-forced in bounded time (historically via cloud crackers)

Exploitation notes#

  • The protocol attack is independent of password strength: MS-CHAPv2's structure reduces the relevant search to one DES key and can recover the NT hash material used to derive the MPPE keys.
  • The recovered NT hash may be usable for authentication against other systems that accept NTLM-derived credentials, but it is not the plaintext password; obtaining the password requires a separate cracking step.
  • Capture needs an on-path position or the ability to induce a connection; PPTP's control channel (1723) and GRE data are both sniffable.
  • Treat any PPTP endpoint as effectively unauthenticated-grade crypto; it is deprecated and should be assumed breakable once a handshake is observed.

Tools#

References#