Issues with File Creation on MIFARE DESFire EV1 Using Proxmark3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Issues with File Creation on MIFARE DESFire EV1 Using Proxmark3

1,379 次查看
akant
Contributor I

 

I'm working with a MIFARE DESFire EV1 card and attempting to create files within an application using the Proxmark3 tool. After successfully formatting the card and creating an application, I encounter an error when trying to create a file:

 

 
[usb] pm3 --> hf mfdes createfile --fid 01 --size 000020 --amode plain --rrights free --wrights free --rwrights free --chrights key0 [!!] Can't create files at card level.

 

This suggests that file creation is not permitted at the card level. However, I have ensured that the application is selected and authenticated before attempting file creation.

Here are the steps I've followed:

  1. Format the card:

    [usb] pm3 --> hf mfdes formatpicc [+] Desfire format: done!

 

  1. Create an application:

    [usb] pm3 --> hf mfdes createapp --aid 112233 --numkeys 1 --dstalgo AES [+] Desfire application 112233 successfully created
     

 

  1. Select and authenticate the application:

    [usb] pm3 --> hf mfdes selectapp --aid 112233 [+] Application 0x112233 selected successfully [usb] pm3 --> hf mfdes auth -n 0 -t AES -k <aes_key> --save [+] PICC selected and authenticated successfully

 

  1. Attempt to create a file:

    [usb] pm3 --> hf mfdes createfile --fid 01 --size 000020 --amode plain --rrights free --wrights free --rwrights free --chrights key0 [!!]  Can't create files at card level.

 

Despite these steps, the error persists. ​

Any guidance or insights from those experienced with MIFARE DESFire EV1 and Proxmark3 would be greatly appreciated.

Thank you in advance for your assistance.

标记 (1)
0 项奖励
回复
0 回复数