What’s the Difference between 3 Generations of Mifare Magic Card

There are 3 generations of UID Changeable Mifare Classic 1K/4K cards on the market. To those who are new to RFID magic cards, here’s the complete summary of those cards in 2023.

Gen1

ProtocolUID LengthSizeMechanismAndroid NFCPN532 / ACR122UProxmark3 / iCopy-X
Mifare S504 Byte1kb 16 sectors 64 blocksBackdoor CommandNot Support UID ChangingSupport UID changingSupport UID changing

The gen1 magic card is also named UID Card, which has the backdoor command to unlock the card and change the UID under the Mifare Classic 1K S50 protocol. It has 16 sectors, each sector has 4 blocks. With the ability of the backdoor command, anyone can use the external reader to write any data to every block, from block 0 to block 63. You can read any blocks or change the keys of the trailing block easily and no need for authentication. Even if you write an invalid BCC of UID or wrong ATQA value, it can be done, but never be read by any readers after that.

Advantages of Gen1

  • Super fast to change the UID
  • Recoverable after invalid data written
  • Cost-effective for Mifare S50 cloning

Disadvantages of Gen1a

  • Backdoor detective – Some access systems may not allow this magic card to pass because of it can be identified with its built-in controller.

Branches of Gen1

AliasBackdoorFeatures
UID CardDetectableNever dead
FUID CardUndetectableOnetime UID written
UFUID CardDetectable After locked – undetectableLock UID permanently

Gen2

ProtocolUID LengthSizeMechanismAndroid NFCPN532 / ACR122UProxmark3 / iCopy-X
Mifare S504 Byte1kb 16 sectors 64 blocksKeys authenticationSupport UID ChangingSupport UID changingSupport UID changing

The 2nd generation of the Chinese Magic Card is also named CUID Card. The mechanism to change the UID is to authenticate sector 0 with keys and change the whole block data of block 0, which much include the bytes of UID, BCC, ATQA, SAK, and Manufacturer Information.

If you have got the dump file of Mifare Classic 1K, you can easily write it to the CUID card with Mfiare Classic Tool built-in function or MTools App to change the UID can whole data. This can also be done with a PN532-based or Proxmark3-based Reader, it needs authentication like the common Mifare Classic Cards.

Advantages of Gen2 Magic Card

  • Easy to change UID on the Android Phone
  • Cover most access systems, no backdoor.

Disadvantages of Gen2 Magic Card

  • Cause dead sector if written with invalid access control byte.
  • Unfixable if written with invalid block 0.

Gen3

ProtocolUID LengthSizeMechanismAndroid NFCPN532 / ACR122UProxmark3 / iCopy-X
Mifare S504 Byte / 7 Byte1kb 16 sectors 64 blocksBackdoor CommandNot Support UID ChangingSupport UID changingSupport UID changing
Mifare S704 Byte / 7 Byte4kb 40 sectors Sectors 0-31: 4 blocks per sector Sectors 32-39: 16 blocks per sectorBackdoor CommandNot Support UID ChangingSupport UID changingSupport UID changing

The 3rd generation of Magic cards brings 4 Bytes and 7 Bytes UIDs on both S50 and S70 protocols. It is another type of backdoor command than the gen1 type. To change the UID of the gen3 magic card, before 2023, you have to use a Proxmark3-based reader, such as Proxmark3 X or iCopy-XS reader. And now you can also use the PN532 BLE reader with MTools Lite app with the built-in terminal functions for free.

To add Bluetooth support to the PN532 module, you can choose All-in-one PN532 or PCR532 reader in the MTools Tec store. Or DIY the PN532 module with the BLE module.

Advantages of Gen3 Magic Card

  • More protocols support
  • New Mechanism to change the UID
  • UID can be locked permanently

Disadvantages of Gen3 Magic Card

  • Locked UID cannot be unlocked

Other types of Magic Cards

UFUID Card

It can be considered as the gen1 magic card with a lock. If the lock is unlocked, it can respond to the gen1 backdoor command, just like the gen1 magic card. If it’s locked, it’s just a common Mifare classic 1k card. And it cannot be unlocked again.

External Readers for Magic Cards

Programs for External Readers

AndroidiOSWindowsLinux
PN532RFID Tools MTools MTools LiteMTools LiteMifare One Toollibnfc
ACR122URFID Tools MToolsPCSC Mifare Programlibnfc
Proxmark3
iCopy-X
RFID Tools MToolsPM3 GUIproxmark3

1 thoughts on “What’s the Difference between 3 Generations of Mifare Magic Card

  1. Jasper F. says:

    I had no idea there were so many differences between the different generations of Mifare Magic cards. Thank you for providing all this useful information!

Leave a Reply

Your email address will not be published. Required fields are marked *