MIFARE is the -owned trademark of a series of chips widely used in and. The MIFARE name covers proprietary technologies based upon various levels of the ISO/IEC 14443 Type A 13.56 contactless smart card standard. It incorporates and encryption standards, as well as an older proprietary encryption algorithm. According to MIFARE themselves, 10 billion of their smart card chips and 150 million of their reader modules have been sold.
The ubiquitous MiFare Classic RFID chip -- used daily by millions worldwide in access control keys, subway passes and other applications -- is even easier to crack. Casio Keyboard Rhythms Download here.
The technology is owned by NXP Semiconductors, which was from in 2006. Contents • • • • • • • • • • • • • • • • • • • • • • • • • • • Variants [ ] The technology is embodied in both cards and readers, as well as a contact, in the case of the SAM AV2. All card types are compliant with ISO/IEC 14443 Type A. The MIFARE name (derived from the term MIkron FARE Collection System) 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. Subtype: EV1 (other subtypes are no longer in use). • MIFARE Plus: Drop-in replacement for MIFARE Classic with certified (AES-128 based) and is fully backwards compatible with MIFARE Classic.
Subtypes S/X, SE • MIFARE Ultralight: Low-cost ICs that are useful for high volume applications such as public transport, loyalty cards and event ticketing. Subtypes: C, EV1 • MIFARE DESFire: Smart cards that comply to 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, 2K3DES, 3K3DES and AES encryption; while 'Fire' is an acronym for 'Fast, innovative, reliable and enhanced'. Subtypes: EV1, EV2 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 keys and cryptographic functions. MIFARE Classic [ ] The MIFARE Classic card is fundamentally just a memory storage device, where the memory is divided into segments and blocks with simple security mechanisms for.
They are -based and have limited computational power. Thanks to their reliability and low cost, those cards are widely used for electronic wallet, access control, corporate ID cards, transportation or stadium ticketing. The MIFARE Classic 1K 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 4K offers 4,096 bytes split into forty sectors, of which 32 are 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 card 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 1K, 3,440 bytes for MIFARE Classic 4K, and 224 bytes for Mini. It uses an NXP proprietary security protocol () for authentication and ciphering. Parts of this article (those related to smartphone types) need to be updated. Please update this article to reflect recent events or newly available information. (December 2013) The Samsung 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 Classic encryption has been compromised; see for details. MIFARE Plus [ ] MIFARE Plus is a replacement card for the MIFARE Classic.
It provides an easy upgrade of existing infrastructures toward high security. Data management is identical to the MIFARE Classic; however, the security management requires the modification of the installed reader base. Other features include: • 2 Kbytes or 4 Kbytes of memory • 7 or 4 bytes UID, with optional support for random UID • Support for 128-bit AES • Common Criteria certified at level EAL 4+ • MIFARE Plus S for simple migration or MIFARE Plus X with many eXpert commands • Security upgrade with cards in the field. Key applications: • Public Transportation • Access management, e.g. Employee, school or • Electronic toll collection • Car parking • Loyalty programs It is less flexible than MIFARE DESFire EV1. 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 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 MIFARE Classic readers (with sectors protected by 48-bit CRYPTO1 keys, 'Security Level 1') and MIFARE Plus readers (with sectors protected by 128-bit AES keys, 'Security Level 3'). This feature is intended to make it easier to gradually migrate existing MIFARE Classic 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 traditional MIFARE protocol (which is not compliant with the -4 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 MIFARE Classic protocol tolerated message delays of several seconds, and was therefore vulnerable to relay attacks, MIFARE Plus EV1 now implements a basic 'ISO compliant'. This puts tighter timing constraints on the permitted round-trip delay during authentication, in order 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 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 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 based cards. MIFARE Ultralight EV1 [ ] MIFARE Ultralight EV1 introduced in November 2012 the next generation of paper ticketing smart card IC for limited-use applications that offers solution developers and operators the maximum flexibility for their 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 an 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' Key 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, MIFARE Ultralight C is part of NXP's low-cost MIFARE 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 features: • Fully compliant with ISO/IEC 14443 parts 1-3, Type A (including anti-collision) • 1536 bits (192 octets) EEPROM memory • Protected data access via 3-pass Triple authentication • Memory structure as in MIFARE Ultralight (pages of 4 byte) • Backwards compatibility to MIFARE Ultralight due to compatible command set • 16 bit one-way counter • Unique 7 byte serial number () Key applications for MIFARE Ultralight C are Public Transportation, Event Ticketing, Loyalty and NFC Forum Tag Type 2. MIFARE DESFire [ ] The MIFARE DESFire (MF3ICD40) was introduced in 2002 and is based on a core similar to, 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 KB of storage, and three with AES (2, 4 or 8 KB; see MIFARE DESFire EV1). The AES variants have additional security features, e.g.,. MIFARE DESFire uses a protocol compliant with ISO/IEC 14443-4. The card is based on an with 3DES/AES crypto accelerator, making very fast transactions possible. The maximal read/write distance between card and reader is 10 centimetres (3.9 in), but 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 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 DESFire Attacks MIFARE DESFire EV1 [ ] (previously called DESFire8) New evolution of MIFARE DESFire card, broadly backwards compatible.
Available with 2 KB, 4 KB and 8 KB NV-Memory. Other features include: • Support for random ID • Support for 128-bit • Hardware and Operating System is certified at level 4+ MIFARE DESFire EV1 was publicly announced in November 2006. [ ] Key applications: • Advanced public transportation • Access management • Loyalty • Micropayment MIFARE DESFire EV2 [ ] New evolution of MIFARE DESFire card, 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. MIFARE SAM AV2 [ ] MIFARE SAMs are not contactless smartcards.
They are designed to provide the secure storage of keys and cryptographic functions for terminals to access the MIFARE products securely and to enable between and (backend). MIFARE SAMs are available from NXP in the contact-only module (PCM 1.1) as defined in -2 and the HVQFN32 format. [ ] Key features: • Compatible with MIFARE portfolio solutions • Supports MIFARE, 3DES and AES cryptography • Key diversification • Secure download and storage of keys • 128 key entries • ISO/IEC 7816 up to 1.5 Mbit/s • X-mode functionality Integrating a MIFARE SAM AV2 in a contactless reader enables a design which integrates high-end cryptography features and the support of crypto 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 (PKI), like, SHA-224, and.
It supports MIFARE Plus and a secure host communication. Both modes provide the same communication interfaces, cryptographic algorithms (Triple-DES 112-bit and 168-bit key, MIFARE Crypto1, AES-128 and AES-192, with up to 2048-bit keys), and X-mode functionalities. [ ] Applications [ ] MIFARE products can be used in different applications.