Reverse engineering Mifare Classic NFC cards using the hardnested attack

Sam Decrock
6 min readMay 11, 2019

I’ve always been a fan of hacking. Not to harm others but just for the fun of it.

A few years ago, I learned about NFC hacking. At that time we had a NFC card at the office which allowed us to get 3 free drinks a day out of our vending machine. It turned out they were using a Mifare Classic card. This type of card can easily be hacked as the encryption keys protecting the data are vulnerable to several exploits.

--

--

Sam Decrock

Hardware and software (reverse) engineer. Passionate about new technologies. samdecrock.be