IPv6 maintenance Working Group (6man) Updates: 3971, 4861 (if approved) January 12, 2012 Intended status: Standards Track Expires: July 15, 2012

Similar documents
Internet Engineering Task Force (IETF) Updates: 3971, 4861 August 2013 Category: Standards Track ISSN:

Internet Engineering Task Force (IETF) Category: Standards Track. J. Halpern Ericsson E. Levy-Abegnoli, Ed. Cisco February 2017

Internet Engineering Task Force (IETF) Alcatel-Lucent August DHCPv6-Shield: Protecting against Rogue DHCPv6 Servers

Internet Engineering Task Force (IETF) Category: Standards Track. H. Li Huawei Technologies June 2013

Secure Neighbor Discovery. By- Pradeep Yalamanchili Parag Walimbe

Internet Engineering Task Force (IETF) Category: Standards Track ISSN: January Neighbor Unreachability Detection Is Too Impatient

Operational Security Capabilities for IP Network Infrastructure

See Also: 1201 January 1999 Category: Standards Track

Expiration Date: August 2003 February Access Control Prefix Router Advertisement Option for IPv6 draft-bellovin-ipv6-accessprefix-01.

Internet Engineering Task Force (IETF) Category: Standards Track. Enterprise Architects February 2012

Updates: 2710 September 2003 Category: Standards Track. Source Address Selection for the Multicast Listener Discovery (MLD) Protocol

Internet Engineering Task Force (IETF) Orange S. Madanapalli NTT Data March IPv6 Router Advertisement Options for DNS Configuration

Internet Engineering Task Force (IETF) Request for Comments: 8191 Category: Standards Track. X. Lee CNNIC. August 2017

Internet Engineering Task Force (IETF) Category: Standards Track

SECURE ROUTER DISCOVERY MECHANISM TO OVERCOME MAN-IN THE MIDDLE ATTACK IN IPV6 NETWORK

Internet Engineering Task Force (IETF) Category: Informational August 2010 ISSN: IPv6 Deployment in Internet Exchange Points (IXPs)

Internet Engineering Task Force (IETF) S. Jiang Huawei Technologies Co., Ltd June The Secure Neighbor Discovery (SEND) Hash Threat Analysis

Internet Engineering Task Force (IETF) Request for Comments: 7078 Category: Standards Track. University of Southampton January 2014

Internet Engineering Task Force (IETF) Category: Best Current Practice. Cisco Systems July IPv6 Prefix Length Recommendation for Forwarding

Internet Engineering Task Force (IETF) Category: Informational. February Rogue IPv6 Router Advertisement Problem Statement

Results of a Security Assessment of the Internet Protocol version 6 (IPv6)

Internet Engineering Task Force (IETF) ISSN: December 2017

Internet Engineering Task Force (IETF) Request for Comments: 7527 Updates: 4429, 4861, 4862

IPv6 Traffic Hijack Test System and Defense Tools Using DNSSEC

Internet Engineering Task Force (IETF) Category: Informational. Juniper Networks May 2017

Internet Engineering Task Force (IETF) Category: Standards Track. G. Zorn, Ed. Network Zen D. Miles Google B. Lourdelet Juniper Networks April 2013

Internet Engineering Task Force (IETF) Request for Comments: 7213 Category: Standards Track. M. Bocci Alcatel-Lucent June 2014

Internet Engineering Task Force (IETF) Category: Standards Track April 2013 ISSN: Formally Deprecating Some ICMPv4 Message Types

Network Working Group. Societe Francaise du Radiotelephone(SFR) Intended status: Informational Expires: March 28, 2019

Recent IPv6 Security Standardization Efforts. Fernando Gont

Recent Advances in IPv6 Security. Fernando Gont

Internet Engineering Task Force (IETF) Request for Comments: M. Bonola Rome Tor Vergata University A. Garcia-Martinez UC3M February 2012

Internet Engineering Task Force (IETF) Category: Informational. T. Anderson Redpill Linpro January 2017

Internet Engineering Task Force (IETF) Request for Comments: 6441 BCP: 171 November 2011 Category: Best Current Practice ISSN:

Category: Experimental SAMSUNG Electronics L. Beloeil France Telecom R&D S. Madanapalli Ordyn Technologies September 2007

Operational Security Capabilities for IP Network Infrastructure. Internet-Draft March 30, 2008 Intended status: Informational Expires: October 1, 2008

Request for Comments: 2464 Obsoletes: 1972 December 1998 Category: Standards Track. Transmission of IPv6 Packets over Ethernet Networks

Network Working Group. Intended status: Informational. H. Deng. China Mobile. July 4, 2014

Security Considerations for IPv6 Networks. Yannis Nikolopoulos

IPv6 Security Training Course

Internet Engineering Task Force (IETF) June Network Time Protocol (NTP) Server Option for DHCPv6

Internet Engineering Task Force (IETF) ISSN: February 2014

Une attaque par rejeu sur le protocole SEND

Internet Engineering Task Force (IETF) Request for Comments: Category: Informational. R. White. D. McPherson Verisign, Inc.

Category: Standards Track March 2009

Internet Engineering Task Force (IETF) Request for Comments: Microsoft May Packet-Loss Resiliency for Router Solicitations

Request for Comments: 3971 Category: Standards Track. DoCoMo Communications Labs USA B. Zill Microsoft P. Nikander. Ericsson.

IPv6 Specifications to Internet Standard

Internet-Draft Intended status: Standards Track July 4, 2014 Expires: January 5, 2015

Internet Engineering Task Force (IETF) Request for Comments: 8475 Category: Informational. October 2018

P. van der Stok. Intended status: Informational Expires: October 10, April 8, 2014

Network Working Group Request for Comments: 4890 Category: Informational NIIF/HUNGARNET May 2007

Request for Comments: 1972 Category: Standards Track August A Method for the Transmission of IPv6 Packets over Ethernet Networks

Monitoring the Neighbor Discovery Protocol

Internet-Draft Intended status: Standards Track Expires: January 1, 2019 June 30, 2018

Internet Engineering Task Force (IETF) Request for Comments: 6028 Category: Experimental ISSN: October 2010

Recent Advances in IPv6 Security. Fernando Gont

Internet Engineering Task Force. Intended status: Standards Track. June 7, 2014

Request for Comments: 2467 Obsoletes: 2019 December 1998 Category: Standards Track. Transmission of IPv6 Packets over FDDI Networks

Network Working Group. Category: Informational Comcast J. Paugh Nominum, Inc. September 2007

Guide to TCP/IP Fourth Edition. Chapter 6: Neighbor Discovery in IPv6

IPv6 Security (Theory vs Practice) APRICOT 14 Manila, Philippines. Merike Kaeo

INTERNET-DRAFT IP Version 6 over PPP February Table of Contents. 1. Introduction Specification of Requirements...

Mobile Ad-hoc Networks. Intended status: Informational July 16, 2012 Expires: January 17, 2013

Results of a security assessment of the TCP and IP protocols and common implementation strategies

Intended status: Standards Track Expires: April 26, 2012 Y. Ma Beijing University of Posts and Telecommunications October 24, 2011

1. Introduction. Carpenter, Jung Expires June 1999 [Page 2] ^L. Internet Draft Transmission of IPv6 Packets over IPv4 Dec 1998

IP CONSORTIUM TEST SUITE Internet Protocol, Version 6

Internet Engineering Task Force (IETF) Updates: 792, 1122, 1812 May 2012 Category: Standards Track ISSN:

Recent Advances in IPv6 Security. Fernando Gont

Recent Advances in IPv6 Security. Fernando Gont

Recent Advances in IPv6 Security. Fernando Gont

Intended status: Standards Track. May 21, Assigned BGP extended communities draft-ietf-idr-reserved-extended-communities-03

Intended status: Standards Track. K. Patel Cisco J. Haas Juniper Networks June 30, 2014

Internet Engineering Task Force. Intended status: Standards Track. February 23, 2015

Updates: 4448 (if approved) Intended status: Standards Track Expires: January 3, 2019 July 02, 2018

B. Carpenter. January Connection of IPv6 Domains via IPv4 Clouds without Explicit Tunnels. Copyright Notice

Internet Engineering Task Force (IETF) Request for Comments: Category: Best Current Practice ISSN: March 2017

IPv6 Neighbor Discovery

Intended status: Informational. October 22, Requirements for Scalable DNS-SD/mDNS Extensions draft-lynn-dnssd-requirements-00

Internet Engineering Task Force (IETF) Request for Comments: 8065 Category: Informational February 2017 ISSN:

jumbo6 v1.2 manual pages

February Copyright (c) 2009 IETF Trust and the persons identified as the document authors. All rights reserved.

Intended status: Informational Expires: March 7, 2019 Huawei Technologies N. Leymann Deutsche Telekom G. Swallow Independent September 3, 2018

Network Working Group Request for Comments: 4242 Category: Standards Track University of Southampton B. Volz Cisco Systems, Inc.

Internet Engineering Task Force (IETF) G. Daley Netstar Logicalis July Securing Neighbor Discovery Proxy: Problem Statement

Internet Engineering Task Force

Request for Comments: 5498 Category: Standards Track March IANA Allocations for Mobile Ad Hoc Network (MANET) Protocols

Remember Extension Headers?

Internet Engineering Task Force

IPv6 Security. David Kelsey (STFC-RAL) IPv6 workshop pre-gdb, CERN 7 June 2016

IPv6 Prefix Delegation for Hosts. Fred L. Templin IETF100 v6ops Working Group November 16, 2017

IPv6 maintenance Working Group (6man) Intended status: Informational. M. Garcia Corbo SITRANS C. Huitema Private Octopus Inc.

IPv6 Associated Protocols. Athanassios Liakopoulos 6DEPLOY IPv6 Training, Skopje, June 2011

IPv6 Security 111 Short Module on Security

Updates: 6126 May 2015 Category: Experimental ISSN: Extension Mechanism for the Babel Routing Protocol

Intended status: Informational. Intel Corporation P. Seite. France Telecom - Orange. February 14, 2013

Internet Engineering Task Force (IETF) Request for Comments: November 2015

IPv6 CONSORTIUM TEST SUITE Address Architecture Conformance Test Specification

B. Carpenter. Updates: 2460, 2780 (if approved) Expires: February 15, 2013 August 14, 2012

Transcription:

IPv6 maintenance Working Group (6man) F. Gont Internet-Draft UK CPNI Updates: 3971, 4861 (if approved) January 12, 2012 Intended status: Standards Track Expires: July 15, 2012 Security Implications of the Use of IPv6 Extension Headers with IPv6 Neighbor Discovery draft-gont-6man-nd-extension-headers-02 Abstract This document analyzes the security implications of using IPv6 Extension Headers with Neighbor Discovery (ND) messages. It updates RFC 4861 such that use of the IPv6 Fragmentation Header is forbidden in all Neighbor Discovery messages, thus allowing for simple and effective counter-measures for Neighbor Discovery attacks. Finally, it discusses the security implications of using IPv6 fragmentation with SEcure Neighbor Discovery (SEND), and provides advice such that the aforementioned security implications are mitigated. Status of this Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. This document may not be modified, and derivative works of it may not be created, and it may not be published except as an Internet-Draft. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on July 15, 2012. Copyright Notice Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust s Legal Provisions Relating to IETF Documents Gont Expires July 15, 2012 [Page 1]

(http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction......................... 3 2. Traditional Neighbor Discovery and IPv6 Fragmentation.... 5 3. SEcure Neighbor Discovery (SEND) and IPv6 Fragmentation... 6 4. Specification........................ 7 5. Security Considerations................... 8 6. Acknowledgements....................... 9 7. References.......................... 10 7.1. Normative References................... 10 7.2. Informative References.................. 10 Appendix A. Changes from previous versions of the draft (to be removed by the RFC Editor before publication of this document as a RFC.............. 12 A.1. Changes from draft-gont-6man-nd-extension-headers-01... 12 A.2. Changes from draft-gont-6man-nd-extension-headers-00... 12 Author s Address......................... 13 Gont Expires July 15, 2012 [Page 2]

1. Introduction The Neighbor Discovery Protocol (NDP) is specified in RFC 4861 [RFC4861] and RFC 4862 [RFC4862]. It is used by both hosts and routers. Its functions include Neighbor Discovery (ND), Router Discovery (RD), Address Autoconfiguration, Address Resolution, Neighbor Unreachability Detection (NUD), Duplicate Address Detection (DAD), and Redirection. Many of the possible attacks against the Neighbor Discovery Protocol are discussed in detail in [RFC3756]. In order to mitigate the aforementioned possible attacks, the SEcure Neighbor Discovery (SEND) was standardized. SEND employs a number of mechanisms to certify the origin of Neighbor Discovery packets and the authority of routers, and to protect Neighbor Discovery packets from being the subject of modification or replay attacks. However, a number of factors, such as the use of trust anchors and the unavailability of SEND implementations for many widely-deployed operating systems, make SEND hard to deploy [Gont-DEEPSEC2011]. Thus, in many general scenarios it may be necessary and/or convenient to use other mitigation techniques for NDP-based attacks. The following "lightweight" mitigations are currently available for NDP attacks: o Layer-2 filtering of Neighbor Discovery packets (such as RA-Guard [RFC6105]) o Neighbor Discovery monitoring tools (e.g., such as NDPMon [NDPMon]) IPv6 Router Advertisement Guard (RA-Guard) is a mitigation technique for attack vectors based on ICMPv6 Router Advertisement messages. It is meant to block attack packets at a layer-2 device before the attack packets actually reach the target nodes. [RFC6104] describes the problem statement of "Rogue IPv6 Router Advertisements", and [RFC6105] specifies the "IPv6 Router Advertisement Guard" functionality. Tools such as NDPMon [NDPMon] and ramond [ramond] aim at monitoring Neighbor Discovery traffic in the hopes of detecting possible attacks when there are discrepancies between the information advertised in Neighbor Discovery packets and the information stored on a local database. A key challenge that these mitigation or monitoring techniques face is that introduced by IPv6 fragmentation, since it is trivial for an attacker to conceal his attack by fragmenting his packets into Gont Expires July 15, 2012 [Page 3]

multiple fragments. This may limit or even eliminate the effectiveness of the aforementioned mitigation or monitoring techniques. Recent work [CPNI-IPv6] indicates that current implementations of the aforementioned "lightweight" mitigations for NDP attacks can be trivially evaded. For example, as noted in [I-D.gont-v6ops-ra-guard-implementation], current RA-Guard implementations can be trivially evaded by fragmenting the attack packets into multiple fragments, such that the layer-2 device cannot find all the necessary information to perform packet filtering in the same packet. While Neighbor Discovery monitoring tools could (in theory implement IPv6 fragment reassembly, this is usually an armsrace with the attacker (an attacker generate lots of forged fragments to "confuse" the monitoring tools), and therefore the aforementioned tools are unreliable for the detection of such attacks. Section 2 analyzes the use of IPv6 fragmentation in traditional Neighbor discovery. Section 3 analyzes the use of IPv6 fragmentation in SEcure Neighbor Discovery (SEND). Section 4 formally updates RFC 4861 such that use of the IPv6 Fragment Header with traditional Neighbor Discovery is forbidden, and provides advice on the use of IPv6 fragmentation with SEND. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. Gont Expires July 15, 2012 [Page 4]

2. Traditional Neighbor Discovery and IPv6 Fragmentation The only potential use case for IPv6 fragmentation with traditional (i.e., non-send) IPv6 Neighbor Discovery would be that in which a Router Advertisement must include a large number of options (Prefix Information Options, Route Information Options, etc.). However, this could still be achieved without employing fragmentation, by splitting the aforementioned information into multiple Router Advertisement messages. Some Neighbor Discovery implementations are known to silently ignore Router Advertisement messages that employ fragmentation. Therefore, splitting the necessary information into multiple RA messages (rather than sending a large RA message that is fragmented into multiple IPv6 fragments) is probably desirable even from an interoperability point of view. As a result of the aforementioned considerations, and since avoiding the use of IPv6 fragmentation in traditional Neighbor Discovery would greatly simplify and improve the effectiveness of monitoring and filtering ND, Section 4 specifies that hosts silently ignore traditional Neighbor Discovery messages (i.e., those specified in [RFC4861]) that employ IPv6 fragmentation. Gont Expires July 15, 2012 [Page 5]

3. SEcure Neighbor Discovery (SEND) and IPv6 Fragmentation SEND packets typically carry more information than traditional Neighbor Discovery packets: for example, they include additional options such as the CGA option and the RSA signature option. In the case of Neighbor Discovery messages specified in [RFC4861], the situation is roughly the same: if more information than would fit in a non-fragmented Neighbor Discovery packet needs to be sent, it should be split into multiple Neighbor Discovery messages (such that IPv6 fragmentation is avoided). However, Certification Path Advertisement messages (specified in [RFC3971]) pose a different situation, since the Certificate Option they include contain much more information than any other Neighbor Discovery option. For example, Appendix C of [RFC3971] reports Certification Path Advertisement messages from 1050 to 1066 bytes on an Ethernet link layer. Since the aforementioned packet sizes are close to the minimum IPv6 MTU (1280 bytes), we note that IPv6 fragmentation must still be allowed for Certificate Path Advertisement messages. It should be noted that relying on fragmentation opens the door to a variety of IPv6 fragmentation-based attacks. In particular, if an attacker is located on the same broadcast domain as the victim host, and Certification Path Advertisement messages employ IPv6 fragmentation, it would be trivial for the attacker to forge IPv6 fragment such that they result in "Fragment ID collisions", causing both the attack fragments and the legitimate fragments to be discarded by the victim node. This would eventually cause the Authorization Delegation Discovery to fail, thus leading the host to fall back (depending to local configuration) either to unsecured mode, or to reject the corresponding Router Advertisement messages (possibly resulting in a Denial of Service). Gont Expires July 15, 2012 [Page 6]

4. Specification Nodes SHOULD NOT employ IPv6 fragmentation for sending any of the following Neighbor Discovery and SEcure Neighbor Discovery messages: Neighbor Solicitation, Neighbor Advertisement, Router Solicitation, Router Advertisement, Redirect, Certification Path Solicitation, and Certification Path Advertisement. Nodes SHOULD silently ignore the following Neighbor Discovery and SEcure Neighbor Discovery messages if the packets carrying them include an IPv6 Fragmentation Header: Neighbor Solicitation, Neighbor Advertisement, Router Solicitation, Router Advertisement, Redirect, and Certification Path Solicitation. Nodes SHOULD normally process Certification Path Advertisement messages that employ IPv6 fragmentation. Gont Expires July 15, 2012 [Page 7]

5. Security Considerations The IPv6 Fragmentation Header can be leveraged to circumvent network monitoring tools and current implementations of mechanisms such as RA-Guard [I-D.gont-v6ops-ra-guard-implementation]. By updating the relevant specifications such that the IPv6 Fragment Header is not allowed in any Neighbor Discovery messages except "Certification Path Advertisement", protection of local nodes against Neighbor Discovery attacks, and monitoring of Neighbor Discovery traffic is greatly simplified. [I-D.gont-v6ops-ra-guard-implementation] discusses an improvement to the RA-Guard mechanism that can mitigate Neighbor Discovery attacks that employ IPv6 Fragmentation. However, it should be noted that unless [RFC4861] is updated (as proposed in this document), Neighbor Discovery monitoring tools (such as NDPMon [NDPMon]) would remain unreliable and trivial to circumvent by a skilled attacker. As noted in Section 3, use of SEND could potentially result in fragmented "Certification Path Advertisement" messages, thus allowing an attacker to employ IPv6 fragmentation-based attacks against such messages. Therefore, to the extent that is possible, such use of fragmentation should be avoided. Gont Expires July 15, 2012 [Page 8]

6. Acknowledgements The author would like to thank (in alphabetical order) Mikael Abrahamsson, Ran Atkinson, Jean-Michel Combes, David Farmer, Bob Hinden, Philip Homburg, Ray Hunter, Arturo Servin, and Mark Smith, for providing valuable comments on earlier versions of this document. This document resulted from the project "Security Assessment of the Internet Protocol version 6 (IPv6)" [CPNI-IPv6], carried out by Fernando Gont on behalf of the UK Centre for the Protection of National Infrastructure (CPNI). The author would like to thank the UK CPNI, for their continued support. Gont Expires July 15, 2012 [Page 9]

7. References 7.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC3971] Arkko, J., Kempf, J., Zill, B., and P. Nikander, "SEcure Neighbor Discovery (SEND)", RFC 3971, March 2005. [RFC4861] Narten, T., Nordmark, E., Simpson, W., and H. Soliman, "Neighbor Discovery for IP version 6 (IPv6)", RFC 4861, September 2007. [RFC4862] Thomson, S., Narten, T., and T. Jinmei, "IPv6 Stateless Address Autoconfiguration", RFC 4862, September 2007. 7.2. Informative References [RFC3756] Nikander, P., Kempf, J., and E. Nordmark, "IPv6 Neighbor Discovery (ND) Trust Models and Threats", RFC 3756, May 2004. [RFC6104] Chown, T. and S. Venaas, "Rogue IPv6 Router Advertisement Problem Statement", RFC 6104, February 2011. [RFC6105] Levy-Abegnoli, E., Van de Velde, G., Popoviciu, C., and J. Mohacsi, "IPv6 Router Advertisement Guard", RFC 6105, February 2011. [NDPMon] [ramond] "NDPMon - IPv6 Neighbor Discovery Protocol Monitor", <http://ndpmon.sourceforge.net/>. "ramond", <http://ramond.sourceforge.net/>. [I-D.gont-v6ops-ra-guard-implementation] Gont, F., "Implementation Advice for IPv6 Router Advertisement Guard (RA-Guard)", draft-gont-v6ops-ra-guard-implementation-00 (work in progress), January 2012. [CPNI-IPv6] Gont, F., "Security Assessment of the Internet Protocol version 6 (IPv6)", UK Centre for the Protection of National Infrastructure, (available on request). [Gont-DEEPSEC2011] Gont, "Results of a Security Assessment of the Internet Gont Expires July 15, 2012 [Page 10]

Protocol version 6 (IPv6)", DEEPSEC 2011 Conference, Vienna, Austria, November 2011, <http:// www.si6networks.com/presentations/deepsec2011/ fgont-deepsec2011-ipv6-security.pdf>. Gont Expires July 15, 2012 [Page 11]

Appendix A. Changes from previous versions of the draft (to be removed by the RFC Editor before publication of this document as a RFC A.1. Changes from draft-gont-6man-nd-extension-headers-01 o The I-D now forbids only the Fragment Header (rather than all Extension Headers) with most ND packets. o A discussion of the use of IPv6 fragmentation with ND and SEND was added. o Text was added noting that if SEND traffic is fragmented, this would open the door to fragmentation-based attacks, which would lead to trivial DoS attacks. o Minor editorial changes A.2. Changes from draft-gont-6man-nd-extension-headers-00 o The Security Considerations section now notes that unless IPv6 extension headers are not allowed with Neighbor Discovery messages, monitoring ND traffic and/or mitigating ND vulnerabilities might result in increased complexity and/or reduced performance. o Minor editorial changes Gont Expires July 15, 2012 [Page 12]

Author s Address Fernando Gont Centre for the Protection of National Infrastructure Email: fernando@gont.com.ar URI: http://www.cpni.gov.uk Gont Expires July 15, 2012 [Page 13]