Cloning an HID Prox II Card to a T5577 with a Proxmark3

5 min read188 courses on OnlySecurity

HID Prox is the format behind a large share of the 125 kHz door cards in service. It is unencrypted, and the Proxmark3 can read it and write it to a blank T5577 in a handful of commands. This walkthrough uses a card you own, and shows both the process and why it works. Test only cards and systems you own or are authorised to assess.

What HID Prox is

HID Prox, sold as ProxCard II and in other card styles, is a 125 kHz format that uses frequency shift keying. Each card sends a fixed code in a repeating stream, and the reader decodes it. The most common layout is the 26-bit format, called H10301 in the Proxmark3 client, which holds an 8-bit facility code and a 16-bit card number, plus a leading and a trailing parity bit. Larger formats exist and are in the client’s wiegand list, such as the 35-bit and 48-bit HID Corporate 1000 formats and the 37-bit H10304. Always read the data itself rather than trusting what is printed on the card.

What you need

  1. A Proxmark3 with a tuned low frequency antenna.
  2. The card you own.
  3. A blank T5577.
  4. The Iceman client, which accepts the commands below. Older guides that pass a bare hex ID to lf hid clone use a syntax the current client no longer accepts.

Step 1: check the antenna

Run hw tune with no card on the antenna and check that the low frequency voltage is sensible. A very low reading means the antenna is not connected correctly.

Step 2: read the card

Place the card on the antenna and run:

lf hid reader

The client demodulates the signal and prints the raw value, the format and the decoded facility code and card number. If it prints the format as H10301, you have a 26-bit card. If the format is not recognised, the raw value is still shown and can be written back as it is. You can also use lf search, which identifies the family if you do not know it.

Step 3: write the T5577

Remove the original card, place the blank T5577 on the antenna and write it. There are two ways. If you have the facility code and card number and the format is H10301:

lf hid clone -w H10301 --fc 118 --cn 1603

The values here are the example numbers from the Proxmark3 documentation, so replace them with the values from your own card. Or, if you have the raw value, which works for any format the client displays:

lf hid clone -r 2006ec0c86

That raw value is also the documentation example for a 26-bit card. The command writes the configuration block and the data blocks, so the T5577 then sends an HID Prox stream. Add --q5 or --em for a Q5 or an EM4305 blank.

Step 4: verify

Read the T5577 with the same reader command:

lf hid reader

The facility code and card number should match the original. If they do not, check that the blank is a genuine T5577, that the antenna is tuned and that the card is centred on the antenna. If a previous write left a password on the blank, lf t55xx detect fails to decode the configuration until you give it the password with -p.

The 26-bit H10301 Wiegand layout drawn bit by bit for demo facility code 101 and card number 1337: a leading even parity bit, an 8-bit facility code, a 16-bit card number and a trailing odd parity bit. wiegand encode turns the number pair into raw hex and wiegand decode turns raw hex back into numbers. The key point: a static facility code and card number is just data, and the reader cannot tell a genuine tag from a replay.
H10301 is two numbers and two parity bits; nothing in it proves who issued the card.

Why it works

HID Prox cards contain no secret. The code is the only credential and the reader accepts any card that sends it. Because the data is sent in the clear, a Proxmark3 can read it and a T5577 can send it back. The reader cannot tell a copy from the original, as there is nothing in the transaction that identifies the physical chip.

The fix

The remedy for a site that relies on 125 kHz HID Prox is to move to a credential that authenticates. HID’s own products in that direction use higher frequency cards with cryptographic keys, such as iCLASS SE and Seos, although each generation has its own limits, so read the assessment notes for the card you plan to deploy. Where replacement is not immediate, treat the doors as low assurance, add a second factor on sensitive areas and log the use of cards.

For a full assessment workflow, including how to write this up for a client, see Attacking RFID Access Control: Assess, Report and Fix. For the Proxmark3 skills behind it, work through Proxmark: RFID Research and Cloning and the RFID and NFC Ultimate Course.

Proxmark3 commands

These commands were checked against Iceman client v4.23346, released September 2026. Run -h on any of them for the options in your own build.

  1. lf hid reader reads the card and lf hid demod decodes a signal already captured.
  2. lf hid clone writes a credential to a T5577, a Q5 or an EM4305, given a format with -w and --fc and --cn, or a raw value with -r.
  3. lf hid sim simulates the credential, lf hid watch listens continuously, and lf hid brute steps facility code or card number against a reader you are authorised to test.
  4. wiegand encode and wiegand decode convert between the number pair and the raw bits.

More in this series

Start with the hub guide, How to Identify an RFID or NFC Card. Related reading: T5577 and T5567 and EM4100, EM4102 and EM4200.

More from this author