Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Point-to-Point Tunneling Protocol

From Wikipedia, the free encyclopedia
Computer network protocol
Internet protocol suite
Application layer
Transport layer
Internet layer
Link layer

ThePoint-to-Point Tunneling Protocol (PPTP) is an obsolete method for implementingvirtual private networks. PPTP has many well known security issues.

PPTP uses aTCP control channel and aGeneric Routing Encapsulation tunnel to encapsulatePPP packets. Many modern VPNs use various forms ofUDP for this same functionality.

The PPTP specification does not describeencryption orauthentication features and relies on the Point-to-Point Protocol being tunneled to implement any and all security functionalities.

The PPTP implementation that ships with theMicrosoft Windows product families implements various levels of authentication and encryption natively as standard features of the Windows PPTP stack. The intended use of this protocol is to provide security levels and remote access levels comparable with typicalVPN products.

History

[edit]

A specification for PPTP was published in July 1999 asRFC 2637[1] and was developed by a vendor consortium formed byMicrosoft,Ascend Communications (today part ofNokia),3Com, and others.

PPTP has not been proposed nor ratified as a standard by theInternet Engineering Task Force.

Description

[edit]

A PPTP tunnel is instantiated by communication to the peer onTCP port 1723. This TCP connection is then used to initiate and manage aGRE tunnel to the same peer. The PPTP GRE packet format is non standard, including a newacknowledgement number field replacing the typicalrouting field in the GRE header. However, as in a normal GRE connection, those modified GRE packets are directly encapsulated into IP packets, and seen as IP protocol number 47. The GRE tunnel is used to carry encapsulated PPP packets, allowing the tunnelling of any protocols that can be carried within PPP, includingIP,NetBEUI andIPX.

The RFC specification allows authentication using any PPP authentication method. In the Microsoft implementation, the tunneled PPP traffic can be authenticated withPAP,CHAP,MS-CHAP v1/v2,Extensible Authentication Protocol (EAP), or PEAP-MS-CHAP v2.

On Linux, thepptp program is only responsible for setting up the GRE layer. Any other process, including authentication, is the responsibility ofpppd, the PPP handler.[2]pppd can handle PAP, CHAP, MS-CHAP v1/v2, EAP (MD5-Challenge, SRP-SHA1, EAP-TLS, PEAP).[3]

Regardless of the authentication method used, PPTP (or rather, its encapsulated PPP link) can only useMicrosoft Point-to-Point Encryption, which is based on the broken RC4 with up to 128-bit key.

Security

[edit]

PPTP has been the subject of many security analyses and serious security vulnerabilities have been found in the protocol. The known vulnerabilities relate to the underlying PPP authentication protocols used, the design of theMPPE protocol as well as the integration between MPPE and PPP authentication for session key establishment.[4][5][6][7]

Authentication layer

[edit]
  • MS-CHAP-v1 is fundamentally insecure. Tools exist to trivially extract the NT Password hashes from a captured MSCHAP-v1 exchange.[8]
  • When using MS-CHAP-v1,MPPE uses the same RC4 session key for encryption in both directions of the communication flow. This can be cryptanalysed with standard methods by XORing the streams from each direction together.[9]
  • MS-CHAP-v2 is vulnerable to dictionary attacks on the captured challenge response packets. Tools exist to perform this process rapidly.[10]
  • In 2012, it was demonstrated that the complexity of a brute-force attack on a MS-CHAP-v2 key is equivalent to a brute-force attack on a singleDES key. An online service was also demonstrated which is capable of decrypting a MS-CHAP-v2 MD4 passphrase in 23 hours.[11][12]

EAP-TLS are seen as the superior authentication choice for PPTP;[13] however, it requires implementation of apublic-key infrastructure (PKI) for both client and server certificates. As such, it may not be a viable authentication option for some remote access installations. The later PEAP also offers protection against capture of password hashes and response packets (making combinations such as PEAP-MS-CHAP secure), but also requires a PKI. Most networks that use PPTP have to apply additional security measures or be deemed completely inappropriate for the modern internet environment. At the same time, doing so means negating the aforementioned benefits of the protocol to some point.[14]

Encryption layer

[edit]
  • MPPE uses theRC4 stream cipher for encryption. There is no method for authentication of the ciphertext stream and therefore the ciphertext is vulnerable to a bit-flipping attack. An attacker could modify the stream in transit and adjust single bits to change the output stream without possibility of detection. These bit flips may be detected by the protocols themselves through checksums or other means.[8]

See also

[edit]

References

[edit]
  1. ^RFC 2637.doi:10.17487/RFC2637.
  2. ^pptp(8) – Linux Programmer'sManual – Administration and Privileged Commands from Manned.org
  3. ^pppd(8) – Linux Programmer'sManual – Administration and Privileged Commands from Manned.org
  4. ^"Malware FAQ: Microsoft PPTP VPN". Retrieved2017-06-29.
  5. ^"Microsoft says don't use PPTP and MS-CHAP". Retrieved2012-11-03.
  6. ^"A death blow for PPTP". Retrieved2012-11-03.
  7. ^"Differences between PPTP and L2TP".bestvpnrating. Archived fromthe original on 14 September 2016. Retrieved7 August 2016.
  8. ^abBruce Schneier,Cryptanalysis of Microsoft's Point to Point Tunneling Protocol (PPTP)Archived 2011-06-04 at theWayback Machine.
  9. ^Bruce Schneier,Cryptanalysis of Microsoft's PPTP Authentication Extensions (MS-CHAPv2), October 19 1999.
  10. ^Wright, Joshua."Asleap". Retrieved2017-11-01.
  11. ^"Divide and Conquer: Cracking MS-CHAPv2 with a 100% success rate". Cloudcracker.com. 2012-07-29. Archived fromthe original on 2016-03-16. Retrieved2012-09-07.
  12. ^"Marlinspike demos MS-CHAPv2 crack".The Register. 2012-07-31. Retrieved2012-09-07.
  13. ^Choosing EAP-TLS or MS-CHAP v2 for User-Level Authentication, Microsoft TechNet, March 28, 2003
  14. ^"VPN Protocol Comparison: IKEv2 vs IKEv1 vs OpenVPN vs L2TP vs PPTP".VPN Unlimited Blog. 2018-05-14. Retrieved2018-06-19.

External links

[edit]
Communication protocols
Connection applications
Enterprise software
Risk vectors
VPN Services
Avast
Kape Technologies
McAfee
Tesonet
Ziff Davis
Retrieved from "https://en.wikipedia.org/w/index.php?title=Point-to-Point_Tunneling_Protocol&oldid=1314071835"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp