German Researchers Crack Mifare RFID Encryption
jfruhlinger writes "The long-running security battle has seesawed against RFID cards, as German researchers revealed a way to clone one type of card currently used for a variety of purposes, from transit fares to opening doors in NASA facilities."
According to the article, "NXP Semiconductors, which owns Mifare, put out an alert to customers warning that the security had been cracked on its MIFARE DESFire (MF3ICD40) smartcard but saying that model would be discontinued by the end of the year and encouraging customers to upgrade to the EV1 version of the card." This response may sound familiar.
But seriously, RFID isn't secure against dedicated attackers. The fact that this vulnerability was known way back when the cards were first made leads me to suspect that they didn't create protection against it then so that they could sell their newer cards now, and save a few bucks at the time. Conveniently, the newer cards are even backwards compatible. Cynical? Maybe, but after recent compromises in the security industry (Sony, DigiNotar), nothing would surprise me. Least of all a company selling a defective-by-design security card to make some extra money.
"None can love freedom heartily, but good men; the rest love not freedom, but license." --John Milton
Johannes Schlumberger and others did some hacking on Mifare cards here in Germany. The University of Erlangen-Nuremberg uses them for wireless payments in their canteen and also for access control to sensitive areas. After notifying the manufacturer they didn't try to fix the problems, but threatened him with legal action -- even though it was a research project. As it says on Schlumberger's homepage: "Unfortunately I am not allowed to make my results public"
Computer simulation made easy -- LibGeoDecomp
NASA has recently had two card initiatives. The first was to replace the ancient keycard swipe card system with newer proximity cards, while leaving the badge system alone. The second replaced both the badges and the (circa mid-2000s) prox cards with still newer HSPD-12 compliant smartcards. This sounds like the prox cards. In other words, it is most likely that NASA has already replaced these cards.
Posting anon for obvious reasons. Speaking for myself rather than my employers.
I wrote a paper on the state of RFID security a few years ago. I could write something insightful but I'll just summarise.
Low Power Requirements, Low Cost or Proper Security, pick two. That's the problem the industry faces and the reason we see flawed designs.
I'm only reading this because I thought the article was about Milfware. Suddenly I'm less interested. On a related note, good thing there's no -1 "not funny" mod...
He once inserted random mutations into his code, just so he could have the experience of debugging.
See that? FU HAL. FU and your stupid daisies.
Signed
Dave.
Don't fight for your country, if your country does not fight for you.
To ensure that customers and partners receive products with the best performance and security NXP constantly improves its MIFARE portfolio with the concept of evolving platforms. While the underlying product hardware is upgraded in terms of its performance and security, we keep next generation products functionally backwards compatible to ensure that the infrastructure can adopt the new product evolution without major upgrades. In this way, our customers can take advantage of the new technology with minimum or no additional investment into their infrastructure. The benefits of this approach become apparent now, allowing our customers to migrate quickly and easily to MIFARE DESFire EV1, introduced in 2008 as the successor of MF3ICD40. The MIFARE DESFire EV1 is Common Criteria EAL 4+ certified and the research group at the Bochum University failed when attacking the card with non-invasive side-channel attacks.
As planned, NXP will discontinue the MIFARE DESFire MF3ICD40 as of December 31, 2011, and we recommend that our customers and partners migrate to MIFARE DESFire EV1 for existing and new systems.
This would at least seem to indicate that the customers can just purchase new cards.
Emotions! In your brain!
"Security widget X is working fine so no one is buying new ones".. "How about we say they are a security risk so everyone will upgrade"
---- Booth was a patriot ----
The summary poorly describes the real issue.
The encryption algorithm used in these cards is Triple DES. The 64 bit block cipher has not been cracked and still maintains approximately 80 equivalent bits of effective security with its 112 bit key.
However, the crack involves using a side chain attack and card profiling and allows the key to be retrieved within 3 to 7 hours. The attack is complicated, but has always generally suspected to be possible. Until now, no one had demonstrated and shown a detailed method to actually crack this type of card.
This is less of an immediate issue for security installations, as the systems are probably already backed with secondary verifiers (eg. biometrics, codes, etc) for high security requirements, and the access areas are probably counted in the low double digits. Not to mention that most 'security systems' seem to be composed mostly of security theatre anyway.
But, some systems using those cards are MUCH harder to retrofit (eg. electronic money/credit equivalents like metro systems, etc) where the infrastructure is highly diverse. And replacement would involve a massive process of card/reader swap outs, most likely with both systems operating in parallel for a time. Those systems also provide the most financial gain and lowest risk for criminal organisations if they can crack the security of the cards.
Here's a link to the earlier hack by German reseachers in PCworld , with links to video demonstration and paper of University of Virginia.
A similar hack on the same chip also in 2008 was published by Dutch researchers from Radboud Univeristy in Nijmgen, in the Netherlands. This case attracted additional attention because the company making the Mifare chip, NXP (formerly Phillips semiconductors), tried to block publication of the hack and was denied this in a Dutch court of law (security guru Schneier on this).
Even more recently, the " improved" system, but still using the same chip on the cards, was targeted by Dutch investigative journalist Brenno de Winter who was cleared from prosecution by a judge as recently as three weeks ago. His research showed that hacking was possible by using a freely available windows program (you-tubevideo of his sadly overly-long presentation at DefCon 16).
Last week it became public that the company responsible for the system, Trans Link Systems ( somewhat uninformative site) has silently been introducing cards using a different chip for two months now. It uses the Infineon SLE-66 chip (producer unknown to me; anyone?), that can have software installed. The software that was installed by TLS is to block any tampering. Dutch news site nu.nl has had such a card for two weeks and was not able to hack it with the currently known methods (their article, Dutch only, I'm afraid). Old cards are still in production until he end of the year for subscriptions (linked to personalized accounts) but the new cards are used for the anonymous day cards. Equipment of public transport personnel has been adapted to reveal hacking attempts.
So, the big question to all the security experts hovering around slashdot: how realistic is the claim that this card will prevent fraud? Let's be realistic and assume that it can eventually be hacked in the lab, but that practical application of this hack is not feasible. The interesting case is a hacking method that would make free transport available on a large scale, as is the case now.Can chip-installed software block such tampering attempts?
Release a security flaw to a 3rd party group then get all your customers to upgrade.
"If any question why we died, Tell them because our fathers lied."
wow. tell more. I work at WiSo.
Get your facts right. The 2008 attack was against MiFare Classic. The 2011 attack is against MiFare DESFire. These two are most definitely *not* the same chip.
http://en.wikipedia.org/wiki/Myki
Love it, you're going down!
I wanted to upgrade my own system to Milfware 3.0, but I was told that things are just a little too tight right now.
Clipper card (the one accepted by most Bay Area Public Transport services) uses MiFare too. I remember looking up how strong it is, just a few months ago.
Companies who use the legal system to keep news about security holes in their product a secret really make me MAD.
Dutch public transport implemented a known weak and already hacked Mifare card. They announced just a few weeks ago they will be upgrading to a card system that has a unique key for every card issued. Even if you can hack a single card in 7 hours, fraud will be detected as soon as clones show up or the credit on the card is registered to be inconsistent with what's in the central database. The card will be invalidated and due to the Orwellian Dutch society, there will be camera pictures of the person trying to use it to get onto a platform once it's blocked.
I'm sure someone will find a way around this "limitation" sooner or later, but it appears it's commercially viable to buy cards with unique keys. All that is left now is for someone to find out a method to crack these cards in seconds, or to find out that someone was lazy and used an algorithm rather than randomness to create the keys. Once the amount of fraud and the ease to commit it increases above a threshold, going after the individuals doing it is no longer feasible.
I was promised a flying car. Where is my flying car?
This response may sound familiar.
But note that the MIFARE DESFire EV1 is older than the MIFARE Plus, and even with this crack it is nowhere nearly as bad as the MIFARE Classic designed in *1994*.
From what I can read, this has nothing to do with the MIFARE DESFire, and everything to do with MIFARE Classic which is completely different.
Let me know when someone cracks Felica/Suica/EDY. Some people claimed to do it in 2006, but never released any proof or did any demonstration, and of course since then the technology has evolved. Unless Sony is hunting down crackers and shooting them in the head, it either hasn't been cracked or is hacked in veeeryyy secret status by people who don't want anyone else to know.
http://www.emsec.rub.de/media/crypto/veroeffentlichungen/2011/10/10/desfire_2011_extended_1.pdf