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

  • Logged in as ikarus
  • Last visit: Today 11:22:42

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 2022-11-28 21:08:12

mbzadegan
Contributor
Registered: 2022-08-15
Posts: 20

Set UID for MiFare card.

Hi there,

How can I set a different UID for the following MIFARE card?
What command should I use?

Thank you

[usb] pm3 --> hf search
[\] Searching for ISO14443-A tag...
[+]  UID: 90 99 5A 1B
[+] ATQA: 00 04
[+]  SAK: 08 [2]
[+] Possible types:
[+]    MIFARE Classic 1K
[=] proprietary non iso14443-4 card found, RATS not supported
[+] Prng detection: weak
[#] Auth error
[?] Hint: try `hf mf` commands


[+] Valid ISO 14443-A tag found

[usb] pm3 -->

Offline

#2 2022-12-02 01:27:44

mbzadegan
Contributor
Registered: 2022-08-15
Posts: 20

Re: Set UID for MiFare card.

Waiting for any hints...
How can I set a different UID on this MiFare card?
Thank you.

Last edited by mbzadegan (2022-12-02 01:31:04)

Offline

#3 2022-12-06 08:16:43

osprey23
Contributor
Registered: 2022-10-24
Posts: 3

Re: Set UID for MiFare card.

If this is a MiFare card, you will NOT be able to set the UID. If it is a magic card, you can.

To set the UID on the magic card, use the command "hf mf csetuid". See below.

[usb] pm3 --> hf mf csetuid --help

Set UID, ATQA, and SAK for magic gen1a card

usage:
    hf mf csetuid [-hw] [-u <hex>] [-a <hex>] [-s <hex>]

options:
    -h, --help                     This help
    -w, --wipe                     wipes card with backdoor cmd`
    -u, --uid <hex>                UID, 4/7 hex bytes
    -a, --atqa <hex>               ATQA, 2 hex bytes
    -s, --sak <hex>                SAK, 1 hex byte

examples/notes:
    hf mf csetuid -u 01020304
    hf mf csetuid -w -u 01020304 --atqa 0004 --sak 08

[usb] pm3 -->

Offline

#4 2022-12-06 20:57:43

mbzadegan
Contributor
Registered: 2022-08-15
Posts: 20

Re: Set UID for MiFare card.

Thank you for your response.
How can I find if this is a magic card or not magic card?

Offline

Quick reply

Write your message and submit

Board footer

Powered by FluxBB