TOC |
|
This document specifies an extension to the Neighbor Discovery Protocol (NHDP) which uses cryptographic signatures in HELLO messages to encounter a selection of security threats to NHDP.
This Internet-Draft is submitted to IETF in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.
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.”
The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.
This Internet-Draft will expire on May 16, 2010.
Copyright (c) 2009 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 (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 BSD License.
This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English.
1.
Introduction
2.
Terminology
3.
Applicability Statement
4.
Protocol Overview and Functioning
5.
Transmitting a message in NHDP
6.
Signing a Message
7.
Processing a Message in NHDP
8.
Validating a Timestamp
9.
Validating a Signature
10.
Parameters and Constants
11.
Preconditions
12.
Summary of NHDP Interaction
13.
Security Threats Alleviation Analysis
13.1.
Jamming
13.2.
Identity Spoofing
13.3.
Link Spoofing
13.4.
Replay Attack
14.
IANA Considerations
15.
Security Considerations
16.
Normative References
§
Authors' Addresses
TOC |
This document describes how to use cryptographic signatures for countering a selection of the security threats analyzed in [NHDP‑sec‑threats] (Herberg, U. and T. Clausen, “Security Threats for NHDP,” November 2009.). It specifies the use of such signatures for validating the identity of the originator of a HELLO message, the validity of the content (i.e. links being advertised) of a HELLO message, and the message integrity. The protection so offered against the threats in [NHDP‑sec‑threats] (Herberg, U. and T. Clausen, “Security Threats for NHDP,” November 2009.) is evaluated.
This document specifies TLVs for carrying cryptographic signatures in HELLO messages using [RFC5444] (Clausen, T., Dearlove, C., Dean, J., and C. Adjih, “Generalized MANET Packet/Message Format,” February 2009.), and specifies extensions (as enabled by [NHDP] (Clausen, T., Dean, J., and C. Dearlove, “MANET Neighborhood Discovery Protocol (NHDP),” October 2009.)) to the HELLO message processing in [NHDP] (Clausen, T., Dean, J., and C. Dearlove, “MANET Neighborhood Discovery Protocol (NHDP),” October 2009.).
TOC |
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.) [RFC2119].
Additionally, this document uses the terminology of [RFC5444] (Clausen, T., Dearlove, C., Dean, J., and C. Adjih, “Generalized MANET Packet/Message Format,” February 2009.), [packetbb‑sec] (Herberg, U. and T. Clausen, “MANET Cryptographical Signature TLV Definition,” July 2009.), [NHDP] (Clausen, T., Dean, J., and C. Dearlove, “MANET Neighborhood Discovery Protocol (NHDP),” October 2009.) and [NHDP‑sec‑threats] (Herberg, U. and T. Clausen, “Security Threats for NHDP,” November 2009.).
TOC |
Therefore:
TOC |
The framework presented in this document provides two functionalities:
When NHDP is about to transmit a HELLO message on an interface, this extension:
The framework allows to add several signatures with different hash and cryptographic functions.
[NHDP] (Clausen, T., Dean, J., and C. Dearlove, “MANET Neighborhood Discovery Protocol (NHDP),” October 2009.) allows to reject incoming HELLO messages prior to processing by NHDP for reasons such as invalid signatures. This extension specifies that for each SIGNATURE TLV in the Message TLV Block of that incoming message, the value of that TLV (i.e. the contained signature) is verified.
TOC |
HELLO messages are generated as specified in [NHDP] (Clausen, T., Dean, J., and C. Dearlove, “MANET Neighborhood Discovery Protocol (NHDP),” October 2009.). In addition, each HELLO message MUST set the <msg-orig-addr> as well as the <msg-seq-num> field as specified in [RFC5444] (Clausen, T., Dearlove, C., Dean, J., and C. Adjih, “Generalized MANET Packet/Message Format,” February 2009.). Before transmission of a message, it is signed as described in Section 6 (Signing a Message).
TOC |
This section specifies how to sign a message. Note that a message may be signed several times using different signature algorithms. The following constraints MUST be respected when signing a message:
Optionally:
For each signature algorithm that is used to sign the message:
TOC |
NHDP specifies that
- "On receiving a HELLO message, a router MUST first check if the message is invalid for processing by this router"
and gives a number of conditions that will lead to a rejection of the HELLO message if any of these conditions is true. The extension specified in this document adds the following conditions for rejecting a message:
TOC |
This section specifies how to validate a message timestamp.
TOC |
This section specifies how to validate a message signature.
- A.
- If the hash function and the cryptographic function defined in that are known to the router: goto step 2.
- B.
- Otherwise goto step 1
- A.
- Restore all SIGNATURE TLVs.
- B.
- Restore the message size.
TOC |
This document specifies the following parameters and constants:
The following constraints apply to these parameters:
TOC |
Before a router is able to sign or validate messages, it must initially parameterize some security settings. In particular, it MUST acquire the cryptographic key(s) and any parameters of the cryptographic algorithm from all other routers that are to participate in the network. This document does not specify how a router acquires the cryptographic keys and parameters used in the MANET.
TOC |
When the security mechanisms as specified in this document is used, the following MUST be observed:
TOC |
This section analyzes which of the security threats that are detailed in [NHDP‑sec‑threats] (Herberg, U. and T. Clausen, “Security Threats for NHDP,” November 2009.) are alleviated by the framework presented in this document.
TOC |
Since jamming is a physical layer issue, it cannot be alleviated by protocols on the routing layer. This framework does not counteract jamming attacks, therefore.
TOC |
As only routers possessing a valid cryptographic keys are able to sign correctly HELLO messages, identity spoofing is counteracted. If a router does not have access to a valid key or does not sign messages at all, it is not able to create HELLOs that are processed by neighbor routers. Such wrongly signed or unsigned messages are rejected by receiving routers as described in Section 9 (Validating a Signature).
TOC |
Link spoofing is counteracted by the framework specified in this draft, with the same argument as in Section 13.2 (Identity Spoofing). A router without access to a valid cryptographic key cannot sign the message correctly, and therefore the message will be rejected by any receiving routers. Hence, all links postulated by an attacker are ignored.
TOC |
Replay attacks are only counteracted if TIMESTAMP TLVs are included in HELLO messages. This is optional, and depends on synchronized clocks of all routers in the MANET. An attacker which records messages to replay them later can only do so in the time interval between the timestamp that is contained in the TIMESTAMP TLV and MAX_TIMESTAMP_DIFF seconds later. As an attacker cannot modify the content if the TIMESTAMP TLV (since it does not possess the valid cryptographic key), it cannot replay messages after this time interval. Within this time interval, however, it is still possible to replay attacks.
TOC |
This document has no actions for IANA.
TOC |
This document specifies a protocol extension to NHDP which allows to alleviate some of the security threats of NHDP analyzed in [NHDP‑sec‑threats] (Herberg, U. and T. Clausen, “Security Threats for NHDP,” November 2009.).
If no synchronized clocks are available in the MANET, replay attacks cannot be counteracted by this framework.
This framework does not avoid or detect security attacks by routers possessing the cryptographic key that is used to sign messages.
This specification depends on the quality of the used signature algorithm and provides as such the same security considerations as the hash function and the cipher algorithm.
This specification relies on an out-of-band protocol to distribute keys and parameters. The security considerations of that protocol apply.
This specification does not provide a key revocation mechanism.
TOC |
[NHDP] | Clausen, T., Dean, J., and C. Dearlove, “MANET Neighborhood Discovery Protocol (NHDP),” work in progress draft-ietf-manet-nhdp-11.txt, October 2009. |
[NHDP-sec-threats] | Herberg, U. and T. Clausen, “Security Threats for NHDP,” work in progress draft-herberg-manet-nhdp-sec-threats-00.txt, November 2009. |
[RFC2119] | Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML). |
[RFC5444] | Clausen, T., Dearlove, C., Dean, J., and C. Adjih, “Generalized MANET Packet/Message Format,” RFC 5444, February 2009. |
[packetbb-sec] | Herberg, U. and T. Clausen, “MANET Cryptographical Signature TLV Definition,” work in progress draft-herberg-manet-packetbb-sec-02.txt, July 2009. |
TOC |
Ulrich Herberg | |
LIX, Ecole Polytechnique | |
91128 Palaiseau Cedex, | |
France | |
Email: | ulrich@herberg.name |
URI: | http://www.herberg.name/ |
Thomas Heide Clausen | |
LIX, Ecole Polytechnique | |
91128 Palaiseau Cedex, | |
France | |
Phone: | +33 6 6058 9349 |
Email: | T.Clausen@computer.org |
URI: | http://www.thomasclausen.org/ |