RFC 5713 INFORMATIONAL SECURITY · THREAT MODEL · ACCESS NETWORKS

ANCP threats: Security Threats and Security Requirements for the Access Node Control Protocol (ANCP)

Who could attack the protocol between a provider's server and its street cabinet, and what it must do about them.

On rfc-editor.org ↗
PUBLISHED
January 2010
AUTHORS
H. Moustafa, H. Tschofenig, S. De Cnodder
STREAM
IETF
MULTICAST USE CASES
4
PROTOCOL ESTABLISHMENT PHASES
Session initiation, peering, capability negotiation
AUTHENTICATION DIRECTIONS REQUIRED
AN to NAS, and NAS to AN
THREAT MODEL ATTACKER POSITIONS
Off-path at the CPE or HGW, on-path between the AN and the NAS
AAA SERVER ROLE
Authenticates users, authorises access, returns configuration
EXPLICITLY OUT OF SCOPE
Policy negotiation at the policy/AAA server
DOI
10.17487/RFC5713

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Internet Engineering Task Force (IETF)                       H. Moustafa
Request for Comments: 5713                                France Telecom
Category: Informational                                    H. Tschofenig
ISSN: 2070-1721                                   Nokia Siemens Networks
                                                           S. De Cnodder
                                                          Alcatel-Lucent
                                                            January 2010


           Security Threats and Security Requirements for the
                  Access Node Control Protocol (ANCP)

Abstract

   The Access Node Control Protocol (ANCP) aims to communicate Quality
   of Service (QoS)-related, service-related, and subscriber-related
   configurations and operations between a Network Access Server (NAS)
   and an Access Node (e.g., a Digital Subscriber Line Access
   Multiplexer (DSLAM)).  The main goal of this protocol is to allow the
   NAS to configure, manage, and control access equipment, including the
   ability for the Access Nodes to report information to the NAS.

   This present document investigates security threats that all ANCP
   nodes could encounter.  This document develops a threat model for
   ANCP security, with the aim of deciding which security functions are
   required.  Based on this, security requirements regarding the Access
   Node Control Protocol are defined.


Status of This Memo

   This document is not an Internet Standards Track specification; it is
   published for informational purposes.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Not all documents
   approved by the IESG are a candidate for any level of Internet
   Standard; see Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc5713.

Copyright Notice

   Copyright (c) 2010 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.

Table of Contents


   1. Introduction ....................................................3
   2. Specification Requirements ......................................3
   3. System Overview and Threat Model ................................4
   4. Objectives of Attackers .........................................7
   5. Potential Attacks ...............................................7
      5.1. Denial of Service (DoS) ....................................7
      5.2. Integrity Violation ........................................8
      5.3. Downgrading ................................................8
      5.4. Traffic Analysis ...........................................8
      5.5. Management Attacks .........................................8
   6. Attack Forms ....................................................9
   7. Attacks against ANCP ...........................................10
      7.1. Dynamic Access-Loop Attributes ............................11
      7.2. Access-Loop Configuration .................................12
      7.3. Remote Connectivity Test ..................................14
      7.4. Multicast .................................................14
   8. Security Requirements ..........................................16
   9. Security Considerations ........................................16
   10. Acknowledgments ...............................................17
   11. References ....................................................17
      11.1. Normative References .....................................17
      11.2. Informative References ...................................17

1.  Introduction

   The Access Node Control Protocol (ANCP) aims to communicate QoS-
   related, service-related, and subscriber-related configurations and
   operations between a Network Access Server (NAS) and an Access Node
   (e.g., a Digital Subscriber Line Access Multiplexer (DSLAM)).

   [ANCP-FRAME] illustrates the framework, usage scenarios, and general
   requirements for ANCP.  This document focuses on describing security
   threats and deriving security requirements for the Access Node
   Control Protocol, considering the ANCP use cases defined in
   [ANCP-FRAME] as well as the guidelines for IETF protocols' security
   requirements given in [RFC3365].  Section 5 and Section 6,
   respectively, describe the potential attacks and the different attack
   forms that are liable to take place within ANCP, while Section 7
   applies the described potential attacks to ANCP and its different use
   cases.  Security policy negotiation, including authentication and
   authorization to define the per-subscriber policy at the policy/AAA
   (Authentication, Authorization, and Accounting) server, is out of the
   scope of this work.  As a high-level summary, the following aspects
   need to be considered:

   Message Protection:

      Signaling message content can be protected against eavesdropping,
      modification, injection, and replay while in transit.  This
      applies to both ANCP headers and payloads.

   Prevention against Impersonation:

      It is important that protection be available against a device
      impersonating an ANCP node (i.e., an unauthorized device
      generating an ANCP message and pretending it was generated by a
      valid ANCP node).

   Prevention of Denial-of-Service Attacks:

      ANCP nodes and the network have finite resources (state storage,
      processing power, bandwidth).  It is important to protect against
      exhaustion attacks on these resources and to prevent ANCP nodes
      from being used to launch attacks on other network elements.

2.  Specification Requirements

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119], with the
   qualification that, unless otherwise stated, they apply to the design
   of the Access Node Control Protocol (ANCP), not its implementation or
   application.

   The relevant components are described in Section 3.

3.  System Overview and Threat Model

   As described in [ANCP-FRAME] and schematically shown in Figure 1, the
   Access Node Control system consists of the following components:

   Network Access Server (NAS):

      A NAS provides access to a service (e.g., network access) and
      operates as a client of the AAA protocol.  The AAA client is
      responsible for passing authentication information to designated
      AAA servers and then acting on the response that is returned.

   Authentication, Authorization, and Accounting (AAA) server:

      A AAA server is responsible for authenticating users, authorizing
      access to services, and returning authorization information
      (including configuration parameters) back to the AAA client to
      deliver service to the user.  As a consequence, service usage
      accounting might be enabled and information about the user's
      resource usage will be sent to the AAA server.

   Access Node (AN):

      The AN is a network device, usually located at a service provider
      central office or street cabinet, that terminates access-loop
      connections from subscribers.  In case the access loop is a
      Digital Subscriber Line (DSL), this is often referred to as a DSL
      Access Multiplexer (DSLAM).

   Customer Premises Equipment (CPE):

      A CPE is a device located inside a subscriber's premise that is
      connected at the LAN side of the Home Gateway (HGW).

   Home Gateway (HGW):

      The HGW connects the different Customer Premises Equipments (CPEs)
      to the Access Node and the access network.  In case of DSL, the
      HGW is a DSL Network Termination (NT) that could either operate as
      a layer 2 bridge or as a layer 3 router.  In the latter case, such
      a device is also referred to as a Routing Gateway (RG).

   Aggregation Network:

      The aggregation network provides traffic aggregation from multiple
      ANs towards the NAS.  ATM or Ethernet transport technologies can
      be used.

   For the threat analysis, this document focuses on the ANCP
   communication between the Access Node and the NAS.  However,
   communications with the other components (such as HGW, CPE, and the
   AAA server) play a role in the understanding of the system
   architecture and of what triggers ANCP communications.  Note that the
   NAS and the AN might belong to two different administrative realms.
   The threat model and the security requirements in this document
   consider this latter case.


                                                             +--------+
                                                             | AAA    |
                                                             | Server |
                                                             +--------+
                                                                  |
                                                                  |
      +---+   +---+   +------+    +-----------+    +-----+   +--------+
      |CPE|---|HGW|---|      |    |Aggregation|    |     |   |        |
      +---+   +---+   |Access|    | Network   |    |     |   |Internet|
                      | Node |----|           |----| NAS |---|   /    |
      +---+   +---+   | (AN) |    |           |    |     |   |Regional|
      |CPE|---|HGW|---|      |    |           |    |     |   |Network |
      +---+   +---+   +------+    +-----------+    +-----+   +--------+

                         Figure 1: System Overview

   In the absence of an attack, the NAS receives configuration
   information from the AAA server related to a CPE attempting to access
   the network.  A number of parameters, including Quality of Service
   information, need to be conveyed to the Access Node in order to
   become effective.  The Access Node Control Protocol is executed
   between the NAS and the AN to initiate control requests.  The AN
   returns responses to these control requests and provides information
   reports.

   For this to happen, the following individual steps must occur:

   o  The AN discovers the NAS.

   o  The AN needs to start the protocol communication with the NAS to
      announce its presence.

   o  The AN and the NAS perform a capability exchange.

   o  The NAS sends requests to the AN.

   o  The AN processes these requests, authorizes the actions, and
      responds with the appropriate answer.  In order to fulfill the
      commands, it might be necessary for the AN to communicate with the
      HGW or other nodes, for example, as part of a keep-alive
      mechanism.

   o  The AN provides status reports to the NAS.

   Attackers can be:

   o  off-path, i.e., they cannot see the messages exchanged between the
      AN and the NAS;

   o  on-path, i.e., they can see the messages exchanged between the AN
      and the NAS.

   Both off-path and on-path attackers can be:

   o  passive, i.e., they do not participate in the network operation
      but rather listen to all transfers to obtain the maximum possible
      information;

   o  active, i.e., they participate in the network operation and can
      inject falsified packets.

   We assume the following threat model:

   o  An off-path adversary located at the CPE or the HGW.

   o  An off-path adversary located on the Internet or a regional
      network that connects one or more NASes and associated access
      networks to Network Service Providers (NSPs) and Application
      Service Providers (ASPs).

   o  An on-path adversary located at network elements between the AN
      and the NAS.

   o  An on-path adversary taking control over the NAS.

   o  An on-path adversary taking control over the AN.

4.  Objectives of Attackers

   Attackers may direct their efforts either against an individual
   entity or against a large portion of the access network.  Attacks
   fall into three classes:

   o  Attacks to disrupt the communication for individual customers.

   o  Attacks to disrupt the communication of a large fraction of
      customers in an access network.  These also include attacks to the
      network itself or a portion of it, such as attacks to disrupt the
      network services or attacks to destruct the network functioning.

   o  Attacks to gain profit for the attacker through modifying the QoS
      settings.  Also, through replaying old packets (of another
      privileged client, for instance), an attacker can attempt to
      configure a better QoS profile on its own DSL line, increasing its
      own benefit.

5.  Potential Attacks

   This section discusses the different types of attacks against ANCP,
   while Section 6 describes the possible means of their occurrence.

   ANCP is mainly susceptible to the following types of attacks:

5.1.  Denial of Service (DoS)

   A number of denial-of-service (DoS) attacks can cause ANCP nodes to
   malfunction.  When state is established or certain functions are
   performed without requiring prior authorization, there is a chance to
   mount denial-of-service attacks.  An adversary can utilize this fact
   to transmit a large number of signaling messages to allocate state at
   nodes and to cause consumption of resources.  Also, an adversary,
   through DoS, can prevent certain subscribers from accessing certain
   services.  Moreover, DoS can take place at the AN or the NAS
   themselves, where it is possible for the NAS (or the AN) to
   intentionally ignore the requests received from the AN (or the NAS)
   through not replying to them.  This causes the sender of the request
   to retransmit the request, which might allocate additional state at
   the sender side to process the reply.  Allocating more state may
   result in memory depletion.

5.2.  Integrity Violation

   Adversaries gaining illegitimate access on the transferred messages
   can act on these messages, causing integrity violation.  Integrity
   violation can cause unexpected network behavior, leading to a
   disturbance in the network services as well as in the network
   functioning.

5.3.  Downgrading

   Protocols may be useful in a variety of scenarios with different
   security and functional requirements.  Different parts of a network
   (e.g., within a building, across a public carrier's network, or over
   a private microwave link) may need different levels of protection.
   It is often difficult to meet these (sometimes conflicting)
   requirements with a single mechanism or fixed set of parameters;
   thus, often a selection of mechanisms and parameters is offered.  A
   protocol is required to agree on certain (security) mechanisms and
   parameters.  An insecure parameter exchange or security negotiation
   protocol can give an adversary the opportunity to mount a downgrading
   attack to force selection of mechanisms weaker than those mutually
   desired.  Thus, without binding the negotiation process to the
   legitimate parties and protecting it, ANCP might only be as secure as
   the weakest mechanism provided (e.g., weak authentication) and the
   benefits of defining configuration parameters and a negotiation
   protocol are lost.

5.4.  Traffic Analysis

   An adversary can be placed at the NAS, the AN, or any other network
   element capturing all traversing packets.  Adversaries can thus have
   unauthorized information access.  As well, they can gather
   information relevant to the network and then use this information in
   gaining later unauthorized access.  This attack can also help
   adversaries in other malicious purposes -- for example, capturing
   messages sent from the AN to the NAS announcing that a DSL line is up
   and containing some information related to the connected client.
   This could be any form of information about the client and could also
   be an indicator of whether or not the DSL subscriber is at home at a
   particular moment.

5.5.  Management Attacks

   Since the ANCP sessions are configured in the AN and not in the NAS
   [ANCP-FRAME], most configurations of ANCP are done in the AN.
   Consequently, the management attacks to ANCP mainly concern the AN
   configuration phase.  In this context, the AN MIB module could create
   disclosure- and misconfiguration-related attacks.  [ANCP-MIB] defines
   the vulnerabilities on the management objects within the AN MIB
   module.  These attacks mainly concern the unauthorized changes of the
   management objects, leading to a number of attacks such as session
   deletion, a session using an undesired/unsupported protocol,
   disabling certain ANCP capabilities or enabling undesired
   capabilities, ANCP packets being sent out to the wrong interface (and
   thus being received by an unintended receiver), harming the
   synchronization between the AN and the NAS, and impacting traffic in
   the network other than ANCP.

6.  Attack Forms

   The attacks mentioned above in Section 5 can be carried out through
   the following means:

   Message Replay:

      This threat scenario covers the case in which an adversary
      eavesdrops, collects signaling messages, and replays them at a
      later time (or at a different place or in a different way; e.g.,
      cut-and-paste attacks).  Through replaying signaling messages, an
      adversary might mount denial-of-service and theft-of-service
      attacks.

   Faked Message Injection:

      An adversary may be able to inject false error or response
      messages, causing unexpected protocol behavior and succeeding with
      a DoS attack.  This could be achieved at the signaling-protocol
      level, at the level of specific signaling parameters (e.g., QoS
      information), or at the transport layer.  An adversary might, for
      example, inject a signaling message to request allocation of QoS
      resources.  As a consequence, other users' traffic might be
      impacted.  The discovery protocol, especially, exhibits
      vulnerabilities with regard to this threat scenario.

   Messages Modification:

      This involves integrity violation, where an adversary can modify
      signaling messages in order to cause unexpected network behavior.
      Possible related actions an adversary might consider for its
      attack are the reordering and delaying of messages, causing a
      protocol's process failure.

   Man-in-the-Middle:

      An adversary might claim to be a NAS or an AN, acting as a man-in-
      the-middle to later cause communication and services disruption.
      The consequence can range from DoS to fraud.  An adversary acting
      as a man-in-the-middle could modify the intercepted messages,
      causing integrity violation, or could drop or truncate the
      intercepted messages, causing DoS and a protocol's process
      failure.  In addition, a man-in-the-middle adversary can signal
      information to an illegitimate entity in place of the right
      destination.  In this case, the protocol could appear to continue
      working correctly.  This may result in an AN contacting a wrong
      NAS.  For the AN, this could mean that the protocol failed for
      unknown reasons.  A man-in-the-middle adversary can also cause
      downgrading attacks through initiating faked configuration
      parameters and through forcing selection of weak security
      parameters or mechanisms.

   Eavesdropping:

      This is related to adversaries that are able to eavesdrop on
      transferred messages.  The collection of the transferred packets
      by an adversary may allow traffic analysis or be used later to
      mount replay attacks.  The eavesdropper might learn QoS
      parameters, communication patterns, policy rules for firewall
      traversal, policy information, application identifiers, user
      identities, NAT bindings, authorization objects, network
      configuration, performance information, and more.

7.  Attacks against ANCP

   ANCP is susceptible to security threats, causing disruption/
   unauthorized access to network services, manipulation of the
   transferred data, and interference with network functions.  Based on
   the threat model given in Section 3 and the potential attacks
   presented in Section 5, this section describes the possible attacks
   against ANCP, considering the four use cases defined in [ANCP-FRAME].

   Although ANCP is not involved in the communication between the NAS
   and the AAA/policy server, the secure communication between the NAS
   and the AAA/policy server is important for ANCP security.
   Consequently, this document considers the attacks that are related to
   the ANCP operation associated with the communication between the NAS
   and the AAA/Policy server.  In other words, the threat model and
   security requirements in this document take into consideration the
   data transfer between the NAS and the AAA server, when this data is
   used within the ANCP operation.

   Besides the attacks against the four ANCP use cases described in the
   following subsections, ANCP is susceptible to a number of attacks
   that can take place during the protocol-establishment phase.  These
   attacks are mainly on-path attacks, taking the form of DoS or man-in-
   the-middle attacks, which could be as follows:

   o  Attacks during the session initiation from the AN to the NAS:
      DoS attacks could take place affecting the session-establishment
      process.  Also, man-in-the-middle attacks could take place,
      causing message truncation or message modification and leading to
      session-establishment failure.

   o  Attacks during the peering establishment:
      DoS attacks could take place during state synchronization between
      the AN and the NAS.  Also, man-in-the-middle attacks could take
      place through message modification during identity discovery,
      which may lead to loss of contact between the AN and the NAS.

   o  Attacks during capabilities negotiation:
      Message replay could take place, leading to DoS.  Also, man-in-
      the-middle attacks could take place, leading to message
      modification, message truncation, or downgrading through
      advertising lesser capabilities.

7.1.  Dynamic Access-Loop Attributes

   This use case concerns the communication of access-loop attributes
   for dynamic, access-line topology discovery.  Since the access-loop
   rate may change over time, advertisement is beneficial to the NAS to
   gain knowledge about the topology of the access network for QoS
   scheduling.  Besides data rates and access-loop links identification,
   other information may also be transferred from the AN to the NAS
   (examples in case of a DSL access loop are DSL type, maximum
   achievable data rate, and maximum data rate configured for the access
   loop).  This use case is thus vulnerable to a number of on-path and
   off-path attacks that can be either active or passive.

   On-path attacks can take place between the AN and the NAS, on the AN
   or on the NAS, during the access-loop attributes transfer.  These
   attacks may be:

   o  Active, acting on the transferred attributes and injecting
      falsified packets.  The main attacks here are:

      *  Man-in-the-middle attacks can cause access-loop attributes
         transfer between the AN and a forged NAS or a forged AN and the
         NAS, which can directly cause faked attributes and message
         modification or truncation.

      *  Signaling replay, by an attacker between the AN and the NAS, on
         the AN or on the NAS itself, causing DoS.

      *  An adversary acting as man-in-the-middle can cause downgrading
         through changing the actual data rate of the access loop, which
         impacts the downstream shaping from the NAS.

   o  Passive, only learning these attributes.  The main attacks here
      are caused by:

      *  Eavesdropping through learning access-loop attributes and
         information about the clients' connection state, and thus
         impacting their privacy protection.

      *  Traffic analysis allowing unauthorized information access,
         which could allow later unauthorized access to the NAS.

   Off-path attacks can take place on the Internet, affecting the
   access-loop attribute sharing between the NAS and the AAA/policy
   server.  These attacks may be:

   o  Active attacks, which are mainly concerning:

      *  DoS through flooding the communication links to the AAA/policy
         server, causing service disruption.

      *  Man-in-the-middle, causing access-loop configuration retrieval
         by an illegitimate NAS.

   o  Passive attacks, gaining information on the access-loop
      attributes.  The main attacks in this case are:

      *  Eavesdropping through learning access-loop attributes and
         learning information about the clients' connection states, and
         thus impacting their privacy protection.

      *  Traffic analysis allowing unauthorized information access,
         which could allow later unauthorized access to the NAS.

7.2.  Access-Loop Configuration

   This use case concerns the dynamic, local-loop line configuration
   through allowing the NAS to change the access-loop parameters (e.g.,
   rate) in a dynamic fashion.  This allows for centralized, subscriber-
   related service data.  This dynamic configuration can be achieved,
   for instance, through profiles that are pre-configured on ANs.  This
   use case is vulnerable to a number of on-path and off-path attacks.

   On-path attacks can take place where the attacker is between the AN
   and the NAS, is on the AN, or is on the NAS.  These can be as
   follows:

   o  Active attacks, taking the following forms:

      *  DoS attacks of the AN can take place by an attacker, through
         replaying the Configure Request messages.

      *  An attacker on the AN can prevent the AN from reacting on the
         NAS request for the access-loop configuration, leading to the
         NAS continually sending the Configure Request message and,
         hence, allocating additional states.

      *  Damaging clients' profiles at ANs can take place by adversaries
         that gained control on the network through discovery of users'
         information from a previous traffic analysis.

      *  An adversary can replay old packets, modify messages, or inject
         faked messages.  Such adversary can also be a man-in-the-
         middle.  These attack forms can be related to a privileged
         client profile (having more services) in order to configure
         this profile on the adversary's own DSL line, which is less
         privileged.  In order that the attacker does not expose its
         identity, he may also use these attack forms related to the
         privileged client profile to configure a number of illegitimate
         DSL lines.  The adversary can also force configuration
         parameters other than the selected ones, leading to, for
         instance, downgrading the service for a privileged client.

   o  Passive attacks, where the attacker listens to the ANCP messages.
      This can take place as follows:

      *  Learning configuration attributes is possible during the update
         of the access-loop configuration.  An adversary might profit to
         see the configuration that someone else gets (e.g., one ISP
         might be interested to know what the customers of another ISP
         get and therefore might break into the AN to see this).

   Off-path attacks can take place as follows:

   o  An off-path passive adversary on the Internet can exert
      eavesdropping during the access-loop configuration retrieval by
      the NAS from the AAA/policy server.

   o  An off-path active adversary on the Internet can threaten the
      centralized subscribers-related service data in the AAA/policy
      server through, for instance, making subscribers' records
      inaccessible.

7.3.  Remote Connectivity Test

   In this use case, the NAS can carry out a Remote Connectivity Test
   using ANCP to initiate an access-loop test between the AN and the
   HGW.  Thus, multiple access-loop technologies can be supported.  This
   use case is vulnerable to a number of active attacks.  Most of the
   attacks in this use case concern the network operation.

   On-path active attacks can take place in the following forms:

   o  Man-in-the-middle attack during the NAS's triggering to the AN to
      carry out the test, where an adversary can inject falsified
      signals or can truncate the triggering.

   o  Message modification can take place during the Subscriber Response
      message transfer from the AN to the NAS announcing the test
      results, causing failure of the test operation.

   o  An adversary on the AN can prevent the AN from sending the
      Subscriber Response message to the NAS announcing the test
      results, and hence the NAS will continue triggering the AN to
      carry out the test, which results in more state being allocated at
      the NAS.  This may result in unavailability of the NAS to the ANs.

   Off-path active attacks can take place as follows:

   o  An adversary can cause DoS during the access-loop test, in case of
      an ATM-based access loop, when the AN generates loopback cells.
      This can take place through signal replaying.

   o  Message truncating can take place by an adversary during the
      access-loop test, which can lead to service disruption due to
      assumption of test failures.

7.4.  Multicast

   In this use case, ANCP could be used in exchanging information
   between the AN and the NAS, allowing the AN to perform replication
   inline with the policy and configuration of the subscriber.  Also,
   this allows the NAS to follow subscribers' multicast (source, group)
   membership and control replication performed by the AN.  Four
   multicast use cases are expected to take place, making use of ANCP;
   these are typically multicast conditional access, multicast admission
   control, multicast accounting, and spontaneous admission response.
   This section gives a high-level description of the possible attacks
   that can take place in these cases.  Attacks that can occur are
   mostly active attacks.

   On-path active attacks can be as follows:

   o  DoS attacks, causing inability for certain subscribers to access
      particular multicast streams or only access the multicast stream
      at a reduced bandwidth, impacting the quality of the possible
      video stream.  This can take place through message replay by an
      attacker between the AN and the NAS, on the AN or on the NAS.
      Such DoS attacks can also be done by tempering, for instance, with
      white/black list configuration or by placing attacks to the
      bandwidth-admission-control mechanism.

   o  An adversary on the NAS can prevent the NAS from reacting on the
      AN requests for white/black/grey lists or for admission control
      for the access line.  The AN in this case would not receive a
      reply and would continue sending its requests, resulting in more
      states being allocated at the AN.  A similar case happens for
      admission control when the NAS can also send requests to the AN.
      When the NAS does not receive a response, it could also retransmit
      requests, resulting in more state being allocated at the NAS side
      to process responses.  This may result in the unavailability of
      the NAS to the ANs.

   o  Man-in-the-middle, causing the exchange of messages between the AN
      and a forged NAS or a forged AN and the NAS.  This can lead to the
      following:

      *  Message modification, which can cause service downgrading for
         legitimate subscribers -- for instance, an illegitimate change
         of a subscriber's policy.

      *  Message truncation between the AN and the NAS, which can result
         in the non-continuity of services.

      *  Message replay between the AN and the NAS, on the AN or on the
         NAS, leading to a DoS or services fraud.

      *  Message modification to temper with accounting information, for
         example, in order to avoid service charges or, conversely, in
         order to artificially increase service charges on other users.

   An off-path active attack is as follows:

   o  DoS could take place through message replay of join/leave requests
      by the HGW or CPE, frequently triggering the ANCP activity between
      the AN and the NAS.  DoS could also result from generating heaps
      of IGMP join/leaves by the HGW or CPE, leading to very high rate
      of ANCP query/response.

8.  Security Requirements

   This section presents a number of requirements motivated by the
   different types of attacks defined in the previous section.  These
   requirements are as follows:

   o  The protocol solution MUST offer authentication of the AN to the
      NAS.

   o  The protocol solution MUST offer authentication of the NAS to the
      AN.

   o  The protocol solution MUST allow authorization to take place at
      the NAS and the AN.

   o  The protocol solution MUST offer replay protection.

   o  The protocol solution MUST provide data-origin authentication.

   o  The protocol solution MUST be robust against denial-of-service
      (DoS) attacks.  In this context, the protocol solution MUST
      consider a specific mechanism for the DoS that the user might
      create by sending many IGMP messages.

   o  The protocol solution SHOULD offer confidentiality protection.

   o  The protocol solution SHOULD ensure that operations in default
      configuration guarantees a low number of AN/NAS protocol
      interactions.

   o  The protocol solution SHOULD ensure the access control of the
      management objects and possibly encrypt the values of these
      objects when sending them over the networks.

9.  Security Considerations

   This document focuses on security threats, deriving a threat model
   for ANCP and presenting the security requirements to be considered
   for the design of ANCP.

10.  Acknowledgments

   Many thanks go to Francois Le Faucher for reviewing this document and
   for all his useful comments.  The authors would also like to thank
   Philippe Niger, Curtis Sherbo, and Michael Busser for reviewing this
   document.  Other thanks go to Bharat Joshi, Mark Townsley, Wojciech
   Dec, and Kim Hylgaard who have had valuable comments during the
   development of this work.

11.  References

11.1.  Normative References

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

   [RFC3365]     Schiller, J., "Strong Security Requirements for
                 Internet Engineering Task Force Standard Protocols",
                 BCP 61, RFC 3365, August 2002.

11.2.  Informative References

   [ANCP-FRAME]  Ooghe, S., Voigt, N., Platnic, M., Haag, T., and S.
                 Wadhwa, "Framework and Requirements for an Access Node
                 Control Mechanism in Broadband  Multi-Service
                 Networks", Work in Progress, October 2009.

   [ANCP-MIB]    De Cnodder, S. and M. Morgenstern, "Access Node Control
                 Protocol (ANCP) MIB module for Access Nodes", Work
                 in Progress, July 2009.

Authors' Addresses

   Hassnaa Moustafa
   France Telecom
   38-40 rue du General Leclerc
   Issy Les Moulineaux,   92794 Cedex 9
   France

   EMail: hassnaa.moustafa@orange-ftgroup.com


   Hannes Tschofenig
   Nokia Siemens Networks
   Linnoitustie 6
   Espoo  02600
   Finland

   Phone: +358 (50) 4871445
   EMail: Hannes.Tschofenig@gmx.net
   URI:   http://www.tschofenig.priv.at


   Stefaan De Cnodder
   Alcatel-Lucent
   Copernicuslaan 50
   B-2018 Antwerp,
   Belgium

   Phone: +32 3 240 85 15
   EMail: stefaan.de_cnodder@alcatel-lucent.com

ISO Plain Language

On this page
PROBLEMThe Access Node Control Protocol carries quality-of-service and subscriber configuration between a network access server and the access node at the end of the line, and nothing in the network stops an attacker from interfering with it.
MECHANISMThe RFC builds a threat model of the system, lists five kinds of attack and five ways of carrying them out, and then applies them to the four uses of the protocol.
WHAT IT REQUIRESIt ends with nine security requirements: mutual authentication, authorisation, replay protection and data-origin authentication are mandatory, while confidentiality and management-object protection are recommended.

§1What ANCP Does and What This Document Adds

The Access Node Control Protocol (ANCP) carries Quality of Service (QoS), service-related and subscriber-related configuration and operations between a Network Access Server (NAS) and an Access Node, such as a Digital Subscriber Line Access Multiplexer (DSLAM). The main goal is to let the NAS configure, manage and control access equipment, and to let the Access Nodes report information back to the NAS.

This document investigates the security threats that all ANCP nodes could encounter. It builds a threat model for ANCP security with the aim of deciding which security functions are required, and then derives security requirements for the protocol. The framework, use cases and general requirements for ANCP come from the ANCP framework document, and the guidelines for protocol security requirements come from RFC 3365.

Three aspects are called out as needing consideration. Message protection, so that signalling content cannot be eavesdropped, modified, injected or replayed while in transit, for both ANCP headers and payloads. Prevention against impersonation, so that an unauthorised device cannot generate an ANCP message and pretend it came from a valid ANCP node. And prevention of denial-of-service attacks, because ANCP nodes and the network have finite resources in state storage, processing power and bandwidth, so the protocol must protect against exhaustion of those resources and must stop ANCP nodes being used to launch attacks on other network elements.

One thing is explicitly out of scope: security policy negotiation, including the authentication and authorisation that define the per-subscriber policy at the policy or AAA server.

This RFC works out who could attack the protocol between a provider's server and its street cabinet, what they could do, and what the protocol must therefore provide.

§3The System and the Threat Model

The Access Node Control system has six components. The Network Access Server provides access to a service and operates as a client of the AAA protocol, passing authentication information to designated AAA servers and acting on the response. The AAA server authenticates users, authorises access to services and returns authorisation information, including configuration parameters, to be delivered to the user; service usage accounting may also be enabled. The Access Node is a network device, usually in a service provider central office or street cabinet, that terminates access-loop connections from subscribers; for a DSL access loop it is often called a DSLAM. The Customer Premises Equipment sits inside the subscriber's premises, connected at the LAN side of the home gateway. The home gateway connects the customer premises equipment to the Access Node and the access network; for DSL it is a network termination device that may act as a layer 2 bridge or a layer 3 router, in which case it is also called a routing gateway. The aggregation network provides traffic aggregation from multiple Access Nodes towards the NAS, over ATM or Ethernet.

The threat analysis focuses on the ANCP communication between the Access Node and the NAS, though the other components matter for understanding the architecture and what triggers ANCP. The NAS and the Access Node might belong to two different administrative realms, and the threat model and the requirements here assume that case.

In normal operation the NAS receives configuration from the AAA server about a CPE trying to reach the network, and a number of parameters, including QoS information, have to reach the Access Node for them to take effect. ANCP runs between the two to start control requests, and the Access Node answers them and provides information reports. The individual steps are: the Access Node discovers the NAS; it starts protocol communication with the NAS to announce its presence; the two perform a capability exchange; the NAS sends requests; the Access Node processes the requests, authorises the actions and replies, possibly communicating with the home gateway or other nodes to fulfil the commands; and the Access Node provides status reports to the NAS.

Attackers are on-path or off-path. Off-path attackers cannot see the messages exchanged between the Access Node and the NAS; on-path attackers can. Both kinds may be passive, listening to transfers to obtain as much information as possible, or active, taking part in the network operation and able to inject falsified packets. The threat model assumes an off-path adversary at the CPE or the home gateway; an off-path adversary on the internet or a regional network connecting NASes and access networks to network and application service providers; an on-path adversary at network elements between the Access Node and the NAS; an on-path adversary that has taken control over the NAS; and an on-path adversary that has taken control over the Access Node.

The protocol runs between the provider's central server and the cabinet in the street. The document lists where an attacker could sit, and whether they could only listen or could also send false messages.

THE ANCP SYSTEM, FROM FIGURE 1 OF RFC 5713
  • Access network
    • Subscriber premises
      • Customer Premises Equipment
      • Home Gateway
    • Provider edge
      • Access Node
      • Aggregation network
    • Provider core
      • Network Access Server
      • AAA server
    • Internet and regional network

§5The Kinds of Attack and the Ways They Are Carried Out

Five kinds of attack are described.

Denial of service. Several denial-of-service attacks can make ANCP nodes malfunction. Where state is established or functions performed without prior authorisation, an adversary can transmit a large number of signalling messages to allocate state at the nodes and consume resources. Denial of service can also stop subscribers reaching services. It can happen at the Access Node or the NAS themselves, where one of them may simply ignore the requests of the other by not replying, which makes the sender retransmit, which may allocate further state at the sender and lead to memory depletion.

Integrity violation. An adversary that gains illegitimate access to the transferred messages can act on them, causing unexpected network behaviour and disturbing network services and the functioning of the network.

Downgrading. Different parts of a network, inside a building, across a public carrier's network or over a private microwave link, may need different levels of protection, and it is often hard to meet conflicting requirements with one mechanism, so a selection of mechanisms and parameters is offered and the protocol has to agree on which to use. An insecure parameter exchange or negotiation protocol lets an adversary force the selection of mechanisms weaker than both parties wanted. Without binding the negotiation to the legitimate parties and protecting it, ANCP would be only as secure as the weakest mechanism offered, such as weak authentication.

Traffic analysis. An adversary placed at the NAS, the Access Node or any other network element can capture all the traversing packets and so gain unauthorised information access, and can gather network information to use later for unauthorised access. It can also help other attacks: capturing the message from the Access Node to the NAS announcing that a DSL line is up reveals information about the connected client, which could be any information about the client, and could show whether the subscriber is at home at that moment.

Management attacks. Because ANCP sessions are configured in the Access Node rather than in the NAS, most ANCP configuration happens on the Access Node, so the management attacks mainly concern the Access Node configuration phase. The AN MIB module could create disclosure and misconfiguration attacks: unauthorised changes to management objects leading to session deletion, a session using an undesired or unsupported protocol, disabling or enabling unwanted ANCP capabilities, ANCP packets going out to the wrong interface and reaching an unintended receiver, harming synchronisation between the Access Node and the NAS, and impacting traffic in the network other than ANCP.

These attacks are carried out in five ways. Message replay, where the adversary eavesdrops, collects signalling messages and replays them later, or at a different place or in a different way, such as cut-and-paste, which can mount denial-of-service and theft-of-service attacks. Faked message injection, injecting false error or response messages to cause unexpected protocol behaviour and a denial-of-service attack, whether at the signalling-protocol level, at the level of specific parameters such as QoS information, or at the transport layer; the discovery protocol in particular is vulnerable to this. Message modification, where the adversary modifies signalling messages, or reorders and delays them, to cause a protocol's process to fail. Man-in-the-middle, where the adversary claims to be a NAS or an Access Node, causing disruption ranging from denial of service to fraud, modifying intercepted messages, dropping or truncating them, or signalling information to an illegitimate entity in place of the right destination so that the protocol appears to keep working while the Access Node contacts the wrong NAS. Eavesdropping, where the collected packets allow traffic analysis or later replay attacks, and may reveal QoS parameters, communication patterns, firewall traversal policy rules, policy information, application identifiers, user identities, NAT bindings, authorisation objects, network configuration and performance information.

The document lists five things attackers want to do and five ways they go about it, from simply listening to pretending to be the other end of the protocol.

THE FIVE KINDS OF ATTACK DESCRIBED IN RFC 5713
  • Denial of serviceFlooding the protocol so that state and memory run out, or one end simply stops replying.
  • Integrity violationChanging a message in transit so that the network behaves in an unexpected way.
  • DowngradingForcing the negotiation to pick weaker protection than both sides wanted.
  • Traffic analysisLearning from the messages that pass, including whether a subscriber is at home.
  • Management attacksChanging the configuration objects on the Access Node, for example deleting a session.

§7The Attacks Applied to the Four ANCP Use Cases

Section 7 applies the attack types to the four ANCP use cases, and also looks at attacks during the protocol-establishment phase, which are mainly on-path denial-of-service and man-in-the-middle attacks. During the session initiation from the Access Node to the NAS, denial of service can affect the session-establishment process, and man-in-the-middle attacks can truncate or modify messages and lead to session-establishment failure. During peering establishment, denial of service can occur during state synchronisation between the Access Node and the NAS, and man-in-the-middle attacks during identity discovery may lead to loss of contact between them. During capabilities negotiation, message replay can cause denial of service, and man-in-the-middle attacks can modify or truncate messages, or downgrade by advertising lesser capabilities.

Dynamic access-loop attributes. This use case carries attributes of the access loop so that the NAS can learn the topology of the access network for QoS scheduling. The rate of the loop may change over time, so advertisement is useful; for a DSL loop this can include the DSL type, the maximum achievable data rate and the maximum rate configured for the loop. On-path active attacks include man-in-the-middle attacks that cause attribute transfer between the Access Node and a forged NAS, producing faked attributes or message modification or truncation; signalling replay causing denial of service; and downgrading by changing the actual data rate of the loop, which affects the downstream shaping from the NAS. Passive on-path attacks are eavesdropping, which reveals attributes and the clients' connection state and so affects their privacy, and traffic analysis, which can allow later unauthorised access to the NAS. Off-path attacks on the internet affect the attribute sharing between the NAS and the AAA or policy server: active ones flood the links to that server or act as a man-in-the-middle to retrieve access-loop configuration for an illegitimate NAS, and passive ones eavesdrop and analyse traffic.

Access-loop configuration. Here the NAS can change access-loop parameters such as the rate dynamically, for example through profiles pre-configured on the Access Nodes, which allows centralised subscriber-related service data. On-path active attacks include denial of service on the Access Node by replaying Configure Request messages; an attacker on the Access Node preventing it from reacting to the NAS request, so the NAS keeps sending the request and keeps allocating state; damaging clients' profiles by adversaries that gained control of the network after learning user information from traffic analysis; and replaying old packets, modifying or injecting faked messages, possibly as a man-in-the-middle, related to a privileged client profile so that the attacker can configure that privileged profile on its own less privileged DSL line, and possibly configure a number of illegitimate lines to hide its identity. Such an adversary can also force configuration parameters other than the selected ones, downgrading the service for a privileged client. Passive on-path attacks learn configuration attributes, which may interest one provider wanting to know what another provider's customers get. Off-path passive attacks on the internet eavesdrop on the configuration retrieval from the AAA or policy server, and off-path active ones can make subscribers' records in that server inaccessible.

Remote connectivity test. The NAS can use ANCP to initiate an access-loop test between the Access Node and the home gateway, so several access-loop technologies can be supported. Most of the attacks here concern network operation. On-path active attacks include a man-in-the-middle during the NAS's trigger to the Access Node, injecting falsified signals or truncating the trigger; message modification during the Subscriber Response that announces the test results, causing the test operation to fail; and an adversary on the Access Node preventing that response, so the NAS keeps triggering the test and allocates more state, which may make the NAS unavailable to the Access Nodes. Off-path active attacks include causing denial of service during the test, in the case of an ATM-based access loop when the Access Node generates loopback cells, by replaying signals; and truncating messages during the test, which can lead to service disruption because the test is assumed to have failed.

Multicast. ANCP could be used to exchange information that lets the Access Node replicate inline with the subscriber's policy and configuration, and lets the NAS follow subscribers' multicast membership and control the replication the Access Node performs. Four multicast use cases are expected: multicast conditional access, multicast admission control, multicast accounting and spontaneous admission response. The attacks are mostly active. On-path active attacks include denial of service, by message replay, leaving some subscribers unable to reach a stream or able to reach it only at reduced bandwidth, which affects the quality of a possible video stream, and by tampering with white or black list configuration or with the bandwidth-admission-control mechanism; an adversary on the NAS preventing it from reacting to the Access Node's requests for lists or admission control, so the Access Node keeps sending requests and allocating state, with the same happening in reverse for admission control, which may make the NAS unavailable to the Access Nodes; and man-in-the-middle attacks between the Access Node and a forged NAS or a forged Access Node and the NAS, leading to message modification that can downgrade the service for legitimate subscribers, message truncation that breaks the continuity of service, message replay leading to denial of service or service fraud, and message modification to tamper with accounting information, to avoid service charges or to increase them for other users. Off-path active attacks include denial of service through replay of join or leave requests by the home gateway or CPE, which frequently triggers ANCP activity, and through generating many IGMP joins and leaves, leading to a very high rate of ANCP queries and responses.

The document then goes through the four things ANCP is used for, and for each one lists what an attacker could do to it.

THE FOUR ANCP USE CASES AND THE MAIN RISK NAMED FOR EACH
Use caseWhat ANCP carriesMain risk named
Dynamic access-loop attributesLine rate, DSL type, connection stateEavesdropping and traffic analysis
Access-loop configurationAccess-loop parameters such as rateReplay, modification and faked messages
Remote connectivity testTest trigger and subscriber responseFalsified signals and truncated messages
MulticastLists, admission control and accountingReplay causing denial of service

§8The Security Requirements

The requirements are derived from the attack types above, and they say what the protocol solution must offer.

  • It MUST offer authentication of the Access Node to the NAS.
  • It MUST offer authentication of the NAS to the Access Node.
  • It MUST allow authorisation to take place at the NAS and at the Access Node.
  • It MUST offer replay protection.
  • It MUST provide data-origin authentication.
  • It MUST be robust against denial-of-service attacks, and in this context it MUST consider a specific mechanism for the denial of service a user might create by sending many IGMP messages.
  • It SHOULD offer confidentiality protection.
  • It SHOULD ensure that operations in the default configuration guarantee a low number of Access Node and NAS protocol interactions.
  • It SHOULD ensure the access control of the management objects, and possibly encrypt the values of those objects when sending them over the networks.

The last two SHOULD requirements are worth noting for what they say about everyday behaviour. A default installation should not be chatty, and the management objects that hold the configuration should be access-controlled, with their values possibly encrypted in transit.

Both ends must prove who they are, messages must not be replayed or forged, and the protocol must survive a flood of traffic without falling over.

§9Scope and the Security Considerations

The document's own security considerations section says it focuses on security threats, deriving a threat model for ANCP and presenting the security requirements to be considered for the design of ANCP.

Two boundaries are worth stating. Security policy negotiation, including the authentication and authorisation used to define the per-subscriber policy at the policy or AAA server, is out of scope. And although ANCP is not itself involved in the communication between the NAS and the AAA or policy server, the security of that communication matters for ANCP security, so the threat model and the requirements here take into account the data transfer between the NAS and the AAA server when that data is used within the ANCP operation.

What the protocol does not cover is deciding the subscriber's policy, which happens on the AAA server instead. But the link to that server still matters, because ANCP carries the results of it.

§7References

[RFC2119]RFC 2119Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.March 1997[RFC3365]RFC 3365Schiller, J., "Strong Security Requirements for Internet Engineering Task Force Standard Protocols", BCP 61, RFC 3365, August 2002.August 2002
[ANCP-FRAME]Ooghe, S., Voigt, N., Platnic, M., Haag, T., and S. Wadhwa, "Framework and Requirements for an Access Node Control Mechanism in Broadband Multi-Service Networks", Work in Progress, October 2009.
[ANCP-MIB]De Cnodder, S. and M. Morgenstern, "Access Node Control Protocol (ANCP) MIB module for Access Nodes", Work in Progress, July 2009.