1 (edited by hu9eisho5eeM 2019-08-02 09:05:20)

Topic: writing to Mifare Ultralight from a script - NFC filament boost

I don't own NFC-enabled android phone, so I can't just install app and move on. Instead I tried to use my old "tikitag" tag reader to overwrite the original tag with old data. ( this is tikitag: https://www.rfidjournal.com/articles/view?4316 )

Using the standard "nfc-mfultralight" you can get first 8 pages:

$ nfc-mfultralight  r a.mfd
NFC device:     / CCID USB Reader opened
Found MIFARE Ultralight card with UID: 04xxxxxxxxxxxx
Reading 16 pages |........|
Done, 8 of 16 pages readed.

Then by feeding it with correct password from nfckey.xyz I can *read* 45 pages:

$ nfc-mfultralight r x.mfc --pw E843xxxx
NFC device:     / CCID USB Reader opened
1 ISO14443A passive target(s) found:
    04xxxxxxxxxxxx
Using MIFARE Ultralight card with UID: 04xxxxxxxx
NTAG Type: NTAG213 (144 user bytes)
Authing with PWD: e843xxxx Success - PACK: f910
Reading 45 pages |.............................................|
Done, 45 of 45 pages read (0 pages failed).
Writing data to file: x.mfc ... Done.

Sadly, this is where my luck run out. I don't think I'm able to overwrite the tag with just stale data:

$ nfc-mfultralight w 73m.mfc --pw 09xxxxxx
NFC device:     / CCID USB Reader opened
1 ISO14443A passive target(s) found:
    04xxxxxxxxxxxx
Using MIFARE Ultralight card with UID: 04xxxxxxxxxxxx
NTAG Type: NTAG213 (144 user bytes)
Authing with PWD: 90xxxxxx Success - PACK: 0e61
Write OTP/Capability Bytes ? [yN] 
Write Lock Bytes (Warning: OTP if set) ? [yN] 
Write Dynamic Lock Bytes ? [yN] 
Write UID bytes (only for special writeable UID cards) ? [yN] 

Writing 45 pages |ssss..ffffffffffffffffffffffffffffffffffsffff|
Done, 2 of 45 pages written (5 pages skipped, 38 pages failed).

So I was able to only write 2 pages, which makes me sad. Does anyone have ideas how to use "nfc-tools" or perhaps "RFIDIOt" to perform succcessful write?

2

Re: writing to Mifare Ultralight from a script - NFC filament boost

You can get an old phone on Ebay with nfc for like 50 bucks. It does not need to be on a network.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.