Mifare Classic Tool Tutorial

  • Learn what is Mifare Classic
  • How to read and write Mifare Classic Tag
  • Useful tools for Mifare Classic

What is Mifare Classic?

Read Tag

Read data from MIFARE Classic tags using key files (dictionary).

Select Key Files:

  • std.keys
  • extended-std.keys

Specify Sector Range:

  • Choose the sectors to read (default is 0-15).
  • For faster reading, limit the range to specific sectors.

Start Mapping Process:

  • Tap the Start button to begin the mapping process.
  • MCT will attempt to authenticate sectors using the keys from the file.

View Data:

  • Once successful, the tag data will be displayed in a hex editor.
  • No keys found (or dead sector)
  • ———— means the key is unknown to read.

Write Tag

Write data to tags, including single block writing, dump file writing, factory formatting and Increasing and decreasing value block.

Write Block

Write 16 bytes block data to specific sector number and block number.

Write Dump

Choose dump and select the blocks that write to the tag.

Factory Format

Set the data block to 00000000000000000000000000000000 . And Set the trailer block data to FFFFFFFFFFFFFF078069FFFFFFFFFFFF.

Incr./Decr. Value Block

Increate or decrease the value of standard value block.

Edit Dump

View saved dump file and show in sectors. You can also send the data to built-in tools.

Data as ASCII

  • Decode the block data in ASCII

Decode Access Conditions 

  • Show access conditions for all available sector in dump

Compare Dump

  • Choose another dump file to make a block to block comparison

Export Dump

  • Expor dump to different file such as json, bin/mfd, eml and mct

Save Keys

  • Save Mifare Classic Keys as key file from all available sectors.

Write Dump

  • Write current dump to the tag.

Edit Key

Manage key files to optimize dictionary-based authentication. Mifare Classic key is 6 bytes and total in 12 chars. 

You can create your own keys or import keys from file. The link below is the default Mifare Classic Keys from Proxmark3 repository.

mfc_default_keys.dic

Tools

The built-in Tools in MCT are useful for the data analysis or operation.

Display Tag Info

  • It can show the Technology information for not a Mifare Classic Tag.
  • The Mifare Classic tag will show the UID, SAK, ATQA, Memory Size, Block Size, Number of Sectors and Number of Blocks information.

Clone UID

  • This will can read and write the UID to the 2nd Gen Chinese magic card, which also named CUID.
  • You can also set the full block 0 for the magic tag.
  • Notice that the SAK and ATQA must be valid so it won’t brick the magic tag.

Diff Tool

  • It is the same as Dump comparison in the Edit Dump features.

Access Condition Decoder & Encode

It can convert the access control bye in trailer block for the permissions, which includes Read Key, Write Key, Read ACS, Write ACS to the Sector Trailer. And the permissions for Data Blocks include READ, WRITE, INCR, DECR, Transit and REST.

BCC Calculator 

It can calculate the 5th bytes on Block 0, which is the XOR value of the 4 bytes UID.

Related Apps

MIFARE Classic Tool

Play Store

MTools

Play Store

MIFARE Ultralight Tool

Play Store

MTools BLE

Play Store