ECRITH. TschofenigT. Taylor Internet-DraftSiemens(Editor) Nortel Expires:August 18,September 4, 2006 H. Tschofenig Siemens H. Schulzrinne Columbia U. M. Shanmugam SiemensT. Taylor Nortel February 14,March 3, 2006 Security Threats and Requirements for Emergency Call Marking and Mappingdraft-taylor-ecrit-security-threats-02.txtdraft-taylor-ecrit-security-threats-03.txt Status of this Memo By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire onAugust 18,September 4, 2006. Copyright Notice Copyright (C) The Internet Society (2006). Abstract This document reviews the security threats associated with the two current work items of the ECRIT Working Group. The first is the marking of signalling messages to indicate that they are related to an emergency. The second is the process of mapping from locations toURIsUniversal Resource Identifiers (URIs) pointing to Public Safety Answering Points (PSAPs). This mapping occurs as part of the process of routing emergency calls through the IP network. Based on the threats, this document establishes a set of security requirements for the the mappingprotocol, which is being developed byprotocol and for theECRIT Working Group.handling of emergency-marked calls. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 4 3.MappingMarking, mapping, and the emergency call routing process . . .. . . . .5 4.MotivationsObjectives of attackers . . . . . . . . . . . . . . . . . . . 6 5. Potential attacks . . . . . . . . . . . . . . . . . . . . . . 7 5.1. Attacks involving the emergency identifier . . . . . . . . 7 5.2. Attacks against or using the mapping process . . . . . . . 7 5.2.1. Attacks against the emergency response system . . . . 7 5.2.2. Attacks to prevent a specific individual from receiving aid . . . . . . . . . . . . . . . . . . . .. . 7 5.2.9 5.2.3. Attacks to gain information about an emergency . . . .. . 7 5.3. Attacks to gain fraudulent use of ASP/VSP services . . . . 8 5.4. Attacks against the emergency response system . . . . . .9 6. Security requirements relating toemergency call routingECRIT work items . . .10. . . 11 7. Security Considerations . . . . . . . . . . . . . . . . . . .1113 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . .1214 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . .1315 10. References . . . . . . . . . . . . . . . . . . . . . . . . . .1416 10.1. Normative References . . . . . . . . . . . . . . . . . . .1416 10.2. Informative References . . . . . . . . . . . . . . . . . .1416 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . .1517 Intellectual Property and Copyright Statements . . . . . . . . . .1618 1. Introduction Legacy telephone network(PSTN)users can summon help for emergency services such as ambulance, fire and police using a well knownuniquenumber (e.g., 911 in North America, 112 in Europe). A key factor in the handling of such calls is the ability of the system to determine caller location and to route the call to the appropriate Public Safety Answering Point (PSAP) based on that location. With the introduction of IP-based telephony and multimedia services, support for emergency calling via the Internet also has to be provided. As one of the steps to achieve this, an emergency marker must be defined that can be attached to call signalling to indicate that the call relates to an emergency. In addition, a protocol must be developed allowing a client entity to submit a location and receive a URI pointing to the applicable PSAP for that location. Attacks against the PSTN(many focussing(most often focusing on free calling) have taken place for decades. The Internet is seen as an even more hostile environment. Thus it is important to understand the types of attacks that might be mounted against the infrastructure providing emergency services, and to develop security mechanisms to counter those attacks. In view of the mandate of the ECRIT Working Group, the present document restricts itself to attacks on the mapping of locations to PSAPURIs.URIs and attacks based on emergency marking. This document is organized as follows: Section 2 describes basic terminology. Section 3 briefly describes how emergency marking and mappingfitsfit within the process of routing emergency calls. Section 4 describes some motivations of attackers in the context of ECRIT, Section 5 describes and illustrates the attacks that might be used, and Section 6 lists the security-related requirements that must be met if these attacks are to be mitigated. 2. Terminology 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 mapping protocol, not its implementation or application. The terms Application (Voice) Service Provider (ASP/VSP), call taker, mapping service, emergency address, emergency caller, emergency identifier, mapping, mapping client, mapping server, mapping protocol, Emergency Service Routing Proxy (ESRP), and Public Safety Answering Point (PSAP) are taken from [I-D.ecrit-requirements].Location informationThe term "location information" is taken from RFC 3693 [RFC3693]. The term "emergency caller's device" designates the IP host closest to the emergency caller in the signalling path between the emergency caller and the PSAP. Examples include an IP phone running SIP, H.323, or a proprietary signalling protocol, a PC running a soft client, or an analogue terminal adapter or a residential gateway controlled by a softswitch. 3.MappingMarking, mapping, and the emergency call routing process The ECRIT Working Group has two work items relating to the routing of emergency calls to their proper destination. The first is to enable entities along the signalling path to recognize that a particular signalling message is associated with an emergency call. The ECRIT Working Group is defining content that can be added to the signalling messages, an emergency identifier, for this purpose. Signalling containing the emergency identifier may be given priority treatment, special processing, and/or special routing. The first goal of emergency call routing is to ensure that any emergency call is routed to a PSAP. Preferably the call is routed to the PSAP responsible for the caller's location, since misrouting consumes valuable time while the call taker locates and forwards the call to the right PSAP. As described in [I-D.ecrit-requirements],mappingmapping, the second ECRIT work item, is part of the process of achieving this preferable outcome. In brief, mapping involves a mapping client, a mapping server, and the protocol that passes between them. The protocol allows the client to pass location information to the mapping server and to receive back a URI which can be used to direct call signalling to a PSAP. Since mapping requires location information for input, when and where the location information is acquiredconstrainsimposes constraints upon when mapping can be done and which devices can act as mapping clients. The key distinction in "when" is before the emergency or during the emergency. The key distinction in "where" is at the emergency caller's device or at another device in the signalling path between the emergency caller and the PSAP. The device that acquires the location information can be the mapping client, and so can any device downstream of that point. It is even possible for a PSAP itself to initiate mapping, to determine whether an arriving call should be handled by a call taker at that PSAP or should be proxied to another PSAP. 4.MotivationsObjectives of attackers Attackers may direct their efforts either againstan individual or againsta portion of the emergency responsesystem.system or against an individual. Attacks against the emergency response system have three possible objectives: o to deny system services to all users in a given area. The motivation may range from thoughtless vandalism, to wide-scale criminality, to terrorism. One interesting variant on this motivation is the case where a victim of a large emergency hopes to gain faster service by blocking others' competing calls for help. o attacks by the caller to gain fraudulent use of ASP/VSP services, by using an emergency identifier to bypass normal authentication, authorization, and accounting procedures. o to divert emergency responders to non-emergency sites. No attacks affecting the ECRIT Working Group's decisions on the emergency identifier and mapping protocol have been identified that achieve this objective Attacks against an individual fall intothreetwo classes: o attacks to prevent an individual from receiving aid; o attacks to gain information about an emergency that can be applied either against an individual involved in that emergency or to the profit of the attacker;o5. Potential attacksby5.1. Attacks involving thecalleremergency identifier The main attack possibility involving the emergency identifier is togainuse it to bypass normal procedures in order to achieve fraudulent use of ASP/VSPservices, byservices. An attack of this sort is possible only if the following conditions are true: a. The attacker is the emergency caller. b. The call routing system assumes that the emergency caller's device addresses emergency calls using the result of mapping based on the caller's location. c. The call enters the domain of anEmergency Identifier to bypassASP/VSP, which accepts it without applying normalauthentication, authorization,procedures for authentication andaccounting procedures. Attacks againstauthorization because the signalling carries the emergencyresponse system are aimed either at denying system servicesidentifier. d. The ASP/VSP routes it according toall users inthe called address (e.g., SIP Request-URI), without verifying that this is the address of agiven area, or at divertingPSAP (noting that a URI by itself does not indicate the nature of the entity it is pointing to). If these conditions are satisfied, the attacker can bypass normal ASP/VSP authorization procedures for arbitrary destinations, simply by reprogramming the emergencyresponderscaller's device tonon-emergency sites. The latter motivation falls outsideadd thescope ofemergency identifier to non-emergency call signalling. Most probably in thisanalysis. One interesting variant oncase, the"system denial" motivation iscall signalling will not include any location information. An attacker wishing to disrupt thecase whereemergency call routing system may use avictimsimilar technique to target components of that system for alarge emergency hopes to gain fasterdenial of serviceby blocking others' competingattack. The attacker will find this attractive to reach components that handle emergency calls only. Flooding attacks are the most likely application of the technique, but it may also be used to identify target components forhelp. 5. Potentialother attacks by analyzing the content of responses to the original signalling messages. 5.2. Attacks against or using the mapping process This section describes classes of attacksoninvolving the mapping process that could be used to achieve the attacker goals described inthe previous section. 5.1.Section 4. 5.2.1. Attacksto prevent a specific individual from receiving aidagainst the emergency response system This sectiondiscusses blocking attacks directed at a specific individual. The more general blockingconsiders attacksdescribedintended to reduce the effectiveness of the emergency response system for all callers inSection 5.4 will also operatea given area. If the mapping operation is disabled, the immediate effect is to increase thesame effect. Theyprobability that emergency calls arediscussed separately becauserouted to theseparation may be useful when weighingwrong PSAP. This has a double consequence: emergency response to thepriority for implementing specific defenses. Blocking attacks against an individual can operate againstaffected calls is delayed, and PSAP call taker resources outside theoperationimmediate area of themapping protocol, or through impersonation ofemergency are consumed due to themapping server. It is also possibleextra effort required to redirect the calls. Alternatively, attacks that cause themapping protocol is used indirectlyclient tointerfere with other aspects ofreceive a URI that does not lead to a PSAP have the immediate effect of causing emergencycall process. Thecalls to fail. Three basic attacksavailable against protocol operation areon the mapping process can be identified: denial of service,interference through message insertion, and interference through man-in-the middle alterationimpersonation ofmessages.the mapping server, or corruption of the mapping database. Denial of service in turn can be achieved in several ways: o by a floodingattacksattack on theclient or server,mapping server; o by taking control of the mappingclient, by installing filters on the channel,server and either preventing it from responding or causing it send incorrect responses; or o byinstalling filters at the mapping server. Man-in-the-middle attacks also involvetaking control of a router through which thechannel ormapping queries and responses pass and using that control to block them. An adversary may also attempt to modify the mapping protocol signaling messages. Additionally, it might be possible to replay past communication exchanges to fool an emergency caller by returning incorrect results. In an impersonation attack, the attacker induces the mapping client to direct its queries to a host under the attacker's control rather than the real mapping server. Impersonation itself is an issue for mapping server discovery rather than for the mapping protocol directly. However, the mapping protocol may help to protect against acceptance of responses from an impersonating entity. Corruption of the mapping database cannot be mitigated directly by mapping protocol design. The mapping protocol may have a role to play in analysis of which records have been corrupted, once that corruption has been detected. Beyond these attacksbasedoncontrol ofthe mappingserver can also be carried out using impersonationoperation itself, it is possible to use mapping to attack other entities. One possibility is that mapping clients are misled into sending mapping queries to the target of the attack instead of the mapping server.This may bePrevention of such aneasierattackto execute in some circumstances.is an operational issue rather than one of protocol design. The other possible attack is one where the the mappingprotocol may also be usedserver is tricked into sending responses tosupportthe target of the attack through spoofing of the source address in the query. 5.2.2. Attacks to prevent areflectionspecific individual from receiving aid If an attacker wishes to deny emergency service to a specific individual the mass attacks described in Section 5.2.1 will obviously work provided that the target individual is within the affected population. Except for the flooding attack on the mappingclient or on some other component ofserver, therouting chain. To executeattacker can in theory limit these attacks to the target, but thisattack,requires extra effort that the attackerimpersonatesis unlikely to expend. It is more likely, if thetarget when sending requestsattacker is using a mass attack but does not wish it to have too broad an effect, that it is used for a carefully limited period of time. If the attacker wants to be selective, however, it may make more sense to attack the mapping client rather than the mapping server.5.2.This is particularly so if the mapping client is the emergency caller's device. The choices available to the attacker are similar to those for denial of service on the server side: o a flooding attack on the mapping client; o taking control of a router through which the mapping queries and responses pass and using that control to block or modify them. Taking control of the mapping client is also a logical possibility, but raises no issues for the mapping protocol. 5.2.3. Attacks to gain information about an emergency This section discusses attacks used to gain information about an emergency. The attacker may be seeking the location of the caller (e.g., to effect a criminal attack). The attacker may be seeking information that could be used to link an individual (the caller or someone else involved in the emergency) with embarrassing information related to the emergency (e.g., "Who did the police take away just now?"). Finally, the attacker could be seeking to profit from the emergency, perhaps by offering his or her services (e.g., news reporter, "ambulance chaser"). The primary information that interceptions of mapping requests and responses will reveal are a location, a URI identifying a PSAP, and the addresses of the mapping client and server. The location information can be directly useful to an attacker if the attacker has high assurance that the observed query is related to an emergency involving the target. The other pieces of information may provide the basis for further attacks on emergency call routing, but because of the time factor, are unlikely to be applicable to the routing of the current call. However, if the mapping client is the emergency caller's device, the attacker may gain information that allows for interference with the call after it has been set up or interception of the media stream between the caller and the PSAP.5.3. Attacks6. Security requirements relating togain fraudulent use of ASP/VSP servicesECRIT work items This sectiondiscusses attacks wherebydescribes theEmergency Caller is hoping to bypass normal proceduressecurity requirements which must be fulfilled toachieve free use of ASP/VSP services. An attack of this sort is possible only ifprevent or reduce thefollowing conditions are true: a. The attacker iseffectiveness of theemergency caller. b.attacks described in Section 5. Theattacker has control over the addressing ofrequirements are presented in theemergency call request eithersame order asa result of or subsequent to the mapping operation. c. The call entersthedomain of an ASP/VSP, which accepts it without applying normal requirementsattacks. From Section 5.1: Attack: fraudulent calls. Requirement: foran authenticated subscriber identity because it is marked as an emergency call. d. Thecalls which meet conditions a-c of Section 5.1, the ASP/VSProutes it according tocall routing entity MUST verify that thecalleddestination address (e.g., SIPRequest-URI), without verifying that this isRequest-URI) presented in theaddresscall signalling is that of a PSAP.The key condition is the second one. The attacker has two possibilities for controlling the addressingAttack: use ofthe call. One is to insert a false entry into the mapping database for the caller's location, allowing the caller free calls to wherever the entry points to. The second possibility comes if theemergencycaller's device is the mapping client. In this case, if the caller reprograms the deviceidentifier toaccept an arbitrary inputprobe inplace of the URI returned by the mapping process, the caller is ableorder tocomplete aidentify emergency call routing entities. Requirement: topology hiding SHOULD be applied tothat URI while bypassing the ASP/VSP's normal authentication procedures. 5.4. Attacks against the emergency response system This section considers attacks intendedcall signalling returned toreduce the effectiveness ofthe emergencyresponse system for all callers in a given area. The motivation may range from thoughtless vandalism, to wide-scale criminality, to terrorism. The possible attacks oncaller, so that themapping process to achieve this have already been described; they simply have to be less targeted. The attacks are denial of service or misdirection through provisionidentity ofincorrect responses to mapping queries.intermediate routing entities is not disclosed. Themechanismsobvious exception is where these entities areflooding attacks (for denial of service only), control of the Mapping Server, or impersonation of the Mapping Server. 6. Security requirements relating to emergency call routing This section describes the security requirements which must be fulfilled in the mapping protocolalready visible toprevent or blunttheeffectiveness of the attacks describedcaller. Note that there is little point in hiding theprevious section.PSAP itself. From Section 5.2.1: Attack: flooding attack on the mapping client, mapping server, or a third entity. Requirement: The mapping protocol MUST NOT create new opportunities for flooding attacks, including amplification attacks. Attack: insertion of interfering messages. Requirement: The protocol MUST permit the mapping client to verify that the response it receives isa responseresponding to the query it sent out. Attack: man-in-the-middle alteration of messages. Requirement: The protocol MUSTpermit the applicationmaintain request and response integrity. Attack: impersonation of theintegrity servicemapping server. Requirement: the security considerations for any discussion of mapping server discovery MUST address measures torequests and responses as an implementation option. Attack:prevent impersonation of the mapping server. Requirement: the protocol MUST permit the mapping client to authenticate the source of mappingserver as an implementation option.responses. Attack:snoopingcorruption oflocation and other information.the mapping database. Requirement: the security considerations for the mapping protocol MUSTpermit the use of the confidentiality service asaddress measures to prevent database corruption by animplementation option. Attack: fraudulent calls.attacker. Requirement: to provide an audit trail, the protocolMUST permitSHOULD allow thereverse lookupinclusion ofURIs to verifyan identifier in its response thata URI corresponds to a PSAPindicates which database records were used in preparing themapping database. Note - the necessityresponse. This identifier SHOULD be encrypted along with randomizing information such as date/time, touse this capability depends on whetherminimize thesystem architecture satisfies the conditions listedinformation provided to an attacker in mapping responses. From Section5.3. If the emergency caller's device is not5.2.2: no new requirements. From Section 5.2.3: Attack: snooping of location and other information. Requirement: themapping client,protocol MUST maintain confidentiality of theopportunity for fraud is very much limited.request and response. 7. Security Considerations This document addresses security threats and security requirements. Therefore, security is considered throughout this document. 8. Acknowledgements The writing of this document has been a task made difficult by the temptation to consider the security concerns of the entire personal emergency calling system, not just the specific pieces of work within the scope of the ECRIT Working Group. Hannes Tschofenig performed the initial security analysis forECRIT. The authors would like to thank Stephen Kent for his extensiveECRIT, but it has been shaped since then by the commentson previous issuesand judgement of the ECRIT WG at large. At an earlier stage in the evolution of this document, Stephen Kent of the Security Directorate was asked to review it and provided extensive comments which led to a complete rewriting of it. Brian Rosen, Roger Marshall, Andrew Newton, and most recently, Spencer Dawkins have also provided detailed reviews of this document at various stages. The authors thank them. 9. IANA Considerations This document does not require actions by the IANA. 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. [RFC3693] Cuellar, J., Morris, J., Mulligan, D., Peterson, J., and J. Polk, "Geopriv Requirements", RFC 3693, February 2004. 10.2. Informative References [I-D.ecrit-requirements] Schulzrinne, H. and R. Marshall, "Requirements for Emergency Context Resolution with Internet Technologies", February 2006.[RFC3693] Cuellar, J., Morris, J., Mulligan, D., Peterson, J., and J. Polk, "Geopriv Requirements",[RFC3552] Rescorla, E. and B. Korver, "Guidelines for Writing RFC3693, February 2004.Text on Security Considerations", BCP 72, RFC 3552, July 2003. Authors' Addresses Tom Taylor Nortel 1852 Lorraine Ave Ottawa, Ontario K1H 6Z8 Canada Email: taylor@nortel.com Hannes Tschofenig Siemens Otto-Hahn-Ring 6 Munich, Bayern 81739 Germany Email: Hannes.Tschofenig@siemens.com Henning Schulzrinne Columbia University Department of Computer Science 450 Computer Science Building New York, NY 10027 USA Phone: +1 212 939 7042 Email: schulzrinne@cs.columbia.edu URI: http://www.cs.columbia.edu/~hgs Murugaraj Shanmugam Siemens Otto-Hahn-Ring 6 Munich, Bayern 81739 Germany Email: murugaraj.shanmugam@siemens.comTom Taylor Nortel 1852 Lorraine Ave Ottawa, Ontario K1H 6Z8 Canada Email: taylor@nortel.comIntellectual Property Statement The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Disclaimer of Validity This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Copyright Statement Copyright (C) The Internet Society (2006). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. Acknowledgment Funding for the RFC Editor function is currently provided by the Internet Society.