Reply To: What is MIFARE Classic 1K Access Bits means? How to calculate and use it?

Forum MIFARE general topics and applications What is MIFARE Classic 1K Access Bits means? How to calculate and use it? Reply To: What is MIFARE Classic 1K Access Bits means? How to calculate and use it?

Re: What is MIFARE Classic 1K Access Bits means? How to calculate and use it?

16. February 2016 at 11:08
Hi NTMS,

From the MIFARE Classic datasheet at

http://www.nxp.com/documents/data_sheet/MF1S50YYX.pdf

page 10, section 8.6.3 (Sector Trailer) you will find the description.

From my previous example the meaning is as follow:
40641D4C2635xxxxxx00720834FA77F9
AAAAAAAAAAAACCCCCC00BBBBBBBBBBBB
Here are AA... the key A and BB… the key B bytes. CC… are the access bytes and 00 is an unused byte. You can use it as general purpose byte.

The rule is as follow: you write down all C1, C2 and C3 bit values for each block and combine the Cx bits according the figure 10 for all four blocks. Then you get the three access condition bytes you have to insert in the sector trailer.

Table 7 on page 13 shows all combinations. But be careful: you can also set the access condition to “never”! In this case you cannot get access to this block and you cannot change it if the block is the sector trailer itself.

The MIFARE Team
+ 0  |  - 1