MIFARE is the
NXP Semiconductors
NXP Semiconductors N.V. (NXP) is a Dutch semiconductor designer and manufacturer with headquarters in Eindhoven, Netherlands. The company employs approximately 31,000 people in more than 30 countries. NXP reported revenue of $11.06 billion in 2 ...
-owned trademark of a series of
integrated circuit (IC) chips used in
contactless smart card
A contactless smart card is a contactless credential whose dimensions are credit-card size. Its embedded integrated circuits can store (and sometimes process) data and communicate with a terminal via NFC. Commonplace uses include transit ticke ...
s and
proximity card
A proximity card or prox card also known as a key card or keycard is a contactless smart card which can be read without inserting it into a reader device, as required by earlier magnetic stripe cards such as credit cards and contact type sma ...
s.
The brand name covers proprietary solutions based upon various levels of the
ISO/IEC 14443
ISO/IEC 14443 ''Identification cards -- Contactless integrated circuit cards -- Proximity cards'' is an international standard that defines proximity cards used for identification, and the transmission protocols for communicating with it.
Standar ...
Type A 13.56
MHz contactless smart card standard. It uses
AES
AES may refer to:
Businesses and organizations Companies
* AES Corporation, an American electricity company
* AES Data, former owner of Daisy Systems Holland
* AES Eletropaulo, a former Brazilian electricity company
* AES Andes, formerly AES Gener ...
and
DES/Triple-DES encryption standards, as well as an older proprietary encryption algorithm,
Crypto-1. According to NXP, 10 billion of their smart card chips and over 150 million reader modules have been sold. MIFARE is owned by NXP Semiconductors, which was
spun off from
Philips Electronics in 2006.
Variants
MIFARE products are embedded in
contactless and contact smart cards, smart paper tickets,
wearables and phones.
The MIFARE brand name (derived from the term MIKRON FARE Collection and created by the company
Mikron) covers four families of contactless cards:
; MIFARE Classic: Employs a proprietary protocol compliant to parts 1–3 of ISO/IEC 14443 Type A, with an NXP proprietary security protocol for authentication and ciphering.
Subtypes: MIFARE Classic EV1 (other subtypes are no longer in use).
; MIFARE Plus: Drop-in replacement for MIFARE Classic with certified
security level
In cryptography, security level is a measure of the strength that a cryptographic primitive — such as a cipher or hash function — achieves. Security level is usually expressed as a number of "bits of security" (also security strength ...
(AES-128 based) and is fully backward compatible with MIFARE Classic.
Subtypes: MIFARE Plus S, MIFARE Plus X, MIFARE Plus SE and MIFARE Plus EV2.
; MIFARE Ultralight: Low-cost ICs that are useful for high volume applications such as public transport, loyalty cards and event ticketing.
Subtypes: MIFARE Ultralight C, MIFARE Ultralight EV1, MIFARE Ultralight Nano and MIFARE Ultralight AES.
; MIFARE DESFire: Contactless ICs that comply with parts 3 and 4 of ISO/IEC 14443-4 Type A with a mask-ROM operating system from NXP. The ''DES'' in the name refers to the use of a DES, two-key
3DES
In cryptography, Triple DES (3DES or TDES), officially the Triple Data Encryption Algorithm (TDEA or Triple DEA), is a Symmetric-key algorithm, symmetric-key block cipher, which applies the Data Encryption Standard, DES cipher algorithm three ti ...
, three-key 3DES and AES encryption; while ''Fire'' is an acronym for ''Fast, innovative, reliable, and enhanced''.
Subtypes: MIFARE DESFire EV1, MIFARE DESFire EV2, MIFARE DESFire EV3 and MIFARE DESFire Light.
There is also the MIFARE SAM AV2 contact smart card. This can be used to handle the encryption in communicating with the contactless cards. The SAM (Secure Access Module) provides the secure storage of
cryptographic
Cryptography, or cryptology (from grc, , translit=kryptós "hidden, secret"; and ''graphein'', "to write", or ''-logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of adver ...
keys and cryptographic functions.
MIFARE Classic family
The MIFARE Classic IC is just a memory storage device, where the memory is divided into segments and blocks with simple security mechanisms for
access control
In the fields of physical security and information security, access control (AC) is the selective restriction of access to a place or other resource, while access management describes the process. The act of ''accessing'' may mean consuming ...
. They are
ASIC
An application-specific integrated circuit (ASIC ) is an integrated circuit (IC) chip customized for a particular use, rather than intended for general-purpose use, such as a chip designed to run in a digital voice recorder or a high-effici ...
-based and have limited computational power. Due to their reliability and low cost, those cards are widely used for electronic wallets, access control, corporate ID cards, transportation or stadium ticketing. It uses an NXP proprietary security protocol (
Crypto-1) for authentication and ciphering.
MIFARE Classic encryption has been compromised; see
below
Below may refer to:
*Earth
* Ground (disambiguation)
* Soil
* Floor
* Bottom (disambiguation)
* Less than
*Temperatures below freezing
* Hell or underworld
People with the surname
* Ernst von Below (1863–1955), German World War I general
* Fr ...
for details.
The MIFARE Classic with 1K memory offers 1,024 bytes of data storage, split into 16 ''sectors''; each sector is protected by two different keys, called ''A'' and ''B''. Each key can be programmed to allow operations such as reading, writing, increasing value blocks, etc. MIFARE Classic with 4K memory offers 4,096 bytes split into forty sectors, of which 32 are the same size as in the 1K with eight more that are quadruple size sectors. MIFARE Classic Mini offers 320 bytes split into five sectors. For each of these IC types, 16 bytes per sector are reserved for the keys and access conditions and can not normally be used for user data. Also, the very first 16 bytes contain the serial number of the card and certain other manufacturer data and are read-only. That brings the net storage capacity of these cards down to 752 bytes for MIFARE Classic with 1K memory, 3,440 bytes for MIFARE Classic with 4K memory, and 224 bytes for MIFARE Mini.
The Samsung
TecTile NFC tag stickers use MIFARE Classic chips. This means only devices with an NXP NFC controller chip can read or write these tags. At the moment BlackBerry phones, the Nokia Lumia 610 (August 2012), the Google Nexus 4, Google Nexus 7 LTE and Nexus 10 (October 2013) can't read/write TecTile stickers.
MIFARE Plus family
MIFARE Plus
MIFARE Plus is a replacement IC solution for the MIFARE Classic.
Key applications:
* Public transportation
* Access management; e.g., employee, school, or
campus cards
* Electronic toll collection
* Car parking
* Loyalty programs
It is less flexible than a MIFARE DESFire EV1 contactless IC.
MIFARE Plus was publicly announced in March 2008 with first samples in Q1 2009.
MIFARE Plus, when used in older transportation systems that do not yet support AES on the reader side, still leaves an open door to attacks. Though it helps to mitigate threats from attacks that broke the
Crypto-1 cipher through the weak random number generator, it does not help against brute force attacks and cryptoanalytic attacks.
During the transition period from MIFARE Classic to MIFARE Plus where only a few readers might support AES in the first place, it offers an optional AES authentication in Security Level 1 (which is in fact MIFARE Classic operation). This does not prevent the attacks mentioned above but enables a secure mutual authentication between the reader and the card to prove that the card belongs to the system and is not fake.
In its highest security level SL3, using 128-bit AES encryption, MIFARE Plus is secured from attacks.
MIFARE Plus EV1
MIFARE Plus EV1 was announced in April 2016.
New features compared to MIFARE Plus X include:
; Sector-wise security-level switching: The choice of crypto algorithm used in the authentication protocol can be set separately for each sector. This makes it possible to use the same card with both readers that can read MIFARE Classic products (with sectors protected by
48-bit
In computer architecture, 48-bit integers can represent 281,474,976,710,656 (248 or 2.814749767×1014) discrete values. This allows an unsigned binary integer range of 0 through 281,474,976,710,655 (248 − 1) or a signed two's complement ra ...
CRYPTO1 keys, "Security Level 1") and readers that can read MIFARE Plus products (with sectors protected by 128-bit
AES
AES may refer to:
Businesses and organizations Companies
* AES Corporation, an American electricity company
* AES Data, former owner of Daisy Systems Holland
* AES Eletropaulo, a former Brazilian electricity company
* AES Andes, formerly AES Gener ...
keys, "Security Level 3"). This feature is intended to make it easier to gradually migrate existing MIFARE Classic product-based installations to MIFARE Plus, without having to replace all readers at the same time.
; ISO 7816-4 wrapping: The card can now be accessed in either the protocol for MIFARE (which is not compliant with the
ISO 7816
ISO/IEC 7816 is an international standard related to electronic identification cards with contacts, especially smart cards, and more recently, contactless mobile devices, managed jointly by the International Organization for Standardization (ISO ...
-4
APDU format), or using a new protocol variant that runs on top of ISO 7816-4. This way the cards become compatible with NFC reader APIs that can only exchange messages in ISO 7816-4 APDU format, with a maximum transfer data buffer size of 256 bytes.
; Proximity check: While the protocol for MIFARE Classic tolerated message delays of several seconds, and was therefore vulnerable to relay attacks, MIFARE Plus EV1 now implements a basic "ISO compliant"
distance-bounding protocol. This puts tighter timing constraints on the permitted round-trip delay during authentication, to make it harder to forward messages to far-away cards or readers via computer networks.
; Secure end-2-end channel: Permits AES-protected over-the-air updates even to Crypto1 application sectors (SL1SL3 mix mode).
; Transaction MAC: The card can produce an additional
message-authentication code over a transaction that can be verified by a remote clearing service, independent of the keys used by the local reader during the transaction.
MIFARE Plus EV2
The MIFARE Plus EV2 was introduced to the market on 23 June 2020. It comes with an enhanced read performance and transaction speed compared to MIFARE Plus EV1.
New features compared to MIFARE Plus EV1 include:
; Transaction Timer: To help mitigate man-in-the-middle attacks, the Transaction Timer feature, which is also available on NXP’s MIFARE DESFire EV3 IC, makes it possible to set a maximum time per transaction, so it’s harder for an attacker to interfere with the transaction.
MIFARE Ultralight family
MIFARE Ultralight
The MIFARE Ultralight has only 512 bits of memory (i.e. 64 bytes), without cryptographic security. The memory is provided in 16 ''pages'' of 4 bytes.
Cards based on these chips are so inexpensive that they are often used for disposable tickets for events such as the Football World Cup 2006.
It provides only basic security features such as one-time-programmable (OTP) bits and a write-lock feature to prevent re-writing of memory pages but does not include cryptography as applied in other MIFARE product-based cards.
MIFARE Ultralight EV1
MIFARE Ultralight EV1 introduced in November 2012 the next generation of paper ticketing smart card ICs for limited-use applications for ticketing schemes and additional security options. It comes with several enhancements above the original MIFARE Ultralight:
* 384 and 1024 bits user memory product variants
* OTP, lock bits, configurable counters for improved security
* Three independent 24-bit one-way counters to stop reloading
* Protected data access through 32-bit password
* NXP Semiconductors originality signature function, this is an integrated originality checker and is effective cloning protection that helps to prevent counterfeit of tickets. However, this protection is applicable only to "mass penetration of non NXP originated chips and does not prevent hardware copy or emulation of a single existing valid chip"
Applications:
* Limited-use tickets in public transport
* Event ticketing (stadiums, exhibitions, leisure parks)
* Loyalty
MIFARE Ultralight C
Introduced at the Cartes industry trade show in 2008, the MIFARE Ultralight C IC is part of NXP's low-cost MIFARE product offering (disposable ticket). With Triple DES, MIFARE Ultralight C uses a widely adopted standard, enabling easy integration in existing infrastructures. The integrated Triple DES authentication provides an effective countermeasure against cloning.
Key applications for MIFARE Ultralight C are public transportation, event ticketing, loyalty and NFC Forum tag type 2.
MIFARE Ultralight AES
It was introduced in 2022.
MIFARE DESFire family
MIFARE DESFire
The MIFARE DESFire (MF3ICD40) was introduced in 2002 and is based on a core similar to
SmartMX, with more hardware and software security features than MIFARE Classic. It comes pre-programmed with the general-purpose MIFARE DESFire operating system which offers a simple directory structure and files. They are sold in four variants: One with Triple-DES only and 4 kiB of storage, and three with AES (2, 4, or 8 kiB; see MIFARE DESFire EV1). The AES variants have additional security features; e.g.,
CMAC. MIFARE DESFire uses a protocol compliant with ISO/IEC 14443-4. The contactless IC is based on an
8051 processor with 3DES/AES cryptographic accelerator, making very fast transactions possible.
The maximal read/write distance between card and reader is , but the actual distance depends on the field power generated by the reader and its antenna size.
In 2010, NXP announced the discontinuation of the MIFARE DESFire (MF3ICD40) after it had introduced its successor MIFARE DESFire EV1 (MF3ICD41) in late 2008. In October 2011 researchers of Ruhr University Bochum announced that they had broken the security of MIFARE DESFire (MF3ICD40), which was acknowledged by NXP (see
MIFARE DESFire security).
MIFARE DESFire EV1
First evolution of MIFARE DESFire contactless IC, broadly backwards compatible. Available with 2 kiB, 4 kiB, and 8 kiB non-volatile memory. Other features include:
* Support for random ID.
* Support for 128-bit
AES
AES may refer to:
Businesses and organizations Companies
* AES Corporation, an American electricity company
* AES Data, former owner of Daisy Systems Holland
* AES Eletropaulo, a former Brazilian electricity company
* AES Andes, formerly AES Gener ...
* Hardware and operating system are
Common Criteria
The Common Criteria for Information Technology Security Evaluation (referred to as Common Criteria or CC) is an international standard ( ISO/ IEC 15408) for computer security certification. It is currently in version 3.1 revision 5.
Common Criter ...
certified at level
EAL 4+
MIFARE DESFire EV1 was publicly announced in November 2006.
Key applications:
* Advanced public transportation
* Access management
* Loyalty
* Micropayment
MIFARE DESFire EV2
The second evolution of the MIFARE DESFire contactless IC family, broadly backwards compatible.
New features include:
* MIsmartApp enabling to offer or sell memory space for additional applications of 3rd parties without the need to share secret keys
* Transaction MAC to authenticate transactions by 3rd parties
* Virtual Card Architecture for privacy protection
* Proximity check against relay attacks
MIFARE DESFire EV2 was publicly announced in March 2016 at the IT-TRANS event in Karlsruhe, Germany
MIFARE DESFire EV3
The latest evolution of the MIFARE DESFire contactless IC family, broadly backward compatible.
New features include:
* ISO/IEC 14443 A 1–4 and ISO/IEC 7816-4 compliant
* Common Criteria EAL5+ certified for IC hardware and software
* NFC Forum Tag Type 4 compliant
* SUN message authentication for advanced data protection within standard NDEF read operation
* Choice of open DES/2K3DES/3K3DES/AES crypto algorithms
* Flexible file structure hosts as many applications as the memory size supports
* Proof of transaction with card generated MAC
* Transaction Timer mitigates risk of man-in-the-middle attacks
MIFARE DESFire EV3 was publicly announced on 2 June 2020.
MIFARE SAM AV2
MIFARE SAMs are not contactless smart cards. They are
secure access modules designed to provide the secure storage of
cryptographic
Cryptography, or cryptology (from grc, , translit=kryptós "hidden, secret"; and ''graphein'', "to write", or ''-logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of adver ...
keys and cryptographic functions for terminals to access the MIFARE products securely and to enable
secure communication
Secure communication is when two entities are communicating and do not want a third party to listen in. For this to be the case, the entities need to communicate in a way that is unsusceptible to eavesdropping or interception. Secure communication ...
between
terminals and
host (backend). MIFARE SAMs are available from NXP in the contact-only module (PCM 1.1) as defined in
ISO/IEC 7816-2 and the HVQFN32 format.
Integrating a MIFARE SAM AV2 in a contactless
smart card
A smart card, chip card, or integrated circuit card (ICC or IC card) is a physical electronic authentication device, used to control access to a resource. It is typically a plastic credit card-sized card with an embedded integrated circuit (IC) c ...
reader enables a design that integrates high-end cryptography features and the support of cryptographic authentication and data encryption/decryption. Like any SAM, it offers functionality to store keys securely and perform authentication and encryption of data between the contactless card and the SAM and the SAM towards the backend. Next to a classical SAM architecture, the MIFARE SAM AV2 supports the X-mode which allows a fast and convenient contactless terminal development by connecting the SAM to the microcontroller and reader IC simultaneously.
MIFARE SAM AV2 offers AV1 mode and AV2 mode where in comparison to the SAM AV1 the AV2 version includes
public key infrastructure
A public key infrastructure (PKI) is a set of roles, policies, hardware, software and procedures needed to create, manage, distribute, use, store and revoke digital certificates and manage public-key encryption. The purpose of a PKI is to facil ...
(PKI),
hash function
A hash function is any function that can be used to map data of arbitrary size to fixed-size values. The values returned by a hash function are called ''hash values'', ''hash codes'', ''digests'', or simply ''hashes''. The values are usually ...
s like
SHA-1
In cryptography, SHA-1 (Secure Hash Algorithm 1) is a cryptographically broken but still widely used hash function which takes an input and produces a 160-bit (20- byte) hash value known as a message digest – typically rendered as 40 hexadec ...
, SHA-224, and
SHA-256
SHA-2 (Secure Hash Algorithm 2) is a set of cryptographic hash functions designed by the United States National Security Agency (NSA) and first published in 2001. They are built using the Merkle–Damgård construction, from a one-way compressi ...
. It supports MIFARE Plus and secure host communication. Both modes provide the same communication interfaces, cryptographic algorithms (Triple-DES 112-bit and 168-bit key, MIFARE products using Crypto1, AES-128 and AES-192,
RSA
RSA may refer to:
Organizations Academia and education
* Rabbinical Seminary of America, a yeshiva in New York City
*Regional Science Association International (formerly the Regional Science Association), a US-based learned society
*Renaissance S ...
with up to 2048-bit keys), and X-mode functionalities. The MIFARE SAM AV3 is the third generation of NXP’s Secure Access Module, and it supports MIFARE ICs as well as NXP’s UCODE DNA, ICODE DNA and NTAG DNA ICs.
MIFARE 2GO
A cloud-based platform that digitizes MIFARE product-based smart cards and makes them available on NFC-enabled smartphones and wearables. With this, new Smart City use cases such as mobile transit ticketing, mobile access and mobile micropayments are being enabled.
Applications
MIFARE products can be used in different applications:
*
Automated fare collection system
An automated fare collection (AFC) system is the collection of components that automate the ticketing system of a public transportation network - an automated version of manual fare collection. An AFC system is usually the basis for integrated tic ...
* Identification cards
* Access management
* Campus cards
* Loyalty cards (reward points)
* Tourist cards
*
Micropayment
A micropayment is a financial transaction involving a very small sum of money and usually one that occurs online. A number of micropayment systems were proposed and developed in the mid-to-late 1990s, all of which were ultimately unsuccessful. A s ...
(mobile wallet, contactless payment, cashless payment)
* Road tolling
* Transport ticketing
* Event ticketing
*
Mobile ticketing
* Citizen card
* Membership cards
* Parking
* Library cards
* Fuel cards
* Hotel key cards
*
NFC Tag (NFC apps,
MIFARE4Mobile)
* Taxi cards
*
Smart meter
A smart meter is an electronic device that records information such as consumption of electric energy, voltage levels, current, and power factor. Smart meters communicate the information to the consumer for greater clarity of consumption be ...
* Museum access cards
* Product
authentication
Authentication (from ''authentikos'', "real, genuine", from αὐθέντης ''authentes'', "author") is the act of proving an assertion, such as the identity of a computer system user. In contrast with identification, the act of indicat ...
* Production control
* Health cards
* Ferry Cards
* Car rentals
* Fleet management
* Amusement parks
* Bike rentals
* Blood donor cards
* Information services
* Interactive exhibits
* Interactive lotteries
* Password storage
* Smart advertising
* Social welfare
* Waste management
Formerly most access systems used MIFARE Classic, but today these systems have switched to MIFARE DESFire because this product has more security than MIFARE Classic.
Byte layout
History
* 1994 – MIFARE Classic IC with 1K user memory introduced.
* 1996 – First transport scheme in
Seoul
Seoul (; ; ), officially known as the Seoul Special City, is the Capital city, capital and largest metropolis of South Korea.Before 1972, Seoul was the ''de jure'' capital of the North Korea, Democratic People's Republic of Korea (North Korea ...
using MIFARE Classic with 1K memory.
* 1997 – MIFARE PRO with
Triple DES
In cryptography, Triple DES (3DES or TDES), officially the Triple Data Encryption Algorithm (TDEA or Triple DEA), is a symmetric-key block cipher, which applies the DES cipher algorithm three times to each data block. The Data Encryption Stand ...
coprocessor introduced.
* 1999 – MIFARE PROX with
PKI coprocessor introduced.
* 2001 – MIFARE Ultralight introduced.
* 2002 – MIFARE DESFire introduced,
microprocessor
A microprocessor is a computer processor where the data processing logic and control is included on a single integrated circuit, or a small number of integrated circuits. The microprocessor contains the arithmetic, logic, and control circu ...
based product.
* 2004 – MIFARE SAM introduced, secure infrastructure counterpart of MIFARE DESFire.
* 2006 – MIFARE DESFire EV1 is announced as the first product to support 128-bit AES.
* 2008 – MIFARE4Mobile industry Group is created, consisting of leading players in the Near Field Communication (NFC) ecosystem.
* 2008 – MIFARE Plus is announced as a drop-in replacement for MIFARE Classic based on 128-bit AES.
* 2008 – MIFARE Ultralight C is introduced as a smart paper ticketing IC featuring Triple DES Authentication.
* 2010 – MIFARE SAM AV2 is introduced as secure key storage for readers AES, Triple DES, PKI Authentication.
* 2012 – MIFARE Ultralight EV1 introduced, backward compatible to MIFARE Ultralight but with extra security.
* 2014 – MIFARE SDK was introduced, allowing developers to create and develop their own NFC Android applications.
* 2014 – NXP Smart MX2 the world's first secure smart card platform supporting MIFARE Plus and MIFARE DESFire EV1 with EAL 50 was released.
* 2015 – MIFARE Plus SE, the entry-level version of NXP's proven and reliable MIFARE Plus product family, was introduced.
* 2016 – MIFARE Plus EV1 was introduced, the proven mainstream smart card product compatible with MIFARE Classic in its backward compatible security level.
* 2016 – MIFARE DESFire EV2 is announced with improved performance, security, privacy and multi-application support.
* 2016 – MIFARE SDK is rebranded to TapLinx, with additional supported products.
* 2018 – MIFARE 2GO cloud service was introduced, allows to manage MIFARE DESFire and MIFARE Plus (in SL3) product-based credentials onto NFC-enabled mobile and wearable devices.
*2020 – MIFARE DESFire EV3 is announced
*2020 – MIFARE Plus EV2 was introduced, adding SL3 to support MIFARE 2GO, EAL5+ certification & Transaction Timer to help mitigate man-in-the-middle attacks.
*2022 – MIFARE Ultralight AES was introduced.
The MIFARE product portfolio was originally developed by Mikron in Gratkorn, Austria. Mikron was acquired by Philips in 1995. Mikron sourced silicon from Atmel in the US, Philips in the Netherlands, and Siemens in Germany.
Infineon Technologies
Infineon Technologies AG is a German semiconductor manufacturer founded in 1999, when the semiconductor operations of the former parent company Siemens AG were spun off. Infineon has about 50,280 employees and is one of the ten largest semico ...
(then Siemens) licensed MIFARE Classic from Mikron in 1994 and developed both stand alone and integrated designs with MIFARE product functions. Infineon currently produces various derivatives based on MIFARE Classic including 1K memory (SLE66R35) and various microcontrollers (8 bit (SLE66 series), 16 bit (SLE7x series), and 32 bit (SLE97 series) with MIFARE implementations, including devices for use in USIM with
Near Field Communication
Near-field communication (NFC) is a set of communication protocols that enables communication between two electronic devices over a distance of 4 cm (1 in) or less. NFC offers a low-speed connection through a simple setup that can be ...
.
Motorola tried to develop MIFARE product-like chips for the wired-logic version but finally gave up. The project expected one million cards per month for start, but that fell to 100,000 per month just before they gave up the project.
In 1998 Philips licensed MIFARE Classic to
Hitachi
() is a Japanese multinational corporation, multinational Conglomerate (company), conglomerate corporation headquartered in Chiyoda, Tokyo, Japan. It is the parent company of the Hitachi Group (''Hitachi Gurūpu'') and had formed part of the Ni ...
Hitachi licensed MIFARE products for the development of the contactless smart card solution for
NTT's IC telephone card which started in 1999 and finished in 2006. In the NTT contactless IC telephone card project, three parties joined: Tokin-Tamura-Siemens,
Hitachi
() is a Japanese multinational corporation, multinational Conglomerate (company), conglomerate corporation headquartered in Chiyoda, Tokyo, Japan. It is the parent company of the Hitachi Group (''Hitachi Gurūpu'') and had formed part of the Ni ...
(Philips-contract for technical support), and Denso (Motorola-only production). NTT asked for two versions of chip, i.e. wired-logic chip (like MIFARE Classic) with small memory and big memory capacity. Hitachi developed only big memory version and cut part of the memory to fit for the small memory version.
The deal with Hitachi was upgraded in 2008 by NXP (by then no longer part of Philips) to include MIFARE Plus and MIFARE DESFire to the renamed semiconductor division of Hitachi
Renesas Technology
is a Japanese semiconductor manufacturer headquartered in Tokyo, Japan, initially incorporated in 2002 as Renesas Technology, the consolidated entity of the semiconductor units of Hitachi and Mitsubishi excluding their dynamic random-access me ...
.
In 2010 NXP licensed MIFARE products to
Gemalto
Gemalto was an international digital security company providing software applications, secure personal devices such as smart cards and tokens, and managed services. It was formed in June 2006 by the merger of two companies, Axalto and Gemplu ...
. In 2011 NXP licensed
Oberthur to use MIFARE products on SIM cards. In 2012 NXP signed an agreement with
Giesecke & Devrient
Giesecke+Devrient, also known as (G+D), is a German company headquartered in Munich that provides banknote and securities printing, smart cards, and cash handling systems.
History
Founded in 1852 by Hermann Giesecke and Alphonse Devrient, the ...
to integrate MIFARE product-based applications on their secure SIM products. These licensees are developing
Near Field Communication
Near-field communication (NFC) is a set of communication protocols that enables communication between two electronic devices over a distance of 4 cm (1 in) or less. NFC offers a low-speed connection through a simple setup that can be ...
products
Security
MIFARE Classic
The encryption used by the MIFARE Classic IC uses a 48-bit key.
A presentation by Henryk Plötz and
Karsten Nohl at the
Chaos Communication Congress in December 2007 described a partial reverse-engineering of the algorithm used in the MIFARE Classic chip. Abstract and slides are available online. A paper that describes the process of reverse engineering this chip was published at the August 2008
USENIX security conference.
In March 2008 the Digital Security research group of the
Radboud University Nijmegen
Radboud University (abbreviated as RU, nl, Radboud Universiteit , formerly ''Katholieke Universiteit Nijmegen'') is a public research university located in Nijmegen, the Netherlands. The university bears the name of Saint Radboud, a 9th century ...
made public that they performed a complete reverse-engineering and were able to clone and manipulate the contents of an
OV-Chipkaart which is using MIFARE Classic chip. For demonstration they used the
Proxmark3 device, a 125 kHz / 13.56 MHz research instrument. The schematics and software are released under the free
GNU General Public License
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end user
In product development, an end user (sometimes end-user) is a person who ultimately uses or is intended to ulti ...
by Jonathan Westhues in 2007. They demonstrate it is even possible to perform card-only attacks using just an ordinary stock-commercial NFC reader in combination with the libnfc library.
The Radboud University published four scientific papers concerning the security of the MIFARE Classic:
* A Practical Attack on the MIFARE Classic
* Dismantling MIFARE Classic
* Wirelessly Pickpocketing a MIFARE Classic Card
* Ciphertext-only Cryptanalysis on Hardened MIFARE Classic Cards
In response to these attacks, the Dutch
Minister of the Interior and Kingdom Relations stated that they would investigate whether the introduction of the Dutch Rijkspas could be brought forward from Q4 of 2008.
NXP tried to stop the publication of the second article by requesting a preliminary injunction. However, the injunction was denied, with the court noting that, "It should be considered that the publication of scientific studies carries a lot of weight in a democratic society, as does inform society about serious issues in the chip because it allows for mitigating of the risks."
Both independent research results are confirmed by the manufacturer NXP.
These attacks on the cards didn't stop the further introduction of the card as the only accepted card for all Dutch public transport the
OV-chipkaart continued as nothing happened but in October 2011 the company
TLS
TLS may refer to:
Computing
* Transport Layer Security, a cryptographic protocol for secure computer network communication
* Thread level speculation, an optimisation on multiprocessor CPUs
* Thread-local storage, a mechanism for allocating vari ...
, responsible for the OV-Chipkaart announced that the new version of the card will be better protected against fraud.
The MIFARE Classic encryption
Crypto-1 can be broken in about 200 seconds on a laptop from 2008, if approx. 50 bits of known (or chosen) keystream are available. This attack reveals the key from sniffed transactions under certain (common) circumstances and/or allows an attacker to learn the key by challenging the reader device.
The attack proposed in recovers the secret key in about 40 ms on a laptop. This attack requires just one (partial) authentication attempt with a legitimate reader.
Additionally, there are a number of attacks that work directly on a card and without the help of a valid reader device. These attacks have been acknowledged by NXP.
In April 2009 new and better card-only attack on MIFARE Classic has been found. It was first announced at the rump session of Eurocrypt 2009.
This attack was presented at SECRYPT 2009.
The full description of this latest and fastest attack to date can also be found in the IACR preprint archive.
The new attack improves by a factor of more than 10 all previous card-only attacks on MIFARE Classic, has instant running time, and does not require a costly precomputation. The new attack allows recovering the secret key of any sector of the MIFARE Classic card via wireless interaction, within about 300 queries to the card. It can then be combined with the nested authentication attack in the Nijmegen Oakland paper to recover subsequent keys almost instantly. Both attacks combined and with the right hardware equipment such as
Proxmark3, one should be able to clone any MIFARE Classic card in 10 seconds or less. This is much faster than previously thought.
In an attempt to counter these card-only attacks, new "hardened" cards have been released in and around 2011, such as the MIFARE Classic EV1. These variants are insusceptible for all card-only attacks publicly known until then, while remaining backward compatible with the original MIFARE Classic. In 2015, a new card-only attack was discovered that is also able to recover the secret keys from such hardened variants.
Since the discovery of this attack, NXP is officially recommending to migrate from MIFARE Classic product-based systems to higher security products.
MIFARE DESFire
In November 2010, security researchers from the Ruhr University released a paper detailing a
side-channel attack against MIFARE product-based cards. The paper demonstrated that MIFARE DESFire product-based cards could be easily emulated at a cost of approximately $25 in
"off the shelf" hardware. The authors asserted that this side-channel attack allowed cards to be cloned in approximately 100 ms. Furthermore, the paper's authors included hardware schematics for their original cloning device, and have since made corresponding software, firmware and improved hardware schematics publicly available on GitHub.
In October 2011 David Oswald and Christof Paar of Ruhr-University in Bochum, Germany, detailed how they were able to conduct a successful "side-channel" attack against the card using equipment that can be built for nearly $3,000. Called "Breaking MIFARE DESFire MF3ICD40: Power Analysis and Templates in the Real World", they stated that system integrators should be aware of the new security risks that arise from the presented attacks and can no longer rely on the mathematical security of the used 3DES cipher. Hence, to avoid, e.g. manipulation or cloning of smart cards used in payment or access control solutions, proper actions have to be taken: on the one hand, multi-level countermeasures in the back end allow to minimize the threat even if the underlying RFID platform is insecure," In a statement NXP said that the attack would be difficult to replicate and that they had already planned to discontinue the product at the end of 2011. NXP also stated "Also, the impact of a successful attack depends on the end-to-end system security design of each individual infrastructure and whether diversified keys – recommended by NXP – are being used. If this is the case, a stolen or lost card can be disabled simply by the operator detecting the fraud and blacklisting the card, however, this operation assumes that the operator has those mechanisms implemented. This will make it even harder to replicate the attack with a commercial purpose."
MIFARE Ultralight
In September 2012 a security consultancy Intrepidus demonstrated at the EU SecWest event in Amsterdam, that MIFARE Ultralight product-based fare cards in the New Jersey and San Francisco transit systems can be manipulated using an Android application, enabling travelers to reset their card balance and travel for free in a talk entitled "NFC For Free Rides and Rooms (on your phone)". Although not a direct attack on the chip but rather the reloading of an unprotected register on the device, it allows hackers to replace value and show that the card is valid for use. This can be overcome by having a copy of the register online so that values can be analysed and suspect cards hot-listed. NXP has responded by pointing out that they had introduced the MIFARE Ultralight C in 2008 with 3DES protection and in November 2012 introduced the MIFARE Ultralight EV1 with three decrement only counters to foil such reloading attacks.
Considerations for systems integration
For systems based on contactless smartcards (e.g. public transportation), security against fraud relies on many components, of which the card is just one. Typically, to minimize costs,
systems integrator
A systems integrator (or system integrator) is a person or company that specializes in bringing together component subsystems into a whole and ensuring that those subsystems function together, a practice known as system integration. They also sol ...
s will choose a relatively cheap card such as a MIFARE Classic and concentrate security efforts in the
back office
A back office in most corporations is where work that supports '' front office'' work is done. The front office is the "face" of the company and is all the resources of the company that are used to make sales and interact with customers and clie ...
. Additional
encryption
In cryptography, encryption is the process of encoding information. This process converts the original representation of the information, known as plaintext, into an alternative form known as ciphertext. Ideally, only authorized parties can dec ...
on the card, transaction counters, and other methods known in
cryptography
Cryptography, or cryptology (from grc, , translit=kryptós "hidden, secret"; and ''graphein'', "to write", or ''-logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of adve ...
are then employed to make cloned cards useless, or at least to enable the back office to detect a fraudulent card, and put it on a blacklist. Systems that work with online readers only (i.e., readers with a permanent link to the back office) are easier to protect than systems that have offline readers as well, for which real-time checks are not possible and blacklists cannot be updated as frequently.
Certification
Another aspect of fraud prevention and compatibility guarantee is to obtain certification called to live in 1998 ensuring the compatibility of several certified MIFARE product-based cards with multiple readers. With this
certification
Certification is the provision by an independent body of written assurance (a certificate) that the product, service or system in question meets specific requirements. It is the formal attestation or confirmation of certain characteristics of a ...
, the main focus was placed on the
contactless communication of the wireless interface, as well as to ensure proper implementation of all the commands of MIFARE product-based cards. The certification process was developed and carried out by the Austrian laboratory called Arsenal Research. Today, independent test houses such as Arsenal Testhouse, UL and LSI-TEC, perform the certification tests and provide the certified products in an online database.
Places that use MIFARE products
Transportation
Application references
Institutions
*
Northwest University, South Africa
The points of the compass are a set of horizontal, radially arrayed compass directions (or azimuths) used in navigation and cartography. A compass rose is primarily composed of four cardinal directions— north, east, south, and west—eac ...
– Student/staff ID, access control, library, student meals, sport applications, payments
*
Linkoping university, Sweden – Student/staff ID, access control, library, copy/print, student discount, payments
*
London School of Economics
, mottoeng = To understand the causes of things
, established =
, type = Public research university
, endowment = £240.8 million (2021)
, budget = £391.1 mill ...
– Access control (Unprotected MIFARE Classic 1K)
*
New College School in
Oxford
Oxford () is a city in England. It is the county town and only city of Oxfordshire. In 2020, its population was estimated at 151,584. It is north-west of London, south-east of Birmingham and north-east of Bristol. The city is home to the Un ...
– Building access.
*
Imperial College London
Imperial College London (legally Imperial College of Science, Technology and Medicine) is a public research university in London, United Kingdom. Its history began with Prince Albert, consort of Queen Victoria, who developed his vision for a ...
– Staff and student ID access card in London, UK.
*
Cambridge University
, mottoeng = Literal: From here, light and sacred draughts.
Non literal: From this place, we gain enlightenment and precious knowledge.
, established =
, other_name = The Chancellor, Masters and Schola ...
– Student/Staff ID and access card, library card, canteen payments in some colleges
*
University of Warwick
, mottoeng = Mind moves matter
, established =
, type = Public research university
, endowment = £7.0 million (2021)
, budget = £698.2 million (202 ...
– Staff and student ID card and separate
Eating at Warwick
Eating (also known as consuming) is the ingestion of food, typically to provide a heterotrophic organism with energy and to allow for growth. Animals and other heterotrophs must eat in order to survive — carnivores eat other animals, herbi ...
stored value card in Coventry, UK.
*
Regent's College, London – Staff and student ID access card in London, UK.
*
University of New South Wales
The University of New South Wales (UNSW), also known as UNSW Sydney, is a public research university based in Sydney, New South Wales, Australia. It is one of the founding members of Group of Eight, a coalition of Australian research-intensiv ...
– Student ID access card.
*
The University of Queensland
, mottoeng = By means of knowledge and hard work
, established =
, endowment = A$224.3 million
, budget = A$2.1 billion
, type = Public research university
, chancellor = Peter Varghese
, vice_chancellor = Deborah Terry
, city = Br ...
– Staff and student ID, access control, library, copy/print, building access (MIFARE DESFire EV1)
*
University of Alberta
The University of Alberta, also known as U of A or UAlberta, is a public research university located in Edmonton, Alberta, Canada. It was founded in 1908 by Alexander Cameron Rutherford,"A Gentleman of Strathcona – Alexander Cameron Ruth ...
– Staff
OneCard trial currently underway.
*
Northumbria University
, mottoeng = A lifetime of learning
, established = 1877 - Rutherford College of Technology1969 - Newcastle Polytechnic1992 - gained university status
, type = Public
, budget = ...
– Student/staff building and printer access.
*
City University of Hong Kong
City University of Hong Kong (CityU) is a world-class public research university located in Kowloon Tong, Hong Kong. It was founded in 1984 as City Polytechnic of Hong Kong and became a fully accredited university in 1994. Currently, CityU is ...
– Student/staff building, library, amenities building.
*
Hong Kong Institute of Vocational Education
The Hong Kong Institute of Vocational Education (IVE) is one of the member institutions of the Vocational Training Council (VTC) offering vocational education to post-secondary students in Hong Kong through its nine campi located across the ter ...
– Student ID card, attendance, library, printers and computers access.
*
The Chinese University of Hong Kong
The Chinese University of Hong Kong (CUHK) is a public research university in Ma Liu Shui, Hong Kong, formally established in 1963 by a charter granted by the Legislative Council of Hong Kong. It is the territory's second-oldest university a ...
– Student ID card, attendance, library, printers and door access control
*
University of Bayreuth – Student ID card and canteen card for paying.
*
University of Ibadan
The University of Ibadan (UI) is a public research university in Ibadan, Nigeria. The university was founded in 1948 as University College Ibadan, one of many colleges within the University of London. It became an independent university in 1962 ...
,
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and examination verification and attendance.(Solutions Colony Ltd)
*
Bowen University, Iwo,
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and examination verification and attendance.(Solutions Colony Ltd)
*
Afe Babalola University, Ado-Ekiti,
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and examination verification and attendance.(Solutions Colony Ltd)
*
Achievers University, Owo,
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and examination verification and attendance.(Solutions Colony Ltd)
*
Adekunle Ajasin University, Akungba, Ondo State,
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and examination Verification and Attendance.(Solutions Colony Ltd)
*
Auchi Polytechnic, Auchi,
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and examination verification and attendance.(Solutions Colony Ltd)
*
University College Hospital, Ibadan (UCH),
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and staff attendance.(Solutions Colony Ltd)
*
Federal University of Technology, Minna, Niger State (FUTM),
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and Examination Verification and Attendance.(Solutions Colony Ltd)
*
Benson Idahosa University, Benin City, Edo State (BIU),
Nigeria
Nigeria ( ), , ig, Naìjíríyà, yo, Nàìjíríà, pcm, Naijá , ff, Naajeeriya, kcg, Naijeriya officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of G ...
– Student ID card and Examination Verification and Attendance.(Solutions Colony Ltd)
*
Federal University of Technology, Akure, Ondo State (FUTA)
Federal or foederal (archaic) may refer to:
Politics
General
*Federal monarchy, a federation of monarchies
*Federation, or ''Federal state'' (federal system), a type of government characterized by both a central (federal) government and states or ...
,