Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

It is possible to read protected NFC tags in iOS?

News that in iOS 11 Apple now support reading NFC tags for iPhone 7/7 Plus and above.

I found some demos but don't know if there is a way to read protected NFC tags. For example, travel documents have embedded NFC tags that are protected from unsafe reading. I searched around NFC NDEF protocols in Apple documentation but there is no functions that require a challenge/handshake for NFC tags. Is there a way to interact with these types of NFC tags?

like image 534
Andrey M. Avatar asked Jun 08 '17 07:06

Andrey M.


People also ask

Can iOS read NFC tags?

In summary. With the upgrade to iOS 13+, all iPhone 7 and newer can read and write an NFC Tags. The NFC behavior of iPhones updated to iOS 13 (and later) is very similar to that of Android smartphones: for NFC Tag programming, an application is required (as for Android);

Does iPhone need to be unlocked for NFC?

Yes, NFC on iPhone is locked down, but it's only through software. A popular jailbreak developer, Elias Limneos, has broken through the wall. He successfully made his iPhone respond to NFC-enabled devices other than Apple Pay readers. He even posted a YouTube video of the process, because pictures or it never happened.


1 Answers

Important note: The answer below was true for Core NFC in iOS 11. A lot has happened since then. In 2019, Apple added many enhancements to Core NFC. The API now provides access to lower protocol layers (such as exchanging APDUs with contactless smartcards (ISO/IEC 14443-4), and sending commands to MIFARE (and potentially, but not verified, other ISO 14443-3A tags), FeliCa, and ISO/IEC 15693 tags).

The Core NFC overview page announces that as:

Your app can also write data to tags, and interact with protocol specific tag such as ISO 7816, ISO 15693, FeliCa™, and MIFARE® tags.


Answer from 2017:

No, Core NFC only works with NFC tag that are NDEF formatted. Thus, you can only interact with NFC tags that adhere to the NDEF (NFC Data Exchange Format) hardware abstraction layer specified by the NFC Forum. Specifically, with NFC Forum tag types 1 to 5.

Core NFC overview page:

Reading NFC NDEF tags is supported on iPhone 7 and iPhone 7 Plus.

Using Core NFC, you can read Near Field Communication (NFC) tags of types 1 through 5 that contain data in the NFC Data Exchange Format (NDEF).

Contactless smartcards (like electronic passports, payment cards, etc.) and even additional protection features of NFC tags (like NTAG password protection, MIFARE DESFire or Ultralight authentication, etc.) cannot be accessed using the iOS 11 NFC API.

like image 67
Michael Roland Avatar answered Oct 24 '22 06:10

Michael Roland