Methods and apparatus for preventing uplink NAS count manipulation attack in mobile communications
By implementing strategies to ignore, reject, or manage null security messages, the UL NAS count manipulation attack is prevented, maintaining secure communication in mobile networks.
Patent Information
- Application Number
- PCT/CN2026/097938
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2026-05-20
- Publication Date
- 2026-11-26
AI Technical Summary
The use of null integrity algorithms in mobile communications allows malicious entities to manipulate the uplink NAS count, rendering the security context non-functional by repeatedly sending null security messages, which is not addressed in existing 3GPP standards.
Proposed solutions include mandating UEs to silently ignore, respond with a plain reject, or increment a counter for null security messages, and bar cells after a predefined number of such messages, to prevent count manipulation attacks.
Prevents the overflow of UL NAS count by mitigating the impact of null security messages, ensuring continued communication functionality with genuine networks.
Smart Images

Figure CN2026097938_26112026_PF_FP_ABST
Abstract
Description
METHODS AND APPARATUS FOR PREVENTING UPLINK NAS COUNT MANIPULATION ATTACK IN MOBILE COMMUNICATIONSCROSS REFERENCE TO RELATED PATENT APPLICATION (S)
[0001] The present disclosure claims the priority benefit of U.S. Patent Application No. 63 / 808,688, filed 20 May 2025, the content of which herein being incorporated by reference in its entirety.TECHNICAL FIELD
[0002] The present disclosure is generally related to mobile communications and, more particularly, to preventing uplink (UL) non-access stratum (NAS) count manipulation attack in mobile communications.BACKGROUND
[0003] In wireless communications such as mobile communications under the current 3rd Generation Partnership Project (3GPP) specification, usage of null integrity algorithm (NIA0) in 5th Generation (5G) NAS signaling is not allowed for normal use cases, but it is allowed for unauthenticated emergency calls. When NIA0 is used, integrity verification for incoming NAS messages is not performed, and replay protection is disabled in such cases. At the time of the present disclosure, it has not been explicitly specified in the 3GPP standard as to how a user equipment (UE) is to react if a network attempts to configure NIA0 for non-emergency scenario (s) as doing so would unblock a potential attack vector with respect to a malicious entity. A similar problem also exists in Evolved Packet System (EPS) with EIA0 algorithm usage in EPS Mobility Management (EMM) of the network. Therefore, there is a need for a solution of preventing UL NAS count manipulation attack in mobile communications.SUMMARY
[0004] The following summary is illustrative only and is not intended to be limiting in any way. That is, the following summary is provided to introduce concepts, highlights, benefits, and advantages of the novel and non-obvious techniques described herein. Select implementations are further described below in the detailed description. Thus, the following summary is not intended to identify essential features of the claimed subject matter, nor is it intended for use in determining the scope of the claimed subject matter.
[0005] An objective of the present disclosure is to propose solutions or schemes that address the issue (s) described herein. More specifically, various schemes proposed in the present disclosure are believed to provide solutions pertaining to preventing UL NAS count manipulation attack in mobile communications. It is believed that implementations of one or more of the schemes proposed herein may address or otherwise alleviate the issues described above. Notably, the proposed schemes introduced herein may be applicable to any mobile communication system of any generation (e.g., 4th Generation (4G) , 5th Generation (5G) , 6th Generation (6G) and beyond) where corresponding security mechanisms (e.g., commands) are in use.
[0006] In one aspect, a method may involve a UE transmitting, to a network, a NAS message protected with an existing NAS security context to attempt a procedure with the network. In response to transmitting the NAS message, the method may involve the UE receiving, from the network, a security mode command (SMC) . In response to the SMC being invalid or unauthenticated while there is no ongoing emergency, the method may involve the UE determining whether a counter of a number of null security SMCs has reached a maximum value. The method may further involve the UE performing an operation based on a result of the determining.
[0007] In another aspect, an apparatus implementable in a UE may include a transceiver configured to communicate wirelessly and a processor coupled to the transceiver. The processor may transmit, to a network, a NAS message protected with an existing NAS security context to attempt a procedure with the network. In response to transmitting the NAS message, the processor may receive, from the network, a SMC. In response to the SMC being invalid or unauthenticated while there is no ongoing emergency, the processor may determine whether a counter of a number of null security SMCs has reached a maximum value. The processor may further perform an operation based on a result of the determining.
[0008] It is noteworthy that, although the description provided herein may be in the context of certain radio access technologies, networks, and network topologies such as 5th Generation (5G) New Radio (NR) / Beyond Fifth-Generation (B5G) / 6th Generation (6G) mobile communications, the proposed concepts, schemes and any variation (s) / derivative (s) thereof may be implemented in, for and by other types of radio access technologies, networks and network topologies such as, for example and without limitation, 4th Generation (4G) / Long-Term Evolution (LTE) , LTE-Advanced, LTE-Advanced Pro, Internet-of-Things (IoT) , Narrow Band Internet of Things (NB-IoT) , Industrial Internet of Things (IIoT) , vehicle-to-everything (V2X) , and non-terrestrial network (NTN) communications. Thus, the scope of the present disclosure is not limited to the examples described herein.BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The accompanying drawings are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of the present disclosure. The drawings illustrate implementations of the disclosure and, together with the description, serve to explain the principles of the disclosure. It is appreciable that the drawings are not necessarily in scale as some components may be shown to be out of proportion than the size in actual implementation in order to clearly illustrate the concept of the present disclosure.
[0010] FIG. 1 is a diagram of an example network environment in which various solutions and schemes in accordance with the present disclosure may be implemented.
[0011] FIG. 2 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0012] FIG. 3 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0013] FIG. 4 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0014] FIG. 5 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0015] FIG. 6 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0016] FIG. 7 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0017] FIG. 8 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0018] FIG. 9 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0019] FIG. 10 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0020] FIG. 11 is a diagram of an example scenario under a proposed scheme in accordance with the present disclosure.
[0021] FIG. 12 is a block diagram of an example communication system under a proposed scheme in accordance with the present disclosure.
[0022] FIG. 13 is a flowchart of an example process under a proposed scheme in accordance with the present disclosure. DETAILED DESCRIPTION OF PREFERRED IMPLEMENTATIONS
[0023] Detailed embodiments and implementations of the claimed subject matters are disclosed herein. However, it shall be understood that the disclosed embodiments and implementations are merely illustrative of the claimed subject matters which may be embodied in various forms. The present disclosure may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments and implementations set forth herein. Rather, these exemplary embodiments and implementations are provided so that description of the present disclosure is thorough and complete and will fully convey the scope of the present disclosure to those skilled in the art. In the description below, details of well-known features and techniques may be omitted to avoid unnecessarily obscuring the presented embodiments and implementations. Overview
[0024] Implementations in accordance with the present disclosure relate to various techniques, methods, schemes and / or solutions pertaining to preventing UL NAS count manipulation attack in mobile communications. According to the present disclosure, a number of possible solutions may be implemented separately or jointly. That is, although these possible solutions may be described below separately, two or more of these possible solutions may be implemented in one combination or another.
[0025] FIG. 1 illustrates an example network environment 100 in which various solutions and schemes in accordance with the present disclosure may be implemented. FIG. 2 ~ FIG. 13 illustrate examples of implementation of various proposed schemes in network environment 100 in accordance with the present disclosure. The following description of various proposed schemes is provided with reference to FIG. 1 ~ FIG. 13.
[0026] Referring to FIG. 1, network environment 100 involves a UE 110 in wireless communication with a wireless network 120 (e.g., a mobile network including an non-terrestrial network (NTN) and a terrestrial network (TN) ) via a terrestrial network node 125 (e.g., an evolved Node-B (eNB) , a Next Generation Node-B (gNB) , or a transmission / reception point (TRP) ) and / or a non-terrestrial network node 128 (e.g., a satellite) . For example, the terrestrial network node 125 and / or the non-terrestrial network node 128 may form a serving cell 130 for wireless communication with the UE 110. In some implementations, the UE 110 may be an IoT device such as an NB-IoT UE or an enhanced machine-type communication (eMTC) UE (e.g., a bandwidth reduced low complexity (BL) UE or a coverage enhancement (CE) UE) . In such communication environment, the UE 110, the network 120, the terrestrial network node 125, and the non-terrestrial network node 128 may implement various schemes pertaining to preventing UL NAS count manipulation attack in accordance with the present disclosure, as described below. It is noteworthy that, while the various proposed schemes may be individually or separately described below, in actual implementations some or all of the proposed schemes may be utilized or otherwise implemented jointly. Of course, each of the proposed schemes may be utilized or otherwise implemented individually or separately.
[0027] According to subclause 5.2.3 of the 3GPP Technical Specification (TS) 33.501, a UE shall implement NIA0 for integrity protection of NAS and radio resource control (RRC) signaling, and NIA0 is only allowed for unauthenticated emergency session as specified in subclause 10.2.2. According to subclause 4.4.4.1 of the 3GPP TS 24.501, in a 5th Generation System (5GS) the use of “null integrity protection algorithm” 5G-IA0 in a current 5G NAS security content is only allowed: (a) for an unauthenticated UE for which establishment of emergency services is allowed; (b) for a Wireline Access Gateway Function (W-AGF) acting on behalf of a Fixed Network Residential Gateway (FN-RG) ; and (c) for a W-AGF acting on behalf of a non-5th Generation Core (N5GC) device. If the “null integrity protection algorithm” 5G-IA0 has been selected as an integrity protection algorithm, the receiver shall regard the NAS messages with the security header indicating integrity protection as integrity protected. According to subclause 4.4.3.3 of the 3GPP TS 24.501, integrity verification is not applicable when 5G-IA0 is used. According to subclause 4.4.3.2 of the 3GPP TS 24.501, replay protection is not applicable when 5G-IA0 is used.
[0028] According to subclause 5.4.2.2 of the 3GPP TS 24.501, the UE shall process a SECURITY MODE COMMAND message including a next-generation Key Set Identifier in 5G (ngKSI) value in the ngKSI information element (IE) set to “000” and 5G-IA0 and 5G-EA0 as the selected NAS security algorithms and, if accepted, create a locally generated KAMF when the security mode control procedure is initiated: (a) during an initial registration procedure for emergency services; (b) during a registration procedure for mobility and periodic registration update for a UE that has an emergency protocol data unit (PDU) session; (c) during a service request procedure for a UE that has an emergency PDU session; or (d) after a primary authentication and key agreement procedure for a UE that has an emergency PDU session or is establishing an emergency PDU session. This process for creation of the locally generated KAMF by the Access and Mobility Management Function (AMF) and the UE is implementation-dependent. The KAMF is specified in 3GPP TS 33.501. Moreover, according to subclause 5.4.2.5 of the 3GPP TS 24.501, if the security mode command cannot be accepted, the UE shall send a SECURITY MODE REJECT message. Both the UE and the AMF shall apply the 5G NAS security context in use before the initiation of the security mode control procedure, if any, to protect the SECURITY MODE REJECT message and any other subsequent messages according to the rules in subclause 4.4.4 and 4.4.5.
[0029] In view of the above, there exists a problem in that a malicious entity can exploit the unauthenticated emergency mechanism (e.g., SECURITY MODE COMMAND with ngKSI value ” 000” in combination with null security algorithms including a “NR integrity algorithm 0” , NIA0, and a “NR encryption algorithm 0” , NEA0) , herein referred to as ” null security SMC” in the present disclosure, to perform an attack on a targeted UE. More specifically, the use of NIA0 is not allowed by the UE, regardless of what ngKSI and encryption algorithm the network uses. For instance, a malicious attacker can send the same null security SECURITY MODE COMMAND message to the UE repeatedly. Each message sent to the UE would trigger a respective reply from the UE. Each reply would be protected by the existing (valid) 5G NAS security context. Thus, each reply would increment the sequence number (SQN) / UL NAS count of the stored context and, as such, eventually the SQN / UL NAS count would overflow. This approach provides the attacker with a mechanism to manipulate the UL NAS count of the 5G NAS security context of the targeted UE. Incrementing the count enough may render the current 5G NAS security context of the UE non-functional and after that the UE would not be able to send UL NAS signaling to the real operator.
[0030] A similar problem also exists in EPS. Malicious entity can exploit the unauthenticated emergency mechanism (EMM SECURITY MODE COMMAND with KSI value ” 000” in combination with EPS integrity algorithm 0 (EIA0) and EPS encryption algorithm 0 (EEA0) , null security SMC, to perform an attack on the targeted UE. More specifically, the use of EIA0 is not be allowed by the UE, regardless of what KSI and encryption algorithm the network uses. For instance, a malicious attacker can send the same SECURITY MODE COMMAND message, null security SMC, to the UE repeatedly. Each message sent to the UE would trigger a respective reply from the UE. Each reply would be protected by the existing (valid) EPS NAS security context. Thus, each reply would increment the SQN / UL NAS count of the stored context and, as such, eventually the SQN / UL NAS count would overflow. This approach provides the attacker with a mechanism to manipulate the UL NAS count of the EPS NAS security context of the targeted UE. Incrementing the count enough may render the current EPS NAS security context of the UE non-functional and after that the UE would not be able to send UL NAS signaling to the real operator.
[0031] FIG. 2 illustrates an example scenario 200 under a proposed scheme in accordance with the present disclosure. Scenario 200 may pertain to a first option (Option 1) of a solution of preventing UL NAS count manipulation attack. In scenario 200, a UE (e.g., UE 110) may be mandated or otherwise required to silently ignore a SECURITY MODE COMMAND (herein interchangeably referred to as “SMC” ) with an ngKSI value “000” in combination with NIA0 an NEA0 if there is no active / ongoing emergency scenario. Referring to FIG. 2, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., SERVICE REQUEST or REGISTRATION REQUEST) , which is protected with ngKSI (e.g., ngKSI 1 ~ 6 which indicates a valid security context) , to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND that is plain and non-protected (e.g., with ngKSI 0, NIA0, NEA0) . Under the proposed scheme, the UE may silently ignore the SECURITY MODE COMMAND from the fake network (e.g., by ignoring the SECURITY MODE COMMAND without responding to the fake network) since the SECURITY MODE COMMAND has ngKSI value “000” in combination with NIA0 and NEA0 when there is no ongoing emergency.
[0032] FIG. 3 illustrates an example scenario 300 under a proposed scheme in accordance with the present disclosure. Scenario 300 may pertain to a second option (Option 2) of a solution of preventing UL NAS count manipulation attack. In scenario 300, a UE (e.g., UE 110) may be mandated or otherwise required to silently ignore a SECURITY MODE COMMAND with NIA0, regardless of what ngKSI and encryption algorithm are included in the SECURITY MNODE COMMAND if there is no active / ongoing emergency scenario. Referring to FIG. 3, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., SERVICE REQUEST or REGISTRATION REQUEST) , which is protected with ngKSI (e.g., ngKSI 1 ~ 6 which indicates a valid security context) , to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND that is plain and non-protected (e.g., with NIA0) . Under the proposed scheme, the UE may silently ignore the SECURITY MODE COMMAND from the fake network (e.g., by ignoring the SECURITY MODE COMMAND without responding to the fake network) since the SECURITY MODE COMMAND has NIA0 when there is no ongoing emergency.
[0033] FIG. 4 illustrates an example scenario 400 under a proposed scheme in accordance with the present disclosure. Scenario 400 may pertain to a third option (Option 3) of a solution of preventing UL NAS count manipulation attack. In scenario 400, a UE (e.g., UE 110) may be mandated or otherwise required to reply with a plain, non-security protected, reject response to a SECURITY MODE COMMAND with ngKSI value “000” in combination with NIA0 and NEA0 if there is no active / ongoing emergency scenario. Referring to FIG. 4, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., SERVICE REQUEST or REGISTRATION REQUEST) , which is protected with ngKSI (e.g., ngKSI 1 ~ 6 which indicates a valid security context) , to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND that is plain and non-protected (e.g., with ngKSI 0, NIA0, NEA0) . Under the proposed scheme, the UE may reply to the SECURITY MODE COMMAND from the fake network with a plain, non-security protected, reject response, since the SECURITY MODE COMMAND has ngKSI value “000” in combination with NIA0 and NEA0 when there is no ongoing emergency.
[0034] FIG. 5 illustrates an example scenario 500 under a proposed scheme in accordance with the present disclosure. Scenario 500 may pertain to a fourth option (Option 4) of a solution of preventing UL NAS count manipulation attack. In scenario 500, a UE (e.g., UE 110) may be mandated or otherwise required to reply with a plain, non-security protected, reject response to a SECURITY MODE COMMAND with NIA0, regardless of what ngKSI and encryption algorithm are included in the SECURITY MODE COMMAND if there is no active / ongoing emergency scenario. Referring to FIG. 5, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., SERVICE REQUEST or REGISTRATION REQUEST) , which is protected with ngKSI (e.g., ngKSI 1 ~ 6 which indicates a valid security context) , to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND with NIA0. Under the proposed scheme, the UE may reply to the SECURITY MODE COMMAND from the fake network with a plain, non-security protected, reject response, since the SECURITY MODE COMMAND has NIA0 when there is no ongoing emergency.
[0035] FIG. 6 illustrates an example scenario 600 under a proposed scheme in accordance with the present disclosure. Scenario 600 may pertain to a fifth option (Option 5) of a solution of preventing UL NAS count manipulation attack. It is noteworthy that, separate from or in addition to any of the proposed schemes described above with respect to FIG. 2 ~ FIG. 5, a UE (e.g., UE 110) may allow a network to send a null security SMC one or more predefined times. The UE allowing at least one ” null security SMC” may be useful in a case in which a genuine network incorrectly sends a ”null security SMC” (e.g., due to the genuine network assuming that the UE has an existing emergency service active) . If the network tries to activate EIA0 or NIA0 (e.g., by sending the null security SMC to the UE) , the UE may count and memorize the number of received null security SMCs from that network. After receiving the predefined / configured number of null security SMCs from the network, the UE may decide not to use that cell anymore and try to obtain service from another cell. For instance, the UE may: (a) bar the current cell (associated with the network from which the UE has received the predefined / configured number of null security SMCs) ; (b) consider the current cell / tracking area (TA) / public land mobile network (PLMN) / standalone non-public network (SNPN) / Network identifier (ID) as being forbidden; and / or (c) memorize the cell / TA / PLMN / SNPN / Network ID as being invalid (e.g., non-useful / malicious / forbidden) for a period of time. The UE may memorize that a cell / TA / PLMN / SNPN / Network ID is invalid due to null security SMC (with EIA0 or NIA0) and consider the cell / TA / PLMN / SNPN / Network ID valid (e.g., upon expiry of a timer, removal of a universal subscriber identity module (USIM) or switch-off of the UE) .
[0036] Referring to FIG. 6, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., SERVICE REQUEST or REGISTRATION REQUEST) , which is protected with ngKSI (e.g., ngKSI 1 ~ 6 which indicates a valid security context) , to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND that is plain and non-protected (e.g., with ngKSI 0, NIA0, NEA0) . Under the proposed scheme, the UE may either silently ignore the SMC or reply to the fake network with a plain, non-security protected, reject response. As an option, the UE may increment the count of a counter of the number of received null security SMCs. Moreover, as an option, in case that the counter has not reached its maximum value, the UE may retry the procedure in the cell / TA. When or in case that the number of received null security SMCs reaches the maximum value of the counter, the UE may bar the cell or consider the corresponding TA / PLMN / SNPN as forbidden. Furthermore, the UE may search for another suitable cell / TA / PLMN / SNPN.
[0037] FIG. 7 illustrates an example scenario 700 under a proposed scheme in accordance with the present disclosure. Scenario 700 may pertain to a first option (Option 1) in EPS of a solution of preventing UL NAS count manipulation attack. In scenario 700, a UE (e.g., UE 110) may be mandated or otherwise required to silently ignore a SECURITY MODE COMMAND with a Key Set Identifier (KSI) value of “000” in combination with an “EPS integrity algorithm 0” , EIA0, and an “EPS encryption algorithm 0” , EEA0, if there is no active / ongoing emergency scenario. Referring to FIG. 7, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., ATTACH REQUEST, TRACKING AREA UPDATE (TAU) REQUEST or SERVICE REQUEST) , which is protected with KSI 1, to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND that is plain and non-protected (e.g., with KSI 0, EIA0, EEA0) . Under the proposed scheme, the UE may silently ignore the SECURITY MODE COMMAND from the fake network (e.g., by ignoring the SECURITY MODE COMMAND without responding to the fake network) since the SECURITY MODE COMMAND has KSI value “000” in combination with EIA0 and EEA0 when there is no ongoing emergency.
[0038] FIG. 8 illustrates an example scenario 800 under a proposed scheme in accordance with the present disclosure. Scenario 800 may pertain to a second option (Option 2) in EPS of a solution of preventing UL NAS count manipulation attack. In scenario 800, a UE (e.g., UE 110) may be mandated or otherwise required to silently ignore a SECURITY MODE COMMAND with EIA0, regardless of what KSI and encryption algorithm are included in the SECURITY MODE COMMAND, if there is no active / ongoing emergency scenario. Referring to FIG. 8, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., ATTACH REQUEST, TAU REQUEST or SERVICE REQUEST) , which is protected with KSI 1, to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND with EIA0. Under the proposed scheme, the UE may silently ignore the SECURITY MODE COMMAND from the fake network (e.g., by ignoring the SECURITY MODE COMMAND without responding to the fake network) since the SECURITY MODE COMMAND has EIA0, regardless of what KSI and encryption algorithm are included in the SMC, when there is no ongoing emergency.
[0039] FIG. 9 illustrates an example scenario 900 under a proposed scheme in accordance with the present disclosure. Scenario 900 may pertain to a third option (Option 3) in EPS of a solution of preventing UL NAS count manipulation attack. In scenario 900, a UE (e.g., UE 110) may be mandated or otherwise required to reply with a plain, non-security protected, reject response to a SECURITY MODE COMMAND with a KSI value of “000” in combination with EIA0 and EEA0 if there is no active / ongoing emergency scenario. Referring to FIG. 9, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., ATTACH REQUEST, TAU REQUEST or SERVICE REQUEST) , which is protected with KSI 1, to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND that is plain and non-protected (e.g., with KSI 0, EIA0, EEA0) . Under the proposed scheme, the UE may reply to the SECURITY MODE COMMAND from the fake network with a plain, non-security protected, reject response since the SECURITY MODE COMMAND has KSI value “000” in combination with EIA0 and EEA0 when there is no ongoing emergency.
[0040] FIG. 10 illustrates an example scenario 1000 under a proposed scheme in accordance with the present disclosure. Scenario 1000 may pertain to a fourth option (Option 4) in EPS of a solution of preventing UL NAS count manipulation attack. In scenario 1000, a UE (e.g., UE 110) may be mandated or otherwise required to reply with a plain, non-security protected, reject response to a SECURITY MODE COMMAND with EIA0, regardless of what KSI and encryption algorithm are included in the SECURITY MODE COMMAND, if there is no active / ongoing emergency scenario. Referring to FIG. 10, there is no ongoing emergency with respect to the UE when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., ATTACH REQUEST, TAU REQUEST or SERVICE REQUEST) , which is protected with KSI 1, to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND with EIA0. Under the proposed scheme, the UE may reply to the SECURITY MODE COMMAND from the fake network with a plain, non-security protected, reject response since the SECURITY MODE COMMAND has EIA0 when there is no ongoing emergency.
[0041] FIG. 11 illustrates an example scenario 1100 under a proposed scheme in accordance with the present disclosure. Scenario 1100 may pertain to a fifth option (Option 5) in 5th Generation System (5GS) / 6th Generation System (6GS) of a solution of preventing UL NAS count manipulation attack. In scenario 1100, there is no ongoing emergency with respect to a UE (e.g., UE 110) when a fake network appears. The UE may attempt to communicate with the fake network using an existing NAS security context by transmitting an initial NAS message (e.g., SERVICE REQUEST or REGISTRATION REQUEST) , which is protected with ngKSI (e.g., ngKSI 1 ~ 6 which indicates a valid security context) , to the fake network. The UE may also increment the count of an UL NAS counter to account for the NAS message just transmitted to the fake network. The fake network may reply with a SECURITY MODE COMMAND that is plain and non-protected (e.g., with ngKSI 0, NIA0, NEA0) . Under the proposed scheme, the UE may either silently ignore the SMC or reply to the fake network with a plain, non-security protected, reject response. As an option, the UE may increment the count of a counter of the number of received null security SMCs. Moreover, as an option, in case that the counter has not reached its maximum value, the UE may retry the procedure in the cell / TA. When or in case that the number of received null security SMCs reaches the maximum value of the counter, the UE may bar the cell or consider the corresponding TA / PLMN / SNPN as forbidden. Furthermore, the UE may search for another suitable cell / TA / PLMN / SNPN. Illustrative Implementations
[0042] FIG. 12 illustrates an example communication system 1200 having at least an example apparatus 1210 and an example apparatus 1220 in accordance with an implementation of the present disclosure. Each of apparatus 1210 and apparatus 1220 may perform various functions to implement schemes, techniques, processes and methods described herein pertaining to preventing UL NAS count manipulation attack in mobile communications, including the various schemes described above with respect to various proposed designs, concepts, schemes, systems and methods described above, including network environment 100, as well as processes described below.
[0043] Each of apparatus 1210 and apparatus 1220 may be a part of an electronic apparatus, which may be a network apparatus or a UE (e.g., UE 110) , such as a portable or mobile apparatus, a wearable apparatus, a vehicular device or a vehicle, a wireless communication apparatus or a computing apparatus. For instance, each of apparatus 1210 and apparatus 1220 may be implemented in a smartphone, a smart watch, a personal digital assistant, an electronic control unit (ECU) in a vehicle, a digital camera, or a computing equipment such as a tablet computer, a laptop computer or a notebook computer. Each of apparatus 1210 and apparatus 1220 may also be a part of a machine type apparatus, which may be an IoT apparatus such as an immobile or a stationary apparatus, a home apparatus, a roadside unit (RSU) , a wire communication apparatus or a computing apparatus. For instance, each of apparatus 1210 and apparatus 1220 may be implemented in a smart thermostat, a smart fridge, a smart door lock, a wireless speaker or a home control center. When implemented in or as a network apparatus, apparatus 1210 and / or apparatus 1220 may be implemented in an eNB in an LTE, LTE-Advanced or LTE-Advanced Pro network or in a gNB or TRP in a 5G network, an NR network, a 6G network or an IoT network.
[0044] In some implementations, each of apparatus 1210 and apparatus 1220 may be implemented in the form of one or more integrated-circuit (IC) chips such as, for example and without limitation, one or more single-core processors, one or more multi-core processors, one or more complex-instruction-set-computing (CISC) processors, or one or more reduced-instruction-set-computing (RISC) processors. In the various schemes described above, each of apparatus 1210 and apparatus 1220 may be implemented in or as a network apparatus or a UE. Each of apparatus 1210 and apparatus 1220 may include at least some of those components shown in FIG. 12 such as a processor 1212 and a processor 1222, respectively, for example. Each of apparatus 1210 and apparatus 1220 may further include one or more other components not pertinent to the proposed scheme of the present disclosure (e.g., internal power supply, display device and / or user interface device) , and thus, such component (s) of apparatus 1210 and apparatus 1220 are neither shown in FIG. 12 nor described below in the interest of simplicity and brevity.
[0045] In one aspect, each of processor 1212 and processor 1222 may be implemented in the form of one or more single-core processors, one or more multi-core processors, or one or more CISC or RISC processors. That is, even though a singular term “a processor” is used herein to refer to processor 1212 and processor 1222, each of processor 1212 and processor 1222 may include multiple processors in some implementations and a single processor in other implementations in accordance with the present disclosure. In another aspect, each of processor 1212 and processor 1222 may be implemented in the form of hardware (and, optionally, firmware) with electronic components including, for example and without limitation, one or more transistors, one or more diodes, one or more capacitors, one or more resistors, one or more inductors, one or more memristors and / or one or more varactors that are configured and arranged to achieve specific purposes in accordance with the present disclosure. In other words, in at least some implementations, each of processor 1212 and processor 1222 is a special-purpose machine specifically designed, arranged, and configured to perform specific tasks including those pertaining to preventing UL NAS count manipulation attack in mobile communications in accordance with various implementations of the present disclosure.
[0046] In some implementations, apparatus 1210 may also include a transceiver 1216 coupled to processor 1212. Transceiver 1216 may be capable of wirelessly transmitting and receiving data. In some implementations, transceiver 1216 may be capable of wirelessly communicating with different types of wireless networks of different radio access technologies (RATs) . In some implementations, transceiver 1216 may be equipped with a plurality of antenna ports (not shown) such as, for example, four antenna ports. That is, transceiver 1216 may be equipped with multiple transmit antennas and multiple receive antennas for multiple-input multiple-output (MIMO) wireless communications. In some implementations, apparatus 1220 may also include a transceiver 1226 coupled to processor 1222. Transceiver 1226 may include a transceiver capable of wirelessly transmitting and receiving data. In some implementations, transceiver 1226 may be capable of wirelessly communicating with different types of UEs / wireless networks of different RATs. In some implementations, transceiver 1226 may be equipped with a plurality of antenna ports (not shown) such as, for example, four antenna ports. That is, transceiver 1226 may be equipped with multiple transmit antennas and multiple receive antennas for MIMO wireless communications.
[0047] In some implementations, apparatus 1210 may further include a memory 1214 coupled to processor 1212 and capable of being accessed by processor 1212 and storing data therein. In some implementations, apparatus 1220 may further include a memory 1224 coupled to processor 1222 and capable of being accessed by processor 1222 and storing data therein. Each of memory 1214 and memory 1224 may include a type of random-access memory (RAM) such as dynamic RAM (DRAM) , static RAM (SRAM) , thyristor RAM (T-RAM) and / or zero-capacitor RAM (Z-RAM) . Alternatively, or additionally, each of memory 1214 and memory 1224 may include a type of read-only memory (ROM) such as mask ROM, programmable ROM (PROM) , erasable programmable ROM (EPROM) and / or electrically erasable programmable ROM (EEPROM) . Alternatively, or additionally, each of memory 1214 and memory 1224 may include a type of non-volatile random-access memory (NVRAM) such as flash memory, solid-state memory, ferroelectric RAM (FeRAM) , magnetoresistive RAM (MRAM) and / or phase-change memory.
[0048] Each of apparatus 1210 and apparatus 1220 may be a communication entity capable of communicating with each other using various proposed schemes in accordance with the present disclosure. For illustrative purposes and without limitation, a description of capabilities of apparatus 1210, as a UE (e.g., UE 110) , and apparatus 1220, as a network node (e.g., network node 125) of a network (e.g., wireless network 120 as a 5G / NR or 6G mobile network) , is provided below in the context of example process 1300. Illustrative Processes
[0049] FIG. 13 illustrates an example process 1300 in accordance with an implementation of the present disclosure. Process 1300 may represent an aspect of implementing various proposed designs, concepts, schemes, systems and methods described above. More specifically, process 1300 may represent an aspect of the proposed concepts and schemes pertaining to preventing UL NAS count manipulation attack in mobile communications in accordance with the present disclosure. Process 1300 may include one or more operations, actions, or functions as illustrated by one or more of blocks. Although illustrated as discrete blocks, various blocks of process 1300 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the desired implementation. Moreover, the blocks / sub-blocks of process 1300 may be executed in the order shown in FIG. 13 or, alternatively, in a different order. Furthermore, one or more of the blocks / sub-blocks of process 1300 may be executed repeatedly or iteratively. Process 1300 may be implemented by or in apparatus 1210 and apparatus 1220 as well as any variations thereof. Solely for illustrative purposes and without limiting the scope, process 1300 is described below in the context of apparatus 1210 functioning as a UE (e.g., UE 110) and apparatus 1220 functioning as a communication entity such as a network node (e.g., non-terrestrial network node 128 or terrestrial network node 125) of a network (e.g., wireless network 120) . Process 1300 may begin at block 1310.
[0050] At 1310, process 1300 may involve processor 1212 of apparatus 1210, as UE 110, transmitting, via transceiver 1216, to a network (e.g., wireless network 120 via apparatus 1220 as non-terrestrial network node 128 or terrestrial network node 125) a NAS message protected with an existing NAS security context to attempt a procedure with the network. Process 1300 may proceed from 1310 to 1320.
[0051] At 1320, process 1300 may involve processor 1212 receiving, via transceiver 1216, from the network a SMC responsive to transmitting the NAS message. Process 1300 may proceed from 1320 to 1330.
[0052] At 1330, process 1300 may involve processor 1212 determining whether a counter of a number of null security SMCs has reached a maximum value responsive to the SMC being invalid or unauthenticated while there is no ongoing emergency. Process 1300 may proceed from 1330 to 1340.
[0053] At 1340, process 1300 may involve processor 1212 performing, via transceiver 1216, an operation based on a result of the determining.
[0054] In some implementations, in performing the operation, responsive to the counter having not reached the maximum value, process 1300 may involve processor 1212 performing certain operations. For instance, process 1300 may involve processor 1212 incrementing the counter. Additionally, process 1300 may involve processor 1212 reattempting the procedure with the network.
[0055] In some implementations, in performing the operation, responsive to the counter having reached the maximum value, process 1300 may involve processor 1212 performing certain operations. For instance, process 1300 may involve processor 1212 barring the network or a cell associated with the network or considering a corresponding TA, PLMN or SNPN as forbidden. Moreover, process 1300 may involve processor 1212 searching for another cell, TA, PLMN or SNPN.
[0056] In some implementations, the NAS message may include a registration request message or a service request message.
[0057] In some implementations, in receiving the SMC, process 1300 may involve processor 1212 receiving the SMC with a ngKSI having a value of “000” in combination with null security algorithms comprising a NIA0 and a NEA0.
[0058] In some implementations, in receiving the SMC, process 1300 may involve processor 1212 receiving the SMC with a NIA0.
[0059] In some implementations, in the NAS message may include an attach request message, a TAU request message, or a service request message.
[0060] In some implementations, in receiving the SMC, process 1300 may involve processor 1212 receiving the SMC with a KSI having a value of “000” in combination with null security algorithms comprising an EIA0 and an EEA0.
[0061] In some implementations, in receiving the SMC, process 1300 may involve processor 1212 receiving the SMC with an EIA0.
[0062] In some implementations, responsive to the counter having not reached the maximum value, process 1300 may involve processor 1212 performing either of the following: (a) ignoring the SMC; or (b) replying with a plain, non-security protected, reject response. Additional Notes
[0063] The herein-described subject matter sometimes illustrates different components contained within, or connected with, different other components. It is to be understood that such depicted architectures are merely examples, and that in fact many other architectures can be implemented which achieve the same functionality. In a conceptual sense, any arrangement of components to achieve the same functionality is effectively "associated" such that the desired functionality is achieved. Hence, any two components herein combined to achieve a particular functionality can be seen as "associated with" each other such that the desired functionality is achieved, irrespective of architectures or intermedial components. Likewise, any two components so associated can also be viewed as being "operably connected" , or "operably coupled" , to each other to achieve the desired functionality, and any two components capable of being so associated can also be viewed as being "operably couplable" , to each other to achieve the desired functionality. Specific examples of operably couplable include but are not limited to physically mateable and / or physically interacting components and / or wirelessly interactable and / or wirelessly interacting components and / or logically interacting and / or logically interactable components.
[0064] Further, with respect to the use of substantially any plural and / or singular terms herein, those having skill in the art can translate from the plural to the singular and / or from the singular to the plural as is appropriate to the context and / or application. The various singular / plural permutations may be expressly set forth herein for sake of clarity.
[0065] Moreover, it will be understood by those skilled in the art that, in general, terms used herein, and especially in the appended claims, e.g., bodies of the appended claims, are generally intended as “open” terms, e.g., the term “including” should be interpreted as “including but not limited to, ” the term “having” should be interpreted as “having at least, ” the term “includes” should be interpreted as “includes but is not limited to, ” etc. It will be further understood by those within the art that if a specific number of an introduced claim recitation is intended, such an intent will be explicitly recited in the claim, and in the absence of such recitation no such intent is present. For example, as an aid to understanding, the following appended claims may contain usage of the introductory phrases "at least one" and "one or more" to introduce claim recitations. However, the use of such phrases should not be construed to imply that the introduction of a claim recitation by the indefinite articles "a" or "an" limits any particular claim containing such introduced claim recitation to implementations containing only one such recitation, even when the same claim includes the introductory phrases "one or more" or "at least one" and indefinite articles such as "a" or "an, " e.g., “a” and / or “an” should be interpreted to mean “at least one” or “one or more; ” the same holds true for the use of definite articles used to introduce claim recitations. In addition, even if a specific number of an introduced claim recitation is explicitly recited, those skilled in the art will recognize that such recitation should be interpreted to mean at least the recited number, e.g., the bare recitation of "two recitations, " without other modifiers, means at least two recitations, or two or more recitations. Furthermore, in those instances where a convention analogous to “at least one of A, B, and C, etc. ” is used, in general such a construction is intended in the sense one having skill in the art would understand the convention, e.g., “a system having at least one of A, B, and C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and / or A, B, and C together, etc. In those instances where a convention analogous to “at least one of A, B, or C, etc. ” is used, in general such a construction is intended in the sense one having skill in the art would understand the convention, e.g., “a system having at least one of A, B, or C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and / or A, B, and C together, etc. It will be further understood by those within the art that virtually any disjunctive word and / or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase “A or B” will be understood to include the possibilities of “A” or “B” or “A and B. ”
[0066] From the foregoing, it will be appreciated that various implementations of the present disclosure have been described herein for purposes of illustration, and that various modifications may be made without departing from the scope and spirit of the present disclosure. Accordingly, the various implementations disclosed herein are not intended to be limiting, with the true scope and spirit being indicated by the following claims.
Claims
1.A method, comprising:transmitting, by a processor of a user equipment (UE) , to a network a non-access stratum (NAS) message protected with an existing NAS security context to attempt a procedure with the network;receiving, by the processor, from the network a security mode command (SMC) responsive to transmitting the NAS message;determining, by the processor, whether a counter of a number of null security SMCs has reached a maximum value responsive to the SMC being invalid or unauthenticated while there is no ongoing emergency; andperforming, by the processor, an operation based on a result of the determining.2.The method of Claim 1, wherein the performing of the operation comprises, responsive to the counter having not reached the maximum value:incrementing the counter; andreattempting the procedure with the network.3.The method of Claim 1, wherein the performing of the operation comprises, responsive to the counter having reached the maximum value:barring the network or a cell associated with the network or considering a corresponding tracking area (TA) , public land mobile network (PLMN) or standalone non-public network (SNPN) as forbidden; andsearching for another cell, TA, PLMN or SNPN.4.The method of Claim 1, wherein the NAS message comprises a registration request message or a service request message.5.The method of Claim 1, wherein the receiving of the SMC comprises receiving the SMC with a next-generation key set identifier (ngKSI) having a value of “000” in combination with null security algorithms comprising a New Radio (NR) integrity algorithm 0 (NIA0) and a NR encryption algorithm 0 (NEA0) .6.The method of Claim 1, wherein the receiving of the SMC comprises receiving the SMC with a New Radio (NR) integrity algorithm 0 (NIA0) .7.The method of Claim 1, wherein the NAS message comprises an attach request message, a tracking area update (TAU) request message, or a service request message.8.The method of Claim 1, wherein the receiving of the SMC comprises receiving the SMC with a key set identifier (KSI) having a value of “000” in combination with null security algorithms comprising an Evolved Packet System (EPS) integrity algorithm 0 (EIA0) and an EPS encryption algorithm 0 (EEA0) .9.The method of Claim 1, wherein the receiving of the SMC comprises receiving the SMC with an Evolved Packet System (EPS) integrity algorithm 0 (EIA0) .10.The method of Claim 1, further comprising, responsive to the counter having not reached the maximum value:ignoring the SMC; orreplying with a plain, non-security protected, reject response.11.An apparatus implementable in a user equipment (UE) , comprising:a transceiver configured to communicate wirelessly; anda processor coupled to the transceiver and configured to perform operations comprising:transmitting, via the transceiver, to a network a non-access stratum (NAS) message protected with an existing NAS security context to attempt a procedure with the network;receiving, via the transceiver, from the network a security mode command (SMC) responsive to transmitting the NAS message; anddetermining whether a counter of a number of null security SMCs has reached a maximum value responsive to the SMC being invalid or unauthenticated while there is no ongoing emergency; andperforming, via the transceiver, an operation based on a result of the determining.12.The apparatus of Claim 11, wherein the performing of the operation comprises, responsive to the counter having not reached the maximum value:incrementing the counter; andreattempting the procedure with the network.13.The apparatus of Claim 11, wherein the performing of the operation comprises, responsive to the counter having reached the maximum value:barring the network or a cell associated with the network or considering a corresponding tracking area (TA) , public land mobile network (PLMN) or standalone non-public network (SNPN) as forbidden; andsearching for another cell, TA, PLMN or SNPN.14.The apparatus of Claim 11, wherein the NAS message comprises a registration request message or a service request message.15.The apparatus of Claim 11, wherein the receiving of the SMC comprises receiving the SMC with a next-generation key set identifier (ngKSI) having a value of “000” in combination with null security algorithms comprising a New Radio (NR) integrity algorithm 0 (NIA0) and a NR encryption algorithm 0 (NEA0) .16.The apparatus of Claim 11, wherein the receiving of the SMC comprises receiving the SMC with a New Radio (NR) integrity algorithm 0 (NIA0) .17.The apparatus of Claim 11, wherein the NAS message comprises an attach request message, a tracking area update (TAU) request message, or a service request message.18.The apparatus of Claim 11, of Claim 1, wherein the receiving of the SMC comprises receiving the SMC with a key set identifier (KSI) having a value of “000” in combination with null security algorithms comprising an Evolved Packet System (EPS) integrity algorithm 0 (EIA0) and an EPS encryption algorithm 0 (EEA0) .19.The apparatus of Claim 11, wherein the receiving of the SMC comprises receiving the SMC with an Evolved Packet System (EPS) integrity algorithm 0 (EIA0) .20.The apparatus of Claim 11, wherein, responsive to the counter having not reached the maximum value, the processor is further configured to perform operations comprising:ignoring the SMC; orreplying with a plain, non-security protected, reject response.
