RFID Security Flaw in Mifare Classic
![]()
Research by the Digital Security group has uncovered a security flaw in Mifare Classic RFID chips,
the most widely used type of RFID chip worldwide, affecting many Mifare Classic applications.
We have demonstrated that the proprietary CRYPTO1 encryption algorithm used in these cards allows the 48-bit encryption keys to be recovered relatively easily. This poses a serious risk, especially for RFID applications in which the same shared key is used by all cards and RFID readers, as may be the case in building access-control systems, as explained in our press release.
This attack recovers the secret key from a MIFARE reader. To carry it out, we first need to collect a small amount of data from a genuine reader. With this data, we can calculate the secret key offline within a second.
No precomputation is required, and only a small amount of RAM is needed. Moreover, once we have captured a “trace” of communication between a card and a reader, we can calculate all the cryptographic keys from that single trace and decrypt it.
We have implemented and carried out these attacks in practice and successfully recovered the secret keys.
The film on the right demonstrates the attack on the access-control system for our university buildings.
This research was presented at ESORICS 2008. Mifare Classic manufacturer NXP attempted to obtain a court injunction preventing publication, but the judge ruled against NXP on 18 July; see the university’s press release.
The product can be purchased within the EU on the website www.sigint.sk










