Forum / MIFARE SmartCard IC`s / MIFARE DESFire / Please Help to change key
-
what is my problem ?
please help me
+ 0 | - 0
Read Card Info : ( Desfire Detect ) (UID len : 7 ) ( SEL RES : 20) (UID : 04 6F 45 99 C9 24 80 ) ( RATS : 75 77 81 02 80 BD )
Card Selected.
Desfire : Try To Login With KeyNo : ( 0 )
InDataExchange PN532 -> Card : 0A 00
InDataExchange PN532 Read RndB :
Desfire > Generate RndA :
InDataExchange PN532 -> Card : AF AE EC 20 EB 19 C3 6A 6F 67 7B 15 1B 7B 5C 57 38
InDataExchange PN532 Reading RndA' : >
Desfire > RndA' After Decrype :
Desfire > Session Key :
Desfire > Login Sucsess
Desfire > Try To Change Key of KeyNo : ( 0 )
Desfire > Old key :
Desfire > New key :
Desfire > 24 Bytes ChangeKey Parameter :
Desfire > 24 Bytes ChangeKey Parameter After Decrype :
InDataExchange PN532 -> Card : C4 00 8D 65 11 96 6F BC 8B 6E D9 FD D7 6C 62 DE D4 3B AB F5 A7 9B 62 97 1B 20
InDataExchange PN532 Error In Changing Key
+ 0 | - 0
Read Card Info : ( Desfire Detect ) (UID len 7 ) ( SEL RES 20) (UID 04 6F 45 99 C9 24 80 ) ( RATS 75 77 81 02 80 BD )
Card Selected.
Desfire : Try To Login With KeyNo ( 0 )
InDataExchange PN532 -> Card 0A 00
InDataExchange PN532 Read RndB 72 AD 16 0B BB 02 11 72
Desfire > Generate RndA : A3 09 59 CC 31 A4 0A 59
InDataExchange PN532 -> Card AF AE EC 20 EB 19 C3 6A 6F 67 7B 15 1B 7B 5C 57 38
InDataExchange PN532 Reading RndA' 12 1B 82 A4 52 BE EC 40
Desfire > RndA' After Decrype 09 59 CC 31 A4 0A 59 A3
Desfire > Session Key A3 09 59 CC 72 AD 16 0B
Desfire > Login Sucsess
Desfire > Try To Change Key of KeyNo ( 0 )
Desfire > Old key 00 00 00 00 00 00 00 00
Desfire > New key 31 31 31 31 31 31 31 31
Desfire > 24 Bytes ChangeKey Parameter 31 31 31 31 31 31 31 31 00 00 00 00 00 00 00 00 15 07 00 00 00 00 00 00
Desfire > 24 Bytes ChangeKey Parameter After Decrype 8D 65 11 96 6F BC 8B 6E D9 FD D7 6C 62 DE D4 3B AB F5 A7 9B 62 97 1B 20
InDataExchange PN532 -> Card C4 00 8D 65 11 96 6F BC 8B 6E D9 FD D7 6C 62 DE D4 3B AB F5 A7 9B 62 97 1B 20
InDataExchange PN532 <- card 1E Error In Changing Key
+ 0 | - 0
Read Card Info : ( Desfire Detect ) (UID len : 7 ) ( SEL RES : 20) (UID : 04 6F 45 99 C9 24 80 ) ( RATS : 75 77 81 02 80 BD )
Card Selected.
Desfire >> Try To Login With KeyNo : ( 0 )
InDataExchange PN532 --->> Card : 0A 00
InDataExchange PN532 <> Read RndB : <>
Desfire >> Generate RndA : <>
InDataExchange PN532 --->> Card : AF AE EC 20 EB 19 C3 6A 6F 67 7B 15 1B 7B 5C 57 38
InDataExchange PN532 <> Reading RndA' : <>
Desfire >> RndA' After Decrype : <>
Desfire >> Session Key : <>
Desfire >> Login Sucsess
Desfire >> Try To Change Key of KeyNo : ( 0 )
Desfire >> Old key : <>
Desfire >> New key : <>
Desfire >> 24 Bytes ChangeKey Parameter : <>
Desfire >> 24 Bytes ChangeKey Parameter After Decrype : <>
InDataExchange PN532 --->> Card : C4 00 8D 65 11 96 6F BC 8B 6E D9 FD D7 6C 62 DE D4 3B AB F5 A7 9B 62 97 1B 20
InDataExchange PN532 <> Error In Changing Key
+ 0 | - 0
Read Card Info : ( Desfire Detect ) (UID len : 7 ) ( SEL RES : 20) (UID : 04 6F 45 99 C9 24 80 ) ( RATS : 75 77 81 02 80 BD )
Card Selected.
Desfire >> Try To Login With KeyNo : ( 0 )
InDataExchange PN532 --->> Card : 0A 00
InDataExchange PN532 <> Read RndB : <>
Desfire >> Generate RndA : <>
InDataExchange PN532 --->> Card : AF AE EC 20 EB 19 C3 6A 6F 67 7B 15 1B 7B 5C 57 38
InDataExchange PN532 <> Reading RndA' : <>
Desfire >> RndA' After Decrype : <>
Desfire >> Session Key : <>
Desfire >> Login Sucsess
Desfire >> Try To Change Key of KeyNo : ( 0 )
Desfire >> Old key : <>
Desfire >> New key : <>
Desfire >> 24 Bytes ChangeKey Parameter : <>
Desfire >> 24 Bytes ChangeKey Parameter After Decrype : <>
InDataExchange PN532 --->> Card : C4 00 8D 65 11 96 6F BC 8B 6E D9 FD D7 6C 62 DE D4 3B AB F5 A7 9B 62 97 1B 20
InDataExchange PN532 <> Error In Changing Key
+ 0 | - 0
why i cant copy past my result in here
+ 0 | - 0
please see image . this is my result
+ 0 | - 0
Hi,
Im tryng to change the key of picc level for DES to AES but I cant the card alwasy response me with 0x1E. Can you give me more information about the secuencial steps to follow in this case.
writing my log below.
Forgive but I have been wrong with some dates, so I rewrite a new log:
Current DES key: 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00.
New AES key: 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00.
Session key: 0x00, 0x00, 0x00, 0x00, 0x74, 0x92, 0xaf, 0xb0.
CRC16 :0x1B, 0x5B.
the CRC16 is calculated over: 0xC4, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01.
finally (before encrypted to send): 0xC4, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x1B, 0x5B, 0x00, 0x00, 0x00, 0x00, 0x00.
finally (encrypted to send): 0xC4, 0x80, 0x39, 0x2A, 0xE1, 0xF2, 0x27, 0xB9, 0xD8, 0xA8, 0x58, 0x24, 0x79, 0x63, 0x49, 0x66, 0xB4, 0x1B, 0x1B, 0x1F, 0x1E, 0x64, 0xEB, 0x8F, 0x7F, 0xB6.
thanks and regards.
+ 0 | - 0
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.