Obra

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

MIFARE 1K block layout

Sector0

Block0
Manufacturerblock

Block1

Block2

Block3
Sectortrailer

Sector2

Block0
Block4
Manufacturerblock

Block1
Block5

Block2
Block6

Block7
Block3
Sectortrailer

Sector3

Block0
Block8
Manufacturerblock

Block1
Block9

Block10
Block2

Block11
Block3
Sectortrailer

Sector...

Block0
Block...
Manufacturerblock

Block...
Block1

Block...

Block...
Block3
Sectortrailer

Sector15

Block0
Block60
Manufacturerblock

Block61
Block1

Block62
Block2

Block63
Block3
Sectortrailer

16 sectors, 4 blocks per sector,


16 bytes per block = 1024 bytes

Accesscontrol
Block

manufacturer block
layout
Sector0
Byte

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
SerialNumber

Manufacturerdata

Checkbyte

Whole block is read only

access control block


layout
Sector0
Byte

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
KeyA
WRITEonly

KeyBorDATA

KeyA can never be read

KeyB may be read and/or written

AccessControl
Bits

depending on ACB

ACB for various combinations

who may read/write keys

who may increment/decrement/restore

value blocks

data block
Sector0
Byte

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
Value

16 bytes free storage

value block
Sector0
Byte

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
Value

Value

Adr

Adr
Adr
Adr
(i)
(i)

Value stored 3 times

Value
(inverted)

Twice non-inverted, once inverted

Address byte stored 4 times

Twice non-inverted, twice inverted

Audit trails

Backup

Read only (by value commands)

tag operations

CardSelect

SectorLogin

Read/Write
etc.

You might also like