Catalyst Conference 2008

Blog powered by TypePad

« Why Enterprise Single Sign-On (E-SSO) is More Than Just a Tactical Add-on | Main | Hitachi! Who knew? »

March 19, 2008

The MIFARE Classic Card is Hacked

Blogger: Mark Diodati

Some of you may have read that the proprietary symmetric key cryptographic algorithm of the MIFARE Classic card has been broken. The MIFARE Classic card is used in physical access control systems (PACS) and contactless payment systems (including tollway and public transportation systems).  By some estimates, there are 500 million MIFARE cards deployed worldwide, and the majority of them are MIFARE Classic cards.  Karsten Nohl and his team completed the hack, and the team was able to clone a MIFARE Classic card in less than two minutes (the “skimming” or reading of the card takes less than a few seconds).  Perhaps not co-incidentally, NXP (the owners of the MIFARE intellectual property) announced on March 10 that they have a new-and-improved MIFARE card that leverages AES 128-bit encryption.  The first samples will be available in Q4 of 2008.  The refreshment of hundreds of millions of cards will be completed at a much later date.

You may be aware of the MIFARE vs. HID Prox card religious war in the PACS space.  From my experience talking with customers, there are more HID Prox cards used in PACS in the United States as compared to the MIFARE card.  The MIFARE proponents consistently tout the security value of MIFARE technology over HID Prox technology, and have pointed to the fact that HID Prox cards could be readily cloned.  You can see a video of the HID Prox card clone, from the 2007 RSA Conference here.  The conventional wisdom was that the MIFARE card was unclonable.  The conventional wisdom was wrong.

The impact of the MIFARE hack for those reliant payment systems (and its consumers) is increased fraud.  The cloning of the card does not require possession, only proximity.  I am unaware of any preventative measures that would preclude a fraudster from walking around a parking garage and cloning those tollway cards that are mounted in everyone’s windshield.  Some people might consider this an act of civil disobedience, particularly if they drive on the Illinois Tollway with any frequency (as Triumph the Insult Comic Dog would say “I keed!”).  Also, skimming and cloning the user’s public transportation card while they ride the train is a likely outcome.  If you are aware of any preventative measures, please let me know.

What is the impact to PACS security?  The reality is that many PACS deployments did not leverage the MIFARE encryption features.  The management of symmetric keys across the relatively complex PACS environment (specifically, cards, readers, controllers, and hosts) remains a daunting process.  For these deployments without encryption, it’s business as usual.  Those organizations that deployed the MIFARE technology with encryption should realize that they are not as secure as they thought.  Either way, as we have said before, no authentication method is bulletproof.  Organizations should be using other controls – like auditing and security event correlation – to enhance the security of their PACS. 

Finally, when will people learn their lesson?  Cryptographic algorithms should be public so that they can be scrutinized and tested.  Secret algorithms aren’t more valuable because they are secret.  Bruce Schneier has been saying this for years.

If you are interested more details on PACS architecture and components, I recommend my recent Burton Group research document “Let’s Get Logical: The Convergence of Physical Access Control and Identity Systems” (subscription required).

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/1045303/27256686

Listed below are links to weblogs that reference The MIFARE Classic Card is Hacked:

Comments

Your assessment of the state of MiFARE Classic card security is spot on and the problem will only continue to escalate as hacking cards becomes more prevalent.

As you say, algorithms should be public so that they can be scrutinized and tested, however, for where we are today, organizations need automated mechanisms in place that correlate identity information across those PACS, watch for and respond to unusual ID card activity, and automatically suspend or notify cardholder/security personnel. For e.g. initiate fraud-alert/remediation policies automatically upon
- multiple physical access transactions for same identity
- multiple physical access transactions from one card over a very short period of time
- multiple physical access transactions on one card across different geographies/locations
- multiple PACS card rejects for one card over a very short period of time, etc.

as food for thought.

Government agencies worldwide use MiFARE Classic card or equivalent identity credentials to control access sensitive areas and information. With the deadline for HSPD-12 looming and these agencies now converting from old access cards (non-smartcards) to PIV credentials / access cards, they should be especially cognizant of the risks and ensuring that all the effort that is going into the conversion is as effective as possible. In government and commercial markets alike, the verification and validation of credentials and tokens is an essential element for secure access.

It is time for starting a metallic wallet business.

Post a comment

Comments are moderated, and will not appear on this weblog until the author has approved them.

If you have a TypeKey or TypePad account, please Sign In