Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2023-05-02 18:51:40

merdenoms
Contributor
Registered: 2020-03-16
Posts: 3

How to write NDEF record that is readable on NFC Tools?

I'm having trouble writing an NDEF record that can be read via NFC Tools or Taginfo.  I can read the record on the Proxmark 3 RDV4 via the "nfc type4a read" command.  I've been changing settings and digging at this for hours.  I don't know what I'm missing.  Any suggestions?

Here are the following commands I'm using:

hf mfdes formatpicc

hf mfdes createapp --aid 000001 --fid E110 --dfhex D2760000850101 --numkeys 01

hf mfdes createfile --aid 000001 --fid 01 --isofid E103 --amode plain --size 00000F --rrights free --wrights free --rwrights free --chrights free -m plain --no-auth

hf mfdes createfile --aid 000001 --fid 02 --isofid E104 --amode plain --size 0007D0 --rrights free --wrights free --rwrights free --chrights free -m plain --no-auth
		
hf mfdes write --aid 000001 --fid 01 -d 000F20003B00340406E10400FF00FF -m plain

hf mfdes write --aid 000001 --fid 02 -d 0313C1010000030C5402656E54686520666f6c6c6f77206973206120677569646520746f2061737369737420696e2073657474696e6720757020612073696e676c65204e444546207265636f7264206f6e20616e20446573666972652045563120286f72206c61746572292e20506c656173652072656665726520746f20746865204e44454620646f63756d656e74696f6e20616e64207374616e646172647320666f7220617373697374616e6365206f6e207468652061637475616c204e444546207265636f726420736574757020616e64207374727563747572652e0a0a497420697320617373756d656420796f75206172652066696d756c61722077697468207573696e672061206465736669726520636172647320616e6420636f6d6d616e64732e0a0a54686520666f6c6c6f77206e6f74657320617265206261736564206f6e3a204e5850202d20414e3131303034202d204d494641524520444553466972652061732054797065203420546167205265762e20322e34202d203232204d617920323031330a0a496e206f7264657220746f207365747570204e444546206f6e2061204d69666172652044657366697265206361726420796f75206e65656420746f2063726561746520616e204170706c69636174696f6e20616e642074776f2066696c657320696e736964652074686174206170706c69636174696f6e2e20546865206170706c69636174696f6e20616e642066696c6573206861766520736f6d65207370656369616c206e6565647320696e206f7264657220666f7220746865207374616e64616e647320746f20776f726b20616e6420746865204e44454620726563726f6420746f20626520666f756e642e0a0a53746570203120437265617465204170706c69636174696f6e0a5768696c6520492062656c65697665207468652041707020494420616e642046696c652049447320646f6e74206d61747465722028666f722045563120616e64206c61746572292049206469642066696e642061207265666572656e636520746f207573696e67207468652076616c75657320696e2074686973206578616d706c652e0a0a546865204170706c69636174696f6e204d5553542068617665207468652044464e616d65206f662044323736303030303835303130310a4e6f74653a205468617420697320746865206865782f62696e61727920646174612074686174206e6565647320746f2062652073746f726564210a -m plain

Verify the file and NDEF record:

hf mfdes read --no-auth --aid 000001 --fid 02
nfc type4a read

Here are the current app settings:

[usb] pm3 --> hf mfdes lsapp

[+] ------------------------------------ PICC level -------------------------------------
[+] Applications count: 1 free memory 5728 bytes
[+] PICC level auth commands: 
[+]    Auth.............. YES
[+]    Auth ISO.......... YES
[+]    Auth AES.......... NO
[+]    Auth Ev2.......... NO
[+]    Auth ISO Native... YES
[+]    Auth LRP.......... NO
[+] PICC level rights:
[+] [1...] CMK Configuration changeable   : YES
[+] [.1..] CMK required for create/delete : NO
[+] [..1.] Directory list access with CMK : NO
[+] [...1] CMK is changeable              : YES
[+] 
[+] Key: 2TDEA
[+] key count: 1
[+] PICC key 0 version: 0 (0x00)

[+] --------------------------------- Applications list ---------------------------------
[+] Application number: 0x01
[+]   ISO id.... 0xE110
[+]   DF name... v ( XX XX XX XX XX 01 01 00 00 00 00 00 00 00 00 00 )
[=]   DF AID Function... 000001  : (unknown)
[+] Auth commands: 
[+]    Auth.............. YES
[+]    Auth ISO.......... YES
[+]    Auth AES.......... NO
[+]    Auth Ev2.......... NO
[+]    Auth ISO Native... YES
[+]    Auth LRP.......... NO
[+] 
[+] Application level rights:
[+] -- AMK authentication is necessary to change any key (default)
[+] [1...] AMK Configuration changeable   : YES
[+] [.1..] AMK required for create/delete : NO
[+] [..1.] Directory list access with AMK : NO
[+] [...1] AMK is changeable              : YES
[+] 
[+] Key: 2TDEA
[+] key count: 1
[+] 
[+] Key versions [0..0]:  00

Current file settings:

[usb] pm3 --> hf mfdes lsfiles --aid 000001
[=] ------------------------------------------ File list -----------------------------------------------------
[+]  ID |ISO ID| File type            | Mode  | Rights: raw, r w rw ch    | File settings
[+] ----------------------------------------------------------------------------------------------------------
[+]  01 | e103 | 0x00 Standard data   | Plain | eeee, free free free free | Size 15 / 0xF
[+]  02 | e104 | 0x00 Standard data   | Plain | eeee, free free free free | Size 2000 / 0x7D0

Offline

#2 2023-05-04 09:42:25

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: How to write NDEF record that is readable on NFC Tools?

I didn't add Desfire support for writing ndefs..   
Current supported: 14a/14b/mf/mfu/mfp/st25ta

nfc type4a read
nfc type4a write

Offline

Board footer

Powered by FluxBB