Transaction cards can be used to purchase goods and services and/or withdraw or transfer money from an account. However, hundreds of thousands of transaction cards and information associated therewith are lost or stolen each year.
Some systems and methods have been developed that enable a cardholder to lock and unlock his or her transaction card, the transaction card and card payment data associated therewith being unusable while the transaction card is locked so that all transactions initiated in connection with the transaction card are denied while the transaction card is locked. However, known systems and methods involve a manual process and are not secure.
In some embodiments, a method can include identifying when a timer associated with a contactless card expires, locking the contactless card after the timer has expired, receiving, via a short-range communication antenna of a mobile device, a cryptogram from the contactless card, successfully decrypting the cryptogram to authenticate the contactless card, and when the contactless card has been authenticated, unlocking the contactless card.
In some embodiments, the method can include starting the timer responsive to user input that identifies a time value for the timer.
In some embodiments, the method can include starting the timer responsive to user input that includes the cryptogram received from the contactless card.
In some embodiments, the method can include starting the timer at a predetermined time of day.
In some embodiments, the method can include starting the timer after processing a transaction associated with the contactless card.
In some embodiments, the contactless card and card payment data associated therewith can be unusable while the contactless card is locked.
In some embodiments, the method can include identifying a customer account associated with the contactless card to authenticate the contactless card. For example, in some embodiments, the method can include decrypting protected data in the cryptogram, comparing the protected data to stored record data associated with the customer account, and authenticating the contactless card based on a match between the protected data and the stored record data.
In some embodiments, the method can include authenticating the contactless card when a user of the contactless card is logged into a mobile application associated with the contactless card.
In some embodiments, a non-transitory computer-readable medium can include instructions that, when executed by a processor, cause the processor to identify when a timer associated with a contactless card expires, lock the contactless card after the timer has expired, receive, via a short-range communication antenna of a mobile device, a cryptogram from the contactless card, successfully decrypt the cryptogram to authenticate the contactless card, and unlock the contactless card when the contactless card has been authenticated.
In some embodiments, the instructions can further cause the processor to start the timer responsive to user input that identifies a time value for the timer.
In some embodiments, the instructions can further cause the processor to start the timer responsive to user input that includes the cryptogram received from the contactless card.
In some embodiments, the instructions can further cause the processor to start the timer at a predetermined time of day.
In some embodiments, the instructions can further cause the processor to start the timer after processing a transaction associated with the contactless card.
In some embodiments, the contactless card and card payment data associated therewith can be unusable while the contactless card is locked.
In some embodiments, the instructions can further cause the processor to identify a customer account associated with the contactless card to authenticate the contactless card. For example, in some embodiments, the instructions can further cause the processor to decrypt protected data in the cryptogram, compare the protected data to stored record data associated with the customer account, and authenticate the contactless card based on a match between the protected data and the stored record data.
In some embodiments, the instructions can further cause the processor to authenticate the contactless card when a user of the contactless card is logged into a mobile application associated with the contactless card.
In some embodiments, a server device can include a processor and a memory storing instructions that, when executed by the processor, cause the processor to identify when a timer associated with a contactless card expires, lock the contactless card after the timer has expired, receive, via a short-range communication antenna of a mobile device, a cryptogram from the contactless card, successfully decrypt the cryptogram to authenticate the contactless card, and unlock the contactless card when the contactless card has been authenticated.
In some embodiments, the instructions can further cause the processor to authenticate the contactless card when a user of the contactless card is logged into a mobile application associated with the contactless card.
Other technical features may be readily apparent to one skilled in the art from the following figures, descriptions, and claims.
Embodiments disclosed herein are generally directed to systems and methods for automatically locking a contactless card. As described herein, the contactless card can include any transaction card that that can be used to purchase goods or services and/or withdraw or transfer money from an account.
In some embodiments, a timer associated with the contactless card can be set and started. Then, systems and methods disclosed herein can identify when the timer expires and lock the contactless card thereafter. It is to be understood that the contactless card and card payment data associated therewith will be unusable while the contactless card is locked. In this regard, being unusable can mean that all transactions initiated in connection with the contactless card will be denied while the contactless card is locked.
The timer can be set and started in a variety of different manners to mitigate unauthorized use of the contactless card. For example, the timer can be set and started responsive to user input that identifies a time value for the timer (e.g., 3 hours) and/or responsive to user input that includes a cryptogram received from the contactless card (e.g., a user in possession of the contactless card is providing the user input to start the timer). Additionally or alternatively, the timer can be set and started at a predetermined time of day (e.g., 3:00 am) or after processing a transaction associated with the contactless card (e.g., start the timer after the card is successfully used).
After the contactless card has been locked, systems and methods can unlock the card when predetermined conditions have been satisfied. For example, in some embodiments, systems and methods disclosed herein can receive the cryptogram from the contactless card, for example, via a short-range communication antenna of a mobile device when the contactless card is tapped on or brought within a communication range of the short-range communication antenna. Then, systems and methods disclosed herein can successfully decrypt the cryptogram to authenticate the contactless card, and when the contactless card has been authenticated, unlock the contactless card.
In some embodiments, systems and methods disclosed herein can identify a customer account associated with the contactless card to authenticate the contactless card. For example, protected data in the cryptogram can be decrypted and compared to stored record data associated with the customer account. Then, the contactless can be authenticated based on a match between the protected data and the stored record data.
Security is of utmost importance in embodiments disclosed herein. As such, systems and methods disclosed herein can implement two-factor authentication. For example, a first prong of the two-factor authentication can include the user of the contactless card being logged into a mobile application or a web account that is associated with the contactless card and/or the customer account. A second prong of the two-factor authentication can include successfully decrypting the cryptogram received from the contactless card via the short-range communication antenna of the mobile device. In some embodiments, the short-range communication antenna can be disabled from receiving the cryptogram and/or the mobile device can be disabled from transmitting the cryptogram unless and until the first prong of the two-factor authentication is satisfied.
Advantageously, embodiments disclosed herein can mitigate the unauthorized use of the contactless card after some predetermined amount of time. Indeed, the user of the contactless card can determine when the contactless card should be locked, that is, when the timer is set, starts, and expires. As such, the contactless card can be automatically locked at that predetermined time without concurrent and/or manual user input to do so. Furthermore, the contactless card can remain locked absent further user input to unlock the contactless card.
Additional advantages of embodiments disclosed herein can include providing for enhanced security to unlock the contactless card after being locked. Indeed, by implementing two-factor authentication as disclosed and described herein, systems and methods can ensure that the contactless card remains locked unless and until both prongs of the two-factor authentication are satisfied. In this regard, a bad actor in possession of the mobile device cannot unlock the contactless card without securely logging into the mobile application or the web account associated with the contactless card and/or the customer account while simultaneously also being in possession of the contactless card. Similarly, a bad actor in possession of the contactless card cannot unlock the contactless card without also securely logging into the mobile application or the web account associated with the contactless card or the customer account.
Details of the above-identified embodiments and additional advantages thereof are discussed in the following description.
The system 100 may include one or more contactless cards 102, which are further explained below. In some embodiments, the contactless card 102 may be in wireless communication, utilizing Near-Field Communication (NFC) in an example, with the client device 104.
The system 100 may include the client device 104, which may be a network-enabled computer. As referred to herein, a network-enabled computer may include, but is not limited to a computer device, or a communications device including, e.g., a server, a network appliance, a personal computer, a workstation, a phone, a handheld personal computer (PC), a personal digital assistant, a thin client, a fat client, an Internet browser, or other device. The client device 104 also may be a mobile device; for example, a mobile device may include an iPhone, iPod, iPad from Apple® or any other mobile device running Apple's iOS® operating system, any device running Microsoft's Windows® mobile operating system, any device running Google's Android® operating system, and/or any other smartphone, tablet, or like wearable mobile device.
The client device 104 device can include a processor and a memory, and it is understood that the processing circuitry may contain additional components, including processors, memories, error and parity/cyclic redundance check (CRC) checkers, data encoders, anticollision algorithms, controllers, command decoders, security primitives and tamperproofing hardware, as necessary to perform the functions described herein. The client device 104 may further include a display and input devices. The display may be any type of device for presenting visual information such as a computer monitor, a flat panel display, and a mobile device screen, including liquid crystal displays, light-emitting diode displays, plasma panels, and cathode ray tube displays. The input devices may include any device for entering information into a user's device that is available and supported by the user's device, such as a touch-screen, keyboard, mouse, cursor-control device, touch-screen, microphone, digital camera, video recorder or camcorder. These devices may be used to enter information and interact with the software and other devices described herein.
In some examples, the client device 104 of the system 100 may execute one or more applications, such as software applications, that enable, for example, network communications with one or more components of the system 100 and transmit and/or receive data.
The client device 104 may be in communication with one or more server(s) 108 via one or more network(s) 106 and may operate as a respective front-end to back-end pair with the server 108. The client device 104 may transmit, for example, from a mobile device application executing on the client device 104, one or more requests to the server 108. The one or more requests may be associated with retrieving data from the server 108. The server 108 may receive the one or more requests from the client device 104. Based on the one or more requests from the client device 104, the server 108 may be configured to retrieve the requested data from one or more databases (not shown). Based on receipt of the requested data from the one or more databases, the server 108 may be configured to transmit the received data to the client device 104, the received data being responsive to the one or more requests.
The system 100 may include one or more networks 106. In some examples, the network 106 may be one or more of a wireless network, a wired network or any combination of wireless network and wired network and may be configured to connect the client device 104 to the server 108. For example, the network 106 may include one or more of a fiber optics network, a passive optical network, a cable network, an Internet network, a satellite network, a wireless local area network (LAN), a Global System for Mobile Communication, a Personal Communication Service, a Personal Area Network, Wireless Application Protocol, Multimedia Messaging Service, Enhanced Messaging Service, Short Message Service, Time Division Multiplexing based systems, Code Division Multiple Access based systems, Digital Advanced Mobile Phone System (D-AMPS), Wi-Fi, Fixed Wireless Data, Institute of Electrical and Electronics Engineers (IEEE) 802.11 family of networking, Bluetooth, NFC, Radio Frequency Identification (RFID), Wi-Fi, and/or the like.
In addition, the network 106 may include, without limitation, telephone lines, fiber optics, IEEE Ethernet 802.3, a wide area network, a wireless personal area network, a LAN, or a global network such as the Internet. In addition, the network 106 may support an Internet network, a wireless communication network, a cellular network, or the like, or any combination thereof. The network 106 may further include one network, or any number of the exemplary types of networks mentioned above, operating as a stand-alone network or in cooperation with each other. The network 106 may utilize one or more protocols of one or more network elements to which they are communicatively coupled. The network 106 may translate to or from other protocols to one or more protocols of network devices. Although the network 106 is depicted as a single network, it should be appreciated that according to one or more examples, the network 106 may comprise a plurality of interconnected networks, such as, for example, the Internet, a service provider's network, a cable television network, corporate networks, such as credit card association networks, and home networks.
The system 100 may include one or more servers 108. In some examples, the server 108 may include one or more processors, which are coupled to memory. The server 108 may be configured as a central system, server or platform to control and call various data at different times to execute a plurality of workflow actions. The server 108 may be configured to connect to the one or more databases. The server 108 may be connected to at least one client device 104.
When using symmetric cryptographic algorithms, such as encryption algorithms, hash-based message authentication code (HMAC) algorithms, and cipher-based message authentication code (CMAC) algorithms, it is important that the key remain secret between the party that originally processes the data that is protected using a symmetric algorithm and the key, and the party who receives and processes the data using the same cryptographic algorithm and the same key.
It is also important that the same key is not used too many times. If a key is used or reused too frequently, that key may be compromised. Each time the key is used, it provides an attacker an additional sample of data which was processed by the cryptographic algorithm using the same key. The more data which the attacker has which was processed with the same key, the greater the likelihood that the attacker may discover the value of the key. A key used frequently may be comprised in a variety of different attacks.
Moreover, each time a symmetric cryptographic algorithm is executed, it may reveal information, such as side-channel data, about the key used during the symmetric cryptographic operation. Side-channel data may include minute power fluctuations which occur as the cryptographic algorithm executes while using the key. Sufficient measurements may be taken of the side-channel data to reveal enough information about the key to allow it to be recovered by the attacker. Using the same key for exchanging data would repeatedly reveal data processed by the same key.
However, by limiting the number of times a particular key will be used, the amount of side-channel data which the attacker is able to gather is limited and thereby reduces exposure to this and other types of attack. As further described herein, the parties involved in the exchange of cryptographic information (e.g., sender and recipient) can independently generate keys from an initial shared master symmetric key in combination with a counter value, and thereby periodically replace the shared symmetric key being used without needing to resort to any form of key exchange to keep the parties in sync. By periodically changing the shared secret symmetric key used by the sender and the recipient, the attacks described above are rendered impossible.
Referring back to
The system 200 may include one or more networks 206. In some examples, the network 206 may be one or more of a wireless network, a wired network or any combination of wireless network and wired network and may be configured to connect one or more transmitting devices 204 and one or more receiving devices 208 to the server 202. For example, the network 206 may include one or more of a fiber optics network, a passive optical network, a cable network, an Internet network, a satellite network, a wireless LAN, a Global System for Mobile Communication, a Personal Communication Service, a Personal Area Network, Wireless Application Protocol, Multimedia Messaging Service, Enhanced Messaging Service, Short Message Service, Time Division Multiplexing based systems, Code Division Multiple Access based systems, D-AMPS, Wi-Fi, Fixed Wireless Data, IEEE 802.11 family network, Bluetooth, NFC, RFID, Wi-Fi, and/or the like.
In addition, the network 206 may include, without limitation, telephone lines, fiber optics, IEEE Ethernet 902.3, a wide area network, a wireless personal area network, a LAN, or a global network such as the Internet. In addition, the network 206 may support an Internet network, a wireless communication network, a cellular network, or the like, or any combination thereof. The network 206 may further include one network, or any number of the exemplary types of networks mentioned above, operating as a stand-alone network or in cooperation with each other. The network 206 may utilize one or more protocols of one or more network elements to which they are communicatively coupled. The network 206 may translate to or from other protocols to one or more protocols of network devices. Although the network 206 is depicted as a single network, it should be appreciated that according to one or more examples, the network 206 may comprise a plurality of interconnected networks, such as, for example, the Internet, a service provider's network, a cable television network, corporate networks, such as credit card association networks, and home networks.
In some examples, one or more transmitting devices 204 and one or more receiving devices 208 may be configured to communicate and transmit and receive data between each other without passing through the network 206. For example, communication between the one or more transmitting devices 204 and the one or more receiving devices 208 may occur via at least one of NFC, Bluetooth, RFID, Wi-Fi, and/or the like.
At block 210, when the transmitting device 204 is preparing to process the sensitive data with symmetric cryptographic operation, the sender may update a counter. In addition, the transmitting device 204 may select an appropriate symmetric cryptographic algorithm, which may include at least one of a symmetric encryption algorithm, HMAC algorithm, and a CMAC algorithm. In some examples, the symmetric algorithm used to process the diversification value may comprise any symmetric cryptographic algorithm used as needed to generate the desired length diversified symmetric key. Non-limiting examples of the symmetric algorithm may include a symmetric encryption algorithm such as 3DES or Advanced Encryption Standard 128 (AES128); a symmetric HMAC algorithm, such as HMAC-SHA-256; and a symmetric CMAC algorithm such as AES-CMAC. It is understood that if the output of the selected symmetric algorithm does not generate a sufficiently long key, techniques such as processing multiple iterations of the symmetric algorithm with different input data and the same master key may produce multiple outputs which may be combined as needed to produce sufficient length keys.
At block 212, the transmitting device 204 may take the selected cryptographic algorithm, and using the master symmetric key, process the counter value. For example, the sender may select a symmetric encryption algorithm, and use a counter which updates with every conversation between the transmitting device 204 and the receiving device 208. The transmitting device 204 may then encrypt the counter value with the selected symmetric encryption algorithm using the master symmetric key, creating a diversified symmetric key.
In some examples, the counter value may not be encrypted. In these examples, the counter value may be transmitted between the transmitting device 204 and the receiving device 208 at block 212 without encryption.
At block 214, the diversified symmetric key may be used to process the sensitive data before transmitting the result to the receiving device 208. For example, the transmitting device 204 may encrypt the sensitive data using a symmetric encryption algorithm using the diversified symmetric key, with the output comprising the protected encrypted data. The transmitting device 204 may then transmit the protected encrypted data, along with the counter value, to the receiving device 208 for processing.
At block 216, the receiving device 208 may first take the counter value and then perform the same symmetric encryption using the counter value as input to the encryption, and the master symmetric key as the key for the encryption. The output of the encryption may be the same diversified symmetric key value that was created by the sender.
At block 218, the receiving device 208 may then take the protected encrypted data and using a symmetric decryption algorithm along with the diversified symmetric key, decrypt the protected encrypted data.
At block 220, as a result of the decrypting the protected encrypted data, the original sensitive data may be revealed.
The next time sensitive data needs to be sent from the sender to the recipient via the respective transmitting device 204 and the respective receiving device 208, a different counter value may be selected producing a different diversified symmetric key. By processing the counter value with the master symmetric key and the same symmetric cryptographic algorithm, both the transmitting device 204 and the receiving device 208 may independently produce the same diversified symmetric key. This diversified symmetric key, not the master symmetric key, is used to protect the sensitive data.
As explained above, both the transmitting device 204 and the receiving device 208 each initially possess the shared master symmetric key. The shared master symmetric key is not used to encrypt the original sensitive data. Because the diversified symmetric key is independently created by both the transmitting device 204 and the receiving device 208, it is never transmitted between the two parties. Thus, an attacker cannot intercept the diversified symmetric key and the attacker never sees any data which was processed with the master symmetric key. Only the counter value is processed with the master symmetric key, not the sensitive data. As a result, reduced side-channel data about the master symmetric key is revealed. Moreover, the operation of the transmitting device 204 and the receiving device 208 may be governed by symmetric requirements for how often to create a new diversification value, and therefore a new diversified symmetric key. In an embodiment, a new diversification value and therefore a new diversified symmetric key may be created for every exchange between the transmitting device 204 and the receiving device 208.
In some examples, the key diversification value may comprise the counter value. Other non-limiting examples of the key diversification value include: a random nonce generated each time a new diversified key is needed, the random nonce sent from the transmitting device 204 to the receiving device 208; the full value of a counter value sent from the transmitting device 204 and the receiving device 208; a portion of a counter value sent from the transmitting device 204 and the receiving device 208; a counter independently maintained by the transmitting device 204 and the receiving device 208 but not sent between the two devices; a one-time-passcode exchanged between the transmitting device 204 and the receiving device 208; and a cryptographic hash of the sensitive data. In some examples, one or more portions of the key diversification value may be used by the parties to create multiple diversified keys. For example, a counter may be used as the key diversification value. Further, a combination of one or more of the exemplary key diversification values described above may be used.
In another example, a portion of the counter may be used as the key diversification value. If multiple master key values are shared between the parties, the multiple diversified key values may be obtained by the systems and processes described herein. A new diversification value, and therefore a new diversified symmetric key, may be created as often as needed. In the most secure case, a new diversification value may be created for each exchange of sensitive data between the transmitting device 204 and the receiving device 208. In effect, this may create a one-time use key, such as a single-use session key.
The contactless card 300 may also include identification information 306 displayed on the front and/or the back of the card, and a contact pad 304. The contact pad 304 may include one or more pads and be configured to establish contact with another client device, such as an ATM, user device, smartphone, laptop, desktop, or tablet computer via transaction cards. The contact pad 304 may be designed in accordance with one or more standards, such as ISO/IEC 7816 standard, and enable communication in accordance with the EMV protocol. The contactless card 300 may also include processing circuitry, antenna and other components as will be further discussed in
As illustrated in
The memory 402 may be a read-only memory, write-once read-multiple memory or read/write memory, e.g., random-access memory (RAM), read-only memory (ROM), and electronically erasable programmable ROM (EEPROM), and the contactless card 102 may include one or more of these memories. A read-only memory may be factory programmable as read-only or one-time programmable. One-time programmability provides the opportunity to write once then read many times. A write once/read-multiple memory may be programmed at a point in time after the memory chip has left the factory. Once the memory is programmed, it may not be rewritten, but it may be read many times. A read/write memory may be programmed and re-programed many times after leaving the factory. A read/write memory may also be read many times after leaving the factory. In some instances, the memory 402 may be encrypted memory utilizing an encryption algorithm executed by the processor 400 to encrypt data.
The memory 402 may be configured to store one or more applet(s) 406, one or more counter(s) 408, a customer identifier 412, and account number(s) 410, which may be virtual account numbers. The one or more applet(s) 406 may comprise one or more software applications configured to execute on one or more contactless cards, such as a Java® Card applet. However, it is understood that applet(s) 406 are not limited to Java Card applets, and instead may be any software application operable on contactless cards or other devices having limited memory. The one or more counter(s) 408 may comprise a numeric counter sufficient to store an integer. The customer identifier 412 may comprise a unique alphanumeric identifier assigned to a user of the contactless card 300, and the customer identifier 412 may distinguish the user of the contactless card 300 from other contactless card users. In some examples, the customer identifier 412 may identify both a customer and an account assigned to that customer and may further identify the contactless card 300 associated with the customer's account. As stated, the account number(s) 410 may include thousands of one-time use virtual account numbers associated with the contactless card 300. The applet(s) 406 of the contactless card 300 may be configured to manage the account number(s) 410 (e.g., to select an account number(s) 410, mark selected account number(s) 410 as used, and transmit the account number(s) 410 to a mobile device for autofilling by an autofilling service).
The processor 400 and the memory 402 of the foregoing exemplary embodiments are described with reference to the contact pad 304, but the present disclosure is not limited thereto. It is understood that these elements may be implemented outside of the contact pad 304 or entirely separate from it, or as further elements in addition to the processor 400 and the memory 402 located within the contact pad 304.
In some examples, the contactless card 300 may comprise one or more antenna(s) 416. The one or more antenna(s) 416 may be placed within the contactless card 300 and around the processing circuitry 414 of the contact pad 304. For example, the one or more antenna(s) 416 may be integral with the processing circuitry 414, and the one or more antenna(s) 416 may be used with an external booster coil. As another example, the one or more antenna(s) 416 may be external to the contact pad 304 and the processing circuitry 414.
In an embodiment, the coil of contactless card 300 may act as a secondary of an air core transformer. A terminal may communicate with the contactless card 300 by cutting power or amplitude modulation. The contactless card 300 may infer data transmitted from the terminal using gaps in the contactless card's 300 power connection, which may be functionally maintained through one or more capacitors. The contactless card 300 may communicate back by switching a load on the contactless card's 300 coil or load modulation. Load modulation may be detected in the terminal's coil through interference. More generally, using the antenna(s) 416, the processor 400, and/or the memory 402, the contactless card 300 provides a communications interface to communicate via NFC, Bluetooth, and/or Wi-Fi communications.
As explained above, the contactless card 300 may be built on a software platform operable on smart cards or other devices having limited memory, such as JavaCard, and one or more or more applications or applets may be securely executed. The applet(s) 406 may be added to contactless cards to provide a one-time password (OTP) for multifactor authentication (MFA) in various mobile application-based use cases. The applet(s) 406 may be configured to respond to one or more requests, such as near field data exchange requests, from a reader, such as a mobile NFC reader (e.g., of a mobile device or point-of-sale terminal), and produce a near field data exchange (NDEF) message that comprises a cryptographically secure OTP encoded as an NDEF text tag.
One example of an NDEF OTP is an NDEF short-record layout (SR=1). In such an example, one or more applet(s) 406 may be configured to encode the OTP as an NDEF type 4 well known type text tag. In some examples, NDEF messages may comprise one or more records. The applet(s) 406 may be configured to add one or more static tag records in addition to the OTP record.
In some examples, the one or more applet(s) 406 may be configured to emulate an RFID tag. The RFID tag may include one or more polymorphic tags. In some examples, each time the tag is read, different cryptographic data is presented that may indicate the authenticity of the contactless card 300. Based on the one or more applet(s) 406, an NFC read of the tag may be processed, data may be transmitted to a server, such as a server of a banking system, and the data may be validated at the server.
In some examples, the contactless card 300 and the server may include certain data such that the contactless card 300 may be properly identified. The contactless card 300 may include one or more unique identifiers (not pictured). Each time a read operation takes place, the counter(s) 408 may be configured to increment. In some examples, each time data from the contactless card 300 is read (e.g., by a mobile device), the counter(s) 408 is transmitted to the server for validation and to determine whether the counter(s) 408 is equal (as part of the validation) to a counter of the server.
The one or more counter(s) 408 may be configured to prevent a replay attack. For example, if a cryptogram has been obtained and replayed, that cryptogram is immediately rejected if the counter(s) 408 has been read or used or otherwise passed over. If the counter(s) 408 has not been used, it may be replayed. In some examples, the counter that is incremented on the card is different from the counter that is incremented for transactions. The contactless card 300 is unable to determine the application transaction counter(s) 408 since there is no communication between the applet(s) 406 on the contactless card 300.
In some examples, the counter(s) 408 may get out of sync. In some examples, to account for accidental reads that initiate transactions, such as reading at an angle, the counter(s) 408 may increment but the application does not process the counter(s) 408. In some examples, when a mobile device is woken up, NFC may be enabled and the mobile device may be configured to read available tags, but no action is taken responsive to the reads.
To keep the counter(s) 408 in sync, an application, such as a background application, may be executed that would be configured to detect when the mobile device wakes up and synchronizes with the server of a banking system indicating that a read that occurred due to detection to then move the counter(s) 408 forward. In other examples, Hashed One Time Password may be utilized such that a window of mis-synchronization may be accepted. For example, if within a threshold of 10, the counter(s) 408 may be configured to move forward. But if within a different threshold number, for example within 10 or 1000, a request for performing re-synchronization may be processed which requests via one or more applications that the user tap, gesture, or otherwise indicate one or more times via the user's device. If the counter(s) 408 increases in the appropriate sequence, then it possible to know that the user has done so.
The key diversification technique described herein with reference to the counter(s) 408, the master key, and the diversified key, is one example of encryption and/or decryption in a key diversification technique. This example key diversification technique should not be considered limiting of the disclosure, as the disclosure is equally applicable to other types of key diversification techniques.
During the creation process of the contactless card 300, two cryptographic keys may be assigned uniquely per card. The cryptographic keys may comprise symmetric keys which may be used in both encryption and decryption of data. A Triple Data Encryption Standard (DES) (3DES) algorithm may be used by EMV, and it is implemented by hardware in the contactless card 300. By using the key diversification process, one or more keys may be derived from a master key based upon uniquely identifiable information for each entity that requires a key.
In some examples, to overcome deficiencies of 3DES algorithms, which may be susceptible to vulnerabilities, a session key may be derived (such as a unique key per session) but rather than using the master key, the unique card-derived keys and the counter may be used as diversification data. For example, each time the contactless card 300 is used in operation, a different key may be used for creating the message authentication code (MAC) and for performing the encryption. This results in a triple layer of cryptography. The session keys may be generated by the one or more applets and derived by using the application transaction counter with one or more algorithms (as defined in EMV 4.3 Book 2 A1.3.1 Common Session Key Derivation).
Further, the increment for each card may be unique, and assigned either by personalization, or algorithmically assigned by some identifying information. For example, odd numbered cards may increment by 2 and even numbered cards may increment by 5. In some examples, the increment may also vary in sequential reads, such that one card may increment in sequence by 1, 3, 5, 2, 2, . . . repeating. The specific sequence or algorithmic sequence may be defined at personalization time, or from one or more processes derived from unique identifiers. This can make it harder for a replay attacker to generalize from a small number of card instances.
An authentication message may be delivered as content of a text NDEF record in hexadecimal American Standard Code for Information Interchange (ASCII) format. In another example, the NDEF record may be encoded in hexadecimal format.
At line 512, the application 504 communicates with the contactless card 502 (e.g., after being brought near the contactless card 502). Communication between the application 504 and the contactless card 502 may involve the contactless card 502 being sufficiently close to a card reader (not shown) of the client device 506 to enable NFC data transfer between the application 504 and the contactless card 502.
At line 510, after communication has been established between the client device 506 and the contactless card 502, the contactless card 502 generates a message authentication code (MAC) cryptogram. In some examples, this may occur when the contactless card 502 is read by the application 504. In particular, this may occur upon a read, such as an NFC read, of a NDEF tag, which may be created in accordance with the NFC Data Exchange Format. For example, a reader application, such as the application 504, may transmit a message, such as an applet select message, with the applet ID of an NDEF producing applet. Upon confirmation of the selection, a sequence of select file messages followed by read file messages may be transmitted. For example, the sequence may include “Select Capabilities file”, “Read Capabilities file”, and “Select NDEF file”. At this point, a counter value maintained by the contactless card 502 may be updated or incremented, which may be followed by “Read NDEF file.” At this point, the message may be generated which may include a header and a shared secret. Session keys may then be generated. A MAC cryptogram may be created from the message, which may include the header and the shared secret. The MAC cryptogram may then be concatenated with one or more blocks of random data, and the MAC cryptogram and a random number (RND) may be encrypted with the session key. Thereafter, the cryptogram and the header may be concatenated, and encoded as ASCII hex and returned in NDEF message format (responsive to the “Read NDEF file” message).
In some examples, the MAC cryptogram may be transmitted as an NDEF tag, and in other examples the MAC cryptogram may be included with a uniform resource indicator (e.g., as a formatted string). In some examples, the application 504 may be configured to transmit a request to the contactless card 502, the request comprising an instruction to generate a MAC cryptogram.
At line 514, the contactless card 502 sends the MAC cryptogram to the application 504. In some examples, the transmission of the MAC cryptogram occurs via NFC, however, the present disclosure is not limited thereto. In other examples, this communication may occur via Bluetooth, Wi-Fi, or other means of wireless data communication. At line 516, the application 504 communicates the MAC cryptogram to the processor 508.
At line 518, the processor 508 verifies the MAC cryptogram pursuant to an instruction from the application 504. For example, the MAC cryptogram may be verified, as explained below. In some examples, verifying the MAC cryptogram may be performed by a device other than the client device 506, such as a server of a banking system in data communication with the client device 506. For example, the processor 508 may output the MAC cryptogram for transmission to the server of the banking system, which may verify the MAC cryptogram. In some examples, the MAC cryptogram may function as a digital signature for purposes of verification. Other digital signature algorithms, such as public key asymmetric algorithms, e.g., the Digital Signature Algorithm and the Rivest-Shamir-Adleman (RSA) algorithm, or zero knowledge protocols, may be used to perform this verification.
Regarding master key management, two issuer master keys 702, 726 may be required for each part of the portfolio on which the one or more applets is issued. For example, the first master key 702 may comprise an Issuer Cryptogram Generation/Authentication Key (Iss-Key-Auth) and the second master key 726 may comprise an Issuer Data Encryption Key (Iss-Key-DEK). As further explained herein, the two issuer master keys 702, 726 are diversified into card master keys 708, 720, which are unique for each card. In some examples, a network profile record ID (pNPR) 722 and derivation key index (pDKI) 724, as back office data, may be used to identify which issuer master keys 702, 726 to use in the cryptographic processes for authentication. The system performing the authentication may be configured to retrieve values of pNPR 722 and pDKI 724 for a contactless card at the time of authentication.
In some examples, to increase the security of the solution, a session key may be derived (such as a unique key per session) but rather than using the master key, the unique card-derived keys and the counter may be used as diversification data, as explained above. For example, each time the card is used in operation, a different key may be used for creating the message authentication code (MAC) and for performing the encryption. Regarding session key generation, the keys used to generate the cryptogram and encipher the data in the one or more applets may comprise session keys based on the card unique keys (Card-Key-Auth 708 and Card-Key-Dek 720). The session keys (Aut-Session-Key 732 and DEK-Session-Key 710) may be generated by the one or more applets and derived by using the application transaction counter (pATC) 704 with one or more algorithms. To fit data into the one or more algorithms, only the 2 low order bytes of the 4-byte pATC 704 is used. In some examples, the four byte session key derivation method may comprise: F1:=PATC(lower 2 bytes)∥‘F0’∥‘00’∥PATC (four bytes) F1:=PATC(lower 2 bytes)∥‘0F’∥‘00’∥PATC(four bytes) SK:={(ALG(MK) [F1])∥ALG (MK) [F2]}, where ALG may include 3DES Electronic Code Book (ECB) and MK may include the card unique derived master key.
As described herein, one or more MAC session keys may be derived using the lower two bytes of the pATC 704. At each tap of the contactless card, the pATC 704 is configured to be updated, and the card master keys Card-Key-AUTH 708 and Card-Key-DEK 720 are further diversified into the session keys Aut-Session-Key 732 and DEK-Session-KEY 710. The pATC 704 may be initialized to zero at personalization or applet initialization time. In some examples, the pATC 704 may be initialized at or before personalization and may be configured to increment by one at each NDEF read.
Further, the update for each card may be unique, and assigned either by personalization, or algorithmically assigned by pUID or other identifying information. For example, odd numbered cards may increment or decrement by 2 and even numbered cards may increment or decrement by 5. In some examples, the update may also vary in sequential reads, such that one card may increment in sequence by 1, 3, 5, 2, 2, . . . repeating. The specific sequence or algorithmic sequence may be defined at personalization time, or from one or more processes derived from unique identifiers. This can make it harder for a replay attacker to generalize from a small number of card instances.
An authentication message may be delivered as the content of a text NDEF record in hexadecimal ASCII format. In some examples, only authentication data and an 8-byte random number followed by the MAC of the authentication data may be included. In some examples, the random number may precede cryptogram A and may be one block long. In other examples, there may be no restriction on the length of the random number. In further examples, the total data (i.e., the random number plus the cryptogram) may be a multiple of the block size. In these examples, an additional 8-byte block may be added to match the block produced by the MAC algorithm. As another example, if the algorithms employed used 16-byte blocks, even multiples of that block size may be used, or the output may be automatically, or manually, padded to a multiple of that block size.
The MAC may be performed by a function key (AUT-Session-Key) 732. The data specified in the cryptogram may be processed with javacard. signature method: ALG_DES_MAC8_ISO9797_1_M2_ALG3 to correlate to EMV Authorization Request Cryptogram (ARQC) verification methods. The key used for this computation may comprise a session key AUT-Session-Key 732, as explained above. As explained above, the low order two bytes of the counter may be used to diversify for the one or more MAC session keys. As explained below, AUT-Session-Key 732 may be used to encrypt MAC data 706, and the resulting data or cryptogram A 714 and random number RND may be encrypted using DEK-Session-Key 710 to create cryptogram B or output 718 sent in the message.
In some examples, one or more Hardware Security Module (HSM) commands may be processed for decrypting such that the final 16 (binary, 32 hex) bytes may comprise a 3DES symmetric encrypting using cipher-block chain (CBC) mode with a zero IV of the random number followed by MAC authentication data. The key used for this encryption may comprise a session key DEK-Session-Key 710 derived from the Card-Key-DEK 720. In this case, an Application Transaction Value Counter (ATC) value for the session key derivation is the least significant byte of the pATC 704.
The format below represents a binary version example embodiment. Further, in some examples, the first byte may be set to ASCII ‘A’.
Another exemplary format is shown below. In this example, the tag may be encoded in hexadecimal format.
A Unique Identifier (UID) field of the received message may be extracted to derive, from master keys Iss-Key-AUTH 702 and Iss-Key-DEK 726, the card master keys (Card-Key-Auth 708 and Card-Key-DEK 720) for that particular card. Using the card master keys (Card-Key-Auth 708 and Card-Key-DEK 720), the counter (pATC) field of the received message may be used to derive the session keys (Aut-Session-Key 732 and DEK-Session-Key 710) for that particular card. Cryptogram B 718 may be decrypted using the DEK-Session-KEY, which yields cryptogram A 714 and RND, and RND may be discarded. The UID field may be used to look up the shared secret of the contactless card which, along with the Ver, UID, and pATC fields of the message, may be processed through the cryptographic MAC using the re-created Aut-Session-Key to create a MAC output, such as MAC′. If MAC′ is the same as cryptogram A 714, then this indicates that the message decryption and MAC checking have all passed. Then the pATC may be read to determine if it is valid.
During an authentication session, one or more cryptograms may be generated by the one or more applications. For example, the one or more cryptograms may be generated as a 3DES MAC using ISO 9797-1 Algorithm 3 with Method 2 padding via one or more session keys, such as Aut-Session-Key 732. Input data 706 may take the following form: Version (2), pUID (8), pATC (4), Shared Secret (4). In some examples, the numbers in the brackets may comprise length in bytes. In some examples, the shared secret may be generated by one or more random number generators which may be configured to ensure, through one or more secure processes, that the random number is unpredictable. In some examples, the shared secret may comprise a random 4-byte binary number injected into the card at personalization time that is known by the authentication service. During an authentication session, the shared secret may not be provided from the one or more applets to the mobile application. Method 2 padding may include adding a mandatory 0x′80′ byte to the end of input data and 0x′00′ bytes that may be added to the end of the resulting data up to the 8-byte boundary. The resulting cryptogram may comprise 8 bytes in length.
In some examples, one benefit of encrypting an unshared random number as the first block with the MAC cryptogram, is that it acts as an initialization vector while using CBC mode of the symmetric encryption algorithm. This allows the “scrambling” from block to block without having to pre-establish either a fixed or dynamic IV.
By including the pATC as part of the data included in the MAC cryptogram, the authentication service may be configured to determine if the value conveyed in the clear data has been tampered with. Moreover, by including that version in the one or more cryptograms, it is difficult for an attacker to purposefully misrepresent the application version in an attempt to downgrade the strength of the cryptographic solution. In some examples, the pATC may start at zero and be updated by 1 each time the one or more applications generates authentication data. The authentication service may be configured to track the pATCs used during authentication sessions. In some examples, when the authentication data uses a pATC equal to or lower than the previous value received by the authentication service, this may be interpreted as an attempt to replay an old message, and authentication may be rejected. In some examples, where the pATC is greater than the previous value received, this may be evaluated to determine if it is within an acceptable range or threshold, and if it exceeds or is outside the range or threshold, verification may be deemed to have failed or be unreliable. In the MAC operation 712, the data 706 is processed through the MAC using Aut-Session-Key 732 to produce MAC output (cryptogram A) 714, which is encrypted.
In order to provide additional protection against brute force attacks exposing the keys on the card, it is desirable that the MAC output (cryptogram A) 714 be enciphered. In some examples, data or cryptogram A 714 to be included in the ciphertext may comprise: Random number (8), cryptogram (8). In some examples, the numbers in the brackets may comprise length in bytes. In some examples, the random number may be generated by one or more random number generators which may be configured to ensure, through one or more secure processes, that the random number is unpredictable. The key used to encipher this data may comprise a session key. For example, the session key may comprise DEK-Session-Key 710. In the encryption operation 716, data or cryptogram A 714 and RND are processed using DEK-Session-Key 710 to produce encrypted data, cryptogram B 718. The MAC output (cryptogram A) 714 may be enciphered using 3DES in cipher block chaining mode to ensure that an attacker must run any attacks over all of the ciphertext. As a non-limiting example, other algorithms, such as Advanced Encryption Standard (AES), may be used. In some examples, an initialization vector of 0x′0000000000000000′ may be used. Any attacker seeking to brute force the key used for enciphering this data will be unable to determine when the correct key has been used, as correctly decrypted data will be indistinguishable from incorrectly decrypted data due to its random appearance.
In order for the authentication service to validate the one or more cryptograms provided by the one or more applets, the following data must be conveyed from the one or more applets to the mobile device in the clear during an authentication session: version number to determine the cryptographic approach used and message format for validation of the cryptogram, which enables the approach to change in the future; pUID to retrieve cryptographic assets, and derive the card keys; and pATC to derive the session key used for the cryptogram.
At block 804, issuer master keys may be diversified by combining them with the card's unique ID number (pUID) and a Personal Area Network (PAN) sequence number (PSN) of one or more applets, for example, a payment applet.
At block 806, Card-Key-Auth and Card-Key-DEK (unique card keys) may be created by diversifying the issuer master keys to generate session keys which may be used to generate a MAC cryptogram.
At block 808, the keys used to generate the MAC cryptogram and encipher data in the one or more applets may comprise the session keys of block 806 based on card unique keys (Card-Key-Auth and Card-Key-DEK). In some examples, these session keys may be generated by the one or more applets and derived by using a pATC, resulting in session keys Aut-Session-Key and DEK-Session-Key.
At block 904, the counter value may be encrypted by the sender using the data encryption master key to produce a data encryption derived session key, and the counter value may also be encrypted by the sender using the data integrity master key to produce a data integrity derived session key. In some examples, a whole counter value or a portion of the counter value may be used during both encryptions.
In some examples, the counter value may not be encrypted. In these examples, the counter may be transmitted between the sender and the recipient in the clear, i.e., without encryption.
At block 906, the data to be protected is processed with a cryptographic MAC operation by the sender using the data integrity session key and a cryptographic MAC algorithm. The protected data, including plaintext and shared secret, may be used to produce a MAC using one of the session keys (AUT-Session-Key).
At block 908, the data to be protected may be encrypted by the sender using the data encryption derived session key in conjunction with a symmetric encryption algorithm. In some examples, the MAC is combined with an equal amount of random data, for example each 8 bytes long, and then encrypted using the second session key (DEK-Session-Key).
At block 910, the encrypted MAC is transmitted, from the sender to the recipient, with sufficient information to identify additional secret information (such as shared secret, master keys, etc.), for verification of the described cryptogram.
At block 912, the recipient uses the received counter value to independently derive the two derived session keys from the two master keys as explained above.
At block 914, the data encryption derived session key is used in conjunction with the symmetric decryption operation to decrypt the protected data. Additional processing on the exchanged data will then occur. In some examples, after the MAC is extracted, it is desirable to reproduce and match the MAC. For example, when verifying the cryptogram, it may be decrypted using appropriately generated session keys. The protected data may be reconstructed for verification. A MAC operation may be performed using an appropriately generated session key to determine if it matches the decrypted MAC. As the MAC operation is an irreversible process, the only way to verify is to attempt to recreate it from source data.
At block 916, the data integrity derived session key is used in conjunction with the cryptographic MAC operation to verify that the protected data has not been modified.
Some examples of the methods described herein may advantageously confirm when a successful authentication is determined when the following conditions are met. First, the ability to verify the MAC shows that the derived session key was proper. The MAC may only be correct if the decryption was successful and yielded the proper MAC value. The successful decryption may show that the correctly derived encryption key was used to decrypt the encrypted MAC. Since the derived session keys are created using the master keys known only to the sender (e.g., the transmitting device) and recipient (e.g., the receiving device), it may be trusted that the contactless card which originally created the MAC and encrypted the MAC is indeed authentic. Moreover, the counter value used to derive the first and second session keys may be shown to be valid and may be used to perform authentication operations.
Thereafter, the two derived session keys may be discarded, and the next iteration of data exchange will update the counter value (returning to block 902) and a new set of session keys may be created (at block 910). In some examples, the combined random data may be discarded.
In block 1002, the card may be configured to dynamically generate data. In some examples, this data may include information such as an account number, card identifier, card verification value, or phone number, which may be transmitted from the card to the device. In some examples, one or more portions of the data may be encrypted via the systems and methods disclosed herein.
In block 1004, one or more portions of the dynamically generated data may be communicated to an application of the device via NFC or other wireless communication. For example, a tap of the card proximate to the device may allow the application of the device to read the one or more portions of the data associated with the card. In some examples, if the device does not comprise an application to assist in activation of the card, the tap of the card may direct the device or prompt a user to a software application store to download an associated application to activate the card. In some examples, the user may be prompted to sufficiently gesture, place, or orient the card towards a surface of the device, such as either at an angle or flatly placed on, near, or proximate the surface of the device. Responsive to a sufficient gesture, placement and/or orientation of the card, the device may proceed to transmit the one or more encrypted portions of data received from the card to the server.
In block 1006, the one or more encrypted portions of data may be communicated to one or more servers, such as a card issuer server. For example, the one or more encrypted portions of data may be transmitted from the device to the card issuer server for activation of the card.
In block 1008, the one or more servers may decrypt the one or more encrypted portions of data via the systems and methods disclosed herein. For example, the one or more servers may receive the encrypted portions of data from the device and may decrypt the same in order to compare received data to record data accessible to the one or more servers. If a resulting comparison of one or more decrypted portions of the data by the one or more servers yields a successful match, the card may be activated. If the resulting comparison of the one or more decrypted portions of the data by the one or more servers yields an unsuccessful match, one or more processes may take place. For example, responsive to a determination of the unsuccessful match, the user may be prompted to tap, swipe, or wave gesture the card again. In this case, there may be a predetermined threshold comprising a number of attempts that the user is permitted to activate the card. Alternatively, the user may receive a notification, such as a message on his or her device indicative of an unsuccessful attempt of card verification and to call, email or text an associated service for assistance to activate the card, or another notification, such as a phone call on his or her device indicative of the unsuccessful attempt of card verification and to call, email or text an associated service for assistance to activate the card, or another notification, such as an email indicative of the unsuccessful attempt of card verification and to call, email or text an associated service for assistance to activate the card.
In block 1010, the one or more servers may transmit a return message based on successful activation of the card. For example, the device may be configured to receive output from the one or more servers indicative of the successful activation of the card by the one or more servers. The device may be configured to display a message indicating the successful activation of the card. Once the card has been activated, the card may be configured to discontinue dynamically generating data so as to avoid fraudulent use. In this manner, the card may not be activated thereafter, and the one or more servers are notified that the card has already been activated.
As seen, the mobile device 1102 can include an interface 1104, a memory 1106, a processor 1112, and a display device 1114. The memory 1106 can be configured to store computer instructions configured to be executed by the processor 1112 to cause the processor 1112 to execute certain actions, and the computer instructions can be part of applications 1108 and/or an operating system 1110.
In some embodiments, the interface 1104 can include one or more antennas, such as a short-range communication antenna, one or more user interface devices, such as a keypad with hard or soft keys, and/or a camera, a scanner, a card reader, or another device capable of reading or capturing images, information, or data within its field of view. Additionally or alternatively, the interface 1104 can include a WiFi interface, a Bluetooth interface, an NFC interface, a serial bus interface, a universal serial bus (USB), and so forth.
In some embodiments, the memory 1106 can be any type of memory configured to store instructions to be processed by the processor 1112. Examples of the memory 1106 can include volatile or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writeable or re-writeable memory, and so forth.
In some embodiments, the processor 1112 can be any type of processor, microprocessor, circuit, circuit element (e.g., transistor, resistor, capacitor, inductor, and so forth), integrated circuit, application specific integrated circuit (ASIC), programmable logic device (PLD), digital signal processor (DSP), field programmable gate array (FPGA), multi-core processor, and so forth.
In some embodiments, the display device 1114 can include a display screen or other output device for displaying data, information, and/or graphics to a user of the mobile device 104.
As explained above, the memory 1106 can include the applications 1108 and/or the operating system 1110. The applications 1108 can include any type of application configured to operate on the mobile device 1102. For example, the applications 1108 can include business applications, social networking applications, communication applications, business productivity applications (e.g., email, word processor, spreadsheet, etc.), storefront applications, money transfer applications, gaming applications, merchant applications, shopping mobile applications, and so forth. Of particular relevance to some embodiments disclosed herein, the applications 1108 can include mobile banking applications and/or mobile credit card applications.
The applications 1108 can be configured to operate within the operating system 1110. In some embodiments, the operating system 1110 can be an Android® operating system, Apple iOS® operating system, Windows Mobile Operating System®, and so forth. The operating system 1110 can be configured to provide services and instructions that execute and enable the applications 1108 to operate with hardware. For example, the operating system 1110 can be configured to operate with the hardware associated with the processor 1112 to process detections made by the interface 1104 and/or to transmit corresponding signals and data via the interface 1104. In some embodiments, the operating system 1110 can provide data to the applications 1108 processed by the operating system 1110. The applications 1108 can process such data, including performing authentications of the data, communicating the data to other devices or servers, and so forth. In some embodiments, at least a portion of the operating system 1110 can be configured to perform one or more authentication steps.
As seen, the server device 1202 can include an interface 1204, a memory 1206, and a processor 1208. The memory 1206 can be configured to store computer instructions configured to be executed by the processor 1208 to cause the processor 1208 to execute certain actions. The computer instructions can be part of an operating system 1210.
In some embodiments, the interface 1204 can be wired or wireless. For example, the interface 1204 can include a WiFi interface, a Bluetooth interface, an NFC interface, a serial bus interface, a universal serial bus (USB), and so forth.
In some embodiments, the memory 1206 can be any type of memory configured to store instructions to be processed by the processor 1208. Examples of the memory 1206 can include volatile or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writeable or re-writeable memory, and so forth.
In some embodiments, the processor 1208 can be any type of processor, microprocessor, circuit, circuit element (e.g., transistor, resistor, capacitor, inductor, and so forth), integrated circuit, application specific integrated circuit (ASIC), programmable logic device (PLD), digital signal processor (DSP), field programmable gate array (FPGA), multi-core processor, and so forth.
As explained above, the memory 1206 can include the operating system 1210. In some embodiments, the operating system 1210 can include a Microsoft Windows server operating system, a Linux/Unix server operating system, a cloud server operating system, such as an Amazon AWS operating system, and so forth. The operating system 1210 can be configured to provide services and instructions that execute to operate with hardware. For example, the operating system 1210 can be configured to operate with the hardware associated with the processor 1208 to process signals and data received by the interface 1204, including performing authentication of such data and locking or unlocking contactless cards associated therewith. In some embodiments, at least a portion of the operating system 1210 can be configured to perform one or more authentication steps.
In some embodiments, the server device 1306 can set and start a timer associated with the contactless card 1304 thereon. The server device 1306 can also identify when the timer expires and lock the contactless card 1304 thereafter. In this regard, the server device 1306 can store data related to the customer account thereon, including an identification of the contactless card 1304 being locked when the server device 1306 locks the contactless card 1304. When the contactless card 1304 is locked, the contactless card 1304 and all card payment data associated therewith will be unusable while the contactless card 1304 is locked. As such, when the server device 1306 receives a request to authorize a transaction initiated in connection with the contactless card 1304, the server device 1306 will deny the transaction when the server device 1306 identifies in its data that the contactless card 1304 is locked.
The server device 1306 can set and start the timer responsive to a plurality of different input. For example, in some embodiments, the server device 1306 can set and start the timer responsive to user input received via the mobile device 1302 such that the user input can identify a timer value for the timer. Additionally or alternatively, in some embodiments, the server device 1306 can set and start the timer responsive to input from the contactless card 1304 received via the mobile device 1302, such as a cryptogram that the mobile device 1302 receives from the contactless card 1304. Additionally or alternatively, in some embodiments, the server device 1306 can set and start the timer at some predetermined time of day such that the predetermined time of day can be identified via user input received at some other time of day. Additionally or alternatively, in some embodiments, the server device 1306 can set and start the timer responsive the server device 1306 processing a transaction associated with the contactless card 1304.
After the contactless card 1304 has been locked, the server device 1306 can unlock the contactless card 1304 when predetermined conditions have been satisfied. For example, in some embodiments, a user can tap or otherwise bring the contactless card 1304 within a communication range of the mobile device, and the mobile device 1302 can read a cryptogram from the contactless card 1304 and/or the contactless card 1304 can transmit the cryptogram to the mobile device 1302. In operation, the mobile device 1302 can transmit the cryptogram to the server device 1306, and the server device 1306 can decrypt the cryptogram to authenticate the contactless card 1304. After the server device 1306 authenticates the contactless card 1304, the server device 1306 can unlock the contactless card 1304. That is, the server device 1306 can include an identification of the contactless card 1304 being unlocked in the data stored thereon related to the customer account associated with the contactless card 1304. As such, when the server device 1306 receives a request to authorize a transaction initiated in connection with the contactless card 1304, the server device 1306 can authorize the transaction when the server device 1306 identifies in its data that the contactless card 1304 is unlocked, absent any other reason to deny the transaction.
As explained above, the contactless card 1304 can be associated with the customer account. As such, in some embodiments, the server device 1306 can identify the customer account to authenticate the contactless card 1304. In particular, in some embodiments, the server device 1306 can decrypt protected data in the cryptogram and compare the protected data to record data associated with the customer account and stored on the server device 1306. When the protected data matches the record data, the server device 1306 can authenticate the contactless card 1304.
In some embodiments, the server device 1306 can also verify that a user of the contactless card 1304 is logged into a mobile application or a web account that is associated with the contactless card 1304 and/or the customer account. For example, in some embodiments, the server device 1306 can verify such secured access to the mobile application or the web account prior to authenticating the contactless card 1304. Additionally or alternatively, in some embodiments, the mobile device 1302 can be disabled from receiving the cryptogram from the contactless card 1304 and/or the mobile device 1302 can be disabled from transmitting the cryptogram to the server device 1306 unless and until the server device 1306 verifies such secured access to the mobile application or the web account. In some embodiments, such secured access can be contemporaneous with receiving the cryptogram and/or authenticating the contactless card.
It is to be understood that, in some embodiments, the contactless card 1304 will not be authenticated unless the contactless card 1304 has been registered with the server device 1306 so as to be associated with the customer account. In this regard, without such registration and association, the server device 1306 may not be capable of decrypting the cryptogram and/or the protected data in the cryptogram, for example, due to lacking required keys and the like. Additionally or alternatively, without such registration and association, the server device 1306 may be able to decrypt the cryptogram and/or the protected data in the cryptogram, but may not be able to match the protected data to any record data stored for registered cards. In this regard and as explained above, the contactless card 1304 can be associated with the customer account in a database or a data store maintained by the server. As such, the mobile device 1302 can provide the cryptogram received from the contactless card 1304 as well identifying data to the server device 1306, and the server device 1306 can utilize such received information to identify the customer account and verify that the customer account is associated with the contactless card 1304.
As seen, the method 1400 can include identifying when a timer associated with a contactless card expires as in 1402. In some embodiments, the timer can be set and started responsive to user input received via a mobile device in communication with the server device such that the user input can identify a timer value for the timer. Additionally or alternatively, in some embodiments, the timer can be set and started responsive to input from the contactless card received via the mobile device. Additionally or alternatively, in some embodiments, the timer can be set and started at some predetermined time of day. Additionally or alternatively, in some embodiments, the timer can be set and started responsive to processing a transaction associated with the contactless card.
In any embodiment, after the timer has expired, the method 1400 can include locking the contactless card as in 1404. For example, an indication of the contactless card being locked can be included in data related to a customer account associated with the contactless card and stored on the server device.
After the contactless card has been locked, the method 1400 can include receiving, via a short-range communication antenna of the mobile device, a cryptogram from the contactless card as in 1406. For example, a user can tap or otherwise bring the contactless card within a communication range of the mobile device, the mobile device can read the cryptogram from the contactless card and/or the contactless card can transmit the cryptogram to the mobile device, and the mobile device can transmit the cryptogram to the server device.
Then, the method 1400 can include successfully decrypting the cryptogram to authenticate the contactless card as in 1408. In some embodiments, the customer account can be identified to authenticate the contactless card. In particular, in some embodiments, protected data in the cryptogram can be decrypted and compared to record data associated with the customer account and stored on the server device. When the protected data matches the record data, the contactless card can be authenticated.
In any embodiment, when the contactless card has been authenticated, the method 1400 can also include unlocking the contactless card as in 1410. For example, an indication of the contactless card being unlocked can be included in the data related to the customer account associated with the contactless card and stored on the server device.
In some embodiments, the method 1400 can also include verifying secured access, such as via a user login, to a mobile application or a web account that is associated with the contactless card and/or the customer account. In some embodiments, the method 1400 can verify such secured access prior to authenticating the contactless card as disclosed and described herein. Additionally or alternatively, in some embodiments, the method 1400 can verify that such secured access is contemporaneous with authenticating the contactless card.
Optionally, at 1710, a mobile device 1704 can transmit input to the server 1706 for setting and starting a timer associated with a contactless card 1702. For example, in some embodiments, the mobile device 1704 can transmit user input to the server 1706 such that the user input can identify a time value for the timer. Additionally or alternatively, in some embodiments, the mobile device 1704 can receive input from the contactless card 1702 at 1708, and the mobile device 1704 can transmit that input to the server 1706 for setting and starting the timer. Additionally or alternatively, in some embodiments, the mobile device 1704 can transmit user input to the server 1706 such that the user input can identify a predetermined time of day for the timer and can be provided at some other time of day. Additionally or alternatively, in some embodiments, the mobile device 1704 can transmit a signal to initiate a transaction associated with the contactless card 1702, processing of which by the server 1706 can trigger setting and starting the timer.
Regardless of how the timer is set and started, the server 1706 can monitor the timer to identify when the timer expires at 1712. Then, at 1714, the server 1706 can lock the contactless card 1702 when the timer expires. For example, the server 1706 can store an identification of the contactless card 1702 being locked in data stored thereon related to the contactless card 1702 and/or a customer account associated with the contactless card 1702. Optionally, at 1716, the server 1706 can transmit a signal to the mobile device 1704 to notify a user thereof that the contactless card 1702 has been locked.
At 1718, the contactless card 1702 can be tapped on or brought within a communication range of the mobile device 1704 and can exchange information with the mobile device 1704. Line 1718 can represent communication between the contactless card 1702 and the mobile device 1704 and can include a cryptogram stored on the contactless card 1702 and provided to the mobile device 1704. In some embodiments, protected data in the cryptogram can be encrypted using systems and methods described herein, for example, as discussed in
In some embodiments, communications between the contactless card 1702 and the mobile device 1704 can include NFC communications in accordance with one or more NFC protocols. However, embodiments disclosed herein are not so limited and can include other wireless technologies in addition to NFC or as an alternative to NFC, such as other short-range communication protocols.
In some embodiments, the mobile device 1704 can operate as a pass-through and, at 1720, transmit the cryptogram and other data to the server 1706. Upon receipt of the cryptogram, the server 1706 can decrypt the cryptogram to authenticate the contactless card 1702 at 1722, for example, as discussed in
After decrypting the cryptogram, the server 1706 can unlock the contactless card 1702 at 1724. For example, the server 1706 can store an identification of the contactless card 1702 being unlocked in the data stored thereon related to the contactless card 1702 and/or the customer account associated with the contactless card 1702. Optionally, at 1726, the server 1706 can transmit a signal to the mobile device 1704 to notify the user thereof that the contactless card 1702 has been unlocked.
It is to be understood that the server 1706 can process any data, information, and/or requests received from the mobile device 1704 either partially or fully. For example, in some embodiments, the server 1706 can decrypt the cryptogram. Additionally or alternatively, in some embodiments, the server 1706 can compare received, processed, or retrieved data to data stored thereon for identification of additional data and/or for identification of matches therebetween.
It is also to be understood that the mobile device 1704 can communicate with the server 1706 via one or more wireless and/or wired connections. For example, in some embodiments, the mobile device 1704 can transmit any data, information, or requests to one or more application program interfaces (APIs) hosted by the server 1706. Additionally or alternatively, in some embodiments, the mobile device 1704 can transmit any data, information, or requests to one or more APIs hosted by a third party, such as a cloud-computing provider.
As used in this application, the terms “system” and “component” are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution, examples of which are provided by the exemplary computing computer architecture 1500. For example, a component can be, but is not limited to being, a process running on a processor, a processor, a hard disk drive, multiple storage drives (of optical and/or magnetic storage medium), an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a server and the server can be a component. One or more components can reside within a process and/or thread of execution, and a component can be localized on one computer and/or distributed between two or more computers. Further, components may be communicatively coupled to each other by various types of communications media to coordinate operations. The coordination may involve the uni-directional or bi-directional exchange of information. For instance, the components may communicate information in the form of signals communicated over the communications media. The information can be implemented as signals allocated to various signal lines. In such allocations, each message is a signal. Further embodiments, however, may alternatively employ data messages. Such data messages may be sent across various connections. Exemplary connections include parallel interfaces, serial interfaces, and bus interfaces.
The computing architecture 1500 includes various common computing elements, such as one or more processors, multi-core processors, co-processors, memory units, chipsets, controllers, peripherals, interfaces, oscillators, timing devices, video cards, audio cards, multimedia input/output (I/O) components, power supplies, and so forth. The embodiments, however, are not limited to implementation by the computing architecture 1500.
As shown in
The system bus 1506 provides an interface for system components including, but not limited to, the system memory 1504 to the processor 1512. The system bus 1506 can be any of several types of bus structure that may further interconnect to a memory bus (with or without a memory controller), a peripheral bus, and a local bus using any of a variety of commercially available bus architectures. Interface adapters may connect to the system bus 1506 via slot architecture. Example slot architectures may include without limitation Accelerated Graphics Port (AGP), Card Bus, (Extended) Industry Standard Architecture ((E) ISA), Micro Channel Architecture (MCA), NuBus, Peripheral Component Interconnect (Extended) (PCI(X)), Peripheral Component Interconnect (PCI) Express, Personal Computer Memory Card International Association (PCMCIA), and the like.
The computing architecture 1500 may include or implement various articles of manufacture. An article of manufacture may include a computer-readable storage medium to store logic. Examples of a computer-readable storage medium may include any tangible media capable of storing electronic data, including volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writeable or re-writeable memory, and so forth. Examples of logic may include executable computer program instructions implemented using any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, object-oriented code, visual code, and the like. Embodiments may also be at least partly implemented as instructions contained in or on a non-transitory computer-readable medium, which may be read and executed by one or more processors to enable performance of the operations described herein.
The system memory 1504 may include various types of computer-readable storage media in the form of one or more higher speed memory units, such as ROM, RAM, dynamic RAM (DRAM), Double-Data-Rate DRAM (DDRAM), synchronous DRAM (SDRAM), static RAM (SRAM), programmable ROM (PROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, polymer memory such as ferroelectric polymer memory, ovonic memory, phase change or ferroelectric memory, silicon-oxide-nitride-oxide-silicon (SONOS) memory, magnetic or optical cards, an array of devices such as Redundant Array of Independent Disks (RAID) drives, solid state memory devices (e.g., USB memory, solid state drives (SSD) and any other type of storage media suitable for storing information. In the illustrated embodiment shown in
A computer 1502 may include various types of computer-readable storage media in the form of one or more lower speed memory units, including an internal (or external) hard disk drive 1530, a magnetic disk drive 1516 to read from or write to a removable magnetic disk 1520, and an optical disk drive 1528 to read from or write to a removable optical disk 1532 (e.g., a CD-ROM or DVD). The hard disk drive 1530, magnetic disk drive 1516 and optical disk drive 1528 can be connected to system bus 1506 by a hard disk drive (HDD) interface 1514, and a floppy disk drive (FDD) interface 1518, and an optical disk drive interface 1534, respectively. The HDD interface 1514 for external drive implementations can include at least one or both of Universal Serial Bus (USB) and IEEE 1394 interface technologies.
The drives and associated computer-readable media provide volatile and/or nonvolatile storage of data, data structures, computer-executable instructions, and so forth. For example, a number of program modules can be stored in the drives and non-volatile 1508, and volatile 1510, including an operating system 1522, one or more applications 1542, other program modules 1524, and program data 1526. In one embodiment, the one or more applications 1542, other program modules 1524, and program data 1526 can include, for example, the various applications and/or components of the systems discussed herein.
A user can enter commands and information into the computer 1502 through one or more wire/wireless input devices, for example, a keyboard 1550 and a pointing device, such as a mouse 1552. Other input devices may include microphones, infra-red (IR) remote controls, radio-frequency (RF) remote controls, game pads, stylus pens, card readers, dongles, finger print readers, gloves, graphics tablets, joysticks, keyboards, retina readers, touch screens (e.g., capacitive, resistive, etc.), trackballs, track pads, sensors, styluses, and the like. These and other input devices are often connected to the processor 1512 through an input device interface 1536 that is coupled to the system bus 1506 but can be connected by other interfaces such as a parallel port, IEEE 1394 serial port, a game port, a USB port, an IR interface, and so forth.
A monitor 1544 or other type of display device is also connected to the system bus 1506 via an interface, such as a video adapter 1546. The monitor 1544 may be internal or external to the computer 1502. In addition to the monitor 1544, a computer typically includes other peripheral output devices, such as speakers, printers, and so forth.
The computer 1502 may operate in a networked environment using logical connections via wire and/or wireless communications to one or more remote computers, such as a remote computer(s) 1548. The remote computer(s) 1548 can be a workstation, a server computer, a router, a personal computer, portable computer, microprocessor-based entertainment appliance, a peer device or other common network node, and typically includes many or all the elements described relative to the computer 1502, although, for purposes of brevity, only a memory and/or storage device 1558 is illustrated. The logical connections depicted include wire/wireless connectivity to a local area network 1556 and/or larger networks, for example, a wide area network 1554. Such LAN and Wide Area Network (WAN) networking environments are commonplace in offices and companies, and facilitate enterprise-wide computer networks, such as intranets, all of which may connect to a global communications network, for example, the Internet.
When used in a local area network 1556 networking environment, the computer 1502 is connected to the local area network 1556 through a wire and/or wireless communication network interface or network adapter 1538. The network adapter 1538 can facilitate wire and/or wireless communications to the local area network 1556, which may also include a wireless access point disposed thereon for communicating with the wireless functionality of the network adapter 1538.
When used in a wide area network 1554 networking environment, the computer 1502 can include a modem 1540, or is connected to a communications server on the wide area network 1554 or has other means for establishing communications over the wide area network 1554, such as by way of the Internet. The modem 1540, which can be internal or external and a wire and/or wireless device, connects to the system bus 1506 via the input device interface 1536. In a networked environment, program modules depicted relative to the computer 1502, or portions thereof, can be stored in the remote memory and/or storage device 1558. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers can be used.
The computer 1502 can be operable to communicate with wired and wireless devices or entities using the IEEE 802 family of standards, such as wireless devices operatively disposed in wireless communication (e.g., IEEE 802.11 over-the-air modulation techniques). This includes at least Wi-Fi (or Wireless Fidelity), WiMax, and Bluetooth™ wireless technologies, among others. Thus, the communication can be a predefined structure as with a conventional network or simply an ad hoc communication between at least two devices. Wi-Fi networks use radio technologies called IEEE 802.11 (a, b, g, n, etc.) to provide secure, reliable, fast wireless connectivity. A Wi-Fi network can be used to connect computers to each other, to the Internet, and to wire networks (which use IEEE 802.3-related media and functions).
The various elements of the devices as previously described herein may include various hardware elements, software elements, or a combination of both. Examples of hardware elements may include devices, logic devices, components, processors, microprocessors, circuits, processors, circuit elements (e.g., transistors, resistors, capacitors, inductors, and so forth), integrated circuits, application specific integrated circuits (ASICs), PLDs, DSPs, field programmable gate array (FPGA), memory units, logic gates, registers, semiconductor device, chips, microchips, chip sets, and so forth. Examples of software elements may include software components, programs, applications, computer programs, application programs, system programs, software development programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, procedures, software interfaces, APIs, instruction sets, computing code, computer code, code segments, computer code segments, words, values, symbols, or any combination thereof. However, determining whether an embodiment is implemented using hardware elements and/or software elements may vary in accordance with any number of factors, such as desired computational rate, power levels, heat tolerances, processing cycle budget, input data rates, output data rates, memory resources, data bus speeds and other design or performance constraints, as desired for a given implementation.
The components and features of the devices described above may be implemented using any combination of discrete circuitry, ASICs, logic gates and/or single chip architectures. Further, the features of the devices may be implemented using microcontrollers, programmable logic arrays and/or microprocessors or any combination of the foregoing where suitably appropriate. It is noted that hardware, firmware and/or software elements may be collectively or individually referred to herein as “logic” or “circuit.”
As shown in
The client(s) 1602 and the server(s) 1604 may communicate information between each other using a communication framework 1610. The communication framework 1610 may implement any well-known communications techniques and protocols. The communication framework 1610 may be implemented as a packet-switched network (e.g., public networks such as the Internet, private networks such as an enterprise intranet, and so forth), a circuit-switched network (e.g., the public switched telephone network), or a combination of a packet-switched network and a circuit-switched network (with suitable gateways and translators).
The communication framework 1610 may implement various network interfaces arranged to accept, communicate, and connect to a communications network. A network interface may be regarded as a specialized form of an input/output (I/O) interface. Network interfaces may employ connection protocols including without limitation direct connect, Ethernet (e.g., thick, thin, twisted pair 10/100/1000 Base T, and the like), token ring, wireless network interfaces, cellular network interfaces, IEEE 802.7a-x network interfaces, IEEE 802.16 network interfaces, IEEE 802.20 network interfaces, and the like. Further, multiple network interfaces may be used to engage with various communications network types. For example, multiple network interfaces may be employed to allow for the communication over broadcast, multicast, and unicast networks. Should processing requirements dictate a greater amount speed and capacity, distributed network controller architectures may similarly be employed to pool, load balance, and otherwise increase the communicative bandwidth required by client(s) 1602 and the server(s) 1604. A communications network may be any one and the combination of wired and/or wireless networks including without limitation a direct interconnection, a secured custom connection, a private network (e.g., an enterprise intranet), a public network (e.g., the Internet), a PAN, a LAN, a Metropolitan Area Network (MAN), an Operating Missions as Nodes on the Internet (OMNI), a WAN, a wireless network, a cellular network, and other communications networks.