Mifare authentication APDU

Forum / MIFARE general topics and applications / Mifare authentication APDU

  • 16. September 2013 at 13:11
    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?
    + 0  |  - 0

    Re: Mifare authentication APDU

    17. September 2013 at 2:44
    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.
    + 0  |  - 0

    Re: Mifare authentication APDU

    18. September 2013 at 9:16
    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.
    + 0  |  - 0

    Re: Mifare authentication APDU

    18. September 2013 at 9:44
    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
    + 0  |  - 0

    Re: Mifare authentication APDU

    18. September 2013 at 13:25
    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).
    + 0  |  - 0

    Re: Mifare authentication APDU

    27. September 2013 at 3:24
    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
    <== ... 0x7E (Length Error).

    I think PICC send RandB only 15Bytes is problem.
    Somebody got this error? Please help me. Do you think to Power Consumption problem?

    Thanh Nguyen.
    + 0  |  - 0

    Re: Mifare authentication APDU

    4. March 2015 at 8:04
    Hi,
    I am try to run simple APDU command(FF B0 00 04 00 00), but no command is executing, it simply showing errors like "lc" not correct, "p1 p2" not correct, "Access denied" or etc.
    can any one help me to overcome this problem.

    Thanks,
    + 0  |  - 0
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.