Вы находитесь на странице: 1из 6

HUAWEI BSC6000 Base Station Subsystem BSS Signaling Analysis Guide

8 Ciphering

8
About This Chapter

Ciphering

Ciphering is used to secure the information exchange between an MS and a BTS. The information consists of the signaling information and the subscriber information. The subscriber information consists of the subscriber data and the subscriber voice. 8.1 Ciphering Procedure Whether ciphering is used or not is determined by the radio resource management entity. The ciphering procedure is initiated by the network and is performed in the BTS. To cipher the user data, you must enter the corresponding parameters in the ciphering program. The ciphering key Kc is generated by the AUC, is stored in the MSC/VLR, and is sent to the BTS before ciphering. 8.2 Ciphering Mode Change The MSC sends a Ciphering Mode Change command, and the BTS performs the ciphering mode change. 8.3 Internal BSC Signaling Procedure of Ciphering This topic describes the internal BSC signaling procedure of ciphering. 8.4 Abnormal Ciphering Cases This topic describes the abnormal ciphering cases.

Issue 02 (2008-01-25)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd

8-1

8 Ciphering

HUAWEI BSC6000 Base Station Subsystem BSS Signaling Analysis Guide

8.1 Ciphering Procedure


Whether ciphering is used or not is determined by the radio resource management entity. The ciphering procedure is initiated by the network and is performed in the BTS. To cipher the user data, you must enter the corresponding parameters in the ciphering program. The ciphering key Kc is generated by the AUC, is stored in the MSC/VLR, and is sent to the BTS before ciphering.

Signaling Procedure
Figure 8-1 shows the ciphering procedure. Figure 8-1 Ciphering procedure
MS BTS Encryption Mode Command(2) BSC Ciphering Mode Command(1) MSC

Ciphering Mode Command(3) SDCCH Ciphering Mode Command(4) SDCCH

Ciphering Mode Command(5)

The ciphering procedure is as follows: 1. The MSC sends the BSC a Ciphering Mode Command message. The Ciphering Mode Command message carries the required ciphering algorithms including A5/0, the ciphering key Kc, and whether the Ciphering Mode Complete message sent by the MS must carry the IMEI. According to the ciphering algorithm in the Ciphering Mode Command message, the ciphering algorithm allowed by the BSC, and the ciphering algorithm supported by the MS, the BSC determines the algorithm to be used and notifies the BTS. The BTS sends the Ciphering Mode Command message to notify the MS of the ciphering algorithm. Upon receiving the Ciphering Mode Command message, the MS starts sending the ciphering mode and then responds the BSC with a Cipher Mode Complete message. Upon receiving the Ciphering Mode Complete message from the MS, the BSC notifies the MSC of the ciphering completion.

2.

3. 4. 5.

Procedure Description
For details about the ciphering procedure, refer to the following:
l

A5 ciphering algorithm As specified in the GSM protocol, there are eight ciphering algorithms, A5/0A5/7, in which A5/0 indicates Not Ciphered. The ciphering mode setting procedure is initiated by

8-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd

Issue 02 (2008-01-25)

HUAWEI BSC6000 Base Station Subsystem BSS Signaling Analysis Guide

8 Ciphering

the network. The required ciphering algorithm is specified in the Ciphering Information element of the Ciphering Mode Command message.
l

Ciphering algorithm selection When an MS initiates a call, it sends a CM Service Request message that carries classmark 2, classmark 3, and the ciphering algorithm supported by the MS. When the ECSC is set to 1, classmark 3 is carried in the CM Service Request message. When the ECSC is set to 0, classmark 3 can only be carried in the CM Service Request message through classmark change or update. Therefore, set the ECSC to 1 when ciphering is used. According to the ciphering algorithm in the Cipher Mode Command message, the ciphering algorithm allowed by the BSC, and the ciphering algorithm in the CM Service Request message, the BSC determines the algorithm to be used. In a reverse order, the BSC selects an applicable algorithm from the intersection of the early-mentioned three algorithms. The priority of the algorithms is A5/7 > A5/6 > A5/5 > A5/4 > A5/4 > A5/3 > A5/2 > A5/1 > A5/0.

Ciphering during handover The Handover Request message carries an Ciphering Information element. The Ciphering Information element specifies the required ciphering algorithm and the ciphering key. If one of the two A interfaces of the two BSSs is in PHASE I, because of the defects in the ETSI GSM PHASE I protocol (no ciphering mode setting information unit is included in the Handover Command message), the two BSSs interoperate only when they use the same ciphering algorithm such as A5/0 or A5/2. Otherwise, special processing (modifying the inter-BSC handover command) is required in the target MSC or the target BSC (or the serving MSC or the serving BSC). During the interconnection on the A interface in ciphering mode, to avoid unsuccessful handovers, you must know whether additional data configuration is required on the BSCs and MSCs from different manufacturers.

8.2 Ciphering Mode Change


The MSC sends a Ciphering Mode Change command, and the BTS performs the ciphering mode change. The BTS performs and manages ciphering. The BSC does no processing. If the ciphering mode is changed, 1. 2. 3. The BTS performs the sending configuration in old mode and the receiving configuration in new mode. The MS is configured in a completely new mode, including transmission and reception. The BTS is configured in a completely new mode.

8.3 Internal BSC Signaling Procedure of Ciphering


This topic describes the internal BSC signaling procedure of ciphering. The internal BSC signaling procedure of ciphering is as follows: 1. Upon receiving the Ciphering Mode Command message from the MSC, the BSC checks the classmarks of the MS and the settings of the Ciphering Algorithm in the Cell Attributes dialog box.

Issue 02 (2008-01-25)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd

8-3

8 Ciphering

HUAWEI BSC6000 Base Station Subsystem BSS Signaling Analysis Guide

2.

According to the ciphering algorithm in the Ciphering Mode Command message, the ciphering algorithm allowed by the BSC, and the ciphering algorithm in the CM Service Request message, the BSC determines the algorithm to be used. In a reverse order, the BSC selects an applicable algorithm from the intersection of the early-mentioned three algorithms. The priority of the algorithms is A5/7 > A5/6 > A5/5 > A5/4 > A5/4 > A5/3 > A5/2 > A5/1 > A5/0. The determined ciphering mode is carried in the Cipher Mode Command message that is sent to the BTS.

3.

8.4 Abnormal Ciphering Cases


This topic describes the abnormal ciphering cases. 8.4.1 BSS Sending a Cipher Mode Reject Message This topic describes the fault, probable causes, and handling suggestions. 8.4.2 MS Doing No Processing This topic describes the fault, probable causes, and handling suggestions.

8.4.1 BSS Sending a Cipher Mode Reject Message


This topic describes the fault, probable causes, and handling suggestions.

Fault
The BSS sends the MSC a Cipher Mode Reject message.

Probable Causes
The probable causes are as follows: 1. The BSS does not support the ciphering algorithm specified in the Ciphering Mode Command message. It sends the MSC a Cipher Mode Reject message with the cause value Ciphering Algorithm Not Supported. If the BSS has initiated ciphering before the MSC requires changing the ciphering algorithm, the BSS sends the MSC a Cipher Mode Reject message.

2.

Handling Suggestions
l

Check whether the BSS supports the ciphering algorithm specified in the Ciphering Mode Command message. Check whether the BSS has initiated ciphering.

8.4.2 MS Doing No Processing


This topic describes the fault, probable causes, and handling suggestions.

Fault
Upon receiving the Ciphering Mode Command message, the MS does no processing.

Probable Causes
The Ciphering Mode Command message is considered valid when:
8-4 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd Issue 02 (2008-01-25)

HUAWEI BSC6000 Base Station Subsystem BSS Signaling Analysis Guide


l l l

8 Ciphering

It carries an Algorithm Identifier and is received by the MS in No Ciphering mode. It carries No Algorithm Identifier and is received by the MS in No Ciphering mode. It carries No Algorithm Identifier and is received by the MS in Ciphering mode.

The Ciphering Mode Command message received in other cases, for example, when it carries an Algorithm Identifier and is received in Ciphering mode, is considered erroneous. In this case, the MS sends an RR Status message with the cause value Protocol Error and does no further processing.

Handling Suggestions
Check the mode that the MS is in and the Ciphering Mode Command message.

Issue 02 (2008-01-25)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd

8-5

Вам также может понравиться