Skip to main content

A Security Threat Analysis for Routing over Low Power and Lossy Networks
draft-ietf-roll-security-threats-00

The information below is for an old version of the document.
Document Type
This is an older version of an Internet-Draft that was ultimately published as RFC 7416.
Authors Tzeta Tsao , Roger Alexander , Mischa Dohler , Vanesa Daza , Angel Lozano
Last updated 2013-01-21 (Latest revision 2012-10-05)
RFC stream Internet Engineering Task Force (IETF)
Formats
Reviews
Additional resources Mailing list discussion
Stream WG state WG Document
Document shepherd (None)
IESG IESG state Became RFC 7416 (Informational)
Consensus boilerplate Unknown
Telechat date (None)
Responsible AD Adrian Farrel
IESG note
Send notices to roll-chairs@tools.ietf.org, draft-ietf-roll-security-threats@tools.ietf.org
draft-ietf-roll-security-threats-00
Networking Working Group                                         T. Tsao
Internet-Draft                                              R. Alexander
Intended status: Informational                      Cooper Power Systems
Expires: April 8, 2013                                         M. Dohler
                                                                    CTTC
                                                                 V. Daza
                                                               A. Lozano
                                                Universitat Pompeu Fabra
                                                         October 5, 2012

A Security Threat Analysis for Routing over Low Power and Lossy Networks
                  draft-ietf-roll-security-threats-00

Abstract

   This document presents a security threat analysis for routing over
   low power and lossy networks (LLN).  The development builds upon
   previous work on routing security and adapts the assessments to the
   issues and constraints specific to low power and lossy networks.  A
   systematic approach is used in defining and evaluating the security
   threats.  Applicable countermeasures are application specific and are
   addressed in relevant applicability statements.  These assessments
   provide the basis of the security recommendations for incorporation
   into low power, lossy network routing protocols.

Requirements Language

   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 [RFC2119].

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   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."

Tsao, et al.              Expires April 8, 2013                 [Page 1]
Internet-Draft         Security Framework for ROLL          October 2012

   This Internet-Draft will expire on April 8, 2013.

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
   (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.

Tsao, et al.              Expires April 8, 2013                 [Page 2]
Internet-Draft         Security Framework for ROLL          October 2012

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  5
   2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  5
   3.  Considerations on ROLL Security  . . . . . . . . . . . . . . .  5
     3.1.  Routing Assets and Points of Access  . . . . . . . . . . .  6
     3.2.  The CIA Security Reference Model . . . . . . . . . . . . .  9
     3.3.  Issues Specific to or Amplified in LLNs  . . . . . . . . . 10
     3.4.  ROLL Security Objectives . . . . . . . . . . . . . . . . . 12
   4.  Threats and Attacks  . . . . . . . . . . . . . . . . . . . . . 13
     4.1.  Threats and Attacks on Confidentiality . . . . . . . . . . 14
       4.1.1.  Routing Exchange Exposure  . . . . . . . . . . . . . . 14
       4.1.2.  Routing Information (Routes and Network Topology)
               Exposure . . . . . . . . . . . . . . . . . . . . . . . 15
     4.2.  Threats and Attacks on Integrity . . . . . . . . . . . . . 15
       4.2.1.  Routing Information Manipulation . . . . . . . . . . . 15
       4.2.2.  Node Identity Misappropriation . . . . . . . . . . . . 16
     4.3.  Threats and Attacks on Availability  . . . . . . . . . . . 16
       4.3.1.  Routing Exchange Interference or Disruption  . . . . . 17
       4.3.2.  Network Traffic Forwarding Disruption  . . . . . . . . 17
       4.3.3.  Communications Resource Disruption . . . . . . . . . . 18
       4.3.4.  Node Resource Exhaustion . . . . . . . . . . . . . . . 19
   5.  Countermeasures  . . . . . . . . . . . . . . . . . . . . . . . 19
     5.1.  Confidentiality Attack Countermeasures . . . . . . . . . . 20
       5.1.1.  Countering Deliberate Exposure Attacks . . . . . . . . 20
       5.1.2.  Countering Sniffing Attacks  . . . . . . . . . . . . . 20
       5.1.3.  Countering Traffic Analysis  . . . . . . . . . . . . . 21
       5.1.4.  Countering Physical Device Compromise  . . . . . . . . 22
       5.1.5.  Countering Remote Device Access Attacks  . . . . . . . 24
     5.2.  Integrity Attack Countermeasures . . . . . . . . . . . . . 25
       5.2.1.  Countering Unauthorized Modification Attacks . . . . . 25
       5.2.2.  Countering Overclaiming and Misclaiming Attacks  . . . 25
       5.2.3.  Countering Identity (including Sybil) Attacks  . . . . 26
       5.2.4.  Countering Routing Information Replay Attacks  . . . . 26
       5.2.5.  Countering Byzantine Routing Information Attacks . . . 26
     5.3.  Availability Attack Countermeasures  . . . . . . . . . . . 27
       5.3.1.  Countering HELLO Flood Attacks and ACK Spoofing
               Attacks  . . . . . . . . . . . . . . . . . . . . . . . 28
       5.3.2.  Countering Overload Attacks  . . . . . . . . . . . . . 29
       5.3.3.  Countering Selective Forwarding Attacks  . . . . . . . 30
       5.3.4.  Countering Sinkhole Attacks  . . . . . . . . . . . . . 31
       5.3.5.  Countering Wormhole Attacks  . . . . . . . . . . . . . 32
   6.  ROLL Security Features . . . . . . . . . . . . . . . . . . . . 32
     6.1.  Confidentiality Features . . . . . . . . . . . . . . . . . 33
     6.2.  Integrity Features . . . . . . . . . . . . . . . . . . . . 34
     6.3.  Availability Features  . . . . . . . . . . . . . . . . . . 35
     6.4.  Security Key Management  . . . . . . . . . . . . . . . . . 36
     6.5.  Consideration on Matching Application Domain Needs . . . . 37

Tsao, et al.              Expires April 8, 2013                 [Page 3]
Internet-Draft         Security Framework for ROLL          October 2012

       6.5.1.  Security Architecture  . . . . . . . . . . . . . . . . 38
       6.5.2.  Mechanisms and Operations  . . . . . . . . . . . . . . 40
   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 42
   8.  Security Considerations  . . . . . . . . . . . . . . . . . . . 42
   9.  Acknowledgments  . . . . . . . . . . . . . . . . . . . . . . . 43
   10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 43
     10.1. Normative References . . . . . . . . . . . . . . . . . . . 43
     10.2. Informative References . . . . . . . . . . . . . . . . . . 43
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 46

Tsao, et al.              Expires April 8, 2013                 [Page 4]
Internet-Draft         Security Framework for ROLL          October 2012

1.  Introduction

   In recent times, networked electronic devices have found an
   increasing number of applications in various fields.  Yet, for
   reasons ranging from operational application to economics, these
   wired and wireless devices are often supplied with minimum physical
   resources; the constraints include those on computational resources
   (RAM, clock speed, storage), communication resources (duty cycle,
   packet size, etc.), but also form factors that may rule out user
   access interface (e.g., the housing of a small stick-on switch), or
   simply safety considerations (e.g., with gas meters).  As a
   consequence, the resulting networks are more prone to loss of traffic
   and other vulnerabilities.  The proliferation of these low power and
   lossy networks (LLNs), however, are drawing efforts to examine and
   address their potential networking challenges.  Securing the
   establishment and maintenance of network connectivity among these
   deployed devices becomes one of these key challenges.

   This document presents a framework for securing Routing Over LLNs
   (ROLL) through an analysis that starts from the routing basics.  The
   objective is two-fold.  First, the framework will be used to identify
   pertinent security issues.  Second, it will facilitate both the
   assessment of a protocol's security threats and the identification of
   the necessary features for development of secure protocols for the
   ROLL Working Group.

   The approach adopted in this effort proceeds in four steps, to
   examine security issues in ROLL, to analyze threats and attacks, to
   consider the countermeasures, and then to make recommendations for
   securing ROLL.  The basis is found on identifying the assets and
   points of access of routing and evaluating their security needs based
   on the Confidentiality, Integrity, and Availability (CIA) model in
   the context of LLN.

2.  Terminology

   This document adopts the terminology defined in [RFC6550] and in
   [RFC4949], with the following addition:

   Node  An element of a low power lossy network that may be a router or
         a host.

3.  Considerations on ROLL Security

   Security, in essence, entails implementing measures to ensure
   controlled state changes on devices and network elements, both based

Tsao, et al.              Expires April 8, 2013                 [Page 5]
Internet-Draft         Security Framework for ROLL          October 2012

   on external inputs (received via communications) or internal inputs
   (physical security of device itself and parameters maintained by the
   device, including, e.g., clock).  State changes would thereby involve
   proper authorization for actions, authentication, and potentially
   confidentiality, but also proper order of state changes through
   timeliness (since seriously delayed state changes, such as commands
   or updates of routing tables, may negatively impact system
   operation).  A security assessment can therefore begin with a focus
   on the assets or elements of information that may be the target of
   the state changes and the access points in terms of interfaces and
   protocol exchanges through which such changes may occur.  In the case
   of routing security the focus is directed towards the elements
   associated with the establishment and maintenance of network
   connectivity.

   This section sets the stage for the development of the framework by
   applying the systematic approach proposed in [Myagmar2005] to the
   routing security problem, while also drawing references from other
   reviews and assessments found in the literature, particularly,
   [RFC4593] and [Karlof2003]; thus, the work presented herein may find
   use beyond routing for LLNs.  The subsequent subsections begin with a
   focus on the elements of a generic routing process that is used to
   establish routing assets and points of access to the routing
   functionality.  Next, the CIA security model is briefly described.
   Then, consideration is given to issues specific to or amplified in
   LLNs.  This section concludes with the formulation of a set of
   security objectives for ROLL.

3.1.  Routing Assets and Points of Access

   An asset implies an important system component (including
   information, process, or physical resource), the access to,
   corruption or loss of which adversely affects the system.  In network
   routing, assets lie in the routing information, routing process, and
   node's physical resources.  That is, the access to, corruption, or
   loss of these elements adversely affects system routing.  In network
   routing, a point of access refers to the point of entry facilitating
   communication with or other interaction with a system component in
   order to use system resources to either manipulate information or
   gain knowledge of the information contained within the system.
   Security of the routing protocol must be focused on the assets of the
   routing nodes and the points of access of the information exchanges
   and information storage that may permit routing compromise.  The
   identification of routing assets and points of access hence provides
   a basis for the identification of associated threats and attacks.

   This subsection identifies assets and points of access of a generic
   routing process with a level-0 data flow diagram [Yourdon1979]

Tsao, et al.              Expires April 8, 2013                 [Page 6]
Internet-Draft         Security Framework for ROLL          October 2012

   revealing how the routing protocol interacts with its environment.
   In particular, the use of the data flow diagram allows for a clear,
   concise model of the routing functionality; it also has the benefit
   of showing the manner in which nodes participate in the routing
   process, thus providing context when later threats and attacks are
   considered.  The goal of the model is to be as detailed as possible
   so that corresponding components and mechanisms in an individual
   routing protocol can be readily identified, but also to be as general
   as possible to maximize the relevancy of this effort for the various
   existing and future protocols.  Nevertheless, there may be
   discrepancies, likely in the form of additional elements, when the
   model is applied to some protocols.  For such cases, the analysis
   approach laid out in this document should still provide a valid and
   illustrative path for their security assessment.

   Figure 1 shows that nodes participating in the routing process
   transmit messages to discover neighbors and to exchange routing
   information; routes are then generated and stored, which may be
   maintained in the form of the protocol forwarding table.  The nodes
   use the derived routes for making forwarding decisions.

Tsao, et al.              Expires April 8, 2013                 [Page 7]
Internet-Draft         Security Framework for ROLL          October 2012

               ...................................................
               :                                                 :
               :                                                 :
   |Node_i|<------->(Routing Neighbor       _________________    :
               :     Discovery)------------>Neighbor Topology    :
               :                            -------+---------    :
               :                                   |             :
   |Node_j|<------->(Route/Topology       +--------+             :
               :     Exchange)            |                      :
               :           |              V            ______    :
               :           +---->(Route Generation)--->Routes    :
               :                                       ---+--    :
               :                                          |      :
               : Routing on a Node Node_k                 |      :
               ...................................................
                                                          |
   |Forwarding                                            |
    On Node_l|<-------------------------------------------+

   Notation:

   (Proc)     A process Proc

   ________
   DataBase   A data storage DataBase
   --------

   |Node_n|   An external entity Node_n

   ------->   Data flow

         Figure 1: Data Flow Diagram of a Generic Routing Process

   It is seen from Figure 1 that

   o  Assets include

      *  routing and/or topology information;

      *  communication channel resources (bandwidth);

      *  node resources (computing capacity, memory, and remaining
         energy);

      *  node identifiers (including node identity and ascribed
         attributes such as relative or absolute node location).

Tsao, et al.              Expires April 8, 2013                 [Page 8]
Internet-Draft         Security Framework for ROLL          October 2012

   o  Points of access include

      *  neighbor discovery;

      *  route/topology exchange;

      *  node physical interfaces (including access to data storage).

   A focus on the above list of assets and points of access enables a
   more directed assessment of routing security; for example, it is
   readily understood that some routing attacks are in the form of
   attempts to misrepresent routing topology.  Indeed, the intention of
   the security framework is to be comprehensive.  Hence, some of the
   discussion which follows is associated with assets and points of
   access that are not directly related to routing protocol design but
   nonetheless provided for reference since they do have direct
   consequences on the security of routing.

3.2.  The CIA Security Reference Model

   At the conceptual level, security within an information system in
   general and applied to ROLL in particular is concerned with the
   primary issues of confidentiality, integrity, and availability.  In
   the context of ROLL:

   Confidentiality
         Confidentiality involves the protection of routing information
         as well as routing neighbor maintenance exchanges so that only
         authorized and intended network entities may view or access it.
         Because LLNs are most commonly found on a publicly accessible
         shared medium, e.g., air or wiring in a building, and sometimes
         formed ad hoc, confidentiality also extends to the neighbor
         state and database information within the routing device since
         the deployment of the network creates the potential for
         unauthorized access to the physical devices themselves.

   Integrity
         Integrity, as a security principle, entails the protection of
         routing information and routing neighbor maintenance exchanges,
         as well as derived information maintained in the database, from
         unauthorized modification or from misuse.  Misuse, for example,
         may take the form of a delayed or inappropriately replayed
         message even where confidentiality protection is maintained.
         Hence, in addition to the data itself, integrity also concerns
         the authenticity of claimed identity of the origin and
         destination of a message and its timeliness or freshness.  On
         the other hand, the access to and/or removal of data, execution
         of the routing process, and use of a device's computing and

Tsao, et al.              Expires April 8, 2013                 [Page 9]
Internet-Draft         Security Framework for ROLL          October 2012

         energy resources, while relevant to routing security are
         considered larger system integrity issues [RFC4949] to be
         addressed beyond the routing protocol.

   Availability
         Availability ensures that routing information exchanges and
         forwarding services need to be available when they are required
         for the functioning of the serving network.  Availability will
         apply to maintaining efficient and correct operation of routing
         and neighbor discovery exchanges (including needed information)
         and forwarding services so as not to impair or limit the
         network's central traffic flow function.

   It is recognized that, besides those security issues captured in the
   CIA model, non-repudiation, that is, the assurance that the
   transmission and/or reception of a message cannot later be denied,
   may be a security requirement under certain circumstances.  The
   service of non-repudiation applies after-the-fact and thus relies on
   the logging or other capture of on-going message exchanges and
   signatures.  Applied to routing, non-repudiation will involve
   providing some ability to allow traceability or network management
   review of participants of the routing process including the ability
   to determine the events and actions leading to a particular routing
   state.  As such, non-repudiation of routing may thus be more useful
   when interworking with networks of different ownerships.  For the LLN
   application domains as described in [RFC5548], [RFC5673], [RFC5826],
   and [RFC5867], particularly with regard to routing security,
   proactive measures are much more critical than retrospective
   protections.  Furthermore, given the significant practical limits to
   on-going routing transaction logging and storage and individual
   device signature authentication for each exchange, non-repudiation in
   the context of routing is not further considered as a ROLL security
   issue.

   It should be emphasized here that for routing security the above CIA
   requirements must be complemented by the proper security policies and
   enforcement mechanisms to ensure that security objectives are met by
   a given routing protocol implementation.

3.3.  Issues Specific to or Amplified in LLNs

   The work [RFC5548], [RFC5673], [RFC5826], and [RFC5867] have
   identified specific issues and constraints of routing in LLNs for the
   urban, industrial, home automation, and building automation
   application domains, respectively.  The following is a list of
   observations and evaluation of their impact on routing security
   considerations.

Tsao, et al.              Expires April 8, 2013                [Page 10]
Internet-Draft         Security Framework for ROLL          October 2012

   Limited energy, memory, and processing node resources
         As a consequence of these constraints, there is an even more
         critical need than usual for a careful study of trade-offs on
         which and what level of security services are to be afforded
         during the system design process.  In addition, the choices of
         security mechanisms are more stringent.  Synchronization of
         security states with sleepy nodes is yet another issue.

   Large scale of rolled out network
         The possibly numerous nodes to be deployed, e.g., an urban
         deployment can see several hundreds of thousands of nodes, as
         well as the generally low level of expertise expected of the
         installers, make manual on-site configuration unlikely.
         Prolonged rollout and delayed addition of nodes, which may be
         from old inventory, over the lifetime of the network, also
         complicate the operations of key management.

   Autonomous operations
         Self-forming and self-organizing are commonly prescribed
         requirements of LLNs.  In other words, a routing protocol
         designed for LLNs needs to contain elements of ad hoc
         networking and in most cases cannot rely on manual
         configuration for initialization or local filtering rules.
         Network topology/ownership changes, partitioning or merging, as
         well as node replacement, can all contribute to complicating
         the operations of key management.

   Highly directional traffic
         Some types of LLNs see a high percentage of their total traffic
         traverse between the nodes and the LLN Border Routers (LBRs)
         where the LLNs connect to non-LLNs.  The special routing status
         of and the greater volume of traffic near the LBRs have routing
         security consequences.  In fact, when Point-to-MultiPoint
         (P2MP) and MultiPoint-to-Point (MP2P) traffic represents a
         majority of the traffic, routing attacks consisting of
         advertising untruthfully preferred routes may cause serious
         damages.

   Unattended locations and limited physical security
         Many applications have the nodes deployed in unattended or
         remote locations; furthermore, the nodes themselves are often
         built with minimal physical protection.  These constraints
         lower the barrier of accessing the data or security material
         stored on the nodes through physical means.

Tsao, et al.              Expires April 8, 2013                [Page 11]
Internet-Draft         Security Framework for ROLL          October 2012

   Support for mobility
         On the one hand, only a number of applications require the
         support of mobile nodes, e.g., a home LLN that includes nodes
         on wearable health care devices or an industry LLN that
         includes nodes on cranes and vehicles.  On the other hand, if a
         routing protocol is indeed used in such applications, it will
         clearly need to have corresponding security mechanisms.

   Support for multicast and anycast
         Support for multicast and anycast is called out chiefly for
         large-scale networks.  Since application of these routing
         mechanisms in autonomous operations of many nodes is new, the
         consequence on security requires careful consideration.

   The above list considers how a LLN's physical constraints, size,
   operations, and varieties of application areas may impact security.
   However, it is the combinations of these factors that particularly
   stress the security concerns.  For instance, securing routing for a
   large number of autonomous devices that are left in unattended
   locations with limited physical security presents challenges that are
   not found in the common circumstance of administered networked
   routers.  The following subsection sets up the security objectives
   for the routing protocol designed by the ROLL WG.

3.4.  ROLL Security Objectives

   This subsection applies the CIA model to the routing assets and
   access points, taking into account the LLN issues, to develop a set
   of ROLL security objectives.

   Since the fundamental function of a routing protocol is to build
   routes for forwarding packets, it is essential to ensure that

   o  routing/topology information is not tampered during transfer and
      in storage;

   o  routing/topology information is not misappropriated;

   o  routing/topology information is available when needed.

   In conjunction, it is necessary to be assured of

   o  the authenticity and legitimacy of the participants of the routing
      neighbor discovery process;

   o  the routing/topology information received was faithfully generated
      according to the protocol design.

Tsao, et al.              Expires April 8, 2013                [Page 12]
Internet-Draft         Security Framework for ROLL          October 2012

   However, when trust cannot be fully vested through authentication of
   the principals alone, i.e., concerns of insider attack, assurance of
   the truthfulness and timeliness of the received routing/topology
   information is necessary.  With regard to confidentiality, protecting
   the routing/topology information from eavesdropping or unauthorized
   exposure may be desirable in certain cases but is in itself less
   pertinent in general to the routing function.

   One of the main problems of synchronizing security states of sleepy
   nodes, as listed in the last subsection, lies in difficulties in
   authentication; these nodes may not have received in time the most
   recent update of security material.  Similarly, the issues of minimal
   manual configuration, prolonged rollout and delayed addition of
   nodes, and network topology changes also complicate key management.
   Hence, routing in LLNs needs to bootstrap the authentication process
   and allow for flexible expiration scheme of authentication
   credentials.

   The vulnerability brought forth by some special-function nodes, e.g.,
   LBRs, requires the assurance, particularly in a security context,

   o  of the availability of communication channels and node resources;

   o  that the neighbor discovery process operates without undermining
      routing availability.

   There are other factors which are not part of a ROLL protocol but
   directly affecting its function.  These factors include weaker
   barrier of accessing the data or security material stored on the
   nodes through physical means; therefore, the internal and external
   interfaces of a node need to be adequate for guarding the integrity,
   and possibly the confidentiality, of stored information, as well as
   the integrity of routing and route generation processes.

   Each individual system's use and environment will dictate how the
   above objectives are applied, including the choices of security
   services as well as the strengths of the mechanisms that must be
   implemented.  The next two sections take a closer look at how the
   ROLL security objectives may be compromised and how those potential
   compromises can be countered.

4.  Threats and Attacks

   This section outlines general categories of threats under the CIA
   model and highlights the specific attacks in each of these categories
   for ROLL.  As defined in [RFC4949], a threat is "a potential for
   violation of security, which exists when there is a circumstance,

Tsao, et al.              Expires April 8, 2013                [Page 13]
Internet-Draft         Security Framework for ROLL          October 2012

   capability, action, or event that could breach security and cause
   harm."  An attack is "an assault on system security that derives from
   an intelligent threat, i.e., an intelligent act that is a deliberate
   attempt (especially in the sense of a method or technique) to evade
   security services and violate the security policy of a system."

   The subsequent subsections consider the threats and their realizing
   attacks that can cause security breaches under the CIA model to the
   routing assets and via the routing points of access identified in
   Section 3.1.  The assessment steps through the security concerns of
   each routing asset and looks at the attacks that can exploit routing
   points of access.  The threats and attacks identified are based on
   the routing model analysis and associated review of the existing
   literature.  The manifestation of the attacks is assumed to be from
   either inside or outside attackers, whose capabilities may be limited
   to node-equivalent or more sophisticated computing platforms.

4.1.  Threats and Attacks on Confidentiality

   The assessment in Section 3.2 indicates that routing information
   assets are exposed to confidentiality threats from all points of
   access.  The confidentiality threat space is thus defined by the
   access to routing information achievable through the communication
   exchanges between routing nodes together with the direct access to
   information maintained within the nodes.

4.1.1.  Routing Exchange Exposure

   Routing exchanges include both routing information as well as
   information associated with the establishment and maintenance of
   neighbor state information.  As indicated in Section 3.1, the
   associated routing information assets may also include device
   specific resource information, such as memory, remaining power, etc,
   that may be metrics of the routing protocol.

   The exposure of routing information exchanged will allow unauthorized
   sources to gain access to the content of the exchanges between
   communicating nodes.  The exposure of neighbor state information will
   allow unauthorized sources to gain knowledge of communication links
   between routing nodes that are necessary to maintain routing
   information exchanges.

   The forms of attack that allow unauthorized access or exposure of
   routing exchange information include

   o  Deliberate exposure (where one party to the routing exchange is
      able to independently provide unauthorized access);

Tsao, et al.              Expires April 8, 2013                [Page 14]
Internet-Draft         Security Framework for ROLL          October 2012

   o  Sniffing (passive reading of transmitted data content);

   o  Traffic analysis (evaluation of the network routing header
      information).

4.1.2.  Routing Information (Routes and Network Topology) Exposure

   Routes (which may be maintained in the form of the protocol
   forwarding table) and neighbor topology information are the products
   of the routing process that are stored within the node device
   databases.

   The exposure of this information will allow unauthorized sources to
   gain direct access to the configuration and connectivity of the
   network thereby exposing routing to targeted attacks on key nodes or
   links.  Since routes and neighbor topology information is stored
   within the node device, threats or attacks on the confidentiality of
   the information will apply to the physical device including specified
   and unspecified internal and external interfaces.

   The forms of attack that allow unauthorized access or exposure of the
   routing information (other than occurring through explicit node
   exchanges) will include

   o  Physical device compromise;

   o  Remote device access attacks (including those occurring through
      remote network management or software/field upgrade interfaces).

   More detailed descriptions of the exposure attacks on routing
   exchange and information will be given in Section 5 together with the
   corresponding countermeasures.

4.2.  Threats and Attacks on Integrity

   The assessment in Section 3.2 indicates that information and identity
   assets are exposed to integrity threats from all points of access.
   In other words, the integrity threat space is defined by the
   potential for exploitation introduced by access to assets available
   through routing exchanges and the on-device storage.

4.2.1.  Routing Information Manipulation

   Manipulation of routing information that range from neighbor states
   to derived routes will allow unauthorized sources to influence the
   operation and convergence of the routing protocols and ultimately
   impact the forwarding decisions made in the network.  Manipulation of
   topology and reachability information will allow unauthorized sources

Tsao, et al.              Expires April 8, 2013                [Page 15]
Internet-Draft         Security Framework for ROLL          October 2012

   to influence the nodes with which routing information is exchanged
   and updated.  The consequence of manipulating routing exchanges can
   thus lead to sub-optimality and fragmentation or partitioning of the
   network by restricting the universe of routers with which
   associations can be established and maintained.  For example, being
   able to attract network traffic can make a blackhole attack more
   damaging.

   The forms of attack that allow manipulation to compromise the content
   and validity of routing information include

   o  Falsification, including overclaiming and misclaiming;

   o  Routing information replay;

   o  Byzantine (internal) attacks that permit corruption of routing
      information in the node even where the node continues to be a
      validated entity within the network (see, for example, [RFC4593]
      for further discussions on Byzantine attacks);

   o  Physical device compromise or remote device access attacks.

4.2.2.  Node Identity Misappropriation

   Falsification or misappropriation of node identity between routing
   participants opens the door for other attacks; it can also cause
   incorrect routing relationships to form and/or topologies to emerge.
   Routing attacks may also be mounted through less sophisticated node
   identity misappropriation in which the valid information broadcast or
   exchanged by a node is replayed without modification.  The receipt of
   seemingly valid information that is however no longer current can
   result in routing disruption, and instability (including failure to
   converge).  Without measures to authenticate the routing participants
   and to ensure the freshness and validity of the received information
   the protocol operation can be compromised.  The forms of attack that
   misuse node identity include

   o  Identity attacks, including Sybil attacks in which a malicious
      node illegitimately assumes multiple identities;

   o  Routing information replay.

4.3.  Threats and Attacks on Availability

   The assessment in Section 3.2 indicates that the process and
   resources assets are exposed to availability threats; attacks of this
   category may exploit directly or indirectly information exchange or
   forwarding (see [RFC4732] for a general discussion).

Tsao, et al.              Expires April 8, 2013                [Page 16]
Internet-Draft         Security Framework for ROLL          October 2012

4.3.1.  Routing Exchange Interference or Disruption

   Interference or disruption of routing information exchanges will
   allow unauthorized sources to influence the operation and convergence
   of the routing protocols by impeding the regularity of routing
   information exchange.

   The forms of attack that allow interference or disruption of routing
   exchange include

   o  Routing information replay;

   o  HELLO flood attacks and ACK spoofing;

   o  Overload attacks.

   In addition, attacks may also be directly conducted at the physical
   layer in the form of jamming or interfering.

4.3.2.  Network Traffic Forwarding Disruption

   The disruption of the network traffic forwarding capability of the
   network will undermine the central function of network routers and
   the ability to handle user traffic.  This threat and the associated
   attacks affect the availability of the network because of the
   potential to impair the primary capability of the network.

   In addition to physical layer obstructions, the forms of attack that
   allows disruption of network traffic forwarding include [Karlof2003]

   o  Selective forwarding attacks;

   o  Wormhole attacks;

   o  Sinkhole attacks.

   For reference, Figure 2 depicts the above listed three types of
   attacks.

Tsao, et al.              Expires April 8, 2013                [Page 17]
Internet-Draft         Security Framework for ROLL          October 2012

   |Node_1|--(msg1|msg2|msg3)-->|Attacker|--(msg1|msg3)-->|Node_2|

                     (a) Selective Forwarding

         |Node_1|-------------Unreachable---------x|Node_2|
             |                                         ^
             |               Private Link              |
             '-->|Attacker_1|===========>|Attacker_2|--'

                            (b) Wormhole

          |Node_1|     |Node_4|
              |            |
              `--------.   |
          Falsify as    \  |
          Good Link \   |  |
          To Node_5  \  |  |
                      \ V  V
          |Node_2|-->|Attacker|--Not Forwarded---x|Node_5|
                        ^  ^ \
                        |  |  \ Falsify as
                        |  |   \Good Link
                        /  |    To Node_5
               ,-------'   |
               |           |
           |Node_3|     |Node_i|

                            (c) Sinkhole

      Figure 2: Selective Forwarding, Wormhole, and Sinkhole Attacks

4.3.3.  Communications Resource Disruption

   Attacks mounted against the communication channel resource assets
   needed by the routing protocol can be used as a means of disrupting
   its operation.  However, while various forms of Denial of Service
   (DoS) attacks on the underlying transport subsystem will affect
   routing protocol exchanges and operation (for example physical layer
   RF jamming in a wireless network or link layer attacks), these
   attacks cannot be countered by the routing protocol.  As such, the
   threats to the underlying transport network that supports routing is
   considered beyond the scope of the current document.  Nonetheless,
   attacks on the subsystem will affect routing operation and so must be

Tsao, et al.              Expires April 8, 2013                [Page 18]
Internet-Draft         Security Framework for ROLL          October 2012

   directly addressed within the underlying subsystem and its
   implemented protocol layers.

4.3.4.  Node Resource Exhaustion

   A potential security threat to routing can arise from attempts to
   exhaust the node resource asset by initiating exchanges that can lead
   to the undue utilization or exhaustion of processing, memory or
   energy resources.  The establishment and maintenance of routing
   neighbors opens the routing process to engagement and potential
   acceptance of multiple neighboring peers.  Association information
   must be stored for each peer entity and for the wireless network
   operation provisions made to periodically update and reassess the
   associations.  An introduced proliferation of apparent routing peers
   can therefore have a negative impact on node resources.

   Node resources may also be unduly consumed by the attackers
   attempting uncontrolled topology peering or routing exchanges,
   routing replays, or the generating of other data traffic floods.
   Beyond the disruption of communications channel resources, these
   threats may be able to exhaust node resources only where the
   engagements are able to proceed with the peer routing entities.
   Routing operation and network forwarding functions can thus be
   adversely impacted by node resources exhaustion that stems from
   attacks that include

   o  Identity (including Sybil) attacks;

   o  Routing information replay attacks;

   o  HELLO flood attacks and ACK spoofing;

   o  Overload attacks.

5.  Countermeasures

   By recognizing the characteristics of LLNs that may impact routing
   and identifying potential countermeasures, this framework provides
   the basis for developing capabilities within ROLL protocols to deter
   the identified attacks and mitigate the threats.  The following
   subsections consider such countermeasures by grouping the attacks
   according to the classification of the CIA model so that associations
   with the necessary security services are more readily visible.
   However, the considerations here are more systematic than confined to
   means available only within routing; the next section will then
   distill and make recommendations appropriate for a secured ROLL
   protocol.

Tsao, et al.              Expires April 8, 2013                [Page 19]
Internet-Draft         Security Framework for ROLL          October 2012

5.1.  Confidentiality Attack Countermeasures

   Attacks on confidentiality may be mounted at the level of the routing
   information assets, at the points of access associated with routing
   exchanges between nodes, or through device interface access.  To gain
   access to routing/topology information, the attacker may rely on a
   compromised node that deliberately exposes the information during the
   routing exchange process, may rely on passive sniffing or analysis of
   routing traffic, or may attempt access through a component or device
   interface of a tampered routing node.

5.1.1.  Countering Deliberate Exposure Attacks

   A deliberate exposure attack is one in which an entity that is party
   to the routing process or topology exchange allows the routing/
   topology information or generated route information to be exposed to
   an unauthorized entity during the exchange.

   A prerequisite to countering this type of confidentiality attacks
   associated with the routing/topology exchange is to ensure that the
   communicating nodes are authenticated prior to data encryption
   applied in the routing exchange.  Authentication ensures that the
   nodes are who they claim to be even though it does not provide an
   indication of whether the node has been compromised.

   To prevent deliberate exposure, the process that communicating nodes
   use for establishing communication session keys must be peer-to-peer,
   between the routing initiating and responding nodes, so that neither
   node can independently weaken the confidentiality of the exchange
   without the knowledge of its communicating peer.  A deliberate
   exposure attack will therefore require more overt and independent
   action on the part of the offending node.

   Note that the same measures which apply to securing routing/topology
   exchanges between operational nodes must also extend to field tools
   and other devices used in a deployed network where such devices can
   be configured to participate in routing exchanges.

5.1.2.  Countering Sniffing Attacks

   A sniffing attack seeks to breach routing confidentiality through
   passive, direct analysis and processing of the information exchanges
   between nodes.  A sniffing attack in an LLN that is not based on a
   physical device compromise will rely on the attacker attempting to
   directly derive information from the over-the-shared-medium routing/
   topology communication exchange (neighbor discovery exchanges may of
   necessity be conducted in the clear thus limiting the extent to which
   the information can be kept confidential).

Tsao, et al.              Expires April 8, 2013                [Page 20]
Internet-Draft         Security Framework for ROLL          October 2012

   Sniffing attacks can be directly countered through the use of data
   encryption for all routing exchanges.  Only when a validated and
   authenticated node association is completed will routing exchange be
   allowed to proceed using established session confidentiality keys and
   an agreed confidentiality algorithm.  The level of security applied
   in providing confidentiality will determine the minimum requirement
   for an attacker mounting this passive security attack.  The
   possibility of incorporating options for security level and
   algorithms is further considered in Section 6.5.  Because of the
   resource constraints of LLN devices, symmetric (private) key session
   security will provide the best trade-off in terms of node and channel
   resource overhead and the level of security achieved.  This will of
   course not preclude the use of asymmetric (public) key encryption
   during the session key establishment phase.

   As with the key establishment process, data encryption must include
   an authentication prerequisite to ensure that each node is
   implementing a level of security that prevents deliberate or
   inadvertent exposure.  The authenticated key establishment will
   ensure that confidentiality is not compromised by providing the
   information to an unauthorized entity (see also [Huang2003]).

   Based on the current state of the art, a minimum 128-bit key length
   should be applied where robust confidentiality is demanded for
   routing protection.  This session key shall be applied in conjunction
   with an encryption algorithm that has been publicly vetted and where
   applicable approved for the level of security desired.  Algorithms
   such as the Advanced Encryption Standard (AES) [FIPS197], adopted by
   the U.S. government, or Kasumi-Misty [Kasumi3gpp], adopted by the
   3GPP 3rd generation wireless mobile consortium, are examples of
   symmetric-key algorithms capable of ensuring robust confidentiality
   for routing exchanges.  The key length, algorithm and mode of
   operation will be selected as part of the overall security trade-off
   that also achieves a balance with the level of confidentiality
   afforded by the physical device in protecting the routing assets (see
   Section 5.1.4 below).

   As with any encryption algorithm, the use of ciphering
   synchronization parameters and limitations to the usage duration of
   established keys should be part of the security specification to
   reduce the potential for brute force analysis.

5.1.3.  Countering Traffic Analysis

   Traffic analysis provides an indirect means of subverting
   confidentiality and gaining access to routing information by allowing
   an attacker to indirectly map the connectivity or flow patterns
   (including link-load) of the network from which other attacks can be

Tsao, et al.              Expires April 8, 2013                [Page 21]
Internet-Draft         Security Framework for ROLL          October 2012

   mounted.  The traffic analysis attack on a LLN, especially one
   founded on shared medium, may be passive and relying on the ability
   to read the immutable source/destination routing information that
   must remain unencrypted to permit network routing.  Alternatively,
   attacks can be active through the injection of unauthorized discovery
   traffic into the network.  By implementing authentication measures
   between communicating nodes, active traffic analysis attacks can be
   prevented within the LLN thereby reducing confidentiality
   vulnerabilities to those associated with passive analysis.

   One way in which passive traffic analysis attacks can be muted is
   through the support of load balancing that allows traffic to a given
   destination to be sent along diverse routing paths.  Where the
   routing protocol supports load balancing along multiple links at each
   node, the number of routing permutations in a wide area network
   surges thus increasing the cost of traffic analysis.  Network
   analysis through this passive attack will require a wider array of
   analysis points and additional processing on the part of the
   attacker.  Note however that where network traffic is dispersed as a
   countermeasure there may be implications beyond routing with regard
   to general traffic confidentiality.  Another approach to countering
   passive traffic analysis could be for nodes to maintain constant
   amount of traffic to different destinations through the generation of
   arbitrary traffic flows; the drawback of course would be the
   consequent overhead.  In LLNs, the diverse radio connectivity and
   dynamic links (including potential frequency hopping), or a complex
   wiring system hidden from sight, will help to further mitigate
   traffic analysis attacks when load balancing is also implemented.

   The only means of fully countering a traffic analysis attack is
   through the use of tunneling (encapsulation) where encryption is
   applied across the entirety of the original packet source/destination
   addresses.  With tunneling there is a further requirement that the
   encapsulating intermediate nodes apply an additional layer of routing
   so that traffic arrives at the destination through dynamic routes.
   For some LLNs, memory and processing constraints as well as the
   limitations of the communication channel will preclude both the
   additional routing traffic overhead and the node implementation
   required for tunneling countermeasures to traffic analysis.

5.1.4.  Countering Physical Device Compromise

   Section 4 identified that many threats to the routing functionality
   may involve compromised devices.  For the sake of completeness, this
   subsection examines how to counter physical device compromise,
   without restricting the consideration to only those methods and
   apparatuses available to a LLN routing protocol.

Tsao, et al.              Expires April 8, 2013                [Page 22]
Internet-Draft         Security Framework for ROLL          October 2012

   Given the distributed nature of LLNs and the varying environment of
   deployed devices, confidentiality of routing assets and points of
   access may rely heavily on the security of the routing devices.  One
   means of precluding attacks on the physical device is to prevent
   physical access to the node through other external security means.
   However, given the environment in which many LLNs operate, preventing
   unauthorized access to the physical device cannot be assured.
   Countermeasures must therefore be employed at the device and
   component level so that routing/topology or neighbor information and
   stored route information cannot be accessed even if physical access
   to the node is obtained.

   With the physical device in the possession of an attacker,
   unauthorized information access can be attempted by probing internal
   interfaces or device components.  Device security must therefore move
   to preventing the reading of device processor code or memory
   locations without the appropriate security keys and in preventing the
   access to any information exchanges occurring between individual
   components.  Information access will then be restricted to external
   interfaces in which confidentiality, integrity and authentication
   measures can be applied.

   To prevent component information access, deployed routing devices
   must ensure that their implementation avoids address or data buses
   being connected to external general purpose input/output (GPIO) pins.
   Beyond this measure, an important component interface to be protected
   against attack is the Joint Test Action Group (JTAG) [IEEE1149.1]
   interface used for component and populated circuit board testing
   after manufacture.  To provide security on the routing devices,
   components should be employed that allow fuses on the JTAG interfaces
   to be blown to disable access.  This will raise the bar on
   unauthorized component information access within a captured device.

   At the device level a key component information exchange is between
   the microprocessor and its associated external memory.  While
   encryption can be implemented to secure data bus exchanges, the use
   of integrated physical packaging which avoids inter-component
   exchanges (other than secure external device exchanges) will increase
   routing security against a physical device interface attack.  With an
   integrated package and disabled internal component interfaces, the
   level of physical device security can be controlled by managing the
   degree to which the device packaging is protected against expert
   physical decomposition and analysis.

   The device package should be hardened such that attempts to remove
   the integrated components will result in damage to access interfaces,
   ports or pins that prevent retrieval of code or stored information.
   The degree of Very Large Scale Integration (VLSI) or Printed Circuit

Tsao, et al.              Expires April 8, 2013                [Page 23]
Internet-Draft         Security Framework for ROLL          October 2012

   Board (PCB) package security through manufacture can be selected as a
   trade-off or desired security consistent with the level of security
   achieved by measures applied for other routing assets and points of
   access.  With package hardening and restricted component access
   countermeasures, the security level will be raised to that provided
   by measures employed at the external communications interfaces.

   Another area of node interface vulnerability is that associated with
   interfaces provided for remote software or firmware upgrades.  This
   may impact both routing information and routing/topology exchange
   security where it leads to unauthorized upgrade or change to the
   routing protocol running on a given node as this type of attack can
   allow for the execution of compromised or intentionally malicious
   routing code on multiple nodes.  Countermeasures to this device
   interface confidentiality attack needs to be addressed in the larger
   context of node remote access security.  This will ensure not only
   the authenticity of the provided code (including routing protocol)
   but that the process is initiated by an authorized (authenticated)
   entity.  For example, digital signing of firmware by an authorized
   entity will provide an appropriate countermeasure.

   The above identified countermeasures against attacks on routing
   information confidentiality through internal device interface
   compromise must be part of the larger LLN system security as they
   cannot be addressed within the routing protocol itself.  Similarly,
   the use of field tools or other devices that allow explicit access to
   node information must implement security mechanisms to ensure that
   routing information can be protected against unauthorized access.
   These protections will also be external to the routing protocol and
   hence not part of ROLL.

5.1.5.  Countering Remote Device Access Attacks

   Where LLN nodes are deployed in the field, measures are introduced to
   allow for remote retrieval of routing data and for software or field
   upgrades.  These paths create the potential for a device to be
   remotely accessed across the network or through a provided field
   tool.  In the case of network management a node can be directly
   requested to provide routing tables and neighbor information.

   To ensure confidentiality of the node routing information against
   attacks through remote access, any local or remote device requesting
   routing information must be authenticated to ensure authorized
   access.  Since remote access is not invoked as part of a routing
   protocol security of routing information stored on the node against
   remote access will not be addressable as part of the routing
   protocol.

Tsao, et al.              Expires April 8, 2013                [Page 24]
Internet-Draft         Security Framework for ROLL          October 2012

5.2.  Integrity Attack Countermeasures

   Integrity attack countermeasures address routing information
   manipulation, as well as node identity and routing information
   misuse.  Manipulation can occur in the form of falsification attack
   and physical compromise.  To be effective, the following development
   considers the two aspects of falsification, namely, the unauthorized
   modifications and the overclaiming and misclaiming content.  The
   countering of physical compromise was considered in the previous
   section and is not repeated here.  With regard to misuse, there are
   two types of attacks to be deterred, identity attacks and replay
   attacks.

5.2.1.  Countering Unauthorized Modification Attacks

   Unauthorized modifications may occur in the form of altering the
   message being transferred or the data stored.  Therefore, it is
   necessary to ensure that only authorized nodes can change the portion
   of the information that is allowed to be mutable, while the integrity
   of the rest of the information is protected, e.g., through well-
   studied cryptographic mechanisms.

   Unauthorized modifications may also occur in the form of insertion or
   deletion of messages during protocol changes.  Therefore, the
   protocol needs to ensure the integrity of the sequence of the
   exchange sequence.

   The countermeasure to unauthorized modifications needs to

   o  implement access control on storage;

   o  provide data integrity service to transferred messages and stored
      data;

   o  include sequence number under integrity protection.

5.2.2.  Countering Overclaiming and Misclaiming Attacks

   Both overclaiming and misclaiming aim to introduce false routes or
   topology that would not be generated by the network otherwise, while
   there are not necessarily unauthorized modifications to the routing
   messages or information.  The requisite for a counter is the
   capability to determine unreasonable routes or topology.

   The counter to overclaiming and misclaiming may employ

   o  comparison with historical routing/topology data;

Tsao, et al.              Expires April 8, 2013                [Page 25]
Internet-Draft         Security Framework for ROLL          October 2012

   o  designs which restrict realizable network topologies.

5.2.3.  Countering Identity (including Sybil) Attacks

   Identity attacks, sometimes simply called spoofing, seek to gain or
   damage assets whose access is controlled through identity.  In
   routing, an identity attacker can illegitimately participate in
   routing exchanges, distribute false routing information, or cause an
   invalid outcome of a routing process.

   A perpetrator of Sybil attacks assumes multiple identities.  The
   result is not only an amplification of the damage to routing, but
   extension to new areas, e.g., where geographic distribution is
   explicit or implicit an asset to an application running on the LLN,
   for example, the LBR in a P2MP or MP2P LLN.

   The countering of identity attacks need to ensure the authenticity
   and liveliness of the parties of a message exchange.  The means may
   be through the use of shared key or public key based authentication
   scheme.  On the one hand, the large-scale nature of the LLNs makes
   the network-wide shared key scheme undesirable from a security
   perspective; on the other hand, public-key based approaches generally
   require more computational resources.  Each system will need to make
   trade-off decisions based on its security requirements.  As an
   example, [Wander2005] compared the energy consumption between two
   public-key algorithms on a low-power microcontroller, with reference
   to a symmetric-key algorithm and a hash algorithm.

5.2.4.  Countering Routing Information Replay Attacks

   In routing, message replay can result in false topology and/or
   routes.  The counter of replay attacks need to ensure the freshness
   of the message.  On the one hand, there are a number of mechanisms
   commonly used for countering replay, e.g., with a counter.  On the
   other hand, the choice should take into account how a particular
   mechanism is made available in a LLN.  For example, many LLNs have a
   central source of time and have it distributed by relaying, such that
   secured time distribution becomes a prerequisite of using
   timestamping to counter replay.

5.2.5.  Countering Byzantine Routing Information Attacks

   Where a node is captured or compromised but continues to operate for
   a period with valid network security credentials, the potential
   exists for routing information to be manipulated.  This compromise of
   the routing information could thus exist in spite of security
   countermeasures that operate between the peer routing devices.

Tsao, et al.              Expires April 8, 2013                [Page 26]
Internet-Draft         Security Framework for ROLL          October 2012

   Consistent with the end-to-end principle of communications, such an
   attack can only be fully addressed through measures operating
   directly between the routing entities themselves or by means of
   external entities able to access and independently analyze the
   routing information.  Verification of the authenticity and liveliness
   of the routing entities can therefore only provide a limited counter
   against internal (Byzantine) node attacks.

   For link state routing protocols where information is flooded with,
   for example, areas (OSPF [RFC2328]) or levels (ISIS [RFC1142]),
   countermeasures can be directly applied by the routing entities
   through the processing and comparison of link state information
   received from different peers.  By comparing the link information
   from multiple sources decisions can be made by a routing node or
   external entity with regard to routing information validity; see
   Chapter 2 of [Perlman1988] for a discussion on flooding attacks.

   For distance vector protocols where information is aggregated at each
   routing node it is not possible for nodes to directly detect
   Byzantine information manipulation attacks from the routing
   information exchange.  In such cases, the routing protocol must
   include and support indirect communications exchanges between non-
   adjacent routing peers to provide a secondary channel for performing
   routing information validation.  S-RIP [Wan2004] is an example of the
   implementation of this type of dedicated routing protocol security
   where the correctness of aggregate distance vector information can
   only be validated by initiating confirmation exchanges directly
   between nodes that are not routing neighbors.

   Alternatively, an entity external to the routing protocol would be
   required to collect and audit routing information exchanges to detect
   the Byzantine attack.  In the context of the current security
   framework, any protection against Byzantine routing information
   attacks will need to be directly included within the mechanisms of
   the ROLL routing protocol.  This can be implemented where such an
   attack is considered relevant even within the physical device
   protections discussed in Section 5.1.4

5.3.  Availability Attack Countermeasures

   As alluded to before, availability requires that routing information
   exchanges and forwarding mechanisms be available when needed so as to
   guarantee a proper functioning of the network.  This may, e.g.,
   include the correct operation of routing information and neighbor
   state information exchanges, among others.  We will highlight the key
   features of the security threats along with typical countermeasures
   to prevent or at least mitigate them.  We will also note that an
   availability attack may be facilitated by an identity attack as well

Tsao, et al.              Expires April 8, 2013                [Page 27]
Internet-Draft         Security Framework for ROLL          October 2012

   as a replay attack, as was addressed in Section 5.2.3 and
   Section 5.2.4, respectively.

5.3.1.  Countering HELLO Flood Attacks and ACK Spoofing Attacks

   HELLO Flood [Karlof2003],[I-D.suhopark-hello-wsn] and ACK Spoofing
   attacks are different but highly related forms of attacking a LLN.
   They essentially lead nodes to believe that suitable routes are
   available even though they are not and hence constitute a serious
   availability attack.

   The origin of facilitating a HELLO flood attack lies in the fact that
   many routing protocols require nodes to send HELLO packets either
   upon joining or in regular intervals so as to announce or confirm
   their existence to the network.  Those nodes that receive the HELLO
   packet assume that they are indeed neighbors.

   With this in mind, a malicious node can send or replay HELLO packets
   using, e.g., a higher transmission power.  That creates the false
   illusion of being a neighbor to an increased number of nodes in the
   network, thereby effectively increasing its unidirectional
   neighborhood cardinality.  The high quality of the falsely advertised
   link may coerce nodes to route data via the malicious node.  However,
   those affected nodes, for which the malicious node is in fact
   unreachable, never succeed in their delivery and the packets are
   effectively dropped.  The symptoms are hence similar to those of a
   sinkhole, wormhole and selective forwarding attack.

   A malicious HELLO flood attack clearly distorts the network topology.
   It thus affects protocols building and maintaining the network
   topology as well as routing protocols as such, since the attack is
   primarily targeted on protocols that require sharing of information
   for topology maintenance or flow control.

   To counter HELLO flood attacks, several mutually non-exclusive
   methods are feasible:

   o  restricting neighborhood cardinality;

   o  facilitating multipath routing;

   o  verifying bidirectionality.

   Restricting the neighborhood cardinality prevents malicious nodes
   from having an extended set of neighbors beyond some tolerated
   threshold and thereby preventing topologies to be built where
   malicious nodes have a false neighborhood set.  Furthermore, as shown
   in [I-D.suhopark-hello-wsn], if the routing protocol supports

Tsao, et al.              Expires April 8, 2013                [Page 28]
Internet-Draft         Security Framework for ROLL          October 2012

   multiple paths from a sensing node towards several LBRs then HELLO
   flood attacks can also be diminished; however, the energy-efficiency
   of such approach is clearly sub-optimal.  Finally, verifying that the
   link is truly bidirectional by means of, e.g., an ACK handshake and
   appropriate security measures ensures that a communication link is
   only established if not only the affected node is within range of the
   malicious node but also vice versa.  Whilst this does not really
   eliminate the problem of HELLO flooding, it greatly reduces the
   number of affected nodes and the probability of such an attack
   succeeding.

   As for the latter, the adversary may spoof the ACK messages to
   convince the affected node that the link is truly bidirectional and
   thereupon drop, tunnel or selectively forward messages.  Such ACK
   spoofing attack is possible if the malicious node has a receiver
   which is significantly more sensitive than that of a normal node,
   thereby effectively extending its range.  Since an ACK spoofing
   attack facilitates a HELLO flood attack, similar countermeasure are
   applicable here.  Viable counter and security measures for both
   attacks have been exposed in [I-D.suhopark-hello-wsn].

5.3.2.  Countering Overload Attacks

   Overload attacks are a form of DoS attack in that a malicious node
   overloads the network with irrelevant traffic, thereby draining the
   nodes' energy store quicker, when the nodes rely on battery or energy
   scavenging.  It thus significantly shortens the lifetime of networks
   of battery nodes and constitutes another serious availability attack.

   With energy being one of the most precious assets of LLNs, targeting
   its availability is a fairly obvious attack.  Another way of
   depleting the energy of a LLN node is to have the malicious node
   overload the network with irrelevant traffic.  This impacts
   availability since certain routes get congested which

   o  renders them useless for affected nodes and data can hence not be
      delivered;

   o  makes routes longer as shortest path algorithms work with the
      congested network;

   o  depletes battery and energy scavenging nodes quicker and thus
      shortens the network's availability at large.

   Overload attacks can be countered by deploying a series of mutually
   non-exclusive security measures:

Tsao, et al.              Expires April 8, 2013                [Page 29]
Internet-Draft         Security Framework for ROLL          October 2012

   o  introduce quotas on the traffic rate each node is allowed to send;

   o  isolate nodes which send traffic above a certain threshold based
      on system operation characteristics;

   o  allow only trusted data to be received and forwarded.

   As for the first one, a simple approach to minimize the harmful
   impact of an overload attack is to introduce traffic quotas.  This
   prevents a malicious node from injecting a large amount of traffic
   into the network, even though it does not prevent said node from
   injecting irrelevant traffic at all.  Another method is to isolate
   nodes from the network at the network layer once it has been detected
   that more traffic is injected into the network than allowed by a
   prior set or dynamically adjusted threshold.  Finally, if
   communication is sufficiently secured, only trusted nodes can receive
   and forward traffic which also lowers the risk of an overload attack.

   Receiving nodes that validate signatures and sending nodes that
   encrypt messages need to be cautious of cryptographic processing
   usage when validating signatures and encrypting messages.  Where
   feasible, certificates should be validated prior to use of the
   associated keys to counter potential resource overloading attacks.
   The associated design decision needs to also consider that the
   validation process requires resources and thus itself could be
   exploited for attacks.  Alternatively, resource management limits can
   be placed on routing security processing events (see the comment in
   Section 6, paragraph 4, of [RFC5751]).

5.3.3.  Countering Selective Forwarding Attacks

   Selective forwarding attacks are another form of DoS attack which
   impacts the routing path availability.

   An insider malicious node basically blends neatly in with the network
   but then may decide to forward and/or manipulate certain packets.  If
   all packets are dropped, then this attacker is also often referred to
   as a "black hole".  Such a form of attack is particularly dangerous
   if coupled with sinkhole attacks since inherently a large amount of
   traffic is attracted to the malicious node and thereby causing
   significant damage.  In a shared medium, an outside malicious node
   would selectively jam overheard data flows, where the thus caused
   collisions incur selective forwarding.

   Selective Forwarding attacks can be countered by deploying a series
   of mutually non-exclusive security measures:

Tsao, et al.              Expires April 8, 2013                [Page 30]
Internet-Draft         Security Framework for ROLL          October 2012

   o  multipath routing of the same message over disjoint paths;

   o  dynamically select the next hop from a set of candidates.

   The first measure basically guarantees that if a message gets lost on
   a particular routing path due to a malicious selective forwarding
   attack, there will be another route which successfully delivers the
   data.  Such method is inherently suboptimal from an energy
   consumption point of view.  The second method basically involves a
   constantly changing routing topology in that next-hop routers are
   chosen from a dynamic set in the hope that the number of malicious
   nodes in this set is negligible.  A routing protocol that allows for
   disjoint routing paths may also be useful.

5.3.4.  Countering Sinkhole Attacks

   In sinkhole attacks, the malicious node manages to attract a lot of
   traffic mainly by advertising the availability of high-quality links
   even though there are none [Karlof2003].  It hence constitutes a
   serious attack on availability.

   The malicious node creates a sinkhole by attracting a large amount
   of, if not all, traffic from surrounding neighbors by advertising in
   and outwards links of superior quality.  Affected nodes hence eagerly
   route their traffic via the malicious node which, if coupled with
   other attacks such as selective forwarding, may lead to serious
   availability and security breaches.  Such an attack can only be
   executed by an inside malicious node and is generally very difficult
   to detect.  An ongoing attack has a profound impact on the network
   topology and essentially becomes a problem of flow control.

   Sinkhole attacks can be countered by deploying a series of mutually
   non-exclusive security measures:

   o  use geographical insights for flow control;

   o  isolate nodes which receive traffic above a certain threshold;

   o  dynamically pick up next hop from set of candidates;

   o  allow only trusted data to be received and forwarded.

   Whilst most of these countermeasures have been discussed before, the
   use of geographical information deserves further attention.
   Essentially, if geographic positions of nodes are available, then the
   network can assure that data is actually routed towards the intended
   destination and not elsewhere.  On the other hand, geographic
   position is a sensitive information that has security and/or privacy

Tsao, et al.              Expires April 8, 2013                [Page 31]
Internet-Draft         Security Framework for ROLL          October 2012

   consequences (see Section 6.1).

5.3.5.  Countering Wormhole Attacks

   In wormhole attacks at least two malicious nodes shortcut or divert
   the usual routing path by means of a low-latency out-of-band channel
   [Karlof2003].  This changes the availability of certain routing paths
   and hence constitutes a serious security breach.

   Essentially, two malicious insider nodes use another, more powerful,
   transmitter to communicate with each other and thereby distort the
   would-be-agreed routing path.  This distortion could involve
   shortcutting and hence paralyzing a large part of the network; it
   could also involve tunneling the information to another region of the
   network where there are, e.g., more malicious nodes available to aid
   the intrusion or where messages are replayed, etc.  In conjunction
   with selective forwarding, wormhole attacks can create race
   conditions which impact topology maintenance, routing protocols as
   well as any security suits built on "time of check" and "time of
   use".

   Wormhole attacks are very difficult to detect in general but can be
   mitigated using similar strategies as already outlined above in the
   context of sinkhole attacks.

6.  ROLL Security Features

   The assessments and analysis in Section 4 examined all areas of
   threats and attacks that could impact routing, and the
   countermeasures presented in Section 5 were reached without confining
   the consideration to means only available to routing.  This section
   puts the results into perspective and provides a framework for
   addressing the derived set of security objectives that must be met by
   the routing protocol(s) specified by the ROLL Working Group.  It
   bears emphasizing that the target here is a generic, universal form
   of the protocol(s) specified and the normative keywords are mainly to
   convey the relative level of importance or urgency of the features
   specified.

   In this view, 'MUST' is used to define the requirements that are
   specific to the routing protocol and that are essential for an LLN
   routing protocol to ensure that routing operation can be maintained.
   Adherence to MUST requirements is needed to directly counter attacks
   that can affect the routing operation (such as those that can impact
   maintained or derived routing/forwarding tables).  'SHOULD' is used
   to define requirements that counter indirect routing attacks where
   such attacks that do not of themselves affect routing but can assist

Tsao, et al.              Expires April 8, 2013                [Page 32]
Internet-Draft         Security Framework for ROLL          October 2012

   an attacker in focusing its attack resources to impact network
   operation (such as DoS targeting of key forwarding nodes).  'MAY'
   covers optional requirements that can further enhance security by
   increasing the space over which an attacker must operate or the
   resources that must be applied.  While in support of routing
   security, where appropriate, these requirements may also be addressed
   beyond the network routing protocol at other system communications
   layers.

   The first part of this section, Section 6.1 to Section 6.3, is a
   prescription of ROLL security features of measures that can be
   addressed as part of the routing protocol itself.  As routing is one
   component of a LLN system, the actual strength of the security
   services afforded to it should be made to conform to each system's
   security policy; how a design may address the needs of the urban,
   industrial, home automation, and building automation application
   domains also needs to be considered.  The second part of this
   section, Section 6.4 and Section 6.5, discusses system security
   aspects that may impact routing but that also require considerations
   beyond the routing protocol, as well as potential approaches.

   If a LLN employs multicast and/or anycast, these alternative
   communications modes MUST be secured with the same routing security
   services specified in this section.  Furthermore, irrespective of the
   modes of communication, nodes MUST provide adequate physical tamper
   resistance commensurate with the particular application domain
   environment to ensure the confidentiality, integrity and availability
   of stored routing information.

6.1.  Confidentiality Features

   With regard to confidentiality, protecting the routing/topology
   information from eavesdropping or unauthorized exposure is not
   directly essential to maintaining the routing function.  Breaches of
   confidentiality may lead to other attacks or the focusing of an
   attacker's resources (see Section 4.1) but does not of itself
   directly undermine the operation of the routing function.  However,
   to protect against, and improve vulnerability against other more
   direct attacks, routing information confidentiality should be
   protected.  Thus, a secured ROLL protocol

   o  MUST implement payload encryption;

   o  MUST provide privacy when geographic information is used (see,
      e.g., [RFC3693]);

   o  MAY provide tunneling;

Tsao, et al.              Expires April 8, 2013                [Page 33]
Internet-Draft         Security Framework for ROLL          October 2012

   o  MAY provide load balancing.

   Where confidentiality is incorporated into the routing exchanges,
   encryption algorithms and key lengths need to be specified in
   accordance of the level of protection dictated by the routing
   protocol and the associated application domain transport network.  In
   terms of the life time of the keys, the opportunity to periodically
   change the encryption key increases the offered level of security for
   any given implementation.  However, where strong cryptography is
   employed, physical, procedural, and logical data access protection
   considerations may have more significant impact on cryptoperiod
   selection than algorithm and key size factors.  Nevertheless, in
   general, shorter cryptoperiods, during which a single key is applied,
   will enhance security.

   Given the mandatory protocol requirement to implement routing node
   authentication as part of routing integrity (see Section 6.2), key
   exchanges may be coordinated as part of the integrity verification
   process.  This provides an opportunity to increase the frequency of
   key exchange and shorten the cryptoperiod as a complement to the key
   length and encryption algorithm required for a given application
   domain.  For LLNs, the coordination of confidentiality key management
   with the implementation of node device authentication can thus reduce
   the overhead associated with supporting data confidentiality.  If a
   new ciphering key is concurrently generated or updated in conjunction
   with the mandatory authentication exchange occurring with each
   routing peer association, signaling exchange overhead can be reduced.

6.2.  Integrity Features

   The integrity of routing information provides the basis for ensuring
   that the function of the routing protocol is achieved and maintained.
   To protect integrity, a secured ROLL protocol

   o  MUST provide and verify message integrity (including integrity of
      the encrypted message when confidentiality is applied);

   o  MUST verify the authenticity and liveness of both principals of a
      connection (independent of the device interface over which the
      information is received or accessed);

   o  MUST verify message sequence;

   o  SHOULD incorporate protocol-specific parameter validity range
      checks, change increments and message event frequency checks, etc.
      as a means of countering intentional or unintentional Byzantine
      threats;

Tsao, et al.              Expires April 8, 2013                [Page 34]
Internet-Draft         Security Framework for ROLL          October 2012

   o  MAY incorporate external consistency checking and auditing of
      routing information to protect against intentional or
      unintentional Byzantine-induced network anomalies.

   In conjunction with the integrity protection requirements, a secured
   ROLL protocol SHOULD log, against the offending node, any security
   failure that occurs after a valid integrity check.  The record of
   such failures (as may result, for example, from incorrect security
   policy configuration) can provide the basis for nodes to avoid
   initiating routing access to the offender or used for further system
   countermeasures in the case of potential insider attacks.  All
   integrity security failures SHOULD be logged, where feasible, but
   cannot be reliably considered as against the offending source(s).

   Depending on the nature of the routing protocol, e.g., distance
   vector or link state, additional measures may be necessary when the
   validity of the routing information is of concern.  In the most basic
   form, verification of routing peer authenticity and liveliness can be
   used to build a "chain of trust" along the path the routing
   information flows, such that network-wide information is validated
   through the concatenation of trust established at each individual
   routing peer exchange.  This is particularly important in the case of
   distance vector-based routing protocols, where information is updated
   at intermediate nodes, In such cases, there are no direct means
   within routing for a receiver to verify the validity of the routing
   information beyond the current exchange; as such, nodes would need to
   be able to communicate and request information from non-adjacent
   peers (see [Wan2004]) to provide information integrity assurances.
   With link state-based protocols, on the other hand, routing
   information can be signed at the source thus providing a means for
   validating information that originates beyond a routing peer.
   Therefore, where necessary, a secured ROLL protocol MAY use security
   auditing mechanisms that are external to routing to verify the
   validity of the routing information content exchanged among routing
   peers.

6.3.  Availability Features

   Availability of routing information is linked to system and network
   availability which in the case of LLNs require a broader security
   view beyond the requirements of the routing entities (see
   Section 6.5).  Where availability of the network is compromised,
   routing information availability will be accordingly affected.
   However, to specifically assist in protecting routing availability

   o  MAY restrict neighborhood cardinality;

Tsao, et al.              Expires April 8, 2013                [Page 35]
Internet-Draft         Security Framework for ROLL          October 2012

   o  MAY use multiple paths;

   o  MAY use multiple destinations;

   o  MAY choose randomly if multiple paths are available;

   o  MAY set quotas to limit transmit or receive volume;

   o  MAY use geographic information for flow control.

6.4.  Security Key Management

   The functioning of the routing security services requires keys and
   credentials.  Therefore, even though not directly a ROLL security
   requirement, a LLN MUST have a process for initial key and credential
   configuration, as well as secure storage within the associated
   devices (including use of trusted platform modules where feasible and
   appropriate to the operating environment).  Beyond initial credential
   configuration, a LLN is also encouraged to have automatic procedures
   for the long-term revocation and replacement of the maintained
   security credentials.

   Individual routing peer associations and signaling exchanges will
   require the generation and use of keys that may be derived from
   secret or public key exchanges or directly obtained through device
   configuration means.  The routing protocol specification MUST include
   mechanisms for identifying and synchronizing the keys used for
   securing exchanges between the routing entities.  The keys used to
   protect the communications between the routing entities MAY be
   implicit, configured keys or may be explicitly generated as part of
   the routing signaling exchange.

   For the keys used to protect routing associations, the routing
   protocol(s) specified by the ROLL Working Group SHOULD employ key
   management mechanisms consistent with the guidelines given in
   [RFC4107].  Based on that RFC's recommendations, many LLNs,
   particularly given the intended scale and ad hoc device associations,
   will meet the requirement for supporting automated key management in
   conjunction with the routing protocol operation.  These short-term,
   automated routing session keys may be derived from pre-stored
   security credentials or can be generated through key management
   mechanisms that are defined as part of the routing protocol exchange.
   Beyond the automated short-term keys, a long-term key management
   mechanism SHOULD also be defined for changing or updating the
   credentials from which short-term routing association key material is
   derived.

   The use of a public key infrastructure (PKI), where feasible, can be

Tsao, et al.              Expires April 8, 2013                [Page 36]
Internet-Draft         Security Framework for ROLL          October 2012

   used to support authenticated short-term key management as well as
   the distribution of long-term routing security keying material.  Note
   that where the option for a PKI is supported for security of the
   routing protocol itself, the routing protocol MUST include provisions
   for public key certificates to be included or referenced within
   routing messages to allow a node's public key to be shared with
   communicating peers.  Even if the certificate itself is not
   distributed by the node, there needs to be a mechanism to inform the
   receiving node where to find the certificate and obtain associated
   validation information; see [RFC3029] for an example of the kind of
   localized PKI support that may be applied in a given LLN environment.
   Where PKI systems are not feasible, the key management system MUST
   support means for secure configuration, device authentication, and
   adherence to secure key wrapping principles for the secure
   distribution and update of device keys.

   LLN routing protocols SHOULD be designed to allow the use of existing
   and validated key management schemes.  As part of the LLN
   optimization, these schemes may be independent of the routing
   protocol and part of the broader LLN system security specifications.
   Where the long-term key management is defined separate from the
   routing protocol security, LLN application domains can appropriately
   employ IETF- standard key management specifications.  Established key
   management solutions such as IKE [RFC5996] or MIKEY [RFC3830], which
   supports several alternative private, public, or Diffie-Hellman key
   distribution methods (see [RFC5197]), can thus be adapted for use in
   LLNs.  For example, see [I-D.alexander-roll-mikey-lln-key-mgmt].
   Group key management and distribution methods may also be developed
   based on the architecture principles defined in MSEC [RFC4046].

6.5.  Consideration on Matching Application Domain Needs

   Providing security within an LLN requires considerations that extend
   beyond routing security to the broader LLN application domain
   security implementation.  In other words, as routing is one component
   of a LLN system, the actual strength of the implemented security
   algorithms for the routing protocol MUST be made to conform to the
   system's target level of security.  The development so far takes into
   account collectively the impacts of the issues gathered from
   [RFC5548], [RFC5673], [RFC5826], and [RFC5867].  The following two
   subsections first consider from an architectural perspective how the
   security design of a ROLL protocol may be made to adapt to the four
   application domains, and then examine mechanisms and protocol
   operations issues.

Tsao, et al.              Expires April 8, 2013                [Page 37]
Internet-Draft         Security Framework for ROLL          October 2012

6.5.1.  Security Architecture

   The first challenge for a ROLL protocol security design is to have an
   architecture that can adequately address a set of very diversified
   needs.  It is mainly a consequence of the fact that there are both
   common and non-overlapping requirements from the four application
   domains, while, conceivably, each individual application will present
   yet its own unique constraints.

   For a ROLL protocol, the security requirements defined in Section 6.1
   to Section 6.4 can be addressed at two levels: 1) through measures
   implemented directly within the routing protocol itself and initiated
   and controlled by the routing protocol entities; or 2) through
   measures invoked on behalf of the routing protocol entities but
   implemented within the part of the network over which the protocol
   exchanges occur.

   Where security is directly implemented as part of the routing
   protocol the security requirements configured by the user (system
   administrator) will operate independent of the lower layers.  OSPFv2
   [RFC2328] is an example of such an approach in which security
   parameters are exchanged and assessed within the routing protocol
   messages.  In this case, the mechanism may be, e.g., a header
   containing security material of configurable security primitives in
   the fashion of OSPFv2 or RIPv2 [RFC2453].  Where IPsec [RFC4301] is
   employed to secure the network, the included protocol-specific (OSPF
   or RIP) security elements are in addition to and independent of those
   at the network layer.  In the case of LLNs or other networks where
   system security mandates protective mechanisms at other lower layers
   of the network, security measures implemented as part of the routing
   protocol will be redundant to security measures implemented elsewhere
   as part of the protocol stack.

   Security mechanisms built into the routing protocol can ensure that
   all desired countermeasures can be directly addressed by the protocol
   all the way to the endpoint of the routing exchange.  In particular,
   routing protocol Byzantine attacks by a compromised node that retains
   valid network security credentials can only be detected at the level
   of the information exchanged within the routing protocol.  Such
   attacks aimed at the manipulation of the routing information can only
   be fully addressed through measures operating directly between the
   routing entities themselves or external entities able to access and
   analyze the routing information (see discussion in Section 5.2.5).

   On the other hand, it is more desirable from a LLN device perspective
   that the ROLL protocol is integrated into the framework of an overall
   system architecture where the security facility may be shared by
   different applications and/or across layers for efficiency, and where

Tsao, et al.              Expires April 8, 2013                [Page 38]
Internet-Draft         Security Framework for ROLL          October 2012

   security policy and configurations can be consistently specified.
   See, for example, considerations made in RIPng [RFC2080] or the
   approach presented in [Messerges2003].

   Where the routing protocol is able to rely on security measures
   configured within other layers of the protocol stack, greater system
   efficiency can be realized by avoiding potentially redundant
   security.  Relying on an open trust model [Messerges2003], the
   security requirements of the routing protocol can be more flexibly
   met at different layers of the transport network; measures that must
   be applied to protect the communications network are concurrently
   able to provide the needed routing protocol protection.

   For example, where a given security encryption scheme is deemed the
   appropriate standard for network confidentiality of data exchanges at
   the link layer, that level of security is directly provided to
   routing protocol exchanges across the local link.  Similarly, where a
   given authentication procedure is stipulated as part of the standard
   required for authenticating network traffic, that security provision
   can then meet the requirement needed for authentication of routing
   exchanges.  In addition, in the context of the different LLN
   application domains, the level of security specified for routing can
   and should be consistent with that considered appropriate for
   protecting the network within the given environment.

   A ROLL protocol MUST be made flexible by a design that offers the
   configuration facility so that the user (network administrator) can
   choose the security settings that match the application's needs.
   Furthermore, in the case of LLNs that flexibility SHOULD extend to
   allowing the routing protocol security requirements to be met by
   measures applied at different protocol layers, provided the
   identified requirements are collectively met.

   Since Byzantine attacks that can affect the validity of the
   information content exchanged between routing entities can only be
   directly countered at the routing protocol level, the ROLL protocol
   MAY support mechanisms for verifying routing data validity that
   extends beyond the chain of trust created through device
   authentication.  This protocol-specific security mechanism SHOULD be
   made optional within the protocol allowing it to be invoked according
   to the given routing protocol and application domain and as selected
   by the system user.  All other ROLL security mechanisms needed to
   meet the above identified routing security requirements can be
   flexibly implemented within the transport network (at the IP network
   layer or higher or lower protocol layers(s)) according to the
   particular application domain and user network configuration.

   Based on device capabilities and the spectrum of operating

Tsao, et al.              Expires April 8, 2013                [Page 39]
Internet-Draft         Security Framework for ROLL          October 2012

   environments it would be difficult for a single fixed security design
   to be applied to address the diversified needs of the urban,
   industrial, home, and building ROLL application domains, and
   foreseeable others, without forcing a very low common denominator set
   of requirements.  On the other hand, providing four individual domain
   designs that attempt to a priori match each individual domain is also
   very unlikely to provide a suitable answer given the degree of
   network variability even within a given domain; furthermore, the type
   of link layers in use within each domain also influences the overall
   security.

   Instead, the framework implementation approach recommended is for
   optional, routing protocol-specific measures that can be applied
   separately from, or together with, flexible transport network
   mechanisms.  Protocol-specific measures include the specification of
   valid parameter ranges, increments and/or event frequencies that can
   be verified by individual routing devices.  In addition to deliberate
   attacks this allows basic protocol sanity checks against
   unintentional mis-configuration.  Transport network mechanisms would
   include out-of-band communications that may be defined to allow an
   external entity to request and process individual device information
   as a means to effecting an external verification of the derived
   network routing information to identify the existence of intentional
   or unintentional network anomalies.

   This approach allows countermeasures against internal attacks to be
   applied in environments where applicable threats exist.  At the same
   time, it allows routing protocol security to be supported through
   measures implemented within the transport network that are consistent
   with available system resources and commensurate and consistent with
   the security level and strength applied in the particular application
   domain networks.

6.5.2.  Mechanisms and Operations

   With an architecture allowing different configurations to meet the
   application domain needs, the task is then to find suitable
   mechanisms.  For example, one of the main problems of synchronizing
   security states of sleepy nodes, as listed in the last subsection,
   lies in difficulties in authentication; these nodes may not have
   received in time the most recent update of security material.
   Similarly, the issues of minimal manual configuration, prolonged
   rollout and delayed addition of nodes, and network topology changes
   also complicate security management.  In many cases the ROLL protocol
   may need to bootstrap the authentication process and allow for a
   flexible expiration scheme of authentication credentials.  This
   exemplifies the need for the coordination and interoperation between
   the requirements of the ROLL routing protocol and that of the system

Tsao, et al.              Expires April 8, 2013                [Page 40]
Internet-Draft         Security Framework for ROLL          October 2012

   security elements.

   Similarly, the vulnerability brought forth by some special-function
   nodes, e.g., LBRs requires the assurance, particularly, of the
   availability of communication channels and node resources, or that
   the neighbor discovery process operates without undermining routing
   availability.

   There are other factors which are not part of a ROLL routing protocol
   but which can still affect its operation.  These include elements
   such as weaker barrier to accessing the data or security material
   stored on the nodes through physical means; therefore, the internal
   and external interfaces of a node need to be adequate for guarding
   the integrity, and possibly the confidentiality, of stored
   information, as well as the integrity of routing and route generation
   processes.

   Figure 3 provides an overview of the larger context of system
   security and the relationship between ROLL requirements and measures
   and those that relate to the LLN system.

Tsao, et al.              Expires April 8, 2013                [Page 41]
Internet-Draft         Security Framework for ROLL          October 2012

                           Security Services for
                             ROLL-Addressable
                           Security Requirements
                                |        |
                            +---+        +---+
                Node_i      |                |      Node_j
                       _____v___          ___v_____
     Specify Security /         \        /         \ Specify Security
     Requirements     | Routing |        | Routing |     Requirements
            +---------| Protocol|        | Protocol|---------+
            |         | Entity  |        | Entity  |         |
            |         \_________/        \_________/         |
            |               |                |               |
            |ROLL-Specified |                | ROLL-Specified|
           ---Interface     |                |     Interface---
            |     ......................................     |
            |     :         |                |         :     |
            |     :   +-----+----+      +----+-----+   :     |
            |     :   |Transport/|      |Transport/|   :     |
        ____v___  : +>|Network   |      |Network   |<+ :  ___v____
       /        \ : | +-----+----+      +----+-----+ | : /        \
       |        |-:-+       |                |       +-:-|        |
       |Security| :   +-----+----+      +----+-----+   : |Security|
    +->|Services|-:-->|   Link   |      |   Link   |<--:-|Services|<-+
    |  |Entity  | :   +-----+----+      +----+-----+   : |Entity  |  |
    |  |        |-:-+       |                |       +-:-|        |  |
    |  \________/ : | +-----+----+      +----+-----+ | : \________/  |
    |             : +>| Physical |      | Physical |<+ :             |
   Application    :   +-----+----+      +----+-----+   :    Application
   Domain User    :         |                |         :    Domain User
   Configuration  :         |__Comm. Channel_|         :  Configuration
                  :                                    :
                  ...Protocol Stack.....................

                    Figure 3: LLN Device Security Model

7.  IANA Considerations

   This memo includes no request to IANA.

8.  Security Considerations

   The framework presented in this document provides security analysis
   and design guidelines with a scope limited to ROLL.  Security
   services are identified as requirements for securing ROLL.  The

Tsao, et al.              Expires April 8, 2013                [Page 42]
Internet-Draft         Security Framework for ROLL          October 2012

   specific mechanisms to be used to deal with each threat is specified
   in link-layer and deployment specific applicability statements.

9.  Acknowledgments

   The authors would like to acknowledge the review and comments from
   Rene Struik and JP Vasseur.  The authors would also like to
   acknowledge the guidance and input provided by the ROLL Chairs, David
   Culler, and JP Vasseur, and the Area Director Adrian Farrel.

   This document started out as a combined threat and solutions
   document, but was split up by ROLL co-Chair Michael Richardson as it
   went through the IETF publication process.

10.  References

10.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC4107]  Bellovin, S. and R. Housley, "Guidelines for Cryptographic
              Key Management", BCP 107, RFC 4107, June 2005.

   [RFC4301]  Kent, S. and K. Seo, "Security Architecture for the
              Internet Protocol", RFC 4301, December 2005.

   [RFC6550]  Winter, T., Thubert, P., Brandt, A., Hui, J., Kelsey, R.,
              Levis, P., Pister, K., Struik, R., Vasseur, JP., and R.
              Alexander, "RPL: IPv6 Routing Protocol for Low-Power and
              Lossy Networks", RFC 6550, March 2012.

10.2.  Informative References

   [FIPS197]  "Federal Information Processing Standards Publication 197:
              Advanced Encryption Standard (AES)", US National Institute
              of Standards and Technology, Nov. 26 2001.

   [Huang2003]
              Huang, Q., Cukier, J., Kobayashi, H., Liu, B., and J.
              Zhang, "Fast Authenticated Key Establishment Protocols for
              Self-Organizing Sensor Networks", in Proceedings of the
              2nd ACM International Conference on Wireless Sensor
              Networks and Applications, San Diego, CA, USA, pp. 141-
              150, Sept. 19 2003.

Tsao, et al.              Expires April 8, 2013                [Page 43]
Internet-Draft         Security Framework for ROLL          October 2012

   [I-D.alexander-roll-mikey-lln-key-mgmt]
              Alexander, R. and T. Tsao, "Adapted Multimedia Internet
              KEYing (AMIKEY): An extension of Multimedia Internet
              KEYing (MIKEY) Methods for Generic LLN Environments",
              draft-alexander-roll-mikey-lln-key-mgmt-04 (work in
              progress), September 2012.

   [I-D.suhopark-hello-wsn]
              Park, S., "Routing Security in Sensor Network: HELLO Flood
              Attack and Defense", draft-suhopark-hello-wsn-00 (work in
              progress), December 2005.

   [IEEE1149.1]
              "IEEE Standard Test Access Port and Boundary Scan
              Architecture", IEEE-SA Standards Board, Jun. 14 2001.

   [Karlof2003]
              Karlof, C. and D. Wagner, "Secure routing in wireless
              sensor networks: attacks and countermeasures", Elsevier
              AdHoc Networks Journal, Special Issue on Sensor Network
              Applications and Protocols, 1(2):293-315, September 2003.

   [Kasumi3gpp]
              "3GPP TS 35.202 Specification of the 3GPP confidentiality
              and integrity algorithms; Document 2: Kasumi
              specification", 3GPP TSG SA3, 2009.

   [Messerges2003]
              Messerges, T., Cukier, J., Kevenaar, T., Puhl, L., Struik,
              R., and E. Callaway, "Low-Power Security for Wireless
              Sensor Networks", in Proceedings of the 1st ACM Workshop
              on Security of Ad Hoc and Sensor Networks, Fairfax, VA,
              USA, pp. 1-11, Oct. 31 2003.

   [Myagmar2005]
              Myagmar, S., Lee, AJ., and W. Yurcik, "Threat Modeling as
              a Basis for Security Requirements", in Proceedings of the
              Symposium on Requirements Engineering for Information
              Security (SREIS'05), Paris, France, pp. 94-102, Aug
              29, 2005.

   [Perlman1988]
              Perlman, N., "Network Layer Protocols with Byzantine
              Robustness", MIT LCS Tech Report, 429, 1988.

   [RFC1142]  Oran, D., "OSI IS-IS Intra-domain Routing Protocol",
              RFC 1142, February 1990.

Tsao, et al.              Expires April 8, 2013                [Page 44]
Internet-Draft         Security Framework for ROLL          October 2012

   [RFC2080]  Malkin, G. and R. Minnear, "RIPng for IPv6", RFC 2080,
              January 1997.

   [RFC2328]  Moy, J., "OSPF Version 2", STD 54, RFC 2328, April 1998.

   [RFC2453]  Malkin, G., "RIP Version 2", STD 56, RFC 2453,
              November 1998.

   [RFC3029]  Adams, C., Sylvester, P., Zolotarev, M., and R.
              Zuccherato, "Internet X.509 Public Key Infrastructure Data
              Validation and Certification Server Protocols", RFC 3029,
              February 2001.

   [RFC3693]  Cuellar, J., Morris, J., Mulligan, D., Peterson, J., and
              J. Polk, "Geopriv Requirements", RFC 3693, February 2004.

   [RFC3830]  Arkko, J., Carrara, E., Lindholm, F., Naslund, M., and K.
              Norrman, "MIKEY: Multimedia Internet KEYing", RFC 3830,
              August 2004.

   [RFC4046]  Baugher, M., Canetti, R., Dondeti, L., and F. Lindholm,
              "Multicast Security (MSEC) Group Key Management
              Architecture", RFC 4046, April 2005.

   [RFC4593]  Barbir, A., Murphy, S., and Y. Yang, "Generic Threats to
              Routing Protocols", RFC 4593, October 2006.

   [RFC4732]  Handley, M., Rescorla, E., and IAB, "Internet Denial-of-
              Service Considerations", RFC 4732, December 2006.

   [RFC4949]  Shirey, R., "Internet Security Glossary, Version 2",
              RFC 4949, August 2007.

   [RFC5197]  Fries, S. and D. Ignjatic, "On the Applicability of
              Various Multimedia Internet KEYing (MIKEY) Modes and
              Extensions", RFC 5197, June 2008.

   [RFC5548]  Dohler, M., Watteyne, T., Winter, T., and D. Barthel,
              "Routing Requirements for Urban Low-Power and Lossy
              Networks", RFC 5548, May 2009.

   [RFC5673]  Pister, K., Thubert, P., Dwars, S., and T. Phinney,
              "Industrial Routing Requirements in Low-Power and Lossy
              Networks", RFC 5673, October 2009.

   [RFC5751]  Ramsdell, B. and S. Turner, "Secure/Multipurpose Internet
              Mail Extensions (S/MIME) Version 3.2 Message
              Specification", RFC 5751, January 2010.

Tsao, et al.              Expires April 8, 2013                [Page 45]
Internet-Draft         Security Framework for ROLL          October 2012

   [RFC5826]  Brandt, A., Buron, J., and G. Porcu, "Home Automation
              Routing Requirements in Low-Power and Lossy Networks",
              RFC 5826, April 2010.

   [RFC5867]  Martocci, J., De Mil, P., Riou, N., and W. Vermeylen,
              "Building Automation Routing Requirements in Low-Power and
              Lossy Networks", RFC 5867, June 2010.

   [RFC5996]  Kaufman, C., Hoffman, P., Nir, Y., and P. Eronen,
              "Internet Key Exchange Protocol Version 2 (IKEv2)",
              RFC 5996, September 2010.

   [Wan2004]  Wan, T., Kranakis, E., and PC. van Oorschot, "S-RIP: A
              Secure Distance Vector Routing Protocol", in Proceedings
              of the 2nd International Conference on Applied
              Cryptography and Network Security, Yellow Mountain, China,
              pp. 103-119, Jun. 8-11 2004.

   [Wander2005]
              Wander, A., Gura, N., Eberle, H., Gupta, V., and S.
              Shantz, "Energy analysis of public-key cryptography for
              wireless sensor networ", in the Proceedings of the Third
              IEEE International Conference on Pervasive Computing and
              Communications pp. 324-328, March 8-12 2005.

   [Yourdon1979]
              Yourdon, E. and L. Constantine, "Structured Design",
              Yourdon Press, New York, Chapter 10, pp. 187-222, 1979.

Authors' Addresses

   Tzeta Tsao
   Cooper Power Systems
   910 Clopper Rd. Suite 201S
   Gaithersburg, Maryland  20878
   USA

   Email: tzeta.tsao@cooperindustries.com

Tsao, et al.              Expires April 8, 2013                [Page 46]
Internet-Draft         Security Framework for ROLL          October 2012

   Roger K. Alexander
   Cooper Power Systems
   910 Clopper Rd. Suite 201S
   Gaithersburg, Maryland  20878
   USA

   Email: roger.alexander@cooperindustries.com

   Mischa Dohler
   CTTC
   Parc Mediterrani de la Tecnologia, Av. Canal Olimpic S/N
   Castelldefels, Barcelona  08860
   Spain

   Email: mischa.dohler@cttc.es

   Vanesa Daza
   Universitat Pompeu Fabra
   P/ Circumval.lacio 8, Oficina 308
   Barcelona  08003
   Spain

   Email: vanesa.daza@upf.edu

   Angel Lozano
   Universitat Pompeu Fabra
   P/ Circumval.lacio 8, Oficina 309
   Barcelona  08003
   Spain

   Email: angel.lozano@upf.edu

Tsao, et al.              Expires April 8, 2013                [Page 47]