Access card UID: what it is and why UID-based identification is insecure

How a chip serial number differs from proof of authenticity and how to work with identifiers in Seenaptec Access Platform
Seenaptec · 02 December 2026
Fundamentals

What is a UID and how the system reads it

UID (Unique Identifier) is the factory serial number of a contactless card's chip. It is written to the chip during manufacturing, and in legitimate cards it cannot be changed: for ISO/IEC 14443 cards (MIFARE and compatible), it is a 4- or 7-byte value; for 125 kHz cards, it is a code in the EM-Marin format or similar. Technically, the UID has a single function — addressing: the reader uses this number to distinguish cards during the anti-collision stage, when several credentials end up in its field at once.

An important consequence: the UID is transmitted in plain text. The "return the serial number" command requires no keys or authentication — the standard is designed this way so that any reader can work with any card. Therefore, the code can be obtained simply by bringing the card close to a reader; the standard registration of identifiers in an ACS is built on the same mechanism.

In Seenaptec Access Platform, the scanned number becomes the identifier's "Code" in the "Identifiers" panel: the card is tapped against any reader in the system or a control USB reader at the operator's workstation, or the code is entered manually. During commissioning, the read event itself is also visible — in "Commissioning (LIVE)" mode, an entry with the scanned identifier's code appears in the feed on every presentation.

The code then goes through the standard access-request processing chain: the reader receives it upon presentation, the peripheral device transmits the event over the OSDP line, the decision-making service finds the person by the identifier, checks their status, active passes, rights to the object, validity period, schedule, and the object's rules — and issues an "allow" or "deny" decision, which is recorded in the event log along with the reason.

Risk

Why identification by UID alone is insecure

UID is an identifier, not proof of authenticity. A system that decides on the number alone answers the question “what code was presented,” but not “is this a genuine card.” And copying the number is technically easy:

  • UID is read without keys. Any ISO 14443 reader — including inexpensive field devices and emulators — picks up the number in a fraction of a second; a brief moment near the card is enough.
  • The number is written to a blank. Cards and key fobs with rewritable UIDs, as well as hardware emulators that replay the scanned code bit-for-bit, are readily available: to an access control system the clone is indistinguishable from the original.
  • Uniqueness is not guaranteed even without malicious intent. 4-byte numbers repeat across manufacturers and batches; a 7-byte UID is more reliable as an address, but it changes nothing against forgery — it is copied in exactly the same way.
  • A clone passes “quietly.” A fake card carrying someone else’s number appears in the log as a routine entry by the owner: the access event contains no sign of forgery, because only the code was checked.

Practical takeaway: a UID works as a way to name an identifier and keep it on record — in the platform the code is used to look up the person and verify passes — but it must not be used as the sole factor of authenticity.

Risk

What makes a copy possible

Reading

Open transmission of the number

The UID is transmitted during the anti-collision stage without authentication — any reader within range of the field can intercept it.
Copy

Blanks and emulators

Cards with a changeable UID and emulator devices reproduce the code in full; distinguishing a copy by its number is impossible in principle.
Trust

Code Instead of a Card

If the system accepts only a number, trust extends to any carrier of that number — including a counterfeit.
Protection

Secure identification: authentication instead of a number

Secure cards — MIFARE Plus, MIFARE DESFire — are built differently: in addition to a public UID, they have a memory area accessible only after cryptographic authentication. The reader and the card prove to each other that they know the AES key without revealing it over the air, and the identifier used by the system is data from the protected area rather than the serial number. Such a card cannot be copied by reading its number: without the key a clone will not pass authentication, and keys are computed individually for each card (diversification), so compromising one card does not expose the others.

In Seenaptec Access Platform, card keys are a separate material type in the secure "Secrets" vault of the "Security" workspace: the value is entered once, is encrypted after being saved, and is not displayed on any screen — consumers access it by reference, while creation, replacement, and deletion are recorded in the audit log without the values themselves. Cards are issued under these keys at the operator workstation; the secure issuance process for MIFARE Plus and DESFire is covered in a separate article. The Seenaptec lineup also includes a certified card for this scheme — AGRG SL3 Certified MF+ (MIFARE Plus X 2K, SL3 security level, 7-byte UID).

It is worth emphasizing separately: the channel between the reader and the server is protected regardless of the card type — OSDP Secure Channel, with working-key establishment and automatic rotation, closes the line to eavesdropping and tampering. The weak point of UID-based identification is not the line, but the fact that the card hands out its only "secret" in the clear.

Practice

Practical measures against copying

Presenting a secure card at the server cabinet door
Cards

Secure identifiers at critical facilities

Migrate server rooms, data centers, archives, and areas holding valuables to cards with cryptographic authentication — that is exactly where the cost of cloning is highest.
Card and keypad — two identification factors
Second factor

"Card + PIN" mode

Even a copied card number will not open the door without a PIN — at sites using this mode, a clone is pointless. Both escort mode and duress PIN are supported.
Event log with a highlighted anomaly entry
Control

Anomalies in the Event Log

Anti-passback (APB), "identifier not found" and escort events help spot duplicates: the same code physically cannot be in two places at once.
Card reissue: the old identifier has been withdrawn and a new one issued
Lifecycle

Quick card deactivation

If a pass is lost or suspected of being copied — the "Lost" and "Withdrawn" states plus the "Reissue" operation: a new code is issued without remaking the badges, while the old one remains occupied and never returns to circulation.
Migration from legacy cards to secure cards
Migration

Phased replacement of the card fleet

Multi-format AGRG readers read both 125 kHz and MIFARE credentials simultaneously — sites keep operating while the badge office replaces identifiers in batches.

UID and secure identification: what's the difference

UID-based identificationProtected identification
What is readThe chip's public serial numberData from a memory area after cryptographic authentication
What presenting it provesOnly the fact that a code was presentedThe card's authenticity — only the original knows the key
Resistance to cloningA blank card or emulator can replicate the number in secondsWithout the key, a copy fails authentication
KeysNot usedStored in "Secrets," cannot be read from the interface, diversified per card
Forgery in the event logIndistinguishable from the cardholder's access eventRejected before the access decision is made

The UID itself doesn't go anywhere: it remains a convenient name for the identifier in the "Identifiers" panel, used for record-keeping, reissuance, and investigations. What changes is its role — instead of serving as "proof," it becomes an administrative attribute, while authenticity is confirmed by cryptography.