MIFARE: Contactless Access Technology in Seenaptec

From chip serial number to secure issuance of MIFARE Plus and DESFire cards in the access control platform
Seenaptec · 02 December 2026
RFID

What is MIFARE

MIFARE is a family of contactless microchips and cards from NXP Semiconductors that has become the de facto industry standard for access control systems. The cards operate at 13.56 MHz under the ISO/IEC 14443 Type A protocol: the reader generates a field from which the chip draws power and exchanges data with it over a distance of several centimeters. Compared to the older 125 kHz cards, MIFARE offers more memory, a higher data rate, and cryptographic mechanisms — meaning the card can be not just a "fob with a number" but a secure credential.

In access control systems, the card acts as an identifier carrier: the reader obtains the code and passes it to the higher level, while the access decision is made by the system. That is why two characteristics matter in practice — which code the equipment actually reads and how well that code is protected against cloning.

In Seenaptec Access Platform, a MIFARE card is represented by the "identifier" entity: it has a type ("Regular", "Internal", or "Control"), a validity period, and a lifecycle state — from issuance to a person through blocking, loss, or withdrawal upon reissuance.

UID and Secure Memory: Two Usage Scenarios

The minimal option is reading the UID — the chip's unique serial number. It is transmitted openly whenever the field is activated: any compatible device can read it, and a card like this can be cloned with off-the-shelf tools. UID is convenient for compatibility with a legacy installed base and for low-risk areas, but as the sole factor at secured facilities it is considered weak.

The secure option is issuance into a protected memory area: the system writes the identifier into a card sector or application whose keys are known only to it. The reader authenticates on the card and receives the code from the protected area; the key itself is never transmitted over the interface. Such issuance cannot be forged by writing a code from the outside — the card must be issued by this particular system.

ApproachWhat is readCopy resistanceWhere to use
UID (serial number)Open chip numberLow — readable by third-party devicesLegacy installed base, guest passes, low-risk areas
Protected sectors and applicationsCode written by the system at issuanceHigh — requires the issuer key (AES)New facilities, restricted areas, new card issuance
Overview

The MIFARE Family: Which to Choose for an Access Control System

01.
Legacy

MIFARE Classic 1K/4K

Sector memory of 1 or 4 KB and Crypto1 encryption — the cryptography has long been compromised and cards can be cloned. Supported for the existing installed base, but not recommended for new card issuance.
02.
Migration

MIFARE Plus S/X

An evolution of Classic with AES-128 cryptography and SL1–SL3 security levels. Compatibility mode lets a site migrate in stages: Plus cards work alongside the legacy card fleet, then points are switched to SL3.
03.
New sites

MIFARE DESFire EV3

File-based operating system with applications and access rights separation, DES/3DES/AES algorithms, secure transactions. The most robust option for secure issuance in new projects.

How a MIFARE card works in Seenaptec Access Platform

The card presentation flow works like this: the reader receives the code, the peripheral device sends the event over the OSDP line to the srv_osdp service, then through the MQTT broker to the srv_behavior service. The latter checks the credential: whether the validity period and permitted passage count hold, whether the access time is allowed, whether conditions apply, whether the anti-passback rule (APB) will fire, and whether escort is required. The decision is returned to the line — and the lock relay trips, or a denial is recorded in the log with its reason.

Two architectural properties matter specifically for the card topic. First, rights are assigned to the access object — a door, a turnstile, a cabinet — not to a specific reader: replacing a device on the line does not require reconfiguring the rules. Second, peripheral devices make no decisions — all logic resides on the server, so "flashing a permission" into the card or the reader is pointless.

The identification mode is configured per access object:

  • "Card only" — the standard passage scenario;
  • "Card + PIN" — after the card is presented, a 4–12 digit code is entered;
  • "Card + escort" — after the visitor's card, the escort's card is presented (dual control);
  • "Card + PIN + escort" — the PIN is entered by the escort.

The MIFARE card remains the identifier carrier, while the second factor is added by the system — at the object rule level, without replacing hardware. Setup details are in the administrator's guide.

Practice

The Card Domain in Platform Operation

A desktop encoder issues a contactless access card
Emission

Secure card issuance

The platform issues credentials on secure MIFARE Plus and DESFire memory: card keys are stored in a secrets vault and used by reference, without being disclosed to the operator. For details, see the article on access card issuance.
An employee presents their card to the reader on the door
Issuance

A card becomes a pass in a minute

A new identifier is issued by tapping it against any reader or by entering the code manually — using a template with a ready-made validity-period rule. When reissued, the previous code receives the status "Withdrawn", while the person's passes and links are preserved.
Access control system administrator workstation with an access control panel
Life cycle

Blocking and loss without stop lists

The "Blocked" and "Lost" states take effect instantly at all access points: the server makes the decisions, so revoking a card requires no distribution to the controllers. Issuance, unbinding, and reissuance are recorded in the audit log.
An engineer configures a turnstile with a tablet in the building lobby
Commissioning

Presentation Diagnostics

The "Commissioning (LIVE)" mode shows the reader's signals in real time, and the device card shows the last scanned code: telling "card not read" apart from "no access rights" takes a single pass.

Keys, Bus, and Log: What Protects the Card Perimeter

The card key in the platform is a named secret of the "Security" workspace, alongside the OSDP key and the backup password. Its value cannot be read from the interface — it can only be used by reference; the creation, rotation, and deletion of secrets are recorded in the audit log without the values themselves.

The "reader-to-server" exchange is protected on two levels: an encrypted OSDP Secure Channel with key installation and rotation, and for supported AGRG devices — automated Seenaptec SecureBus discovery, which detects devices on the line by their serial numbers and assigns addresses. Every event log entry is included in a hash chain — a breach of the log's integrity itself becomes an alarm.

Migration

Migrating a legacy card fleet

At existing sites, MIFARE typically replaces 125 kHz cards (EM-Marine, HID) or cards with exposed UIDs. The migration does not have to happen "in one day": multi-format readers read the old and new card fleets simultaneously, while new credentials are issued through the regular pass-office workflow — up to and including bulk import of personnel from a CSV file together with their cards.

Practical details are covered in the article about the AGRG multi-format reader and in the note on migrating Wiegand systems and secure card issuance in version 1.6.1.