3 ms·
HN formatting is going to do bad things here.. Here's the first 6 blocks of the card after I ran through the instructions of the post, then a ndefformat-only c
by ewpratten 2y ago
HN formatting is going to do bad things here..
Here's the first 6 blocks of the card after I ran through the instructions of the post, then a ndefformat-only card (that never touched an iphone).
[=] 0 | 0 | 00 56 78 BB 95 08 04 00 02 B2 1E 24 23 27 1E 1D | .Vx........$#'..
[=] | 1 | 14 01 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 | ...�.�.�.�.�.�.�
[=] | 2 | 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 | .�.�.�.�.�.�.�.�
[=] | 3 | A0 A1 A2 A3 A4 A5 78 77 88 C1 89 EC A9 7F 8C 2A | ......xw.......*
[=] 1 | 4 | 00 00 03 12 D1 01 0E 55 04 65 77 70 72 61 74 74 | ....�..U.ewpratt
[=] | 5 | 65 6E 2E 63 6F 6D FE 00 00 00 00 00 00 00 00 00 | en.com�.........
[=] 0 | 0 | 00 56 78 BB 95 08 04 00 02 B2 1E 24 23 27 1E 1D | .Vx........$#'..
[=] | 1 | 14 01 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 | ...�.�.�.�.�.�.�
[=] | 2 | 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 | .�.�.�.�.�.�.�.�
[=] | 3 | A0 A1 A2 A3 A4 A5 78 77 88 C1 89 EC A9 7F 8C 2A | ......xw.......*
[=] 1 | 4 | 03 00 FE 00 00 00 00 00 00 00 00 00 00 00 00 00 | ..�.............
[=] | 5 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
- stavros 2y agoHere's mine: https://www.pastery.net/tckuyc+dausye/ https://www.pastery.net/tckuyc+dausye/
- ewpratten 2y agoYa, looks like the iPhone is tinkering with the NDEF message itself. If my Android phone wasn't dead, I'd love to compare an iPhone's write against the Android NFC Tools app's write. If anyone else has an iPhone, an Android phone, and a Proxmark, I'd be interested in seeing a three-way diff between them all. EDIT: I'm going to try to cross-post to the DT forum to see if anyone has ideas.
- stavros 2y agoI've got both phones next to me, what do you want me to do exactly?
- ewpratten 2y agoWipe the card. Make a dump after doing "hf mf ndefformat". Then make a dump after writing a payload from an iPhone. (since iPhone seems to want ndefformat anyways) Then wipe again and make a dump after writing from Android.
- stavros 2y agoHere you go: https://www.pastery.net/xajezk+gbkqqz+aqwygg+ukrdad/ https://www.pastery.net/xajezk+gbkqqz+aqwygg+ukrdad/
- ewpratten 2y agoThank you very much! Something's clearly up there. You can see that even IOS and Android disagree with each other on what NDEF should look like by a few bytes. Very interesting.
- stavros 2y agoYep, 89 EC A9 7F 8C 2A 00 00 on iOS versus FF FF FF FF FF FF on Android. Interesting how the number of bytes is different, I should play with them a bit.
- ewpratten 2y agoThere's lots of info about the NDEF "packet" format online. I used this page as reference when I was putting together the "magic bytes" in the final section of the blog post: https://www.oreilly.com/library/view/beginning-nfc/9781449324094/ch04.html https://www.oreilly.com/library/view/beginning-nfc/978144932...
- stavros 2y agoThis is fantastic, thanks! Also, one thing that might be of interest: Even after a wipe and an ndefformat, my Android-written tag can be read by my iPhone 15. NFC tools will only read it in compatibility mode, though.