Format Mifare Magic Card

ubuntu@ubuntu:~$ sudo nfc-mfsetuid -h

Output:

Usage: nfc-mfsetuid [OPTIONS] [UID]
Options:
-h Help. Print this message.
-f Format. Delete all data (set to 0xFF) and reset ACLs to default.
-q Quiet mode. Suppress output of READER and CARD data (improves timing).

Specify UID (4 HEX bytes) to set UID, or leave blank for default '01234567'.
This utility can be used to recover cards that have been damaged by writing bad
data (e.g. wrong BCC), thus making them non-selectable by most tools/readers.

*** Note: this utility only works with special Mifare 1K cards (Chinese clones).

ubuntu@ubuntu:~$ sudo nfc-mfsetuid -f

Output:

NFC reader: SCM Micro / SCL3711-NFC&RW opened
Sent bits: 26 (7 bits)
Received bits: 04 00
Sent bits: 93 20
Received bits: 01 23 45 67 00
Sent bits: 93 70 01 23 45 67 00 d0 6f
Received bits: 08 b6 dd

Found tag with
UID: 01234567
ATQA: 0004
SAK: 08

Sent bits: 50 00 57 cd
...

Confirm format is complete:

ubuntu@ubuntu:~$ sudo mfoc -P 500 -O blank-chinese.dmp

Output:

ISO/IEC 14443A (106 kbps) target:
ATQA (SENS_RES): 00 04
* UID size: single
* bit frame anticollision supported
UID (NFCID1): 01 23 45 67
SAK (SEL_RES): 08
* Not compliant with ISO/IEC 14443-4
* Not compliant with ISO/IEC 18092
...

Leave a Reply

Your email address will not be published. Required fields are marked *