# US 2021/0345116 A1 · Method and device for preventing user tracking, storage medium and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0345116 A1
- Document ID: US20210345116A1
- Status: Published application
- Kind: A1
- Application number: 17/375,829
- Filed: 2021-07-14
- Published: 2021-11-04
- Earliest claimed: 2019-01-15
- Assignees: Zte Corporation
- Applicants: ZTE Corporation
- Inventors: Shilin YOU; Zhenhua XIE; Jin PENG; Wantao YU; Zhaoji LIN
- Web page: https://patentgrep.com/patent/US20210345116A1

## CPC

- H04W 12/122: Counter-measures against attacks; Protection against rogue devices
- H04L 9/0844: {with user authentication or key authentication, e.g. ElGamal, MTI, MQV-Menezes-Qu-Vanstone protocol or Diffie-Hellman protocols using implicitly-certified keys}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 63/0876: {based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint}
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/037: of the control plane, e.g. signalling traffic
- H04W 12/041: Key generation or derivation
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/06: Authentication
- H04W 12/75: Temporary identity
- H04L 2209/80: Wireless
- Y02D 30/70: in wireless communication networks
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Methods, systems, and devices related to related to digital wireless communication, and more specifically, to techniques related to securing a user authentication procedure. In one exemplary aspect, a method for wireless communication includes transmitting an authentication message from a network node. The method also includes determining a failure value indicating a reason for failure of the authentication message. The method also includes encrypting the failure value and an identifier. The method also includes transmitting an encrypted response message to the network node. In another exemplary aspect, a method for wireless communication includes transmitting an authentication message to a terminal. The method also includes receiving an encrypted response message from the terminal. The method also includes decrypting the encrypted response message to determine the failure value and the indicator.

## Claims

### Claim 1

A method for wireless communication, comprising:
receiving, by a terminal, an authentication message from a network node, wherein the authentication message includes an authentication identifier (AUTN) and a random number (RAND);
determining, by the terminal, a failure value indicating a reason for failure of the authentication message;
encrypting, by the terminal, the failure value and an identifier; and
transmitting, by the terminal, an encrypted response message to the network node, wherein the response message includes the encrypted failure value and the identifier.

### Claim 2 (depends on 1)

The method of claim 1, wherein the identifier includes the authentication identifier.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
generating, by the terminal, a new authentication identifier (AUTS) based on the RAND, wherein the identifier includes the AUTS.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating, by the terminal, a first encryption key, wherein the network node is configured to generate a second encryption key that matches the first encryption key, and wherein the first encryption key and second encryption key includes one of a non-access stratum encryption key (Knas-enc) and a mobility access control key (Kamf).

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
generating, by the terminal, a new random number (RANDa) including a length equal to a length of the authentication identifier, wherein the indicator includes the RANDa.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
identifying, by the terminal, a message authentication code (MAC) based on the authentication identifier;
calculating, by the terminal, an expected MAC (XMAC) based on the random number and the authentication identifier; and
comparing, by the terminal, the XMAC and a MAC, wherein the failure value indicating the reason for the failure of the authentication message includes a MAC failure based on determining that the XMAC does not match the MAC.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
calculating, by the terminal, a sequence number (SQN) based on the authentication identifier and the random number; and
comparing, by the terminal, the SQN with a terminal SQN, wherein the failure value indicating the reason for the failure of the authentication message includes a synchronization error based on determining that the SQN is less than or equal to the terminal SQN.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
generating, by the terminal, a subscriber concealed identifier (SUCI) by encrypting a subscriber permanent identifier (SUPI) using a public key, wherein the identifier includes the SUCI, and wherein the network node is configured to identify the SUPI by decrypting the SUCI using the private key.

### Claim 9 (depends on 1)

The method of claim 1, wherein the network node is configured to generate a second authentication identifier and a second random number based on receiving the encrypted response message.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
transmitting, by the terminal, a registration request to the network node, wherein the registration request includes at least one of: a cell identifier, a user security capability, a SUCI, and a 5G user temporary identifier (5G-GUTI 5G Globally Unique Temporary UE Identity).

### Claim 11

A method for wireless communication, comprising:
transmitting, by a network node, an authentication message to a terminal, wherein the authentication message includes an authentication identifier (AUTN) and a random number (RAND);
receiving, by the network node, an encrypted response message from the terminal, wherein the response message includes an encrypted failure value indicating a reason for failure of the authentication message and an encrypted indicator; and
decrypting, by the network node, the encrypted response message to determine the failure value and the indicator.

### Claim 12 (depends on 11)

The method of claim 11, wherein the identifier includes the authentication identifier.

### Claim 13 (depends on 11)

The method of claim 11, wherein the identifier includes a new authentication identifier (AUTS), wherein the terminal is configured to generate the AUTS based on the random number.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
generating, at the network node, a first encryption key, wherein the terminal is configured to generate a second encryption key that matches the first encryption key, and wherein the first encryption key and second encryption key includes one of a non-access stratum encryption key (Knas-enc) and a mobility access control key (Kamf).

### Claim 15 (depends on 11)

The method of claim 11, wherein the identifier includes a new random number (RANDa) that includes a length equal to a length of the authentication identifier.

### Claim 16 (depends on 11)

The method of claim 11, wherein the terminal is configured to identify a message authentication code (MAC) based on the authentication identifier and calculate an expected MAC (XMAC) based on the random number and the authentication identifier, wherein the terminal is configured to determine that the XMAC does not match the MAC, and wherein the failure value indicates a MAC error based on the terminal determining that the XMAC does not match the MAC.

### Claim 17 (depends on 11)

The method of claim 11, wherein the terminal is configured to calculate a sequence number (SQN) based on the authentication identifier and compare the SQN with a terminal SQN, wherein the failure value identifies a synchronization error based on determining that the SQN is less than or equal to the terminal SQN.

### Claim 18 (depends on 11)

The method of claim 11, further comprising:
identifying, by the network node, a subscriber permanent identifier (SUPI) by decrypting a subscriber concealed identifier (SUCI) using a private key, wherein the identifier includes the SUCI, and wherein the terminal is configured to generate the SUCI by encrypting the SUPI using the public key.

### Claim 19 (depends on 11)

The method of claim 11, further comprising:
generating, by the network node, a second authentication identifier and a second random number based on decrypting the failure value, wherein the failure value indicates one of a MAC error and a synchronization error; and
transmitting, by the network node, a second authentication message to the terminal, wherein the second authentication message includes the second authentication identifier and the second random number.

### Claim 20 (depends on 11)

The method of claim 11, further comprising:
receiving, by the network node, a registration request from the terminal, wherein the registration request includes a cell identifier that includes at least one of: a user security capability, a SUCI, and a 5G globally unique temporary terminal identity (5G-GUTI).
