# US 2022/0292901 A1 · Methods and apparatus for validating wireless access card authenticity and proximity

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

- Number: US 2022/0292901 A1
- Document ID: US20220292901A1
- Status: Published application
- Kind: A1
- Application number: 17/198,612
- Filed: 2021-03-11
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMicroelectronics S.r.l.
- Inventors: Carlo Cimino; Luca Di Cosmo
- Web page: https://patentgrep.com/patent/US20220292901A1

## CPC

- G07C 9/22: in combination with an identity check of the pass holder
- G06F 21/35: communicating wirelessly
- G07C 9/00174: {Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys (mechanical locks with electric permutation E05B49/00; arrangements for sensing or reading record carriers G06K7/00; electronic switching H03K17/00)}
- G07C 9/00309: {operated with bidirectional data transmission between data carrier and locks}
- H04W 12/06: Authentication
- H04W 12/106: Packet or message integrity
- H04W 12/61: Time-dependent
- H04W 12/63: Location-dependent; Proximity-dependent
- G06F 2221/2103: Challenge-response
- G06F 2221/2111: Location-sensitive, e.g. geographical location, GPS
- G07C 2009/00341: {keyless data carrier having more than one limited data transmission ranges}
- G07C 2009/00555: {comprising means to detect or avoid relay attacks}
- G07C 2009/00769: {with data transmission performed by wireless means}
- G07C 2209/63: Comprising locating means for detecting the position of the data carrier, i.e. within the vehicle or within a certain distance from the vehicle
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- G07C: TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A method includes performing, by a terminal with an access card, a first relay attack check for the access card in accordance with a local value associated with the terminal and a local value associated with the access card; determining, by the terminal, that the access card has passed the first relay attack check, and based thereon, performing, by the terminal with the access card, an authentication check of the access card in accordance with the local value associated with the terminal, the local value associated with the access card, and a local challenge value associated with the terminal; and determining, by the terminal, that the access card has passed the first relay attack check and the authentication check, and based thereon, validating, by the terminal, the access card.

## Claims

### Claim 1

A method implemented by a terminal, the method comprising:
performing, by the terminal and an access card, a first proximity check for the access card, the first proximity check sharing a local value associated with the terminal and a remote value associated with the access card;
determining, by the terminal, that the access card has passed the first proximity check, and based thereon, performing, by the terminal with the access card, an authentication check of the access card in accordance with the local value associated with the terminal, the remote value associated with the access card, and a local challenge value associated with the terminal; and
determining, by the terminal, that the access card has passed the first proximity check and the authentication check, and based thereon, validating, by the terminal, an authenticity and proximity of the access card.

### Claim 2 (depends on 1)

The method of claim 1, wherein the local value associated with the terminal comprises a value associated with the terminal that is generated by the terminal, and wherein the remote value associated with the access card comprises a value associated with the access card that is received in a message from the access card.

### Claim 3 (depends on 1)

The method of claim 1, wherein performing the first proximity check comprises:
starting, by the terminal, a timer;
sending, by the terminal to the access card, a first message including the local value associated with the terminal;
receiving, by the terminal from the access card, a second message including the remote value associated with the access card; and
stopping, by the terminal, the timer.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining that the access card has passed the first proximity check comprises:
comparing, by the terminal, a value of the timer with a specified maximum value; and
determining, by the terminal, that the access card has passed the first proximity check if the value is less than or equal to the specified maximum value.

### Claim 5 (depends on 1)

The method of claim 1, wherein performing the authentication check comprises:
sending, by the terminal to the access card, a first message including the local challenge value associated with the terminal;
receiving, by the terminal from the access card, a second message including a signature generated in accordance with a first key of the access card, a remote value associated with the terminal, a local value associated with the access card, and a remote challenge value associated with the terminal; and
verifying, by the terminal, the signature in accordance with a second key of the access card, the local value associated with the terminal, the remote value associated with the access card, and the local challenge value associated with the terminal.

### Claim 6 (depends on 5)

The method of claim 5, wherein the first key comprises a private key and the second key comprises a public key.

### Claim 7 (depends on 5)

The method of claim 5, wherein the remote value associated with the terminal comprises a value associated with the terminal that is received by the access card in a message, wherein the remote value associated with the access card comprises a value associated with the access card that is received in a message from the access card, and wherein the remote challenge value associated with the terminal comprises a challenge value associated with the terminal that is received by the access card.

### Claim 8 (depends on 5)

The method of claim 5, wherein determining that the access card has passed the authentication check comprises:
determining, by the terminal, that the access card has passed the authentication check if the verification that the signature covers the local value associated with the terminal, the remote value associated with the access card, and the local challenge value associated with the terminal.

### Claim 9 (depends on 1)

The method of claim 1, further comprising performing, by the terminal with the access card, a second proximity check for the access card in accordance with the local value associated with the terminal and the local value associated with the access card.

### Claim 10 (depends on 9)

The method of claim 9, wherein determining that the access card has passed the first proximity check further comprising that the access card has passed the second proximity check.

### Claim 11

A terminal comprising:
one or more processors; and
a non-transitory memory storage comprising instructions that, when executed by the one or more processors, cause the terminal to:
perform, with an access card, a proximity check for the access card in accordance with a local value associated with the terminal and a local value associated with the access card;
determine that the access card has passed the proximity check, and based thereon, perform, with the access card, an authentication check of the access card in accordance with the local value associated with the terminal, the local value associated with the access card, and a local challenge value associated with the terminal; and
determine that the access card has passed the proximity check and the authentication check, and based thereon, validate the access card.

### Claim 12 (depends on 11)

The terminal of claim 11, wherein the instructions further cause the terminal to:
start a timer;
send, to the access card, a first message including the local value associated with the terminal;
receive, from the access card, a second message including the local value associated with the access card; and
stop the timer, wherein the local value associated with the terminal comprises a value associated with the terminal that is generated by the terminal, and wherein the local value associated with the access card comprises a value associated with the access card that is received in a message from the access card.

### Claim 13 (depends on 12)

The terminal of claim 12, wherein the instructions further cause the terminal to:
compare a value of the timer with a specified maximum value; and
determine that the access card has passed the proximity check if the value is less than or equal to the specified maximum value.

### Claim 14 (depends on 11)

The terminal of claim 11, wherein the instructions further cause the terminal to:
send, to the access card, a first message including a local challenge value associated with the terminal;
receive, from the access card, a second message including a signature generated in accordance with a first key of the access card, a remote value associated with the terminal, a local value associated with the access card, and a remote challenge value associated with the terminal; and
verify the signature in accordance with a second key of the access card, the local value associated with the terminal, the remote value associated with the access card, and the local challenge value associated with the terminal, wherein the remote value associated with the terminal comprises a value associated with the terminal that is received by the access card in a message, wherein the remote value associated with the access card comprises a value associated with the access card that is received in a message from the access card, and wherein the remote challenge value associated with the terminal comprises a challenge value associated with the terminal that is received by the access card.

### Claim 15 (depends on 14)

The terminal of claim 14, wherein the instructions further cause the terminal to:
determine that the access card has passed the authentication check if the verification that the signature covers the local value associated with the terminal, the remote value associated with the access card, and the local challenge value associated with the terminal.

### Claim 16 (depends on 11)

The terminal of claim 11, wherein the terminal comprises a near field communications (NFC) terminal, and wherein the access card comprises a NFC access card or a secure element.

### Claim 17

A method implemented by an access card, the method comprising:
performing, by the access card and a terminal, a proximity check for the access card, the proximity check sharing a remote value associated with the terminal and a local value associated with the access card; and
performing, by the access card and the terminal, an authentication check of the access card in accordance with the remote value associated with the terminal, the local value associated with the access card, and a remote challenge value associated with the terminal.

### Claim 18 (depends on 17)

The method of claim 17, wherein performing the proximity check for the access card comprises:
generating, by the access card, the local value associated with the access card;
receiving, by the access card from the terminal, a command message including the remote value associated with the terminal; and
sending, by the access card to the terminal, a response message including the local value associated with the access card.

### Claim 19 (depends on 17)

The method of claim 17, wherein performing the authentication check of the access card comprises:
receiving, by the access card from the terminal, a command message including the remote challenge value associated with the terminal;
generating, by the access card, a signature in accordance with a key of the access card, the remote value associated with the terminal, the local value associated with the access card, and the remote challenge value associated with the terminal; and
sending, by the access card to the terminal, a response message including the signature.

### Claim 20 (depends on 19)

The method of claim 19, wherein the key comprises a private key of the access card.
