Mifare CRYPTO1


The Mifare Classic proximity card (smart card) is the most common card for user authentication and e-tickets. The Danes know it as “Rejsekortet” other use it to get access to buildings.

Great articles have been published on how to break the crypto system used by the card. I made this project for the course “Practical Cryptoanalysis” at Technical University of Denmark (DTU) in June 2013. My goal was to write a simulation of the card and test the suggested attacks. Below you can find my code and a presentation of the Mifare Classic.


Written in C++

Code: project_crypto1_s122589.zip

Presentation: CRYPTO1-presentation (PDF) CRYPTO1-presentation (ODP)


“Wirelessly Pickpocketing a Mifare classic Card” by Garcia, Rossum, Verdult, Schreur ( Radboud University Nijmegen )
“Dismantling MIFARE Classic” by Garcia, Gans, Muijrers, Rossum, Verdult, Schreur, Jacobs (Radboud University Nijmegen )


Project details
  • Client: Practical Cryptoanalysis - Technical University of Denmark (DTU)
  • Date: June 2013