Forum / MIFARE SmartCard IC`s / MIFARE DESFire / MIFARE DESFire / FileSettings issue
-
I am using a MIFARE DESFire EV1 card, and I have created a file with settings = 0x1222.
According to me, it allows reading after key 1 authentication (but no write access).
But, it seems I am also able to write as the log file below describes :
> Context Established
> Card inserted
> Connexion successfull
# Get Version
>> 90 60 00 00 00
<> 90 AF 00 00 00
<> 90 AF 00 00 00
<> 90 5A 00 00 03 00 00 00 00
<> 90 45 00 00 00
<> 90 6A 00 00 00
<> 90 5A 00 00 03 02 02 02 00
<> 90 45 00 00 00
<> 90 6F 00 00 00
<> 90 F5 00 00 01 01 00
< (Read Access=1 ; Write Access=2 ; Read/Write Access = 2 ; Change Settings = 2)
# Read without authentication
>> 90 BD 00 00 07 01 00 00 00 04 00 00 00
< authentication error
# Authentication with key 1
>> 90 0A 00 00 01 01 00
<> 90 AF 00 00 10 49 1E 89 0D E9 AC E9 32 CB 4D 5C 9D 8E 83 1D 57 00
<> 90 BD 00 00 07 01 00 00 00 04 00 00 00
<> 90 3D 00 00 0B 01 00 00 00 04 00 00 01 02 03 04 00
<> 90 BD 00 00 07 01 00 00 00 04 00 00 00
<< 01 02 03 04 91 00
# So the write operation succeeds even without key 2 authentication ???
+ 0 | - 0
> Context Established
> Card inserted
> Connexion successfull
# Get Version
> 90 60 00 00 00
90 AF 00 00 00
90 AF 00 00 00
90 5A 00 00 03 00 00 00 00
90 45 00 00 00
90 6A 00 00 00
90 5A 00 00 03 02 02 02 00
90 45 00 00 00
90 6F 00 00 00
90 F5 00 00 01 01 00
(Read Access=1 ; Write Access=2 ; Read/Write Access = 2 ; Change Settings = 2)
# Read without authentication
> 90 BD 00 00 07 01 00 00 00 04 00 00 00
authentication error
# Authentication with key 1
> 90 0A 00 00 01 01 00
90 AF 00 00 10 49 1E 89 0D E9 AC E9 32 CB 4D 5C 9D 8E 83 1D 57 00
90 BD 00 00 07 01 00 00 00 04 00 00 00
90 3D 00 00 0B 01 00 00 00 04 00 00 01 02 03 04 00
90 BD 00 00 07 01 00 00 00 04 00 00 00
< 01 02 03 04 91 00
# So the write operation succeed even without key 2 authentication ???
+ 0 | - 0
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.