TECHNICAL FIELD

The disclosed subject matter relates to methods, systems, and media for protected near-field communications.

BACKGROUND

Users are increasingly using devices that use Near Field Communications (NFC) to perform actions, such as unlocking doors, making payments, etc. For example, a user may have an NFC tag (e.g., a wearable device, a badge, a phone, etc.) that, when brought within proximity to an NFC reader, allows the NFC tag to transmit information to the NFC reader to perform an action, such as unlocking a door. However, NFC devices can present potential security problems. For example, because an NFC tag typically transmits identifying information to any NFC reader brought within proximity of the NFC tag, it can be easy to retrieve an identifier of an NFC tag, and the NFC tag can then be cloned using the identifier of the NFC tag. In some cases, by cloning an NFC tag, a malicious actor can, for example, use the cloned NFC tag to enter a person's house.

Accordingly, it is desirable to provide methods, systems, and media for methods and apparatus for protected near-field communications.

SUMMARY

Methods, systems, and media for protected near-field communications are provided.

In accordance with some embodiments of the disclosed subject matter, a method for protected near-field communications is provided, the method comprising: receiving, from an NFC tag device, a request for an NFC reader device identifier (ID); in response to receiving the request, transmitting the NFC reader device ID to the NFC tag device; receiving, by an NFC reader device, an NFC tag device ID; determining whether the NFC tag device ID matches an NFC tag device ID stored in memory of the NFC reader device; in response to determining that the NFC tag device ID matches the NFC tag device ID stored in the memory of the NFC reader device, transmitting a password to the NFC tag device; receiving, from the NFC tag device, a shared secret; determining whether the received shared secret matches a shared secret stored in the memory of the NFC reader device; and in response to determining that the received shared secret matches the shared secret stored in the memory of the NFC reader device, causing an action to be performed by a device associated with the NFC reader device.

In accordance with some embodiments of the disclosed subject matter, a system for protected near-field communications is provided, the system comprising: a memory; and a hardware processor coupled to the memory that is programmed to: receive, from an NFC tag device, a request for an NFC reader device identifier (ID); in response to receiving the request, transmit the NFC reader device ID to the NFC tag device; receive, by an NFC reader device, an NFC tag device ID; determine whether the NFC tag device ID matches an NFC tag device ID stored in memory of the NFC reader device; in response to determining that the NFC tag device ID matches the NFC tag device ID stored in the memory of the NFC reader device, transmit a password to the NFC tag device; receiving, from the NFC tag device, a shared secret; determine whether the received shared secret matches a shared secret stored in the memory of the NFC reader device; and in response to determining that the received shared secret matches the shared secret stored in the memory of the NFC reader device, cause an action to be performed by a device associated with the NFC reader device.

In accordance with some embodiments of the disclosed subject matter, non-transitory computer-readable media containing computer executable instructions that, when executed by a processor, cause the processor to perform a method for protected near-field communications is provided, the method comprising: receiving, from an NFC tag device, a request for an NFC reader device identifier (ID); in response to receiving the request, transmitting the NFC reader device ID to the NFC tag device; receiving, by an NFC reader device, an NFC tag device ID; determining whether the NFC tag device ID matches an NFC tag device ID stored in memory of the NFC reader device; in response to determining that the NFC tag device ID matches the NFC tag device ID stored in the memory of the NFC reader device, transmitting a password to the NFC tag device; receiving, from the NFC tag device, a shared secret; determining whether the received shared secret matches a shared secret stored in the memory of the NFC reader device; and in response to determining that the received shared secret matches the shared secret stored in the memory of the NFC reader device, causing an action to be performed by a device associated with the NFC reader device.

