# US 2017/0289804 A1 · Secure adaptive device locking

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

- Number: US 2017/0289804 A1
- Document ID: US20170289804A1
- Status: Published application
- Kind: A1
- Application number: 15/084,853
- Filed: 2016-03-30
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: T-Mobile USA, Inc.
- Applicants: T-Mobile USA, Inc.
- Inventors: Amela Kovacevic
- Web page: https://patentgrep.com/patent/US20170289804A1

## CPC

- G06F 21/575: {Secure boot}
- H04L 63/102: {Entity profiles}
- H04W 4/12: Messaging; Mailboxes; Announcements
- H04W 8/183: {Processing at user equipment or user record carrier}
- H04W 12/084: using delegated authorisation, e.g. open authorisation [OAuth] protocol
- H04L 63/0853: {using an additional device, e.g. smartcard, SIM or a different communication terminal (cryptographic mechanisms or cryptographic arrangements for entity authentication involving additional secure or trusted devices H04L9/3234)}
- H04W 12/068: {using credential vaults, e.g. password manager applications or one time password [OTP] applications}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Systems and methods for configuring user equipment (UE) for use with compatible subscriber identity modules (SIMs) is disclosed. The UE can include a UE SIMLock configuration containing one or more UE parameters and a value for each category. A compatible SIM can include a SIM configuration with compatible SIM values. The UE can request a UE SIMLock configuration from one or more telecommunications network devices using secure communications. The UE can receive a UE SIMLock configuration from the telecommunications network device. The UE SIMLock configuration can be applied to the UE modem governing SIMLock engine behavior. The UE SIMLock configuration can be updated dynamically with subsequent messages from the telecommunications network device to reflect changes in the account associated with the UE, such as the fulfillment of a contract or theft of the UE.

## Claims

### Claim 1

A method comprising:
sending a first message from a user equipment (UE) to a telecommunications network device requesting a UE SIMLock configuration;
receiving a first reply message at the UE from the telecommunications network device, the first reply message including at least the UE SIMLock configuration, the UE SIMLock configuration containing one or more UE parameters for the configuration of the UE;
applying the one or more UE parameters to the UE;
detecting, with the UE, a subscriber identity module (SIM) inserted into the UE;
receiving a SIM configuration from the SIM, the SIM configuration comprising one or more SIM parameters; and
comparing values for each of the one or more UE parameters to each respective SIM parameter to determine a compatibility of the SIM and the UE.

### Claim 2 (depends on 1)

The method of claim 1, wherein sending the first message from the UE to the telecommunications network device comprises sending an encrypted message from a secure trusted execution environment (TEE) on the UE.

### Claim 3 (depends on 2)

The method of claim 2, wherein the telecommunications network device comprises a configuration server storing a plurality of UE SIMLock configurations for a plurality of UEs.

### Claim 4 (depends on 1)

The method of claim 1, wherein comparing the one or more UE parameters to the one or more SIM parameters to determine a compatibility of the SIM and the UE comprises:
comparing a network value in the UE SIMLock configuration to a network value in the SIM configuration; and
determining that the UE and the SIM are compatible when at least one of the network values in the UE SIMLock configuration matches the network value of the SIM configuration.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
sending a second message from the UE to the telecommunications network device requesting an updated UE SIMLock configuration;
receiving a second reply message at the UE from the telecommunications network device, the second reply message including at least the updated UE SIMLock configuration, the updated UE SIMLock configuration containing one or more updated UE parameters for the UE SIMLock configuration of the UE;
applying the one or more updated UE parameters to the UE; and
comparing values for each of the one or more updated UE parameters to each respective SIM parameter to determine a compatibility of the SIM and the UE.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving a trigger message from the telecommunications network device to send the second message.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
determining that a periodic timer associated with sending the second message has expired.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
sending a value of a periodic timer from the telecommunication network device to the UE;
wherein the periodic timer causes the UE to send at least one of the first message or the second message.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
verifying a validity of the first reply message;
sending an acknowledgement message back to the telecommunications network device;
updating a device database in a telecommunications network database that the UE has been configured; and
sending an acknowledgment message from the telecommunications network device to the UE to apply the UE SIMLock configuration.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
verifying at least one of an authenticity or integrity of the first reply message with a trusted application in a trusted execution environment (TEE) of the UE; and
verifying an integrity and/or decrypting the UE SIMLock configuration in a modem of the UE before applying the one or more UE parameters;
wherein the first reply message is at least one of integrity protected or encrypted.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
verifying that an international mobile station equipment identity (IMEI) in the UE SIMLock configuration is the same as the IMEI of the UE.

### Claim 12

A method comprising:
receiving a message from a user equipment (UE) at a first telecommunications network device, the message comprising a request for a UE SIMLock configuration;
verifying the message from the UE with the first telecommunications network device;
verifying one or more device certificates from the UE by querying a second telecommunications network device that contains at least one of libraries, data, or algorithms for verifying device certificates; and
sending the UE SIMLock configuration from the first telecommunications network device to the UE.

### Claim 13 (depends on 12)

The method of claim 12, wherein receiving the message from the UE at a first telecommunications network device comprises receiving the message at a rules engine of a configuration server.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
sending the message from the first telecommunications network device to a second telecommunications network device after verifying the message, the second telecommunications network device storing the UE SIMLock configuration; and
sending the UE SIMLock configuration from the second telecommunications network device to the first telecommunications network device.

### Claim 15 (depends on 14)

The method of claim 14 wherein sending the message from the first telecommunications network device to the second telecommunications network device comprises sending the message from a rules engine to a policy engine of a configuration server.

### Claim 16 (depends on 12)

The method of claim 12, wherein the UE SIMLock configuration comprises one or more UE parameters associated with usage restrictions for the UE.

### Claim 17 (depends on 16)

The method of claim 16, wherein the UE SIMLock configuration further comprises a value for each of the one or more UE parameters;
wherein the value further modifies a usage restriction for the UE.

### Claim 18 (depends on 17)

The method of claim 17, wherein a first UE parameter of the one or more UE parameters comprises a network restriction; and
a network value associated with a carrier restriction for the UE.

### Claim 19 (depends on 12)

The method of claim 12, further comprising:
sending a trigger message from the first telecommunications network device to the UE to cause the UE to send a UE SIMLock configuration update request message to the first telecommunications network device;
receiving the UE SIMLock configuration update request message from the UE at the first telecommunications network device; and
sending an updated UE SIMLock configuration from the first telecommunications network device to the UE.

### Claim 20 (depends on 12)

The method of claim 12, further comprising:
determining that the UE sending the message is not authorized;
wherein the UE SIMLock configuration partially or completely disables the UE.

### Claim 21

A user equipment (UE) comprising:
one or more processors;
a network interface comprising a modem;
a device operating system (OS);
one or more insecure memory devices; and
one or more secure memory devices including a trusted execution environment (TEE), the TEE comprising:
one or more trusted applications for verifying communications from one or more components of the UE; and
a secure operating system (OS) separate from the device OS;
wherein at least one of the one or more trusted application is configured to communicate via secure messages with a telecommunications network device regarding a UE SIMLock configuration; and
wherein the modem is configured with the UE SIMLock configuration.

### Claim 22 (depends on 21)

The UE of claim 21, wherein the UE SIMLock configuration comprises:
a plurality of UE parameters associated with the use of the UE; and
a plurality of UE values, each value associated with one of the plurality of UE parameters.
