r/AskComputerScience • u/MrZer • Aug 11 '19
How secure are contactless cards?
In the US, I know people are getting contactless cards when their cards expire. I feel like we were just introduced to the chip a few years ago. How secure are these contactless cards compared to the chip and stripe?
-2
u/Ragingman2 Aug 11 '19
There are many flaws in the contactless cards, especially with regard to cloning and leaking personal information.
You can find a few interesting talks about the subject if you look up "NFC credit card DEFCON" on YouTube.
4
u/splunke Aug 11 '19
What personal information is being leaked though? It should just be card number and expiry date right?
0
Aug 11 '19 edited Aug 11 '19
It should just be card number and expiry date right?
I wouldn't say that's a safe assumption. In fact, what's broadcast by the chip is really very, very different from what's written on the card.
The DEFCON talk referred to above is a good place to look: they were getting transaction data.
0
u/urielsalis Aug 12 '19
Only some cards store that information, read mine(you can do it with any android phone) and it doesnt even have my name
The most dangerous data that you can read is the card number and expiry, if you have long enough contact with a powerful enough antenna to run the 6/7 commands required to do that. And at that point you just get a rfid safe wallet and they cannot do anything
-16
u/superdmp Aug 11 '19
Not secure!
Contactless cards, or RFID cards are the easiest for bad actors to duplicate. They need only be within 18 inches of the card with a scanning device, and can grab all of the data off the RFID chip.
The magnetic stripe at least requires the actor to have a swipe of the card, though that is not as secure as we need these days.
EMV "chip" cards are the most secure of all options. the EMV chip encodes the transaction for transmission, so it makes it extremely difficult for a bad actor to duplicate the key stored in the chip or send a fraudulent transaction without the actual card.
EMV though can be duplicated, it is just that it is significantly more difficult for hackers to do.
7
u/TotallyHumanGuy Aug 11 '19
That's not how it works at all. See the top reply. Theres a tiny computer inside them that generates a unique key for each transaction, which is then verified by the bank using the same algorithm
-4
u/superdmp Aug 11 '19
Those are the EMV chips you are talking about; RFID cards do NOT have "tiny computers inside them".
7
u/TotallyHumanGuy Aug 12 '19
The EMV chips handle both the physical insertion and the RFID. There is no functional difference between the two
-5
u/superdmp Aug 12 '19
I don't know who told you that, but it is wrong. RFID requires an antenna in addition to the circuitry. The EMV chips have no antenna.
5
u/TotallyHumanGuy Aug 12 '19
The EMV chip itself has no antenna, but the card has an antenna coiled around the edge of the card, as shown here, that links into the EMV chip
-2
u/superdmp Aug 12 '19
No, they are two different technologies. I work in finance, I know what I'm talking about. But here is an article from someone else since you don't believe me.
https://www.ibricraft.com/6-questions-about-rfid-nfc-and-emv-to-know-more/
5
u/TotallyHumanGuy Aug 12 '19
Although NFC is most often associated with mobile phone payments and EMV is most often associated with chipped cards, both technologies can actually be used in both payment options. The NFC chip in mobile phones can also be used for contactless chip cards, and the encryption that protects payment information on both is the EMV standard.
I was using the wrong wording. But my point stands. The NFC information uses the same standards as the EMV chip and offers the same level of security, which means that you cannot skim a bank card
28
u/kintar1900 Aug 11 '19 edited Aug 11 '19
Source: Former lead software architect for a card personalization bureau, current lead architect for a transaction processor.
When the credit card processor correctly implements their card program, chip cards (and even NFC chip cards) are FAR more secure than a stripe+PIN card.
ELI5 version : Chip cards use a (much more complicated) variant of the same technology that secures web browser sessions. For each transaction you run, a new set of keys are created to protect the information in the transaction, one by the terminal, and one by the chip on the card. The keys used for that transaction are very well protected by the terminal and the card, and can only be used ONCE before they are invalid. So even if someone manages to "skim" your chip with a special reading device, the best they can do it get a key that they can use once.
I could write a twenty-page post for the non-ELI5 version, but let me just put it this way: I've worked in the industry for over fifteen years now. In that time, I've been personally involved in the analysis of three large fraud cases, and aware of a handful more. All of those cases boil down to human error or social engineering against the storage of the private keys used by some trusted entity in the chain of custody, like someone leaking a key or malware being installed on a point-of-sale device. Never once have I heard of an exploitation of an NFC card leading to more than a single fraudulent transaction.
EDIT: I should probably point out that there are many cases of multiple fraudulent transactions on a chip-based card. In every case I've ever encountered, it's because the card has been used in stripe-only mode somewhere, and the information on the stripe was stolen and used to replicate the card. Most card programs these days have extra monitoring and/or hard limits on stripe-only transactions for this very reason.