Prevent copying nfc chip signal

偶尔善良 提交于 2019-12-22 10:37:06

问题


I'm wondering if NFC chips have some kind of unique identifier? I have Mifare Classic 1K and Mifare Ultralight C stickers that I want NFC phones to read using my android application, is there some common practice to protect the signal so someone can't just come in and scan the data using a generic app (NFC Reader), and write the data to another chip in order to fake my sticker signal. Or, is there a unique ID like how phone UUID works built in these chips?


回答1:


I'm afraid with tags there is always the risk of evesdropping, man-in-the-middle or relay attacks. The best you could hope for would be encrypt the data using a pre-known secret on your device and the tag.

This still has the risk of the secret being found out and then copied.

NFC really isn't designed to be a highly secure platform.

For device to device you can implement protocols on TOP of the existing NFC stack (such as SSL) however this wouldn't work with pre-generated tags.




回答2:


Yes each chip has an unique identifier, however the comments from the other people here about lack of security are of concern as this is the currently (growing) preferred hardware platform of choice for financial transactions of the future.

Cloning is a greater challenge than just sucking the data off one chip and replicating it on another.

What specific usage did you envisage for your 'highly secure' Android application?




回答3:


You have MIFARE Ultralight C tags. These tags have functionality that allows one to protect access to data stored on the tag to be protected by 3DES-based authentication. That would prevent unauthorized read access.

In general, I would recommend against using the tag's unique ID as a security feature.



来源:https://stackoverflow.com/questions/11021894/prevent-copying-nfc-chip-signal

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!