<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>NFCのトピックIssues with File Creation on MIFARE DESFire EV1 Using Proxmark3</title>
    <link>https://community.nxp.com/t5/NFC/Issues-with-File-Creation-on-MIFARE-DESFire-EV1-Using-Proxmark3/m-p/2070660#M12973</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I'm working with a MIFARE DESFire EV1 card and attempting to create files within an application using the Proxmark3 tool.&lt;/SPAN&gt; &lt;SPAN class=""&gt;After successfully formatting the card and creating an application, I encounter an error when trying to create a file:&lt;/SPAN&gt;​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;[usb] pm3 --&amp;gt; hf mfdes createfile --fid 01 --size 000020 --amode plain --rrights free --wrights free --rwrights free --chrights key0 [!!] Can't create files at card level.&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;This suggests that file creation is not permitted at the card level.&lt;/SPAN&gt; &lt;SPAN class=""&gt;However, I have ensured that the application is selected and authenticated before attempting file creation.&lt;/SPAN&gt;​&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Here are the steps I've followed:&lt;/SPAN&gt;​&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Format the card:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes formatpicc &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; Desfire format: done!&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Create an application:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes createapp &lt;SPAN class=""&gt;--aid&lt;/SPAN&gt; &lt;SPAN class=""&gt;112233&lt;/SPAN&gt; &lt;SPAN class=""&gt;--numkeys&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt; &lt;SPAN class=""&gt;--dstalgo&lt;/SPAN&gt; AES &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; Desfire application &lt;SPAN class=""&gt;112233&lt;/SPAN&gt; successfully created &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Select and authenticate the application:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes selectapp &lt;SPAN class=""&gt;--aid&lt;/SPAN&gt; &lt;SPAN class=""&gt;112233&lt;/SPAN&gt; &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; Application &lt;SPAN class=""&gt;0&lt;/SPAN&gt;x112233 selected successfully &lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes auth -n &lt;SPAN class=""&gt;0&lt;/SPAN&gt; -t AES -k &amp;lt;aes_key&amp;gt;&amp;nbsp;&lt;SPAN class=""&gt;--save&lt;/SPAN&gt; &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; PICC selected and authenticated successfully &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Attempt to create a file:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;[usb] pm3 -&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt; hf mfdes createfile --fid &lt;SPAN class=""&gt;01&lt;/SPAN&gt; --size &lt;SPAN class=""&gt;000020&lt;/SPAN&gt; --amode plain --rrights free --wrights free --rwrights free --chrights key0 [!!]&amp;nbsp; Can&lt;SPAN class=""&gt;'t&lt;/SPAN&gt; create files at card level. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Despite these steps, the error persists.&lt;/SPAN&gt;&amp;nbsp;​&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Any guidance or insights from those experienced with MIFARE DESFire EV1 and Proxmark3 would be greatly appreciated.&lt;/SPAN&gt;​&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you in advance for your assistance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Mar 2025 19:11:32 GMT</pubDate>
    <dc:creator>akant</dc:creator>
    <dc:date>2025-03-30T19:11:32Z</dc:date>
    <item>
      <title>Issues with File Creation on MIFARE DESFire EV1 Using Proxmark3</title>
      <link>https://community.nxp.com/t5/NFC/Issues-with-File-Creation-on-MIFARE-DESFire-EV1-Using-Proxmark3/m-p/2070660#M12973</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I'm working with a MIFARE DESFire EV1 card and attempting to create files within an application using the Proxmark3 tool.&lt;/SPAN&gt; &lt;SPAN class=""&gt;After successfully formatting the card and creating an application, I encounter an error when trying to create a file:&lt;/SPAN&gt;​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;[usb] pm3 --&amp;gt; hf mfdes createfile --fid 01 --size 000020 --amode plain --rrights free --wrights free --rwrights free --chrights key0 [!!] Can't create files at card level.&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;This suggests that file creation is not permitted at the card level.&lt;/SPAN&gt; &lt;SPAN class=""&gt;However, I have ensured that the application is selected and authenticated before attempting file creation.&lt;/SPAN&gt;​&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Here are the steps I've followed:&lt;/SPAN&gt;​&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Format the card:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes formatpicc &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; Desfire format: done!&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Create an application:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes createapp &lt;SPAN class=""&gt;--aid&lt;/SPAN&gt; &lt;SPAN class=""&gt;112233&lt;/SPAN&gt; &lt;SPAN class=""&gt;--numkeys&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt; &lt;SPAN class=""&gt;--dstalgo&lt;/SPAN&gt; AES &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; Desfire application &lt;SPAN class=""&gt;112233&lt;/SPAN&gt; successfully created &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Select and authenticate the application:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes selectapp &lt;SPAN class=""&gt;--aid&lt;/SPAN&gt; &lt;SPAN class=""&gt;112233&lt;/SPAN&gt; &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; Application &lt;SPAN class=""&gt;0&lt;/SPAN&gt;x112233 selected successfully &lt;SPAN class=""&gt;[usb]&lt;/SPAN&gt; pm3 --&amp;gt; hf mfdes auth -n &lt;SPAN class=""&gt;0&lt;/SPAN&gt; -t AES -k &amp;lt;aes_key&amp;gt;&amp;nbsp;&lt;SPAN class=""&gt;--save&lt;/SPAN&gt; &lt;SPAN class=""&gt;[+]&lt;/SPAN&gt; PICC selected and authenticated successfully &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Attempt to create a file:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;[usb] pm3 -&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt; hf mfdes createfile --fid &lt;SPAN class=""&gt;01&lt;/SPAN&gt; --size &lt;SPAN class=""&gt;000020&lt;/SPAN&gt; --amode plain --rrights free --wrights free --rwrights free --chrights key0 [!!]&amp;nbsp; Can&lt;SPAN class=""&gt;'t&lt;/SPAN&gt; create files at card level. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Despite these steps, the error persists.&lt;/SPAN&gt;&amp;nbsp;​&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Any guidance or insights from those experienced with MIFARE DESFire EV1 and Proxmark3 would be greatly appreciated.&lt;/SPAN&gt;​&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you in advance for your assistance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Mar 2025 19:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Issues-with-File-Creation-on-MIFARE-DESFire-EV1-Using-Proxmark3/m-p/2070660#M12973</guid>
      <dc:creator>akant</dc:creator>
      <dc:date>2025-03-30T19:11:32Z</dc:date>
    </item>
  </channel>
</rss>

