Contactless payment cards, which use embedded radio frequency identification technology to complete credit and debit transactions wirelessly, may offer more security than the traditional magnetic stripe card, but theyre not impervious to attack.
Thats not to say that strong countermeasures arent available in cards issued by the major credit card brands. The key security elements in use today include methods of validating the card and reader as well as the use of triple DES encryption of message data and issuance of a dynamic card verification value (DCVV) that securely validates each transaction with a unique code.
Consider what happens when a transaction request is submitted for a MasterCard account using the card associations PayPass-branded contactless card technology. Before the wireless transaction is initiated, the contactless card interrogates the terminal to ensure that its a valid device. Then MasterCard Internationals network identifies and validates the card based on information residing in the cards on-board chip and validates the reader involved in the transaction as well.
The MasterCard network also keeps a tally of the total number of transactions processed by the customers contactless card to date and can compare that against similar data stored on the cards chip.
If someone steals your number and puts it on a magnetic stripe [card], the bank knows right away its a mismatch, says Art Cransley, executive vice president and group executive in the advanced payments customer group at MasterCard.
Even if a fraudulent card could fool the network into thinking it was a valid card, the transaction request wont be approved unless the contactless card returns the correct DCVV code. That number is generated based on transaction information, the transaction counter and a random number, and it must match the number the MasterCard calculates on its end, Cransley says. That number, and other data associated with the transaction, is then encrypted using a triple DES key thats unique to the customers card before it is sent. No one can type into a transaction and change it. No one can steal the information and create PayPass card, he says. Other card brands use similar technologies, Cransley says.
That approach makes skimming -- placing a reader next to a contactless card to pull the information off of it and create a duplicate -- very difficult. Even if a rogue reader could trick the contactless payment card into thinking it was a valid device, theres not a lot that the eavesdropper can do with that information, says Ken Warren, smart card business manager at Cryptography Research, a San Francisco IP licensing company focused on information security.
But John Pescatore, an analyst at Gartner Inc., questions whether all of the contactless cards out there have these security measures in place. If encryption is used, and used correctly, it can provide strong security. However, some early investigations [last year] showed that many of the [contactless] cards were issued without even enabling the encryption, he says. And the back-end systems also must be protected. As the TJX incident showed, if you dont protect encryption keys, encryption is useless, he says.
Using contactless smart cards is pretty robust, provided you cant extract the secrets from within the chips, Warren says. But he thinks that a differential power analysis (DPA) could eventually do that. His company develops and licenses technologies that can be used as countermeasures to DPA and other types of attacks.
An attack known as simple power analysis (SPA) has been used in the past to compromise the PIN codes on ATM cards and other smart cards that dont have countermeasures in place. In this scenario, a fake front on an ATM machine or card reader might be used to gather data from the cards magnetic stripe while a transaction takes place. The attacker attempts to guess the PIN code by monitoring the power levels as the system receives and authenticates the submitted PIN. Most contactless cards have countermeasures in place that render this approach ineffective.
While an SPA attempts to glean information gathered from one transaction, a DPA is more sophisticated and could be used against contactless payment cards. Anytime the chip or any device does something, it consumes power in some way, Warren says. With a DPA, you collect thousands of power traces and with statistical methods isolate small signals across thousands of transactions. In this way, he says, the perpetrator can glean the encryption keys by measuring power patterns.
Differential power analysis, glitch attacks and other attacks require physical access to the contactless card or to the terminals reading the cards in order to intercept those power signals. Since a DPA requires thousands of passes against the same card to break it, the attacker almost certainly would need to have possession of a target card. Those attacks are definitely harder, but people lose or misplace their cards all the time, says Pescatore.
But the work involved would result in a limited payday. With most payment systems today, Warren says, if youve broken one card, youve broken access to one card or account.
Contactless cards have one other potential Achilles heel: The DCVV value isnt truly random. Its random in that it doesnt reveal the data structure, but it is deterministic, says Warren.
If the DCVV is at all predictable, bad guys will figure out how to predict it and use it for fraud. It definitely makes fraud harder, which is important, but it is definitely not a silver bullet, says Pescatore.
Clues as to how the algorithm works can be obtained from specifications, Warren says. And a DPA attack could potentially leverage that weakness as well. SPA or DPA can provide information to assist in reverse-engineering the program/algorithm flow. With such understanding and access to the keys, the attacker could generate valid codes, he says.
But will would-be hackers do all of that work? As contactless cards come into wider use, Warren says more sophisticated attacks will evolve to the point where cloning may become possible. Cards will then require a higher level of security.
But that next generation of card security is already waiting in the form of Dynamic data authentication (DDA), a challenge/response system based on public key infrastructure. In this scheme, each card has a public/private key pair that it exchanges with the network. When you get into a dynamic data protocol, you can generate genuinely random challenges and responses, Warren says. The strength of this approach is that the challenge is unique for each session. The card generates a unique verification signature code and the terminal determines that it is correct by combining that code with the public key.
But additional security will mean increased costs. Pescatore questions whether the industry will go as far as it needs to. Since merchants often eat most of the cost of fraud, the card associations never seem motivated enough to make sure security is done right. he says, adding that that attitude appears to be slowly changing.
Warren says current countermeasures, if fully implemented, are adequate for the threats presented today, and he thinks contactless cards that use those countermeasures are far superior to the magnetic stripe technology they replace.
The need for DDA, he says, isnt here yet. In principle, if you could copy that [contactless payment] card and the data stored internally, you could re-create that card, Warren says. That type of attack is not impossible but its way up there in difficulty and hackers are likely to focus on easier targets -- for now.
But that could change once the technology gains widespread acceptance. I dont think youll see that [type of fraud] happening for five or 10 years yet, he says. Most of the world is still moving from magnetic stripe to chip.