How to change Key in Mifare classic card

Forum / MIFARE SmartCard IC`s / MIFARE Classic / How to change Key in Mifare classic card

  • 8. August 2014 at 14:53
    Hi all,

    Can anyone please tell me how to change key in Mifare 1K classic card.
    What i tried was changing value in Sector trailer block.

    + access bits +
    0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0X78 0x77 0x88 0x69 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF
    But the password refuse to change.The default configuration is 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF.

    I was able to read the same written values in sector 1 block 7 but the secret key refuses to change.

    Kindly advice.
    + 0  |  - 0

    Re: How to change Key in Mifare classic card

    13. May 2015 at 16:58
    Hi Microembedded,

    to change the key for a sector you need the key for accessing the sector. Let’s assume the sector use factory settings, the default key A = FFFFFFFFFFFF. With this key you authenticate to that sector and write to the sector trailer the new keys A and B and the access condition bits. To have access (according the access condition bits) to the sector you have to use the new key henceforth.

    Best regards,
    The MIFARE Team
    + 0  |  - 0

    Re: How to change Key in Mifare classic card

    28. June 2016 at 12:14
    do u have FB i need your help
    + 0  |  - 1
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.