MIFARE Support Forums
Viewing 1 to 6 (6 Total)
Mifare authentication APDU

Hello,

Say I want to authenticate to Mifare Classic.

How do I know the exact format of APDU I must send to the card?

Thank you.

the datasheet just mentioned like 0x60 for key type A or 0x61 for key type B.
I am interested how to know the whole APDU command?

Posted on September 16, 2013 at 1:11 PM

Re: Mifare authentication APDU

I believe you are working under the PCSC environment, then you should refer to the PCSC specifications part 3 under the section 3.2.2. In this section, there are a fews APDU commands that you could use to work with MIFARE Classic.

Posted on September 17, 2013 at 2:44 AM

Re: Mifare authentication APDU

Kevin thank you. Indeed in that document there are some APDU commands for Mifare Classic.

One more question. Now say I want to communicate with Mifare Plus or Mifare Desfire EV1 -- where can I find list of such APDU commands also?

For example, for Mifare Classic this:

APDU = {FF B0 00 04 10}
reads data from 4th block. Where can I find such APDU specifications for other Mifare cards, e.g., Plus or Desfire Ev1?? Thank you.

Posted on September 18, 2013 at 9:16 AM

Re: Mifare authentication APDU

Hello,

In order to get documentation on MIFARE Plus and MIFARE DesFire EV1 you need to sign an NDA with NXP. Please contact your local NXP sales representative in your region to sign NDA

Posted on September 18, 2013 at 9:44 AM

Re: Mifare authentication APDU

Hello alena,

Thank you.

And then, I will get the exact documentation on what kind of APDU commands
to use?? (e.g., as I mentioned above in the posts).

Posted on September 18, 2013 at 1:25 PM

Re: Mifare authentication APDU

Hi, Some body help me this issue:
I using MF3ICD41.
After I change master key use AES-128 then I authenticate with new key but this is problem.
==> ... 0xAA 0x00
... 0xAF 0x21 0x3F 0xA1 0xFD 0xE0 0xE1 0x5C 0xD4 0xA4 0x36 0x68 0x24 0x64 0x86 0x6D 0x8B 0x57 0x35 0x21 0x3A 0x81 0xCE 0x68 0x30 0x11 0x4C 0x3B 0xD3 0x63 0x4C

Posted on September 27, 2013 at 3:24 AM
Average Topic Rating: