An attempt to implement CRYPTO1 algorithm of Mifare classic NFC card in python.
For that, these papers will be used:
- de Koning Gans, G., Hoepman, J. H., & Garcia, F. D. (2008). A practical attack on the MIFARE Classic. In Smart Card Research and Advanced Applications (pp. 267-282). Springer Berlin Heidelberg.
- Garcia, F. D., de Koning Gans, G., Muijrers, R., Van Rossum, P., Verdult, R., Schreur, R. W., & Jacobs, B. (2008). Dismantling MIFARE classic. In Computer Security-ESORICS 2008 (pp. 97-114). Springer Berlin Heidelberg.
But, the final goal will be to implement one these methods:
- Chiu, Y. H., Hong, W. C., Chou, L. P., Ding, J., Yang, B. Y., & Cheng, C. M. (2014, January). A Practical Attack on Patched MIFARE Classic. In Information Security and Cryptology (pp. 150-164). Springer International Publishing.
- Meijer, C., & Verdult, R. (2015, October). Ciphertext-only cryptanalysis on hardened Mifare Classic cards. In Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security (pp. 18-30). ACM.
Feel free to participate. ;)