Signalling System No. 7
Signaling System No. 7 is a set of telephony signaling protocols developed in 1975, which is used to set up and tear down telephone calls in most parts of the world-wide public switched telephone network. The protocol also performs number translation, local number portability, prepaid billing, Short Message Service, and other services.
In North America SS7 is often referred to as Common Channel Signaling System 7. In the United Kingdom, it is called C7, number 7 and Common Channel Interoffice Signaling 7. In Germany, it is often called Zentraler Zeichengabekanal Nummer 7.
The SS7 protocol is defined for international use by the Q.700-series recommendations of 1988 by the ITU-T. Of the many national variants of the SS7 protocols, most are based on variants standardized by the American National Standards Institute and the European Telecommunications Standards Institute. National variants with striking characteristics are the Chinese and Japanese Telecommunication Technology Committee national variants.
The Internet Engineering Task Force has defined the SIGTRAN protocol suite that implements levels 2, 3, and 4 protocols compatible with SS7. Sometimes also called Pseudo SS7,
it is layered on the Stream Control Transmission Protocol transport mechanism for use on Internet Protocol networks, such as the Internet.
History
and earlier systems uses in-band signaling, in which the call-setup information is sent by playing special multi-frequency tones into the telephone lines, known as bearer channels. As the bearer channel are directly accessible by users, it can be exploited with devices such as the blue box, which plays the tones required for call control and routing. As a remedy, SS6 and SS7 implements out-of-band signaling, carried in a separate signaling channel, thus keeping the speech path separate. SS6 and SS7 are referred to as common-channel signaling protocols, or Common Channel Interoffice Signaling systems.Since 1975, CCS protocols have been developed by major telephone companies and the International Telecommunication Union Telecommunication Standardization Sector ; in 1977 the ITU-T defined the first international CCS protocol as Signaling System No. 6. In its 1980 Yellow Book Q.7XX-series recommendations ITU-T defined the Signaling System No. 7 as an international standard. SS7 replaced SS6 with its restricted 28-bit signal unit that was both limited in function and not amendable to digital systems. SS7 also replaced Signaling System No. 5, while R1 and R2 variants are still used in numerous countries.
The Internet Engineering Task Force defined SIGTRAN protocols which translate the common channel signaling paradigm to the IP Message Transfer Part level 2, Message Transfer Part level 3 and Signaling Connection Control Part . While running on a transport based upon IP, the SIGTRAN protocols are not an SS7 variant, but simply transport existing national and international variants of SS7.
Functionality
in telephony is the exchange of control information associated with the setup and release of a telephone call on a telecommunications circuit. Examples of control information are the digits dialed by the caller and the caller's billing number.When signaling is performed on the same circuit as the conversation of the call, it is termed channel-associated signaling. This is the case for analogue trunks, multi-frequency and R2 digital trunks, and DSS1/DASS PBX trunks.
In contrast, SS7 uses common channel signaling, in which the path and facility used by the signaling is separate and distinct from the signaling without first seizing a voice channel, leading to significant savings and performance increases in both signaling and channel usage.
Because of the mechanisms in use by signaling methods prior to SS7, these earlier methods can not communicate much signaling information. Usually only the dialed digits are signaled during call setup. For charged calls, dialed digits and charge number digits are outpulsed. SS7, being a high-speed and high-performance packet-based communications protocol, can communicate significant amounts of information when setting up a call, during the call, and at the end of the call. This permits rich call-related services to be developed. Some of the first such services were call management related, call forwarding, voice mail, call waiting, conference calling, calling name and number display, call screening, malicious caller identification, busy callback.
The earliest deployed upper layer protocols in the SS7 suite were dedicated to the setup, maintenance, and release of telephone calls. The Telephone User Part was adopted in Europe and the Integrated Services Digital Network User Part adapted for public switched telephone network calls was adopted in North America. ISUP was later used in Europe when the European networks upgraded to the ISDN. North America has not accomplished full upgrade to the ISDN, and the predominant telephone service is still Plain Old Telephone Service. Due to its richness and the need for an out-of-band channel for its operation, SS7 is mostly used for signaling between telephone switches and not for signaling between local exchanges and customer-premises equipment.
Because SS7 signaling does not require seizure of a channel for a conversation prior to the exchange of control information, non-facility associated signaling became possible. NFAS is signaling that is not directly associated with the path that a conversation will traverse and may concern other information located at a centralized database such as service subscription, feature activation, and service logic. This makes possible a set of network-based services that do not rely upon the call being routed to a particular subscription switch at which service logic would be executed, but permits service logic to be distributed throughout the telephone network and executed more expediently at originating switches far in advance of call routing. It also permits the subscriber increased mobility due to the decoupling of service logic from the subscription switch. Another ISUP characteristic SS7 with NFAS enables is the exchange of signaling information during the middle of a call.
SS7 also enables Non-Call-Associated Signaling, which is signaling not directly related to establishing a telephone call. This includes the exchange of registration information used between a mobile telephone and a home location register database, which tracks the location of the mobile. Other examples include Intelligent Network and local number portability databases.
Signaling modes
Apart from signaling with these various degrees of association with call set-up and the facilities used to carry calls, SS7 is designed to operate in two modes: associated mode and quasi-associated mode.When operating in the associated mode, SS7 signaling progresses from switch to switch through the Public Switched Telephone Network following the same path as the associated facilities that carry the telephone call. This mode is more economical for small networks. The associated mode of signaling is not the predominant choice of modes in North America.
When operating in the quasi-associated mode, SS7 signaling progresses from the originating switch to the terminating switch, following a path through a separate SS7 signaling network composed of signal transfer points. This mode is more economical for large networks with lightly loaded signaling links. The quasi-associated mode of signaling is the predominant choice of modes in North America.
Physical network
SS7 separates signaling from the voice circuits. An SS7 network must be made up of SS7-capable equipment from end to end in order to provide its full functionality. The network can be made up of several link types and three signaling nodes – Service Switching Points, Signal Transfer Points, and Service Control Points. Each node is identified on the network by a number, a signaling point code. Extended services are provided by a database interface at the SCP level using the SS7 network.The links between nodes are full-duplex 56, 64, 1,536, or 1,984 kbit/s graded communications channels. In Europe they are usually one or all timeslots within an E1 facility; in North America one or all timeslots within a T1 facility. One or more signaling links can be connected to the same two endpoints that together form a signaling link set. Signaling links are added to link sets to increase the signaling capacity of the link set.
In Europe, SS7 links normally are directly connected between switching exchanges using F-links. This direct connection is called associated signaling. In North America, SS7 links are normally indirectly connected between switching exchanges using an intervening network of STPs. This indirect connection is called quasi-associated signaling, which reduces the number of SS7 links necessary to interconnect all switching exchanges and SCPs in an SS7 signaling network.
SS7 links at higher signaling capacity are called high speed links in contrast to the low speed links. High speed links are specified in ITU-T Recommendation Q.703 for the 1.5 Mbit/s and 2.0 Mbit/s rates, and ANSI Standard T1.111.3 for the 1.536 Mbit/s rate. There are differences between the specifications for the 1.5 Mbit/s rate. High speed links utilize the entire bandwidth of a T1 or E1 transmission facility for the transport of SS7 signaling messages.
SIGTRAN provides signaling using SCTP associations over the Internet Protocol. The protocols for SIGTRAN are M2PA, M2UA, M3UA and SUA.
SS7 protocol suite
The SS7 protocol stack may be partially mapped to the OSI Model of a packetized digital protocol stack. OSI layers 1 to 3 are provided by the Message Transfer Part and the Signalling Connection Control Part of the SS7 protocol ; for circuit related signaling, such as the BT IUP, Telephone User Part, or the ISDN User Part, the User Part provides layer 7. Currently there are no protocol components that provide OSI layers 4 through 6. The Transaction Capabilities Application Part is the primary SCCP User in the Core Network, using SCCP in connectionless mode. SCCP in connection oriented mode provides transport layer for air interface protocols such as BSSAP and RANAP. TCAP provides transaction capabilities to its Users, such as the Mobile Application Part, the Intelligent Network Application Part and the CAMEL Application Part.The Message Transfer Part covers a portion of the functions of the OSI network layer including: network interface, information transfer, message handling and routing to the higher levels. Signaling Connection Control Part is at functional Level 4. Together with MTP Level 3 it is called the Network Service Part. SCCP completes the functions of the OSI network layer: end-to-end addressing and routing, connectionless messages, and management services for users of the Network Service Part. Telephone User Part is a link-by-link signaling system used to connect calls. ISUP is the key user part, providing a circuit-based protocol to establish, maintain, and end the connections for calls. Transaction Capabilities Application Part is used to create database queries and invoke advanced network functionality, or links to Intelligent Network Application Part for intelligent networks, or Mobile Application Part for mobile services.
BSSAP
BSS Application Part is a protocol in Signaling System 7 used by the Mobile Switching Center and the Base station subsystem to communicate with each other using signalling messages supported by the MTP and connection-oriented services of the SCCP. For each active mobile equipment one signalling connection is used by BSSAP having at least one active transactions for the transfer of messages.BSSAP provides two kinds of functions:
- The BSS Mobile Application Part supports procedures to facilitate communication between the MSC and the BSS pertaining to resource management and handover control.
- The Direct Transfer Application Part is used for transfer of those messages which need to travel directly to a Mobile equipment from MSC by passing any interpretation by BSS. These messages are generally pertaining to Mobility management or Call Management.
Protocol security vulnerabilities
In 2014, the media reported a protocol vulnerability of SS7 by which anybody can track the movements of cell phone users from virtually anywhere in the world with a success rate of approximately 70%. In addition, eavesdropping is possible by using the protocol to forward calls and also facilitate decryption by requesting that each caller's carrier release a temporary encryption key to unlock the communication after it has been recorded. The software tool SnoopSnitch can warn when certain SS7 attacks occur against a phone, and detect IMSI-catchers that allow call interception and other activities.
In February 2016, 30% of the network of the largest mobile operator in Norway, Telenor, became unstable due to "Unusual SS7 signaling from another European operator".
The security vulnerabilities of SS7 have been highlighted in U.S. governmental bodies, for example when in April 2016 US congressman Ted Lieu called for an oversight committee investigation.
In May 2017, O2 Telefónica, a German mobile service provider, confirmed that the SS7 vulnerabilities had been exploited to bypass two-factor authentication to achieve unauthorized withdrawals from bank accounts. The perpetrators installed malware on compromised computers, allowing them to collect online banking account credentials and telephone numbers. They set up redirects for the victims' telephone numbers to telephone lines controlled by them. Confirmation calls of two-factor authentication procedures were routed to telephone numbers controlled by the attackers. This enabled them to log into victims' online bank accounts and effect money transfers.
In March 2018, a method was published for the detection of the vulnerabilities, through the use of open-source monitoring software such as Wireshark and Snort. The nature of SS7 normally being used between consenting network operators on dedicated links means that any bad actor's traffic can be traced to its source.