1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
|
<pre>Internet Engineering Task Force (IETF) J. Seedorf
Request for Comments: 6404 S. Niccolini
Category: Informational NEC
ISSN: 2070-1721 E. Chen
NTT
H. Scholz
VOIPFUTURE
November 2011
<span class="h1">Session PEERing for Multimedia INTerconnect (SPEERMINT)</span>
<span class="h1">Security Threats and Suggested Countermeasures</span>
Abstract
The Session PEERing for Multimedia INTerconnect (SPEERMINT) working
group (WG) provides a peering framework that leverages the building
blocks of existing IETF-defined protocols such as SIP and ENUM for
the interconnection between SIP Service Providers (SSPs). The
objective of this document is to identify and enumerate SPEERMINT-
specific threat vectors and to give guidance for implementers on
selecting appropriate countermeasures. Security requirements for
SPEERMINT that have been derived from the threats detailed in this
document can be found in <a href="./rfc6271">RFC 6271</a>; this document provides concrete
countermeasures to meet those SPEERMINT security requirements. In
this document, the different security threats related to SPEERMINT
are classified into threats to the Lookup Function (LUF), the
Location Routing Function (LRF), the Signaling Function (SF), and the
Media Function (MF) of a specific SIP Service Provider. Various
instances of the threats are briefly introduced inside the
classification. Finally, existing security solutions for SIP and
RTP/RTCP (Real-time Transport Control Protocol) are presented to
describe countermeasures currently available for such threats. Each
SSP may have connections to one or more remote SSPs through peering
or transit contracts. A potentially compromised remote SSP that
attacks other SSPs is out of the scope of this document; this
document focuses on attacks on an SSP from outside the trust domain
such an SSP may have with other SSPs.
<span class="grey">Seedorf, et al. Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
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 <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc6404">http://www.rfc-editor.org/info/rfc6404</a>.
Copyright Notice
Copyright (c) 2011 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) 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.
<span class="grey">Seedorf, et al. Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-2">2</a>. Security Threats Relevant to SPEERMINT ..........................<a href="#page-5">5</a>
<a href="#section-2.1">2.1</a>. Threats to the Lookup Function (LUF) .......................<a href="#page-5">5</a>
<a href="#section-2.1.1">2.1.1</a>. Threats to LUF Confidentiality ......................<a href="#page-5">5</a>
<a href="#section-2.1.2">2.1.2</a>. Threats to LUF Integrity ............................<a href="#page-6">6</a>
<a href="#section-2.1.3">2.1.3</a>. Threats to LUF Availability .........................<a href="#page-6">6</a>
<a href="#section-2.2">2.2</a>. Threats to the Location Routing Function (LRF) .............<a href="#page-6">6</a>
<a href="#section-2.2.1">2.2.1</a>. Threats to LRF Confidentiality ......................<a href="#page-6">6</a>
<a href="#section-2.2.2">2.2.2</a>. Threats to LRF Integrity ............................<a href="#page-7">7</a>
<a href="#section-2.2.3">2.2.3</a>. Threats to LRF Availability .........................<a href="#page-7">7</a>
<a href="#section-2.3">2.3</a>. Threats to the Signaling Function (SF) .....................<a href="#page-7">7</a>
<a href="#section-2.3.1">2.3.1</a>. Threats to SF Confidentiality .......................<a href="#page-7">7</a>
<a href="#section-2.3.2">2.3.2</a>. Threats to SF Integrity .............................<a href="#page-8">8</a>
<a href="#section-2.3.3">2.3.3</a>. Threats to SF Availability .........................<a href="#page-10">10</a>
<a href="#section-2.4">2.4</a>. Threats to the Media Function (MF) ........................<a href="#page-10">10</a>
<a href="#section-2.4.1">2.4.1</a>. Threats to MF Confidentiality ......................<a href="#page-10">10</a>
<a href="#section-2.4.2">2.4.2</a>. Threats to MF Integrity ............................<a href="#page-10">10</a>
<a href="#section-2.4.3">2.4.3</a>. Threats to MF Availability .........................<a href="#page-11">11</a>
<a href="#section-3">3</a>. Security Requirements ..........................................<a href="#page-11">11</a>
3.1. Security Requirements from SPEERMINT Requirements
Document ..................................................<a href="#page-11">11</a>
<a href="#section-3.2">3.2</a>. How to Fulfill the Security Requirements for SPEERMINT ....<a href="#page-11">11</a>
<a href="#section-4">4</a>. Suggested Countermeasures ......................................<a href="#page-12">12</a>
<a href="#section-4.1">4.1</a>. Database Security BCPs ....................................<a href="#page-14">14</a>
<a href="#section-4.2">4.2</a>. DNSSEC ....................................................<a href="#page-14">14</a>
<a href="#section-4.3">4.3</a>. DNS Replication ...........................................<a href="#page-15">15</a>
<a href="#section-4.4">4.4</a>. Cross-Domain Privacy Protection ...........................<a href="#page-15">15</a>
<a href="#section-4.5">4.5</a>. Secure Exchange of SIP Messages ...........................<a href="#page-15">15</a>
<a href="#section-4.6">4.6</a>. Ingress Filtering / Reverse-Path Filtering ................<a href="#page-16">16</a>
<a href="#section-4.7">4.7</a>. Strong Identity Assertion .................................<a href="#page-16">16</a>
<a href="#section-4.8">4.8</a>. Reliable Border Element Pooling ...........................<a href="#page-17">17</a>
<a href="#section-4.9">4.9</a>. Rate limit ................................................<a href="#page-17">17</a>
<a href="#section-4.10">4.10</a>. Topology Hiding ..........................................<a href="#page-17">17</a>
<a href="#section-4.11">4.11</a>. Border Element Hardening .................................<a href="#page-17">17</a>
<a href="#section-4.12">4.12</a>. Securing Session Establishment Data ......................<a href="#page-18">18</a>
<a href="#section-4.13">4.13</a>. Encryption and Integrity Protection of Media Stream ......<a href="#page-18">18</a>
<a href="#section-5">5</a>. Conclusions ....................................................<a href="#page-18">18</a>
<a href="#section-6">6</a>. Security Considerations ........................................<a href="#page-18">18</a>
<a href="#section-7">7</a>. Acknowledgements ...............................................<a href="#page-19">19</a>
<a href="#section-8">8</a>. Informative References .........................................<a href="#page-19">19</a>
<span class="grey">Seedorf, et al. Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
With Voice over IP (VoIP), the need for security is compounded
because there is the need to protect both the control plane and the
data plane. In a legacy telephone system, security is a more valid
assumption. Intercepting conversations requires either physical
access to telephone lines or a compromise to the Public Switched
Telephone Network (PSTN) nodes or the office Private Branch eXchanges
(PBXs). Only particularly security-sensitive organizations bother to
encrypt voice traffic over traditional telephone lines. In contrast,
the risk of sending unencrypted data across the Internet is more
significant (e.g., dual-tone multi-frequency (DTMF) tones
corresponding to the credit card number). An additional security
threat to Internet Telephony comes from the fact that the signaling
devices may be addressed directly by attackers as they use the same
underlying networking technology as the multimedia data; traditional
telephone systems have the signaling network separated from the data
network. This is an increased security threat since a hacker could
attack the signaling network and its servers with increased damage
potential (call hijacking, call drop, Denial-of-Service (DoS) attacks
[<a href="./rfc4732" title=""Internet Denial-of- Service Considerations"">RFC4732</a>], etc.). Therefore, there is a need to investigate the
different security threats, to extract security-related requirements,
and to highlight potential solutions on how to protect against such
threats.
The Session PEERing for Multimedia INTerconnect (SPEERMINT) working
group provides a peering framework that leverages the building blocks
of existing IETF-defined protocols such as SIP and ENUM for the
interconnection between SIP servers [<a href="./rfc5486" title=""Session Peering for Multimedia Interconnect (SPEERMINT) Terminology"">RFC5486</a>]. The objective of this
document is to identify and enumerate SPEERMINT-specific threat
vectors and to give guidance for implementers on selecting
appropriate countermeasures. Security requirements for SPEERMINT can
be found in <a href="./rfc6271">RFC 6271</a> "Requirements for SIP-Based Session Peering"
[<a href="./rfc6271" title=""Requirements for SIP-Based Session Peering"">RFC6271</a>]. These security requirements for SPEERMINT are derived
from the threats that are detailed in this document; they have been
moved from an earlier version of this document to the SPEERMINT
requirements document [<a href="./rfc6271" title=""Requirements for SIP-Based Session Peering"">RFC6271</a>]. In addition to being the base for
those security requirements, this document provides to implementers
advice and examples for concrete countermeasures on how to meet these
security requirements for SPEERMINT with technical means. The
SPEERMINT terminology outlined in [<a href="./rfc5486" title=""Session Peering for Multimedia Interconnect (SPEERMINT) Terminology"">RFC5486</a>] is used throughout this
document.
In this document, the different security threats related to SPEERMINT
are classified into threats to the Lookup Function (LUF), the
Location Routing Function (LRF), the Signaling Function (SF), and the
Media Function (MF) of a specific SIP Service Provider (SSP).
Various instances of the threats are briefly introduced inside the
<span class="grey">Seedorf, et al. Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
classification. Finally, existing security solutions for SIP and
RTP/RTCP are presented to describe countermeasures currently
available for such threats. Each SSP may have connections to one or
more remote SSPs through peering or transit contracts. A potentially
compromised remote SSP that attacks other SSPs is out of the scope of
this document; this document focuses on attacks on an SSP from
outside the trust domain such an SSP may have with other SSPs.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Security Threats Relevant to SPEERMINT</span>
This section enumerates potential security threats relevant to
SPEERMINT. A taxonomy of VoIP security threats is defined in
[<a href="#ref-VOIPSATAXONOMY">VOIPSATAXONOMY</a>]. This taxonomy is comprehensive and also takes into
account non-VoIP-specific threats (e.g., loss of power, etc.).
Threats relevant to the boundaries of Layer 5 SIP networks are
extracted from this taxonomy and mapped to the functions of the
SPEERMINT architecture as defined in [<a href="./rfc6406" title=""Session PEERing for Multimedia INTerconnect (SPEERMINT) Architecture"">RFC6406</a>]. Moreover, additional
threats for the SPEERMINT architecture are listed and detailed under
the same classification of SPEERMINT functions and according to the
CIA (Confidentiality, Integrity, and Availability) triad:
o Lookup Function (LUF);
o Location Routing Function (LRF);
o Signaling Function (SF);
o Media Function (MF).
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Threats to the Lookup Function (LUF)</span>
For a given request, the LUF provides a mechanism to determine the
identity of the requested resource on the terminating domain. The
returned identity can be used to look up Session Establishment Data
(SED) using the Location Routing Function (LRF). In direct peerings,
the LUF is usually hosted locally, whereas in a federation context,
this function may be offered by a third party.
If the LUF is hosted locally, it is vulnerable to the same threats
that affect database systems in general. If the SSP relies on a
remote third party to provide the LUF functionality, confidentiality,
integrity, and authenticity of the responses are at risk.
<span class="h4"><a class="selflink" id="section-2.1.1" href="#section-2.1.1">2.1.1</a>. Threats to LUF Confidentiality</span>
For a given request, the Lookup Function (LUF) determines the target
domain to which the request should be routed. The following attacks
are relevant with respect to eavesdropping on LUF messages:
<span class="grey">Seedorf, et al. Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
o SIP URI and peering domain harvesting - an attacker can exploit
this weakness if the underlying database has a weak authentication
system or if SIP messages are sent unencrypted, and then use the
gained knowledge to launch other kinds of attacks.
o Third-party information - a LUF providing information to multiple
companies / third parties can be attacked to obtain information
about third party peering configurations and possible contracts.
<span class="h4"><a class="selflink" id="section-2.1.2" href="#section-2.1.2">2.1.2</a>. Threats to LUF Integrity</span>
The underlying database or LUF messages could be vulnerable to input/
output message modification attacks:
o Injection attack - an attacker could manipulate statements
performed on the database LUF messages sent to a third party. A
specific version of this attack is known as "SQL injection". An
SQL injection is a code insertion into the LUF due to incorrect
input validation.
<span class="h4"><a class="selflink" id="section-2.1.3" href="#section-2.1.3">2.1.3</a>. Threats to LUF Availability</span>
The underlying database or third party LUF service could be
vulnerable to:
o Denial-of-Service attacks - For example, an attacker makes
incomplete requests causing the server to create an idle state for
each of them, which causes memory to be exhausted.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Threats to the Location Routing Function (LRF)</span>
The LRF determines the location of the Signaling Function (SF) for
the target domain of a given request. Optionally, it may return
additional SED.
<span class="h4"><a class="selflink" id="section-2.2.1" href="#section-2.2.1">2.2.1</a>. Threats to LRF Confidentiality</span>
Similar to the LUF, the following attacks are related to
eavesdropping on LRF messages:
o URI harvesting - the attacker harvests URIs and IP addresses of
the existing User Endpoints (UEs) by issuing a multitude of
location requests. Direct intrusion against vulnerable UEs or
telemarketing are possible attack scenarios that would use the
gained knowledge.
<span class="grey">Seedorf, et al. Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
o SIP device enumeration - the attacker discovers the IP address of
each intermediate signaling device by looking at the Via and
Record-Route headers of a SIP message. Targeting the discovered
devices with subsequent attacks is a possible attack scenario.
<span class="h4"><a class="selflink" id="section-2.2.2" href="#section-2.2.2">2.2.2</a>. Threats to LRF Integrity</span>
An attacker may modify messages, e.g., by feeding bogus information
to the LRF, if the routing data is not correctly validated or sent
unencrypted. Dynamic call routing discovery and establishment, as in
the scope of SPEERMINT, introduce opportunities for attacks such as
the following:
o Man-in-the-Middle attacks - the attacker inserts or has already
inserted an unauthorized node in the signaling path modifying the
SED. The result is that the attacker is then able to read,
insert, and modify the multimedia communications.
o Incorrect destinations - the attacker redirects the calls to an
incorrect destination with the purpose of establishing fraud
communications like voice phishing or DoS attacks.
<span class="h4"><a class="selflink" id="section-2.2.3" href="#section-2.2.3">2.2.3</a>. Threats to LRF Availability</span>
The LRF can be the object of DoS attacks. DoS attacks to the LRF can
be carried out by sending a large number of queries to the LRF or
LUF, with the result of preventing an Originating SSP from looking up
call routing data of any URI outside its administrative domain. As
an alternative, the attacker could target the DNS to disable
resolution of SIP addresses.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Threats to the Signaling Function (SF)</span>
The Signaling Function involves a great number of sensitive
information. Through the Signaling Function, User Agents (UAs)
assert identities and operators authorize billable resources.
Correct and trusted operation of Signaling Function is essential for
service providers. This section discusses potential security threats
to the Signaling Function to detail the possible attack vectors.
<span class="h4"><a class="selflink" id="section-2.3.1" href="#section-2.3.1">2.3.1</a>. Threats to SF Confidentiality</span>
SF traffic is vulnerable to eavesdropping, in particular, when the
data is moved across multiple SSPs having different levels of
security policies. Threats for the SF confidentiality are listed
here:
<span class="grey">Seedorf, et al. Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
o Call pattern analysis - the attacker tracks the call patterns of
the users violating his/her privacy (e.g., revealing the social
network of various users, the daily phone usage, etc.); also,
rival SSPs may infer information about the customer base of other
SSPs in this way;
o Password cracking - the challenge-response authentication
mechanism of SIP Digest can be attacked with offline dictionary
attacks. With such attacks, an attacker tries to exploit weak
passwords that are used by incautious users.
o Network discovery - the attacker may learn information about the
internal network structure of a peering partner that is directly
or indirectly connected by looking at SIP routing information
(i.e, Record-Route, Via or Contact headers).
<span class="h4"><a class="selflink" id="section-2.3.2" href="#section-2.3.2">2.3.2</a>. Threats to SF Integrity</span>
The integrity of the SF can be violated using SIP request spoofing,
SIP reply spoofing, and SIP message tampering.
<span class="h5"><a class="selflink" id="section-2.3.2.1" href="#section-2.3.2.1">2.3.2.1</a>. SIP Request Spoofing</span>
Most SIP request spoofing attacks first require SIP message
eavesdropping. However, some of these attacks can be also performed
by estimating certain fields in SIP headers (e.g., by exploiting the
fact that weak implementations may generate predictable SIP Dialog
parameters) or exploiting broken implementations that do not properly
verify the content of certain headers. Threats in this category are
as follows:
o session teardown - an attacker can send CANCEL/BYE messages in
order to tear down an existing call at the SIP layer; for such an
attack, the attacker either needs to know (e.g., by eavesdropping
a SIP INVITE message) the SIP Dialog of the call to be hijacked
(To-tag, From-tag, Call-ID) or alternatively may rely on SIP
implementations that do not properly authenticate requests based
on the SIP Dialog;
o Billing fraud - the attacker can modify and replay an intercepted
INVITE request in order to bill a call to a victim UE and avoid
paying for the phone call;
o User ID spoofing - SSPs are responsible for asserting the
legitimacy of a user ID; if an SSP fails to achieve the level of
identity assertion that the federation to which it belongs
expects, it may create an entry point for attackers to conduct
user ID spoofing attacks;
<span class="grey">Seedorf, et al. Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
o Unwanted requests - the attacker sends requests to interfere with
regular operation, e.g., by sending a REGISTER request in order to
hijack calls. The SPEERMINT architecture as defined in [<a href="./rfc6406" title=""Session PEERing for Multimedia INTerconnect (SPEERMINT) Architecture"">RFC6406</a>]
does not require registrations between the Signaling Functions
(SFs) of the connected SSPs. Hence, superfluous requests like
REGISTERs should be rejected.
<span class="h5"><a class="selflink" id="section-2.3.2.2" href="#section-2.3.2.2">2.3.2.2</a>. SIP Reply Spoofing</span>
Threats in this category are as follows:
o Forged 199 Response - the attacker sends a forged 199 response to
terminate an early dialog. The forged response will not terminate
the entire session but may alter the direction of the session;
o Forged 200 Response - having seen the contents of an INVITE
request, an eavesdropper can inject a 200 response, affecting the
processing of the transaction of all proxies between the injection
point and the originating UA and at the originating UA itself. In
the extreme case, this can result in a hijacked call. In many
cases, however, such an attack will leave signaling artifacts that
may allow it to be detected (e.g., the element receiving the
forged 200 response may also receive other SIP reply messages from
the actual terminating UE);
o Forged 302 Response - having seen the contents of an INVITE
request, an eavesdropper could also inject a forged "302 Moved
Temporarily" reply, affecting the processing of the transaction at
intermediate entities and the originating UA. This may allow the
attacker to successfully redirect the call to any destination UE
of his choosing;
o Forged 404 Response - having seen the contents of an INVITE
request, an eavesdropper could also inject a forged "404 Not
Found" reply, affecting the processing of the transaction at
intermediate entities and the originating UA. Such an attack may
result in disrupting the call establishment.
<span class="h5"><a class="selflink" id="section-2.3.2.3" href="#section-2.3.2.3">2.3.2.3</a>. SIP Message Tampering</span>
This threat involves the alteration of important field values in a
SIP message or in the Session Description Protocol (SDP) body.
Examples of this threat could be the dropping or modification of
handshake packets in order to avoid the establishment of a secure RTP
session (SRTP). The same approach could be used to degrade the
quality of media session by letting a UE negotiate a poor quality
codec.
<span class="grey">Seedorf, et al. Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
<span class="h4"><a class="selflink" id="section-2.3.3" href="#section-2.3.3">2.3.3</a>. Threats to SF Availability</span>
o Flooding attack - a Signaling Path Border Element (SBE) is
susceptible to message flooding attacks that may come from
interconnected SSPs;
o Session blackholing - the attacker (assumed to be able to make
Man-in-the-Middle attacks) intentionally drops essential packets,
e.g., INVITEs, to prevent certain calls from being established;
o SIP Fuzzing attack - fuzzing tests and software can be used by
attackers to discover and exploit vulnerabilities of a SIP entity.
This attack may result in crashing a SIP entity.
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. Threats to the Media Function (MF)</span>
The Media Function (MF) is responsible for the actual delivery of
multimedia communication between the users and carries sensitive
information. Through the media function, the UE can establish secure
communications and monitor the quality of conversations. Correct and
trusted operations of MF is essential for privacy and service-
assurance issues. This section discusses potential security threats
to the MF to detail the possible attack vectors.
<span class="h4"><a class="selflink" id="section-2.4.1" href="#section-2.4.1">2.4.1</a>. Threats to MF Confidentiality</span>
The MF is vulnerable to eavesdropping in which the attacker may
reconstruct the voice conversation or sensitive information (e.g.,
PINs from DTMF tones). Some SRTP key exchange mechanisms (e.g.,
[<a href="./rfc4568" title=""Session Description Protocol (SDP) Security Descriptions for Media Streams"">RFC4568</a>]) are vulnerable to bid-down attacks, where an attacker
selectively changes key exchange protocol fields in order to enforce
the establishment of a less secure or even non-secure communication.
<span class="h4"><a class="selflink" id="section-2.4.2" href="#section-2.4.2">2.4.2</a>. Threats to MF Integrity</span>
Both RTP and RTCP are vulnerable to integrity violation in many ways:
o Media injection - if an attacker can somehow detect an ongoing
media session and eavesdrop a few RTP packets, he can start
sending bogus RTP packets to one of the UEs involved using the
same codec. If the bogus RTP packets have consistently greater
timestamps and sequence numbers (but within the acceptable range)
than the legitimate RTP packets, the recipient UE may accept the
bogus RTP packets and discard the legitimate ones.
<span class="grey">Seedorf, et al. Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
o Media session teardown - the attacker sends bogus RTCP BYE
messages to a target UE signaling to tear down the media
communication; please note that RTCP messages are normally not
authenticated.
o Quality-of-Service (QoS) degradation - the attacker sends wrong
RTCP reports advertising more packet loss or more jitter than
actually experimented resulting in the usage of a poor quality
codec degrading the overall quality of the call experience.
<span class="h4"><a class="selflink" id="section-2.4.3" href="#section-2.4.3">2.4.3</a>. Threats to MF Availability</span>
o Malformed messages - the attacker tries to cause a crash or a
reboot of the Data Path Border Element (DBE)/UE by sending RTP/
RTCP malformed messages;
o Messages flooding - the attacker tries to exhaust the resources of
the DBE/UE by sending many RTP/RTCP messages.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Security Requirements</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Security Requirements from SPEERMINT Requirements Document</span>
The security requirements for SPEERMINT have been moved from an
earlier version of this document to the SPEERMINT requirements
[<a href="./rfc6271" title=""Requirements for SIP-Based Session Peering"">RFC6271</a>]. The security requirements for SPEERMINT are the
following, from [<a href="./rfc6271" title=""Requirements for SIP-Based Session Peering"">RFC6271</a>]:
o Requirement #15: The protocols used to query the Lookup and
Location Routing Functions SHOULD support mutual authentication.
o Requirement #16: The protocols used to query the Lookup and
Location Routing Functions SHOULD provide support for data
confidentiality and integrity.
o Requirement #17: The protocols used to enable session peering MUST
NOT interfere with the exchanges of media security attributes in
SDP. Media attribute lines that are not understood by SBEs must
be ignored and passed along the signaling path untouched.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. How to Fulfill the Security Requirements for SPEERMINT</span>
Requirements #15 and #16 state that the LUF and LRF should support
mutual authentication, data confidentiality, and integrity. In
principle, these requirements can be fulfilled technically with
Transport Layer Security (TLS) or Datagram TLS (DTLS) [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>]
[<a href="./rfc4347" title=""Datagram Transport Layer Security"">RFC4347</a>] or IP layer security (IPsec) [<a href="./rfc4301" title=""Security Architecture for the Internet Protocol"">RFC4301</a>]. From a pure
<span class="grey">Seedorf, et al. Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
security perspective both solutions fulfill the security requirements
for SPEERMINT, just on a different layer, and both solutions are
widely deployed.
However, from a more practical perspective, transport layer security
(i.e., TLS or DTLS) has the advantage that the application using it
is aware of whether or not security (or rather the corresponding
security features) is enabled. For instance, using TLS has the
consequence that the connection fails if the corresponding connection
endpoint cannot authenticate properly.
While IPsec fulfills the same requirements from a security
perspective, IPsec is somewhat de-coupling security from the
application using it. For instance, IPsec is often provided by
dedicated entities in such a way that from the application layer, it
cannot be recognized whether or not IPsec or certain security
features are turned on ("bump-in-the-wire").
In summary, TLS (or DTLS) has some notable advantages over IPsec for
addressing the SPEERMINT security requirements. In particular,
transport layer security is preferable over IPsec for SPEERMINT
because with TLS (or DTLS) security is more closely coupled to the
LUF or LRF. From a mere technical perspective, however, both
solutions (transport layer security or IPsec) fulfill the SPEERMINT
security requirements, and there may be particular cases where IPsec
is a preferable solution.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Suggested Countermeasures</span>
This section describes implementer-specific countermeasures against
the threats described in the previous sections and for addressing the
SPEERMINT security requirements described in [<a href="./rfc6271" title=""Requirements for SIP-Based Session Peering"">RFC6271</a>]. The
countermeasures listed in this section are not meant to be
exhaustive; rather, the suggested countermeasures are aimed to serve
as starting points and to give guidance for implementers that are
trying to select appropriate countermeasures against certain threats.
The following table provides a map of the relationships between
threats and countermeasures. The suggested countermeasures are
discussed in detail in the subsequent subsections.
<span class="grey">Seedorf, et al. Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
+-------+---------------+-------------------------------------------+
| Group | Threat | Suggested Countermeasure |
+-------+---------------+-------------------------------------------+
| LUF | Unauthorized | database security BCPs (<a href="#section-4.1">Section 4.1</a>), |
| | access | Secure Exchange of SIP messages |
| | | (<a href="#section-4.5">Section 4.5</a>) |
| | SQL injection | database security BCPs (<a href="#section-4.1">Section 4.1</a>), |
| | | Secure Exchange of SIP messages |
| | | (<a href="#section-4.5">Section 4.5</a>) |
| | DoS to LUF | database security BCPs (<a href="#section-4.1">Section 4.1</a>), |
| | | Secure Exchange of SIP messages |
| | | (<a href="#section-4.5">Section 4.5</a>) |
| LRF | URI | privacy protection (<a href="#section-4.4">Section 4.4</a>), Secure |
| | harvesting | Exchange of SIP messages (<a href="#section-4.5">Section 4.5</a>) |
| | SIP equipment | privacy protection (<a href="#section-4.4">Section 4.4</a>), Secure |
| | enumeration | Exchange of SIP messages (<a href="#section-4.5">Section 4.5</a>) |
| | MitM attack | DNSSEC (<a href="#section-4.2">Section 4.2</a>), Secure Exchange of |
| | | SIP messages (<a href="#section-4.5">Section 4.5</a>) |
| | Incorrect | DNSSEC (<a href="#section-4.2">Section 4.2</a>), Secure Exchange of |
| | destinations | SIP messages (<a href="#section-4.5">Section 4.5</a>) |
| | DoS to LRF | DNS replication (<a href="#section-4.3">Section 4.3</a>) |
| SF | Call pattern | Secure Exchange of SIP messages |
| | analysis | (<a href="#section-4.5">Section 4.5</a>), Securing Session |
| | | Establishment Data (<a href="#section-4.12">Section 4.12</a>) |
| | Password | Secure Exchange of SIP messages |
| | cracking | (<a href="#section-4.5">Section 4.5</a>) |
| | Network | Securing Session Establishment Data |
| | discovery | (<a href="#section-4.12">Section 4.12</a>), Topology Hiding |
| | | (<a href="#section-4.10">Section 4.10</a>) |
| | Session | Secure Exchange of SIP messages |
| | teardown | (<a href="#section-4.5">Section 4.5</a>), ingress filtering |
| | | (<a href="#section-4.6">Section 4.6</a>) |
| | Billing fraud | strong identity assertion (<a href="#section-4.7">Section 4.7</a>) |
| | User ID | strong identity assertion (<a href="#section-4.7">Section 4.7</a>) |
| | spoofing | |
| | Forged 200 | Secure Exchange of SIP messages |
| | Response | (<a href="#section-4.5">Section 4.5</a>), ingress filtering |
| | | (<a href="#section-4.6">Section 4.6</a>) |
| | Forged 302 | Secure Exchange of SIP messages |
| | Response | (<a href="#section-4.5">Section 4.5</a>), ingress filtering |
| | | (<a href="#section-4.6">Section 4.6</a>) |
| | Forged 404 | Secure Exchange of SIP messages |
| | Response | (<a href="#section-4.5">Section 4.5</a>), ingress filtering |
| | | (<a href="#section-4.6">Section 4.6</a>) |
| | Flooding | reliable border element pooling |
| | attack | (<a href="#section-4.8">Section 4.8</a>), rate limit (<a href="#section-4.9">Section 4.9</a>) |
| | Session | DNSSEC (<a href="#section-4.2">Section 4.2</a>) |
| | blackholing | |
<span class="grey">Seedorf, et al. Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
| | SIP fuzzing | border element hardening (<a href="#section-4.11">Section 4.11</a>) |
| | attack | |
| MF | Eavesdropping | Encryption and Integrity Protection of |
| | | Media Stream (<a href="#section-4.13">Section 4.13</a>) |
| | Media | Encryption and Integrity Protection of |
| | injection | Media Stream (<a href="#section-4.13">Section 4.13</a>) |
| | Media session | Encryption and Integrity Protection of |
| | teardown | Media Stream (<a href="#section-4.13">Section 4.13</a>) |
| | QoS | Encryption and Integrity Protection of |
| | degradation | Media Stream (<a href="#section-4.13">Section 4.13</a>) |
| | Malformed | border element hardening (<a href="#section-4.11">Section 4.11</a>) |
| | messages | |
| | Message | rate limit (<a href="#section-4.9">Section 4.9</a>) |
| | flooding | |
+-------+---------------+-------------------------------------------+
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Database Security BCPs</span>
Adequate security measures must be applied to the LUF to prevent it
from being a target of attacks often seen on common database systems.
Common security Best Current Practices (BCPs) for database systems
include the use of strong passwords to prevent unauthorized access,
parameterized statements to prevent SQL injections, and server
replication to prevent any database from being a single point of
failure. [<a href="#ref-DBSEC" title=""Handbook of Database Security: Applications and Trends"">DBSEC</a>] is one of many existing documents that describe BCPs
in this area.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. DNSSEC</span>
If DNS is used by the LRF, it is recommended to deploy the recent
version of Domain Name System Security Extensions (informally called
"DNSSEC-bis") defined by [<a href="./rfc4033" title=""DNS Security Introduction and Requirements"">RFC4033</a>], [<a href="./rfc4034" title=""Resource Records for the DNS Security Extensions"">RFC4034</a>], and [<a href="./rfc4035" title=""Protocol Modifications for the DNS Security Extensions"">RFC4035</a>]. DNSSEC
has been designed to protect DNS against well-known attacks such as
DNS cache poisoning or Man-in-the-Middle (MitM) attacks on DNS
queries. Essentially, DNSSEC is a set of public key cryptography
extensions to DNS that provide authentication of DNS data, integrity
protection for DNS entries, and authenticated denial of existence
regarding non-existing DNS entries. In the context of SSP peering,
DNSSEC can provide authentication and integrity regarding the
location of a Signaling Function (SF) entity retrieved via DNS.
Using DNSSEC can thus help to defend against MitM attacks on DNS
queries invoked by the LRF, session blackholing and other attacks
that lead traffic to incorrect destinations.
DNSSEC has been deployed at the root level and in several top-level
domains (e.g., .com and .net). Although, at the time of this
writing, DNSSEC is still not yet widely deployed on the Internet,
even limited deployment can add significant integrity protection and
<span class="grey">Seedorf, et al. Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
authentication to the LRF for Signaling Function locations received
via DNS entries. Neither end users nor terminals are involved in the
DNS resolution process of the LRF. Hence, if a) the sending SSP uses
a DNS resolver that supports DNSSEC extensions, b) the receiving SSP
stores the location of its Signaling Function cryptographically
signed (using DNSSEC extensions) in the DNS, and c) the sending SSP
can obtain an authentication chain (i.e., a series of linked DS and
DNSKEY records) to the receiving SSP, the LRF can be secured with
DNSSEC. In the context of SPEERMINT, all three of these requirements
can be fulfilled even in the case of partial DNSSEC deployment. In
particular, even without Internet-wide deployment of DNSSEC, it may
be possible for a sending SSP to obtain a suitable trust anchor for
verifying the receiving SSP's public key. For instance, a suitable
trust anchor could be configured for that specific SSP's top-level
domain or for the particular SSP's domain directly. If the sending
and the receiving SSP use a common ENUM tree, DNSSEC use with the
ENUM tree's trust anchor is "straightforward".
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. DNS Replication</span>
DNS replication is a very important countermeasure to mitigate DoS
attacks on the LRF. Simultaneously bringing down multiple DNS
servers that support the LRF is much more challenging than attacking
a sole DNS server (single point of failure).
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Cross-Domain Privacy Protection</span>
Stripping Via and Record-Route headers, replacing the Contact header,
and even changing Call-IDs are the mechanisms described in [<a href="./rfc3323" title=""A Privacy Mechanism for the Session Initiation Protocol (SIP)"">RFC3323</a>]
to protect SIP privacy. This practice allows an SSP to hide its SIP
network topology, prevents intermediate signaling equipment from
becoming the target of DoS attacks, as well as protects the privacy
of UEs according to their preferences. This practice is effective in
preventing SIP equipment enumeration that exploits LRF.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. Secure Exchange of SIP Messages</span>
SIP can be used on top of UDP or TCP as transport protocol [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>].
However, look-up and SED data should be exchanged securely (see
security requirements (<a href="#section-3.2">Section 3.2</a>)), e.g., to increase the
difficulty of performing session teardown and forging responses (200,
302, 404, etc). If UDP is used to carry SIP messages, DTLS should be
used to secure SIP message exchange between SSPs. If TCP is used as
a transport protocol, it can be secured with TLS. Therefore,
depending on the underlying transport protocol, SSPs should use
either DTLS or TLS to secure SIP message delivery.
<span class="grey">Seedorf, et al. Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
In general, encryption and integrity protection of signaling messages
can be achieved on the transport layer (with TLS or DTLS) or on the
network layer (with IPsec). Both solutions are technically sound,
but transport layer security has some advantages. Please refer to
the subsection on fulfilling the SPEERMINT security requirements
(<a href="#section-3.2">Section 3.2</a>) for a discussion on using TLS/DTLS or IPsec for
protecting the confidentiality and integrity of signaling messages.
Similar to strong identity assertion, a Public Key Infrastructure
(PKI) is assumed to be in place for TLS/DTLS (or IPsec) deployment so
that SSPs can obtain and trust the keys necessary to decrypt messages
and verify signatures sent by other SSPs.
Message-oriented protection such as [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] authentication does not
fulfill the SPEERMINT requirements (e.g., mutual authentication).
<span class="h3"><a class="selflink" id="section-4.6" href="#section-4.6">4.6</a>. Ingress Filtering / Reverse-Path Filtering</span>
Ingress filtering, i.e., blocking all traffic coming from a host that
has a source address different than the addresses that have been
assigned to that host (see [<a href="./rfc2827" title=""Network Ingress Filtering: Defeating Denial of Service Attacks which employ IP Source Address Spoofing"">RFC2827</a>]), can effectively prevent UEs
from sending packets with a spoofed source IP address. This can be
achieved by reverse-path filtering, i.e., only accepting ingress
traffic if responses would take the same path. This practice is
effective in preventing session teardown and forged SIP replies (200,
302, 404, etc.), if the recipient correctly verifies the source IP
address for the authenticity of each incoming SIP message.
<span class="h3"><a class="selflink" id="section-4.7" href="#section-4.7">4.7</a>. Strong Identity Assertion</span>
"Caller ID spoofing" can be achieved thanks to the weak identity
assertion on the From URI of an INVITE request. In a single SSP
domain, strong identity assertion can be easily achieved by
authenticating each INVITE request. However, in the context of
SPEERMINT, only the Originating SSP is able to verify the identity
directly. In order to overcome this problem, there are currently
only two major approaches: transitive trust and cryptographic
signature. The transitive trust approach builds a chain of trust
among different SSP domains. One example of this approach is a
combined mechanism specified in [<a href="./rfc3324" title=""Short Term Requirements for Network Asserted Identity"">RFC3324</a>] and [<a href="./rfc3325" title=""Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks"">RFC3325</a>]. Using this
approach in a transit peering network scenario, the terminating SSP
must establish a trust relationship with all SSP domains on the path,
which can be seen as an underlying weakness. The use of
cryptographic signatures is an alternative approach. "Session
Initiation Protocol (SIP) Authenticated Identity Body (AIB) Format"
is specified in [<a href="./rfc3893" title=""Session Initiation Protocol (SIP) Authenticated Identity Body (AIB) Format"">RFC3893</a>]. [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] introduces two new header
fields, IDENTITY and IDENTITY-INFO, that allow a SIP server in the
Originating SSP to digitally sign an INVITE request after
authenticating the sending UE. The terminating SSP can verify if the
<span class="grey">Seedorf, et al. Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
INVITE request is signed by a trusted SSP domain. Although this
approach does not require the terminating SSP to establish a trust
relationship with all transit SSPs on the path, a PKI is assumed to
be in place.
<span class="h3"><a class="selflink" id="section-4.8" href="#section-4.8">4.8</a>. Reliable Border Element Pooling</span>
It is advisable to implement reliable pooling on border elements. An
architecture and protocols for the management of server pools
supporting mission-critical applications are addressed in the
RSERPOOL WG. Using such mechanisms and protocols (see [<a href="./rfc5351" title=""An Overview of Reliable Server Pooling Protocols"">RFC5351</a>]
[<a href="./rfc5352" title=""Aggregate Server Access Protocol (ASAP)"">RFC5352</a>] [<a href="./rfc5353" title=""Endpoint Handlespace Redundancy Protocol (ENRP)"">RFC5353</a>] for details), a UE can effectively increase its
capacity in handling flooding attacks.
<span class="h3"><a class="selflink" id="section-4.9" href="#section-4.9">4.9</a>. Rate limit</span>
Flooding attacks on SFs and MFs can also be mitigated by limiting the
rate of incoming traffic through policing or queuing. In this way,
legitimate clients can be denied the service since their traffic may
be discarded. Rate limiting can also be applied on a per-source-IP
basis under the assumption that the source IP of each attack packet
is not spoofed dynamically. Limitations related to NAT and mobility
issues apply and may result in false positives (i.e., source IP
addresses blocked) when multiple legitimate clients are located
behind the same NAT IP address. It may be preferable to limit the
number of concurrent 'sessions', i.e., ongoing calls instead of the
messaging associated with it (since sessions use more resources on
backend-systems). When calculating rate limits, all entities along
the session path should be taken into account. SIP entities on the
receiving end of a call may be the limiting factor (e.g., the number
of ISDN channels on PSTN gateways) rather than the ingress limiting
device.
<span class="h3"><a class="selflink" id="section-4.10" href="#section-4.10">4.10</a>. Topology Hiding</span>
Topology hiding applies to both the signaling and media plane and
consists of limiting the amount of topology information exposed to
peering partners. Topology hiding requires back-to-back user agent
(B2BUA) functionality. The most common way is the use of a Session
Border Controller (SBC) as SBE. Topology hiding is explained in
[<a href="./rfc5853" title=""Requirements from Session Initiation Protocol (SIP) Session Border Control (SBC) Deployments"">RFC5853</a>].
<span class="h3"><a class="selflink" id="section-4.11" href="#section-4.11">4.11</a>. Border Element Hardening</span>
To prevent attacks that exploit vulnerabilities (such as buffer
overflows, format string vulnerabilities, etc.) in SPEERMINT border
elements, these implementations should be security hardened. For
instance, fuzz testing is a common black box testing technique used
<span class="grey">Seedorf, et al. Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
in software engineering. Also, security vulnerability tests can be
carried out preventively to assure a UE/SBE/DBE can handle unexpected
data correctly without crashing. [<a href="./rfc4475" title=""Session Initiation Protocol (SIP) Torture Test Messages"">RFC4475</a>] and [<a href="#ref-PROTOS" title=""SIP Robustness Testing for Large-Scale Use"">PROTOS</a>] are examples
of torture test cases specific for SIP devices and freely available
security testing tools, respectively. These type of tests needs to
be carried out before product release and in addition throughout the
product life cycle.
<span class="h3"><a class="selflink" id="section-4.12" href="#section-4.12">4.12</a>. Securing Session Establishment Data</span>
Session Establishment Data (SED) contains critical information for
the routing of SIP sessions. In order to prevent attacks such as
service hijacking and denial of service that exploit SED, SSPs should
adopt a secure transport protocol that provides authentication,
confidentiality and integrity to exchange SED among themselves.
Further details can be found in [<a href="#ref-DRINKS-SPPROV">DRINKS-SPPROV</a>].
<span class="h3"><a class="selflink" id="section-4.13" href="#section-4.13">4.13</a>. Encryption and Integrity Protection of Media Stream</span>
The Secure Real-time Transport Protocol (SRTP) [<a href="./rfc3711" title=""The Secure Real-time Transport Protocol (SRTP)"">RFC3711</a>] prevents
eavesdropping on plain RTP by encrypting the data flow. It uses AES
as the default cipher and defines two modes of operation (Segmented
Integer Counter Mode and f8-mode), which is agreed upon after
negotiation. It also uses HMAC-SHA1 and index keeping to enable
message authentication/integrity and replay protection required to
prevent media injection attacks. Secure RTCP (SRTCP) provides the
same security-related features to RTCP as SRTP does for RTP. SRTCP
is described in [<a href="./rfc3711" title=""The Secure Real-time Transport Protocol (SRTP)"">RFC3711</a>] as optional. In order to prevent media
session teardown, it is recommended to turn this feature on. The
choice of the external key management protocol is left to the
deployment, a PKI is necessary to implement the security requirements
of the SPEERMINT requirements document.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Conclusions</span>
This document presented the different SPEERMINT security threats
classified in groups related to the LUF, LRF, SF, and MF,
respectively. The multiple instances of the threats were presented
with a brief explanation. Finally, suggested countermeasures for
SPEERMINT were outlined together with possible mitigation of the
existing threats by means of them.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
This document is entirely focused on the security threats for
SPEERMINT.
<span class="grey">Seedorf, et al. Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Acknowledgements</span>
This document was originally inspired by the VOIPSA VoIP Security and
Privacy Threat Taxonomy. The authors would like to thank VOIPSA for
having produced a comprehensive taxonomy as the starting point of
this document. Additionally, the authors would like to thank Cullen
Jennings, Jon Peterson, David Schwartz, Hadriel Kaplan, Peter Koch,
Daryl Malas, Jason Livingood, and Robert Sparks for useful comments
to previous editions of this document on the mailing list as well as
during IETF meetings.
Jan Seedorf and Saverio Niccolini are partially supported by the
DEMONS project, a research project supported by the European
Commission under its 7th Framework Program (contract no. 257315).
The views and conclusions contained herein are those of the authors
and should not be interpreted as necessarily representing the
official policies or endorsements, either expressed or implied, of
the DEMONS project or the European Commission.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Informative References</span>
[<a id="ref-DBSEC">DBSEC</a>] Gertz, M. and S. Jajodia, "Handbook of Database Security:
Applications and Trends", Springer, 2008.
[<a id="ref-DRINKS-SPPROV">DRINKS-SPPROV</a>]
Mule, J., Cartwright, K., Ali, S., and A. Mayrhofer,
"Session Peering Provisioning Protocol", Work in Progress,
September 2011.
[<a id="ref-PROTOS">PROTOS</a>] Wieser, C., Laakso, M., and H. Schulzrinne, "SIP
Robustness Testing for Large-Scale Use", First
International Workshop on Software Quality (SOQUA 2004),
September 2004.
[<a id="ref-RFC2827">RFC2827</a>] Ferguson, P. and D. Senie, "Network Ingress Filtering:
Defeating Denial of Service Attacks which employ IP Source
Address Spoofing", <a href="https://www.rfc-editor.org/bcp/bcp38">BCP 38</a>, <a href="./rfc2827">RFC 2827</a>, May 2000.
[<a id="ref-RFC3261">RFC3261</a>] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
June 2002.
[<a id="ref-RFC3323">RFC3323</a>] Peterson, J., "A Privacy Mechanism for the Session
Initiation Protocol (SIP)", <a href="./rfc3323">RFC 3323</a>, November 2002.
[<a id="ref-RFC3324">RFC3324</a>] Watson, M., "Short Term Requirements for Network Asserted
Identity", <a href="./rfc3324">RFC 3324</a>, November 2002.
<span class="grey">Seedorf, et al. Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
[<a id="ref-RFC3325">RFC3325</a>] Jennings, C., Peterson, J., and M. Watson, "Private
Extensions to the Session Initiation Protocol (SIP) for
Asserted Identity within Trusted Networks", <a href="./rfc3325">RFC 3325</a>,
November 2002.
[<a id="ref-RFC3711">RFC3711</a>] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K.
Norrman, "The Secure Real-time Transport Protocol (SRTP)",
<a href="./rfc3711">RFC 3711</a>, March 2004.
[<a id="ref-RFC3893">RFC3893</a>] Peterson, J., "Session Initiation Protocol (SIP)
Authenticated Identity Body (AIB) Format", <a href="./rfc3893">RFC 3893</a>,
September 2004.
[<a id="ref-RFC4033">RFC4033</a>] Arends, R., Austein, R., Larson, M., Massey, D., and S.
Rose, "DNS Security Introduction and Requirements",
<a href="./rfc4033">RFC 4033</a>, March 2005.
[<a id="ref-RFC4034">RFC4034</a>] Arends, R., Austein, R., Larson, M., Massey, D., and S.
Rose, "Resource Records for the DNS Security Extensions",
<a href="./rfc4034">RFC 4034</a>, March 2005.
[<a id="ref-RFC4035">RFC4035</a>] Arends, R., Austein, R., Larson, M., Massey, D., and S.
Rose, "Protocol Modifications for the DNS Security
Extensions", <a href="./rfc4035">RFC 4035</a>, March 2005.
[<a id="ref-RFC4301">RFC4301</a>] Kent, S. and K. Seo, "Security Architecture for the
Internet Protocol", <a href="./rfc4301">RFC 4301</a>, December 2005.
[<a id="ref-RFC4347">RFC4347</a>] Rescorla, E. and N. Modadugu, "Datagram Transport Layer
Security", <a href="./rfc4347">RFC 4347</a>, April 2006.
[<a id="ref-RFC4474">RFC4474</a>] Peterson, J. and C. Jennings, "Enhancements for
Authenticated Identity Management in the Session
Initiation Protocol (SIP)", <a href="./rfc4474">RFC 4474</a>, August 2006.
[<a id="ref-RFC4475">RFC4475</a>] Sparks, R., Hawrylyshen, A., Johnston, A., Rosenberg, J.,
and H. Schulzrinne, "Session Initiation Protocol (SIP)
Torture Test Messages", <a href="./rfc4475">RFC 4475</a>, May 2006.
[<a id="ref-RFC4568">RFC4568</a>] Andreasen, F., Baugher, M., and D. Wing, "Session
Description Protocol (SDP) Security Descriptions for Media
Streams", <a href="./rfc4568">RFC 4568</a>, July 2006.
[<a id="ref-RFC4732">RFC4732</a>] Handley, M., Rescorla, E., and IAB, "Internet Denial-of-
Service Considerations", <a href="./rfc4732">RFC 4732</a>, December 2006.
[<a id="ref-RFC5246">RFC5246</a>] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", <a href="./rfc5246">RFC 5246</a>, August 2008.
<span class="grey">Seedorf, et al. Informational [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
[<a id="ref-RFC5351">RFC5351</a>] Lei, P., Ong, L., Tuexen, M., and T. Dreibholz, "An
Overview of Reliable Server Pooling Protocols", <a href="./rfc5351">RFC 5351</a>,
September 2008.
[<a id="ref-RFC5352">RFC5352</a>] Stewart, R., Xie, Q., Stillman, M., and M. Tuexen,
"Aggregate Server Access Protocol (ASAP)", <a href="./rfc5352">RFC 5352</a>,
September 2008.
[<a id="ref-RFC5353">RFC5353</a>] Xie, Q., Stewart, R., Stillman, M., Tuexen, M., and A.
Silverton, "Endpoint Handlespace Redundancy Protocol
(ENRP)", <a href="./rfc5353">RFC 5353</a>, September 2008.
[<a id="ref-RFC5486">RFC5486</a>] Malas, D. and D. Meyer, "Session Peering for Multimedia
Interconnect (SPEERMINT) Terminology", <a href="./rfc5486">RFC 5486</a>,
March 2009.
[<a id="ref-RFC5853">RFC5853</a>] Hautakorpi, J., Camarillo, G., Penfield, R., Hawrylyshen,
A., and M. Bhatia, "Requirements from Session Initiation
Protocol (SIP) Session Border Control (SBC) Deployments",
<a href="./rfc5853">RFC 5853</a>, April 2010.
[<a id="ref-RFC6271">RFC6271</a>] Mule, J-F., "Requirements for SIP-Based Session Peering",
<a href="./rfc6271">RFC 6271</a>, June 2011.
[<a id="ref-RFC6406">RFC6406</a>] Malas, D., Ed. and J. Livingood, Ed., "Session PEERing for
Multimedia INTerconnect (SPEERMINT) Architecture",
<a href="./rfc6406">RFC 6406</a>, November 2011.
[<a id="ref-VOIPSATAXONOMY">VOIPSATAXONOMY</a>]
Zar, J. and et al, "VOIPSA VoIP Security and Privacy
Threat Taxonomy, Public Release 1.0",
<a href="http://www.voipsa.org/Activities/taxonomy.php">http://www.voipsa.org/Activities/taxonomy.php</a>,
October 2005.
<span class="grey">Seedorf, et al. Informational [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc6404">RFC 6404</a> SPEERMINT Threats and Countermeasures November 2011</span>
Authors' Addresses
Jan Seedorf
NEC Laboratories Europe, NEC Europe, Ltd.
Kurfuersten-Anlage 36
Heidelberg 69115
Germany
Phone: +49 (0) 6221 4342 221
EMail: jan.seedorf@neclab.eu
URI: <a href="http://www.neclab.eu">http://www.neclab.eu</a>
Saverio Niccolini
NEC Laboratories Europe, NEC Europe, Ltd.
Kurfuersten-Anlage 36
Heidelberg 69115
Germany
Phone: +49 (0) 6221 4342 118
EMail: saverio.niccolini@.neclab.eu
URI: <a href="http://www.neclab.eu">http://www.neclab.eu</a>
Eric Chen
Information Sharing Platform Laboratories, NTT
3-9-11 Midori-cho
Musashino, Tokyo 180-8585
Japan
EMail: eric.chen@lab.ntt.co.jp
URI: <a href="http://www.ntt.co.jp/index_e.html">http://www.ntt.co.jp/index_e.html</a>
Hendrik Scholz
VOIPFUTURE GmbH
Wendenstrasse 4
Hamburg 20097
Germany
Phone: +49 (0) 40 688 900 163
EMail: hendrik.scholz@voipfuture.com
URI: <a href="http://voipfuture.com">http://voipfuture.com</a>
Seedorf, et al. Informational [Page 22]
</pre>
|