Mifare Classic APDU Commands not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mifare Classic APDU Commands not working

1,857 Views
harshmehlawat
Contributor I

Hello folks, 
I am trying to read a Mifare Classic via an Omnikey 5022 Reader.
More specifically I am trying to read sectors 14 & 15 shown in the screenshot attached from the TagInfo app. (The string "984200001217764463=20191207")
I have already consulted the Omnikey 5022 Developer guide(screenshot also attached).

I tried loading the key FF FF FF FF FF FF at both 00 & 01 memory locations and then authenticating the sectors but I am still somehow not able to read sector 14 & get the desired result.

These are the APDU commands I am using 

To load key - 
FF82000006FFFFFFFFFFFF (to load key FF FF FF FF FF FF at location 00) or FF82000106FFFFFFFFFFFF (to load key FF FF FF FF FF FF at location 01)

For authentication -
FF860000050100146000 (for reading block 14 with key stored at 00) 
or  FF860000050100146001 (for reading block 14 with key stored at 01) 

For reading data -
FFB0001410 for reading block 14 data
and FFB0001510 for reading block 15 data.

Can someone help point out what I'm doing wrong here or point me in the right direction.
Any help is much appreciated. 

Thanks.

0 Kudos
0 Replies