Closed ikarus23 closed 3 years ago
As a workaround, I've used hf mfdes formatpicc
on @mwalker33's suggestion
just for the sake of it, try aid 010000 instead.. maybe the byte order is wrong in the client parsing
I already checked that, It did not work ;)
Ok, I've learned something important! Even if the PICC master key is not required for app deletion, there must be an authentication. So deleting is always:
Regardless of this, it still does not work on the PM3. The displayed CMK required for create/delete
is wrong and even if you authenticate before deletion it will not work.
... so now its a bit different. You will need to do
The new style will most likely mean that the other commands need to be adapted. In order to fit a auth first.
Pull it and test create/delete. If you wanna see if the rf field is up, the add "data setd 1" client debug flag on.
Great stuff! Not it works.
[usb] pm3 --> hf mfdes auth -m 1 -t 1 -a 000001 -n 0
[+] Key : 00 00 00 00 00 00 00 00
[+] SESSION : BA 51 6E 7D BD 34 C1 3F
[=] -------------------------------------------------------------
[usb] pm3 --> hf mfdes deleteaid -a 000001
[+] Successfully deleted aid.
[usb] pm3 --> hf mfdes enum
[=] -- MIFARE DESFire Enumerate applications --------------------
[=] -------------------------------------------------------------
[+] Tag report 0 applications
[=] -------------------------------------------------------------
I have a (demo) tag that only has one application (with no files) and the AID 0x000001. Everything uses default keys. However, for creating/deleting app the is no key required.
The bugs:
CMK required for create/delete : YES
but this is not true (checked with NXP's TagInfo app).Maybe the bugs are connected.