Access Control & Security Technology
Contactless smart cards appear everywhere today — from office access control to public transport ticketing and cashless payments. However, not all cards offer equal protection. In fact, choosing the right card technology determines whether your system remains secure and future-proof, or instead becomes a vulnerability waiting for exploitation.
Therefore, in this article we compare the most widely used contactless card technologies: 125kHz proximity cards, MIFARE Classic, and MIFARE DESFire EV3. Specifically, we examine their security features, cryptographic capabilities, key management strategies, and also their real-world multi-application use cases.
In summary, Frequency: 125 kHz • Standard: Proprietary (e.g. EM4100/EM4102, HID Prox, AWID, Indala — the list is far from exhaustive) • Memory: Read-only UID / fixed ID number, the exact length depending on the format (e.g. 40-bit EM4100 UID, 26-bit Wiegand H10301 on HID Prox) • Security: ❌ None
Among contactless technologies, the 125kHz card ranks as the oldest and most widespread. In essence, the reader energizes the card through electromagnetic induction. As a result, the card then broadcasts a fixed, hardcoded ID number. Because of this simple design, there is consequently no authentication or encryption whatsoever.
| Feature | 125kHz Prox |
|---|---|
| Encryption | ❌ None |
| Mutual Authentication | ❌ None |
| Clone Protection | ❌ None |
| Eavesdrop Resistance | ❌ None |
| Key Diversification | ❌ N/A |
Frequency: 13.56 MHz • Standard: ISO/IEC 14443 Type A (partially) • Memory: 1KB or 4KB, organized in sectors • Security: ⚠️ Weak — fundamentally broken
Historically, NXP introduced MIFARE Classic in the 1990s. Essentially, it relies on a proprietary stream cipher called CRYPTO1. Although this design initially appeared secure, researchers later exposed critical weaknesses in the underlying algorithm. Consequently, each sector's two keys (Key A and Key B) no longer provide meaningful protection.
| Feature | MIFARE Classic |
|---|---|
| Encryption | ⚠️ CRYPTO1 (proprietary, broken) |
| Mutual Authentication | ⚠️ Yes, but compromised |
| Clone Protection | ❌ UID cloneable |
| Eavesdrop Resistance | ❌ Vulnerable |
| Key Diversification | ✓ Possible (app-level) |
Despite its weaknesses, some better implementations did use key diversification. In particular, the approach worked as follows:
DiversifiedKey = KDF(MasterKey, UID)However, because CRYPTO1 itself is fundamentally broken, diversification consequently only improves security marginally against a sophisticated attacker.
Frequency: 13.56 MHz • Standard: ISO/IEC 14443-4, ISO 7816-4 • Security: ✓ High assurance when properly configured
Currently, NXP positions DESFire EV3 as its mainstream high-security smart card platform. Essentially, it functions as a full multi-application, multi-file card with a genuine operating system running on a secure element. Unlike older technologies, it therefore relies on standard cryptographic primitives rather than proprietary algorithms.
| Algorithm | Key Size | Use Case |
|---|---|---|
| DES / 2K3DES | 56 / 112-bit | Legacy, not recommended |
| 3K3DES | 168-bit | Legacy migration only |
| AES-128 | 128-bit | Recommended for all new deployments |
| AES-256 | — | ❌ Not supported by DESFire EV3 |
| ECC / asymmetric PKI | — | ❌ Not supported by DESFire EV3 — see MIFARE DUOX (2024) or HID SEOS |
| Feature | DESFire EV3 |
|---|---|
| Encryption | ✓ AES-128 (plus legacy DES/3DES) |
| Mutual Authentication | ✓ Full mutual auth (AuthenticateEV2First) |
| Clone Protection | ✓ Secure element, random UID option |
| Eavesdrop Resistance | ✓ Encrypted channel |
| Replay Attack Protection | ✓ Session keys, nonces, command counter |
| Key Diversification | ✓ Built-in support (AN10922) |
| Transaction MAC | ✓ Introduced in EV2, retained in EV3 |
| Proximity Check | ✓ Introduced in EV2, retained in EV3 |
| SUN / Secure Dynamic Messaging | ✓ EV3 |
Importantly, the card uses a hierarchical key structure with three distinct levels:
In addition, Key Diversification functions as a first-class feature on DESFire EV3:
DiversifiedKey = AES-CMAC(MasterKey, [DivConstant || UID || AID || SysID || padding])
By using NXP’s AN10922 diversification scheme (or alternatively a custom KDF), each card therefore receives unique, mathematically derived keys. Consequently, compromising one card reveals nothing about other cards. Note, however, that this protects the cards, not the master key itself — see the SAM discussion below.
A 125kHz proximity card broadcasts a single fixed number, so it can realistically serve only one identity. MIFARE Classic is more capable than it is often given credit for: each sector has its own Key A / Key B, and the MAD (MIFARE Application Directory) was designed precisely to let several applications coexist on one card. Multi-application Classic deployments (campus card = door access + canteen + library) have run for decades. The real problem is not capability but strength: because CRYPTO1 is broken, one operator's compromised sector key can be used to attack the rest of the card, so the cryptographic separation between applications is illusory.
Card (PICC)
├── PICC Master Key
├── Application 1 (AID: 0x000001) — Building Access
│ ├── App Master Key
│ ├── Key 1 (Read access rights)
│ ├── File 1: Access level data
│ └── File 2: Card metadata
├── Application 2 (AID: 0x000002) — Canteen / Cashless Payment
│ ├── App Master Key (different key!)
│ ├── Key 1 (Read balance)
│ ├── Key 2 (Debit)
│ ├── Key 3 (Credit — only terminal has this)
│ └── File 1: Value file (balance)
├── Application 3 (AID: 0x000003) — Time & Attendance
│ └── ...
└── Application 4 (AID: 0x000004) — Parking
└── ...
Each application benefits from cryptographic isolation. In practice, this means the following:
| Application | AID | Keys Used | Operator |
|---|---|---|---|
| Door Access | 0x010001 | Diversified AES-128 | Facilities Team |
| Lunch Canteen | 0x010002 | Diversified AES-128 | Catering Vendor |
| Gym Entry | 0x010003 | Diversified AES-128 | HR / Wellness |
| Parking | 0x010004 | Diversified AES-128 | Parking Management |
| IT Asset Tracking | 0x010005 | Diversified AES-128 (PKI would require DUOX or SEOS) | IT Security |
| Feature | 125kHz Prox | MIFARE Classic | DESFire EV3 |
|---|---|---|---|
| Frequency | 125 kHz | 13.56 MHz | 13.56 MHz |
| Encryption | ❌ None | ⚠️ CRYPTO1 (broken) | ✓ AES-128 |
| Authentication | ❌ None | ⚠️ Broken | ✓ Full mutual auth |
| Anti-Clone | ❌ | ❌ | ✓ Secure element |
| Key Diversification | ❌ | ⚠️ Possible, but undermined by CRYPTO1 | ✓ Built-in |
| Multi-Application | ❌ | ⚠️ Yes via MAD, but no real isolation | ✓ Memory-limited, plus DAM |
| Key Isolation | ❌ | ❌ | ✓ Per-app keys |
| Standards Compliance | ❌ Proprietary | ⚠️ Partial ISO | ✓ Full ISO 14443/7816 |
| Proximity Check | ❌ | ❌ | ✓ (since EV2) |
| Transaction MAC | ❌ | ❌ | ✓ (since EV2) |
| Asymmetric crypto (ECC/PKI) | ❌ | ❌ | ❌ (see MIFARE DUOX / SEOS) |
| Cloning Difficulty | Trivial | Easy | Infeasible (if the UID is not used as the credential) |
| Card Cost | ~€0.30 | ~€0.80 | ~€3–6 |
Because EV3 is fully backward compatible with EV1 and EV2 applications, a reader platform that supports EV3 can also serve an existing EV1/EV2 card population — which makes EV3 the sensible default for new procurement.
Overall, the evolution from 125kHz to MIFARE Classic to DESFire EV3 represents three distinct generations of security philosophy:
For these reasons, any modern deployment should therefore treat DESFire EV3 with AES-128 key diversification, SAM-protected keys and application-level (never UID-based) credentials as the minimum viable security baseline.
Naturally, access control history begins with magnetic stripe technology, which IBM developed in 1960 [1]. By the 1970s, banks had consequently adopted it widely. Although organizations started using magnetic stripes for physical security during the 1980s, users had to physically swipe each card through a reader. As a result, high throughput was impossible, and in addition the cards suffered from mechanical wear.
Subsequently, a major breakthrough arrived with 125 kHz proximity cards in the early 1990s. Specifically, Swiss company EM Microelectronic launched the EM4100 chip in 1993 — essentially a simple, read-only identifier [2]. Nearly simultaneously, HID Global (formerly Hughes Identification Devices) also released the ProxCard II series, which used a proprietary protocol [3].
Philips Semiconductors (now NXP Semiconductors) launched the MIFARE Classic chip in 1994. Notably, it represented one of the first implementations of the ISO/IEC 14443 Type A standard [4][5]. Furthermore, it became the first widely adopted contactless card to promise encryption, although that promise later proved hollow.
In 2007, Nohl et al. at the University of Virginia began reverse-engineering CRYPTO1. Subsequently, in 2008, Garcia et al. at Radboud University completed the full analysis [6][7]. Because both the 48-bit key length and the weak PRNG contained fundamental flaws, the "nested authentication attack" could consequently crack all sector keys in mere minutes.
Meanwhile, NXP also released MIFARE Ultralight, a low-cost variant with limited memory, primarily intended for single-use tickets such as public transit passes [8].
In response to growing demand for secure 13.56 MHz cards, HID Global launched the iCLASS platform in 2002. Specifically, it built upon the ISO/IEC 15693 standard, which offered a longer read range [9]. Unfortunately, however, researchers later also cracked its proprietary encryption (Meriac, 2010; Garcia et al., 2012) [10].
After the MIFARE Classic failure, NXP consequently developed the DESFire platform. For the first time, this brought the ISO/IEC 7816-4 application structure to contactless cards [11]. In particular, it offered the following features:
Accordingly, MIFARE Plus served as NXP's bridge solution for migrating from Classic to DESFire [12]. In particular, it defines four security levels:
Importantly, it maintained the same sector-based memory structure as Classic. As a result, this simplified the migration process considerably.
After attackers compromised iCLASS, HID Global consequently developed an entirely new platform in response.
Separately, Swiss LEGIC Identsystems gained widespread adoption in Europe, particularly in the DACH region [14]. Their product line consequently includes several options:
Subsequently, building on EV1, the EV2 version consequently introduced several important enhancements [15]:
Most importantly, the EV3 currently adds several cutting-edge capabilities [16]:
In 2024 NXP introduced MIFARE DUOX, the first MIFARE-branded product to combine the familiar DESFire command set with asymmetric cryptography (ECC, ECDSA, certificate-based authentication). This closes precisely the gap left by EV3 and is the correct choice where digital signatures, on-card key pairs or PKI-based attestation are required.
Most recently, the industry trend has shifted toward replacing physical cards with smartphones. Consequently, several solutions now compete in this space:
| Technology | Manufacturer | Year | Frequency | Standard | Encryption | Memory | Security (1-5) |
|---|---|---|---|---|---|---|---|
| EM4100/4102 | EM Micro. | 1993 | 125 kHz | Proprietary | None | 40-bit UID | ⭐ (1) |
| HID ProxCard II | HID Global | ~1994 | 125 kHz | Proprietary | None | 26-bit Wiegand | ⭐ (1) |
| Indala | Motorola/HID | ~1995 | 125 kHz | Proprietary | None | 26/37-bit | ⭐ (1) |
| MIFARE Classic 1K | NXP (Philips) | 1994 | 13.56 MHz | ISO 14443A (partial) | CRYPTO1 (broken) | 1 KB | ⭐⭐ (2) |
| MIFARE Classic 4K | NXP | 1994 | 13.56 MHz | ISO 14443A (partial) | CRYPTO1 (broken) | 4 KB | ⭐⭐ (2) |
| MIFARE Ultralight | NXP | 2001 | 13.56 MHz | ISO 14443A | None / 3DES (UL-C) | 64–640 B | ⭐–⭐⭐ (1-2) |
| iCLASS (Standard) | HID Global | 2002 | 13.56 MHz | ISO 15693 | DES (broken) | 2/16/32 kbit ≈ 256 B – 4 KB | ⭐⭐ (2) |
| MIFARE DESFire EV1 | NXP | 2006 | 13.56 MHz | ISO 14443A-4 | 3DES + AES-128 | 2/4/8 KB | ⭐⭐⭐⭐ (4) |
| MIFARE Plus | NXP | 2008 | 13.56 MHz | ISO 14443A | AES-128 (SL3) | 1/4 KB | ⭐⭐⭐ (3) |
| iCLASS SE (SIO) | HID Global | 2012 | 13.56 MHz | ISO 14443A | AES-128 + SIO | Variable | ⭐⭐⭐⭐ (4) |
| LEGIC advant | LEGIC | ~2010 | 13.56 MHz | ISO 14443 + 15693 | AES-128/256 | Variable | ⭐⭐⭐⭐ (4) |
| HID SEOS | HID Global | 2014 | 13.56 MHz + BLE | ISO 14443 | AES-128/256, ECC | Applet | ⭐⭐⭐⭐⭐ (5) |
| MIFARE DESFire EV2 | NXP | 2016 | 13.56 MHz | ISO 14443A-4 | AES-128 + TMAC | 2/4/8 KB | ⭐⭐⭐⭐½ (4.5) |
| MIFARE DESFire EV3 | NXP | 2020 | 13.56 MHz | ISO 14443A-4 | AES-128 + SUN/SDM | 2/4/8 KB | ⭐⭐⭐⭐⭐ (5) |
| MIFARE DUOX | NXP | 2024 | 13.56 MHz | ISO 14443A-4 | AES-128 + ECC/ECDSA | Variable | ⭐⭐⭐⭐⭐ (5) |
| Feature | 125 kHz | MIFARE Classic | DESFire EV1 | DESFire EV3 | SEOS |
|---|---|---|---|---|---|
| Authentication | ❌ None | ⚠️ CRYPTO1 (48-bit) | ✓ 3DES/AES | ✓ AES-128 | ✓ AES/ECC |
| Key length | N/A | 48 bit | 112/168 bit (3DES), 128 bit (AES) | 128 bit (AES) | 128/256 bit |
| Mutual auth. | ❌ | ⚠️ (compromised) | ✓ | ✓ | ✓ |
| Data encryption | ❌ | ⚠️ | ✓ AES-CBC | ✓ AES-CBC | ✓ AES |
| Message integrity | ❌ | ❌ | ✓ CMAC | ✓ CMAC + TMAC (since EV2) | ✓ |
| Relay protection | ❌ | ❌ | ❌ | ✓ Proximity Check (since EV2) | ✓ |
| Clone protection | ❌ | ❌ | ✓ (random UID) | ✓ (random UID) | ✓ (SE) |
| Key diversification | ❌ | ⚠️ Manual | ✓ AES CMAC | ✓ AES CMAC | ✓ Native |
| Asymmetric crypto | ❌ | ❌ | ❌ | ❌ (see DUOX) | ✓ ECC |
| Multi-application | ❌ | ⚠️ MAD, no isolation | ✓ Max 28 | ✓ Memory-limited + DAM | ✓ Applet |
| Certification | — | — | CC EAL4+ | CC EAL5+ | CC EAL5+ (chip) |
Shift 1: Analog → Digital (125 kHz → 13.56 MHz)
This transition introduced memory and sector-based access control. As a result, encryption became possible for the first time — although it was initially weak.
Shift 2: Proprietary → Open-Standard Cryptography (Classic → DESFire)
After researchers broke CRYPTO1 in 2008, it became clear that "security through obscurity" simply does not work [6][7]. Consequently, AES-128 emerged as the industry standard for card-level encryption.
Shift 3: Passive ID → Active Mutual Authentication
Previously, cards simply broadcast identifiers without any verification. In contrast, modern cards now prove their identity through cryptographic challenge-response protocols.
Shift 4: Symmetric → Asymmetric (DESFire → DUOX / SEOS)
Symmetric keys always have to exist somewhere in the field. On-card key pairs and certificate-based authentication remove that constraint, which is the direction the newest products are taking.
Shift 5: Physical → Mobile (card → phone)
Thanks to Secure Element and Host Card Emulation (HCE) technologies, cloud-based credential management platforms such as MIFARE 2GO and HID Origo have since made mobile access mainstream.
Essentially, a modern LenelS2 OnGuard access control system consists of four layers. Crucially, each layer therefore maintains its own independent encryption channel [20][21]:
┌──────────────┐ mTLS (TLS 1.2/1.3) ┌──────────────┐
│ OnGuard │ ◄──────────────────────────► │ LNL-M4420 │
│ Server │ TCP/IP, X.509 certs │ M-Series ISC│
└──────────────┘ └──────┬───────┘
│
OSDP v2 │ AES-128
(RS-485)│ Secure Channel
│
┌───────▼───────┐
│ HID Signo 40 │
│ Reader │
└───────┬───────┘
│
RF (NFC) │ DESFire EV3
ISO 14443│ AES-128 Auth
│
┌───────▼───────┐
│ Card │
│ (DESFire EV3)│
└───────────────┘
Note: the current generation of LenelS2 / Mercury controllers is the M-Series (e.g. LNL-M4420); the older X-Series (LNL-X4420) is shown here only for reference in existing installations.
LenelS2 OnGuard 8.x and newer versions support mutual TLS between the server and Intelligent System Controller (ISC) panels [20]. Specifically, the process works through four steps:
In a traditional system, panel-to-server communication travels in clear-text. Therefore, a man-in-the-middle attack can consequently compromise the entire system. However, mTLS prevents any rogue panel from connecting to the server, because it lacks a valid certificate.
OSDP stands for Open Supervised Device Protocol, which the SIA (Security Industry Association) standardized. Moreover, in 2020 it also became international standard IEC 60839-11-5 [22][23].
| Feature | Wiegand | OSDP v2 |
|---|---|---|
| Direction | Unidirectional (reader → panel) | Bidirectional |
| Encryption | ❌ None | ✓ AES-128 Secure Channel |
| Tamper detection | ❌ | ✓ Built-in |
| Cable distance | Max ~150 m | Max ~1200 m (RS-485) |
| Firmware update | ❌ | ✓ Remote |
| Standard | None (de facto) | IEC 60839-11-5 |
| LED/buzzer/display control | ❌ | ✓ Full |
The third encryption layer covers RF communication between reader and card. Specifically, with DESFire EV3, both parties engage in a full mutual authentication protocol [16][26]:
Reader Card
│ │
│── AuthenticateEV2First ──────────►│
│ (KeyNo, Length) │
│ │
│◄── E_K(RndB) ────────────────────│
│ │
│── E_K(RndA || RndB') ────────────►│
│ RndB' = RndB rotated left │
│ │
│◄── E_K(RndA' || TI || ...) ──────│
│ Transaction Identifier │
│ │
├── EV2 session keys (CMAC-based KDF)┤
│ SV1 = A5h 5Ah 00h 01h 00h 80h │
│ RndA[15..14] │
│ (RndA[13..8] XOR RndB[15..10])
│ RndB[9..0] RndA[7..0] │
│ K_ses.Enc = CMAC(K, SV1) │
│ (SV2 = 5Ah A5h ... → K_ses.MAC) │
│ │
│══ Secure Messaging Channel ═══════│
│ (AES-CBC encrypt + CMAC + CmdCtr)│
After authentication, the session key consequently encrypts every read and write operation, while CMAC authenticates each one. Moreover, because the random nonces differ each time, the session key therefore remains unique per transaction.
Enc(RndA[0..3] || RndB[0..3] || RndA[12..15] || RndB[12..15]) construction belongs to the EV1 / D40 (legacy) scheme used by AuthenticateISO / AuthenticateAES. It must not be confused with the CMAC-based KDF shown above, which applies after AuthenticateEV2First.
According to NATO Allied Communications Publication AC/322-D (2006) and NIST SP 800-116 Rev. 1 (2018) [27][28], a high-security access control system must therefore rest on five pillars:
┌─────────────────────────────────────────────────┐
│ ZONE 0 │
│ Public Area │
│ (parking, reception lobby) │
│ │
│ ┌───────────────────────────────────────────┐ │
│ │ ZONE 1 │ │
│ │ General Office │ │
│ │ Card + PIN (DESFire EV3) │ │
│ │ │ │
│ │ ┌─────────────────────────────────────┐ │ │
│ │ │ ZONE 2 │ │ │
│ │ │ Restricted Area │ │ │
│ │ │ Card + PIN + Escort Required │ │ │
│ │ │ │ │ │
│ │ │ ┌───────────────────────────────┐ │ │ │
│ │ │ │ ZONE 3 │ │ │ │
│ │ │ │ NATO SECRET / TOP SECRET │ │ │ │
│ │ │ │ Card + Biometrics + PIN │ │ │ │
│ │ │ │ Man-trap airlock │ │ │ │
│ │ │ │ Dual-auth (2-person rule) │ │ │ │
│ │ │ └───────────────────────────────┘ │ │ │
│ │ └─────────────────────────────────────┘ │ │
│ └───────────────────────────────────────────┘ │
└─────────────────────────────────────────────────┘
| Zone | Factor 1 | Factor 2 | Factor 3 | Other |
|---|---|---|---|---|
| 1 | DESFire EV3 card | PIN (4-8 digit) | — | — |
| 2 | DESFire EV3 card | PIN | — | Escort required |
| 3 | DESFire EV3 card | Biometrics (iris/fingerprint) | PIN | Dual-auth + man-trap |
According to the NATO INFOSEC Technical Centre (NITC) and AC/35-D(2002) [30], several additional measures therefore apply:
Consider this scenario: an access control system has 200 readers, and they all share the same AES-128 master key. If an attacker then physically removes a single reader (for example, from a remote parking garage) and extracts the key, the entire system — all 200 readers — consequently becomes compromised.
Indeed, this threat goes far beyond theory. In practice, organizations often place readers in public areas such as parking garages, stairwells, and exterior walls. Furthermore, side-channel attacks like DPA (Differential Power Analysis) can also extract AES keys from chips [31]. Therefore, one compromised reader means attackers can consequently clone all cards in the system.
Key diversification means that a single master key exists only on the server or inside a SAM module. From this master key, the system then mathematically derives individual card keys [32][33].
Master Key (K_master) — only on server / inside SAM
│
▼
┌─────────────────────────────┐
│ Diversification Input: │
│ • Card UID (7 bytes) │
│ • Application ID (3 bytes) │
│ • System Identifier (opt.) │
│ • Padding │
└─────────────────────────────┘
│
▼
AES-CMAC(K_master, input)
│
▼
K_card_i — unique key for this specific card
K_diversified = AES-CMAC(K_master, 0x01 || UID || AID || SysID || padding)
In this formula, K_master represents the 128-bit master key, while UID denotes the card's unique identifier (7 bytes). Similarly, AID specifies the application identifier (3 bytes). The CMAC function consequently guarantees two important properties. First, two different UIDs always produce two completely different keys. Second, because CMAC acts as a one-way function, no one can therefore reverse-engineer the master key from any derived key.
| Scenario | Fixed key, no SAM | Diversified key, no SAM | Diversified key + SAM |
|---|---|---|---|
| 1 reader stolen | ❌ Entire system compromised | ❌ Still compromised — the reader must hold the master key to derive card keys | ✓ Master key stays inside the tamper-resistant SAM; revoke that SAM and continue |
| 1 card cloned | ❌ All cards become clonable | ✓ Only that specific card's key becomes known | ✓ Only that specific card's key becomes known |
| Master key leaked | ❌ Entire system compromised | ❌ Entire system compromised | ❌ Entire system compromised — which is exactly why the key ceremony and HSM/SAM handling matter |
A SAM (Secure Access Module) functions as a physically protected cryptographic processor. Specifically, this tamper-resistant secure element stores keys and also executes cryptographic operations. Crucially, it ensures that the key never leaves the module under any circumstances [34][35].
Reader Interior
┌─────────────────────────────────────┐
│ │
│ ┌────────────┐ ┌──────────────┐ │
│ │ RF module │ │ SAM AV3 │ │
│ │ (antenna) │──►│ K_master │ │
│ │ │ │ Diversify() │ │
│ │ Card UID │ │ Auth() │ │
│ └────────────┘ └──────┬───────┘ │
│ │ │
│ Credential data │
│ (not the key!) │
│ │ │
│ ┌───────────────────────▼────────┐ │
│ │ OSDP Secure Channel → Panel │ │
│ └────────────────────────────────┘ │
└─────────────────────────────────────┘
A key ceremony is a formalized, audited process for generating, splitting, and loading cryptographic keys [36][37]. In particular, organizations typically follow five steps:
Typically, organizations schedule key rotation annually or semi-annually. In addition, they should also trigger immediate rotation upon suspicion of compromise. Notably, DESFire EV3 supports the ChangeKey command, which rotates the key within an active session. As a result, the system consequently experiences no service interruption during rotation.
Background: In 2005, the Netherlands introduced the OV-chipkaart system, which relied on MIFARE Classic cards for all public transport nationwide [38].
What happened: In 2008, Radboud University researchers (Garcia et al.) proved that MIFARE Classic CRYPTO1 encryption was completely breakable [7]. As a consequence, anyone could freely clone the cards. By 2011, the operator (Trans Link Systems) consequently acknowledged approximately €1 million in annual losses from cloned cards [39]. Subsequently, between 2012 and 2015, the organization therefore migrated the entire infrastructure to DESFire EV1.
Key lesson: Proprietary, non-publicly-audited cryptography consequently poses a fatal risk. In this case, the entire multi-billion euro infrastructure required complete replacement because of a single cryptographic failure.
Background: Transport for London's (TfL) Oyster Card system also relied on MIFARE Classic, having launched in 2003 [40].
What happened: Following the Dutch researchers' results in 2008, University College London researchers demonstrated that anyone could clone Oyster Cards. TfL therefore responded with a two-pronged approach. In the short term, they deployed a backend fraud-detection system that identified cloned cards through usage patterns. For the long term, they gradually migrated to DESFire EV1 and then EV2 (2014–2019). Additionally, the system also expanded to accept EMV contactless bank card payments in 2014 [41].
Key lesson: Although backend fraud detection provides supplementary protection, it consequently cannot replace card-level cryptography. In other words, both layers must work together for adequate security.
Background: Amsterdam Schiphol Airport wanted to use a single card platform for all applications: specifically access control, parking, catering payments, and time tracking [42].
Implementation: They consequently selected MIFARE DESFire EV2 in multi-application mode with four independent applications:
Notably, each application maintained its own independent key set. Moreover, DAM (Delegated Application Management) also allowed parking and catering operators to manage their own applications without knowing any access control keys.
Key result: Consequently, one card now serves four fully independent applications — and none of them can compromise each other's security.
The UK Centre for the Protection of National Infrastructure (CPNI) has published detailed guidelines on access control security [43]. In particular, their key recommendations include the following:
Background: Under HSPD-12 (2004), the US federal government consequently mandated the PIV (Personal Identity Verification) card for all federal employees and contractors [44][28].
PIV Card specifications:
Key lesson: Above all, the PIV system demonstrates that a well-designed, standards-based, multi-factor system can operate successfully at national scale. In fact, it therefore serves as the gold standard for government-level access control.
[1] IBM Archives, "The Magnetic Stripe Card," https://www.ibm.com/ibm/history/ibm100/us/en/icons/magnetic/
[2] EM Microelectronic, "EM4100 — Read Only Contactless Identification Device," Datasheet, 2004
[3] HID Global, "Understanding Card Technologies," https://www.hidglobal.com/
[4] NXP Semiconductors, "MIFARE Classic EV1 1K," Product data sheet, Rev. 3.2, 2018
[5] ISO/IEC 14443-1:2018, "Identification cards — Contactless integrated circuit cards"
[6] Nohl, K., et al.: "Reverse-Engineering a Cryptographic RFID Tag," USENIX Security, 2008
[7] Garcia, F.D., et al.: "Dismantling MIFARE Classic," ESORICS 2008, Springer LNCS 5283
[8] NXP Semiconductors, "MIFARE Ultralight EV1," Product data sheet, 2012
[9] HID Global, "iCLASS Smart Card Technology," Whitepaper, 2003
[10] Garcia, F.D., et al.: "Exposing iCLASS Key Diversification," USENIX Security, 2012
[11] NXP Semiconductors, "MIFARE DESFire EV1," MF3ICD81, Datasheet, 2008
[12] NXP Semiconductors, "MIFARE Plus," AN11004, 2013
[13] HID Global, "Understanding iCLASS SE and SIO," Whitepaper, 2014
[14] LEGIC Identsystems AG, "LEGIC advant," https://www.legic.com/
[15] NXP Semiconductors, "MIFARE DESFire EV2," MF3DHx2, Datasheet, 2016
[16] NXP Semiconductors, "MIFARE DESFire EV3," Product data sheet, 2020
[17] HID Global, "HID Mobile Access," https://www.hidglobal.com/solutions/hid-mobile-access
[18] Apple Inc., "Employee Badge in Apple Wallet," WWDC 2022
[19] NXP Semiconductors, "MIFARE 2GO," https://www.mifare.net/en/products/mifare-2go/
[20] LenelS2, "OnGuard 8.2 System Administration," Chapter 12, 2023
[21] LenelS2, "BlueDiamond/Mercury Architecture," Whitepaper, 2022
[22] SIA, "OSDP v2," SIA-OSDP-2.2, 2020
[23] IEC 60839-11-5:2020
[24] Lenel/SIA, "OSDP Secure Channel — Implementation Guide," 2019
[25] Bishop, M., Valenzuela, F.: "Wiegand Protocol Vulnerabilities," BlackHat USA, 2013
[26] NXP Semiconductors, "AN12343," Application Note, 2019
[27] NATO, "AC/322-D," 2006
[28] NIST, "SP 800-116 Rev. 1," 2018
[29] ASIS International, "Facilities Physical Security Measures Guideline," 2009
[30] NATO, "SDIP-27 — TEMPEST Standards"
[31] Kocher, P., et al.: "Differential Power Analysis," CRYPTO 1999
[32] NXP Semiconductors, "AN10922," Rev. 2.3, 2020
[33] NXP Semiconductors, "AN12196," 2021
[34] NXP Semiconductors, "SAM AV3," 2021
[35] NXP Semiconductors, "AN12207," 2021
[36] NIST, "SP 800-57 Part 1 Rev. 5," 2020
[37] PCI SSC, "PCI PIN Security Requirements," Version 3.1, 2022
[38] Trans Link Systems, "OV-chipkaart Security Improvement Programme," 2013
[39] van Rossum, P.: "Smart Card Security in Public Transport," CARDIS 2012
[40] Transport for London, "Oyster Card System Security Review," 2008
[41] TfL, "Contactless Payment — One Year On," 2015
[42] NXP Semiconductors, "Airport Case Study," 2018
[43] CPNI, "Guide to the Selection and Use of an Access Control System," 2021
[44] FIPS PUB 201-3, NIST, 2022
www.enginear.hu
info@enginear.hu
Komáromi Street 21, H-2800 Tatabánya, Hungary
Hosszúrét Street 1, H-2045 Törökbálint, Hungary
(Nexus Center)