<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: mifare]]></title>
    <link>http://securityratty.com/tag/mifare</link>
    <description></description>
    <pubDate>Tue, 25 Mar 2008 21:16:43 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[MBTA Hack - Is it really this easy?]]></title>
      <link>http://securityratty.com/article/f6ec916b224830aa520ce767a8418965</link>
      <guid>http://securityratty.com/article/f6ec916b224830aa520ce767a8418965</guid>
      <description><![CDATA[A lot of the focus of the MBTA vs MIT case has been discussion of the CharlieCards . These are MiFare classic cards which have been known to be broken earlier this year . There is also a paper...]]></description>
      <content:encoded><![CDATA[<p>A lot of the focus of the MBTA vs MIT case has been discussion of the <a href="http://www.mbta.com/fares_and_passes/charlie/?id=5592">CharlieCards</a>.  These are MiFare classic cards which have been <a href="http://en.wikipedia.org/wiki/MIFARE#Security">known to be broken earlier this year</a>.  There is also a paper disposable card called the <a href="http://www.mbta.com/fares_and_passes/charlie/?id=5592">CharlieTicket</a> that uses a magnetic stripe.  The MIT students presentation states that these are cloneable and forgeable using a $150 magnetic stripe reader/writer.</p>
<p>From the <a href="http://cryptome.org/mbta-v-zack/10-scott-henderson-declaration.pdf">Confidential Memo Prepared for the MBTA</a> which was publicly disclosed by the MBTA is court filing:</p>
<p><a href="http://cryptome.org/mbta-v-zack/10-scott-henderson-declaration.pdf"><img class="alignnone size-full wp-image-241" title="memo-excerpt" src="http://www.veracode.com/blog/wp-content/uploads/2008/08/memo-excerpt.png" alt="" width="678" height="127" /></a></p>
<p>This seems to break all the rules of integrity of sensitive data storage. How could someone store money on a magnetic stripe in 2008 and not store an identifier that references the account in a central database?</p>
<p>The tickets do have a unique identifier generated when the card is initially purchased so a fraud detection system could be in place or is planned. But this would require tracking the value on the ticket or the usage of the ticket centrally so it isn&#8217;t clear why the value is stored on the card in the first place.</p>
<p>There are so many question about the security of this public system.  Fraud costs the Massachusetts taxpayer money and refitting an insecure, ill-designed system costs the Massachusetts taxpayer money. [Disclosure: I am a Massachusetts taxpayer.]</p>
<p>It should be a requirement that the current system or the (hopefully) upgraded system be tested by an independent organization that specializes in cryptosystems.  If the independent testing uncovers vulnerabilities, they need to be fixed before the system is fielded. Then the system should be retested to verify the fixes.  Once the system is deemed secure by an independent organization, a summary of the test document should be published for public inspection.  It should include the types of testing conducted and the results.</p>
<p>The public trust requires inspection of taxpayer funded projects to make sure they meet acceptible standards and vendors held responsible for deficiencies.  Projects that use computers and software should not get a free pass. It will be interesting to see if the CharlieTicket system is ever held up to public scrutiny.</p>
<p><img src="file:///C:/DOCUME~1/cwysopal/LOCALS~1/Temp/moz-screenshot.jpg" alt="" /></p>
]]></content:encoded>
      <pubDate>Fri, 15 Aug 2008 09:19:29 +0000</pubDate>
      <category domain="http://securityratty.com/tag/massachusetts taxpayer">massachusetts taxpayer</category>
      <category domain="http://securityratty.com/tag/taxpayer">taxpayer</category>
      <category domain="http://securityratty.com/tag/system">system</category>
      <category domain="http://securityratty.com/tag/fraud detection system">fraud detection system</category>
      <category domain="http://securityratty.com/tag/system costs">system costs</category>
      <category domain="http://securityratty.com/tag/public system">public system</category>
      <category domain="http://securityratty.com/tag/massachusetts taxpayer money">massachusetts taxpayer money</category>
      <category domain="http://securityratty.com/tag/charlieticket system">charlieticket system</category>
      <category domain="http://securityratty.com/tag/charlieticket">charlieticket</category>
      <source url="http://www.veracode.com/blog/?p=238">MBTA Hack - Is it really this easy?</source>
    </item>
    <item>
      <title><![CDATA[MBTA Hack: Is It Really This Easy?]]></title>
      <link>http://securityratty.com/article/1b9874427cf921ef00de8a56a8a8cab9</link>
      <guid>http://securityratty.com/article/1b9874427cf921ef00de8a56a8a8cab9</guid>
      <description><![CDATA[A lot of the focus of the MBTA vs MIT case has been discussion of the CharlieCards . These are MiFare classic cards which have been known to be broken earlier this year . There is also a paper...]]></description>
      <content:encoded><![CDATA[<p>A lot of the focus of the MBTA vs MIT case has been discussion of the <a href="http://www.mbta.com/fares_and_passes/charlie/?id=5592">CharlieCards</a>.  These are MiFare classic cards which have been <a href="http://en.wikipedia.org/wiki/MIFARE#Security">known to be broken earlier this year</a>.  There is also a paper disposable card called the <a href="http://www.mbta.com/fares_and_passes/charlie/?id=5592">CharlieTicket</a> that uses a magnetic stripe.  The MIT students presentation states that these are cloneable and forgeable using a $150 magnetic stripe reader/writer.</p>
<p>From the <a href="http://cryptome.org/mbta-v-zack/10-scott-henderson-declaration.pdf">Confidential Memo Prepared for the MBTA</a> which was publicly disclosed by the MBTA is court filing:</p>
<p><a href="http://cryptome.org/mbta-v-zack/10-scott-henderson-declaration.pdf"><center><img class="alignnone size-full wp-image-241 photoborder" title="memo-excerpt" src="http://www.veracode.com/blog/wp-content/uploads/2008/08/memo-excerpt.png" alt="" width="576" height="108" /></center></a></p>
<p>This seems to break all the rules of integrity of sensitive data storage. How could someone store money on a magnetic stripe in 2008 and not store an identifier that references the account in a central database?</p>
<p>The tickets do have a unique identifier generated when the card is initially purchased so a fraud detection system could be in place or is planned. But this would require tracking the value on the ticket or the usage of the ticket centrally so it isn&#8217;t clear why the value is stored on the card in the first place.</p>
<p>There are so many question about the security of this public system.  Fraud costs the Massachusetts taxpayer money and refitting an insecure, ill-designed system costs the Massachusetts taxpayer money. [Disclosure: I am a Massachusetts taxpayer.]</p>
<p>It should be a requirement that the current system or the (hopefully) upgraded system be tested by an independent organization that specializes in cryptosystems.  If the independent testing uncovers vulnerabilities, they need to be fixed before the system is fielded. Then the system should be retested to verify the fixes.  Once the system is deemed secure by an independent organization, a summary of the test document should be published for public inspection.  It should include the types of testing conducted and the results.</p>
<p>The public trust requires inspection of taxpayer funded projects to make sure they meet acceptible standards and vendors held responsible for deficiencies.  Projects that use computers and software should not get a free pass. It will be interesting to see if the CharlieTicket system is ever held up to public scrutiny.</p>
<p><img src="file:///C:/DOCUME~1/cwysopal/LOCALS~1/Temp/moz-screenshot.jpg" alt="" /></p>
]]></content:encoded>
      <pubDate>Fri, 15 Aug 2008 09:19:29 +0000</pubDate>
      <category domain="http://securityratty.com/tag/massachusetts taxpayer">massachusetts taxpayer</category>
      <category domain="http://securityratty.com/tag/taxpayer">taxpayer</category>
      <category domain="http://securityratty.com/tag/system">system</category>
      <category domain="http://securityratty.com/tag/fraud detection system">fraud detection system</category>
      <category domain="http://securityratty.com/tag/system costs">system costs</category>
      <category domain="http://securityratty.com/tag/public system">public system</category>
      <category domain="http://securityratty.com/tag/massachusetts taxpayer money">massachusetts taxpayer money</category>
      <category domain="http://securityratty.com/tag/charlieticket system">charlieticket system</category>
      <category domain="http://securityratty.com/tag/charlieticket">charlieticket</category>
      <source url="http://www.veracode.com/blog/2008/08/mbta-hack-is-it-really-this-easy/">MBTA Hack: Is It Really This Easy?</source>
    </item>
    <item>
      <title><![CDATA[MBTA vs MIT students case continues]]></title>
      <link>http://securityratty.com/article/4eeed89c9d2338f565503a6939c3100f</link>
      <guid>http://securityratty.com/article/4eeed89c9d2338f565503a6939c3100f</guid>
      <description><![CDATA[A hearing will be held in Boston tommorow to decide whether or not the restraining order gagging the MIT students from talking about the vulnerabilities they have found should be lifted. Even though...]]></description>
      <content:encoded><![CDATA[<p>A hearing will be held in Boston tommorow to decide whether or not the restraining order gagging the MIT students from talking about the vulnerabilities they have found should be lifted. Even though the Defcon presentation is widely available and the MBTA disclosed the &#8220;Confidential&#8221; memo from the MIT students in their court filings, they are seeking a permanent speech injunction.  An august group of computer scientists has <a href="http://cryptome.org/mbta-v-zack/mbta-v-profs.pdf">signed a letter</a> which will be entered into the record for the case.  This list includes: Dave Farber of Carnegie Mellon University, Steve Bellovin from Columbia University, David Wagner from UC Berkeley, Dan Wallach from Rice University, Matt Blaze from the University of Pennsylvania, and Bruce Schneier. An excerpt:</p>
<blockquote><p>We write to express our firm belief that research on security vulnerabilities, and the sensible publication of the results of the research, are critical for scientific advancement, public safety and a robust market for secure technologies. Generally speaking, the norm in our field is that researchers take reasonable steps to protect the individuals using the systems studied. We understand that the student researchers took such steps with regard to their research, notably by planning not to present a critical element of a flaw they found.  They did this so that their audience would be unable to exploit the security flaws they uncovered. . . .</p>
<p>The restraining order at issue in this case also fosters a dangerous information imbalance. In this case, for example, it allows the vendors of the technology and the MBTA to claim greater efficacy and security than their products warrant, then use the law to silence those who would reveal the technologies&#8217; flaws. In this case, the law gives the public a false sense of security, achieved through law, not technical effectiveness. Preventing researchers from discussing a technology&#8217;s vulnerabilities does not make them go away - in fact, it may exacerbate them as more people and institutions use and come to rely upon the illusory protection. Yet the commercial purveyors of such technologies often do not want truthful discussions of their products&#8217; flaws, and will likely withhold the prior approval or deny researchers access for testing if the law supports that effort. . . .</p>
<p>Yet at the same time that researchers need to act responsibly, vendors should not be granted complete control of the publication of such information, as it appears MBTA sought here. As noted above, vendors and users of such technologies often have an incentive to hide the flaws in the system rather than come clean with the public and take the steps necessary to remedy them.  Thus, while researchers often refrain from publishing the technical details necessary to exploit the flaw, a legal ban on discussion of security flaws, such as that contained in the temporary restraining order, is especially troubling.</p></blockquote>
<p>It will be interesting to see what arguments the MBTA uses to keep the students from speaking on a topic where all the important vulnerability information seems to have already disclosed.  Sure the students haven&#8217;t presented a cookbook exploit tool but they have also stated they have no intention of doing so.</p>
<p>Perhaps the court will investigate what the MBTA&#8217;s and their technology vendors response has been to the MiFare card vulnerabilities that were <a href="http://eprint.iacr.org/2008/166">disclosed responsibly</a>. If there has been no vigorous response to responsibly disclosed vulnerabilities of many months ago how can they say with a straight face that are truly responding to new security information and just need more time.</p>
]]></content:encoded>
      <pubDate>Wed, 13 Aug 2008 18:47:34 +0000</pubDate>
      <category domain="http://securityratty.com/tag/technologies flaws">technologies flaws</category>
      <category domain="http://securityratty.com/tag/flaws">flaws</category>
      <category domain="http://securityratty.com/tag/vulnerabilities">vulnerabilities</category>
      <category domain="http://securityratty.com/tag/technologys vulnerabilities">technologys vulnerabilities</category>
      <category domain="http://securityratty.com/tag/mifare card vulnerabilities">mifare card vulnerabilities</category>
      <category domain="http://securityratty.com/tag/students">students</category>
      <category domain="http://securityratty.com/tag/security vulnerabilities">security vulnerabilities</category>
      <category domain="http://securityratty.com/tag/mit students">mit students</category>
      <category domain="http://securityratty.com/tag/mbta">mbta</category>
      <source url="http://www.veracode.com/blog/?p=232">MBTA vs MIT students case continues</source>
    </item>
    <item>
      <title><![CDATA[MBTA vs MIT Students Case Continues]]></title>
      <link>http://securityratty.com/article/064a464f9437ecbf32f46f66c2142979</link>
      <guid>http://securityratty.com/article/064a464f9437ecbf32f46f66c2142979</guid>
      <description><![CDATA[A hearing will be held in Boston tomorrow to decide whether or not the restraining order gagging the MIT students from talking about the vulnerabilities they have found should be lifted. Even though...]]></description>
      <content:encoded><![CDATA[<p>A hearing will be held in Boston tomorrow to decide whether or not the restraining order gagging the MIT students from talking about the vulnerabilities they have found should be lifted. Even though the Defcon presentation is widely available and the MBTA disclosed the &#8220;Confidential&#8221; memo from the MIT students in their court filings, they are seeking a permanent speech injunction.  An august group of computer scientists has <a href="http://cryptome.org/mbta-v-zack/mbta-v-profs.pdf">signed a letter</a> which will be entered into the record for the case.  This list includes: Dave Farber of Carnegie Mellon University, Steve Bellovin from Columbia University, David Wagner from UC Berkeley, Dan Wallach from Rice University, Matt Blaze from the University of Pennsylvania, and Bruce Schneier. An excerpt:</p>
<blockquote><p>We write to express our firm belief that research on security vulnerabilities, and the sensible publication of the results of the research, are critical for scientific advancement, public safety and a robust market for secure technologies. Generally speaking, the norm in our field is that researchers take reasonable steps to protect the individuals using the systems studied. We understand that the student researchers took such steps with regard to their research, notably by planning not to present a critical element of a flaw they found.  They did this so that their audience would be unable to exploit the security flaws they uncovered. . . .</p>
<p>The restraining order at issue in this case also fosters a dangerous information imbalance. In this case, for example, it allows the vendors of the technology and the MBTA to claim greater efficacy and security than their products warrant, then use the law to silence those who would reveal the technologies&#8217; flaws. In this case, the law gives the public a false sense of security, achieved through law, not technical effectiveness. Preventing researchers from discussing a technology&#8217;s vulnerabilities does not make them go away - in fact, it may exacerbate them as more people and institutions use and come to rely upon the illusory protection. Yet the commercial purveyors of such technologies often do not want truthful discussions of their products&#8217; flaws, and will likely withhold the prior approval or deny researchers access for testing if the law supports that effort. . . .</p>
<p>Yet at the same time that researchers need to act responsibly, vendors should not be granted complete control of the publication of such information, as it appears MBTA sought here. As noted above, vendors and users of such technologies often have an incentive to hide the flaws in the system rather than come clean with the public and take the steps necessary to remedy them.  Thus, while researchers often refrain from publishing the technical details necessary to exploit the flaw, a legal ban on discussion of security flaws, such as that contained in the temporary restraining order, is especially troubling.</p></blockquote>
<p>It will be interesting to see what arguments the MBTA uses to keep the students from speaking on a topic where all the important vulnerability information seems to have already disclosed.  Sure the students haven&#8217;t presented a cookbook exploit tool but they have also stated they have no intention of doing so.</p>
<p>Perhaps the court will investigate what the MBTA&#8217;s and their technology vendors response has been to the MiFare card vulnerabilities that were <a href="http://eprint.iacr.org/2008/166">disclosed responsibly</a>. If there has been no vigorous response to responsibly disclosed vulnerabilities of many months ago how can they say with a straight face that are truly responding to new security information and just need more time.</p>
]]></content:encoded>
      <pubDate>Wed, 13 Aug 2008 18:47:34 +0000</pubDate>
      <category domain="http://securityratty.com/tag/technologies flaws">technologies flaws</category>
      <category domain="http://securityratty.com/tag/flaws">flaws</category>
      <category domain="http://securityratty.com/tag/vulnerabilities">vulnerabilities</category>
      <category domain="http://securityratty.com/tag/technologys vulnerabilities">technologys vulnerabilities</category>
      <category domain="http://securityratty.com/tag/mifare card vulnerabilities">mifare card vulnerabilities</category>
      <category domain="http://securityratty.com/tag/students">students</category>
      <category domain="http://securityratty.com/tag/security vulnerabilities">security vulnerabilities</category>
      <category domain="http://securityratty.com/tag/mit students">mit students</category>
      <category domain="http://securityratty.com/tag/mbta">mbta</category>
      <source url="http://www.veracode.com/blog/2008/08/mbta-vs-mit-students-case-continues/">MBTA vs MIT Students Case Continues</source>
    </item>
    <item>
      <title><![CDATA[Sorry CharlieCard, Your Security Model Is Broken]]></title>
      <link>http://securityratty.com/article/f11af6f7a39f4309ead15fadb8a610f7</link>
      <guid>http://securityratty.com/article/f11af6f7a39f4309ead15fadb8a610f7</guid>
      <description><![CDATA[It sure seems like the CharlieCard , which is used by the Boston subway system, has a serious security weakness. The MBTA has sued 3 MIT students to stop them from giving a planned talk at DEFCON...]]></description>
      <content:encoded><![CDATA[<p>It sure seems like the <a href="http://www.mbta.com/fares_and_passes/charlie/">CharlieCard</a>, which is used by the Boston subway system, has a serious security weakness.  The MBTA has <a href="http://www.theregister.co.uk/2008/08/09/defcon_speakers_sued/">sued 3 MIT students</a> to stop them from giving a planned  talk at DEFCON.</p>
<p>Doesn&#8217;t this seem backwards to you?  Shouldn&#8217;t the MBTA be suing the vendor who sold them the flawed system?  Security problems go away by mandating independant security testing before a product is accepted, not by trying to get security researchers to be quiet.  This is a good example of how the reactive approach doesn&#8217;t work.  The flaws are still in the system and suing researchers has just <a href="http://en.wikipedia.org/wiki/Streisand_effect">shined a bright light</a> on them.</p>
<p><strong>Update 08/09/2008 6:00pm EST:</strong></p>
<p>The <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;articleId=9112160&amp;intsrc=news_ts_head">EFF is appealing the injunction</a> which is blocking the students from speaking about the results of their testing.</p>
<p>A telling quote from Kurt Opsahl, staff attorney at the EFF gets to the heart of the issue:</p>
<blockquote><p>&#8220;Courts have found that the First Amendment covers these things. We believe that this is a protected speech activity. When you discuss security issues, if you are telling the truth, that is something that should be protected.&#8221;</p></blockquote>
<p>Apparently the MBTA has known about this problem since at least March, 2008 when a graduate student from the University of Virginia announced <a href="http://www.boston.com/business/articles/2008/03/06/t_card_has_security_flaw_says_researcher/">he was able to break the encryption system</a>.</p>
<p>The U of VA researcher gave an interview where he described why security by obscurity is not a valid security approach for a cryptosystem:</p>
<blockquote><p><strong>Q:</strong> What are your thoughts on security by obscurity? Is NXP using this method of protection?</p>
<p><strong>A:</strong> Security-through-obscurity hardly ever works. The lack of proper peer-review often even hurts the security of the system. Our Mifare work discovered several vulnerabilities that could be fixed without increasing the cost of the cards. NXP did for a long time rely on obscurity for the security of some of their products, but now decided against this outdated design approach and instead bases the security of newer RFID cards on publicly scrutinized cryptography and independent evaluations.</p>
<p><strong>Q:</strong> Can you explain &#8220;Kerckhoffs Principle&#8221; and why it applies to your work?</p>
<p><strong>A:</strong> Kerchoff, who lived in the 19th century, observed that keeping anything secret is really hard. So instead of relying on the secrecy of your whole system, it would a lot easier to only rely on the secrecy of a small secret key. Security systems should hence be publicly known and analyzed, and only the key should be secret. When properly realised for RFID cards, Kerchoff&#8217;s principle means that by analyzing their own cards, thieves cannot compromise your cards. This is contrary to our Mifare work, where we only analyzed a few copies of the the secret algorithm that is found in all cards and were consequently able affect the security of all the other billion cards out there.</p></blockquote>
<p>The MBTA not only accepted a security system which relied on security by obscurity but once accepting this flawed model must try to maintain this obscurity with the court system.</p>
<p>The documents detailing the presentation are <a href="http://www.tgdaily.com/content/view/38817/108/">here.</a></p>
]]></content:encoded>
      <pubDate>Sat, 09 Aug 2008 10:57:40 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security researchers">security researchers</category>
      <category domain="http://securityratty.com/tag/valid security approach">valid security approach</category>
      <category domain="http://securityratty.com/tag/system">system</category>
      <category domain="http://securityratty.com/tag/encryption system">encryption system</category>
      <category domain="http://securityratty.com/tag/boston subway system">boston subway system</category>
      <category domain="http://securityratty.com/tag/discuss security issues">discuss security issues</category>
      <category domain="http://securityratty.com/tag/court system">court system</category>
      <category domain="http://securityratty.com/tag/security systems">security systems</category>
      <source url="http://www.veracode.com/blog/2008/08/sorry-charliecard-your-security-model-is-broken/">Sorry CharlieCard, Your Security Model Is Broken</source>
    </item>
    <item>
      <title><![CDATA[Hacking Mifare Transport Cards]]></title>
      <link>http://securityratty.com/article/3a7dba1bb2685c0c225ca69eddd304c7</link>
      <guid>http://securityratty.com/article/3a7dba1bb2685c0c225ca69eddd304c7</guid>
      <description><![CDATA[London's Oyster card has been cracked , and the final details will become public in October. NXP Semiconductors, the Philips spin-off that makes the system, lost a court battle to prevent the...]]></description>
      <content:encoded><![CDATA[<p>London's Oyster card has been <a href="http://www.guardian.co.uk/technology/2008/jun/26/hitechcrime.oystercards">cracked</a>, and the final details will become public in October. NXP Semiconductors, the Philips spin-off that makes the system, lost a court battle to prevent the researchers from publishing. People might be able to use this information to ride for free, but the sky won't be falling. And the publication of this serious vulnerability actually makes us all safer in the long run.</p>

<p>Here's the story. Every Oyster card has a radio-frequency identification chip that communicates with readers mounted on the ticket barrier. That chip, the "Mifare Classic" chip, is used in hundreds of other transport systems as well — Boston, Los Angeles, Brisbane, Oslo, Amsterdam, Taipei, Shanghai, Rio de Janeiro — and as an access pass in thousands of companies, schools, hospitals, and government buildings around Britain and the rest of the world.</p>

<p>The security of Mifare Classic is terrible. This is not an exaggeration; it's kindergarten cryptography. Anyone with any security experience would be embarrassed to put his name to the design. NXP attempted to deal with this embarrassment by keeping the design secret.</p>

<p>The group that <a href="http://www.ru.nl/ds/research/rfid/">broke</a> Mifare Classic is from Radboud University Nijmegen in the Netherlands. They <a href="http://technology.timesonline.co.uk/tol/news/tech_and_web/article4184481.ece">demonstrated the attack</a> by riding the Underground for free, and by <a href="http://www.youtube.com/watch?v=NW3RGbQTLhE">breaking into</a> a building. Their two papers (one is already <a href="http://www.cs.ru.nl/~flaviog/publications/Attack.MIFARE.pdf">online</a>) will be published at <a href="http://www.scc.rhul.ac.uk/CARDIS/">two</a> <a href="http://www.isac.uma.es/esorics08/">conferences</a> this autumn.</p>

<p>The second paper is the one that NXP <a href="http://news.cnet.com/8301-10784_3-9985886-7.html?hhTest=1">sued</a> <a href="http://www.secureidnews.com/news/2008/07/10/nxp-sues-to-prevent-hackers-from-releasing-mifare-flaws/">over</a>. They called disclosure of the attack "irresponsible," warned that it will cause "immense damages," and claimed that it "will jeopardize the security of assets protected with systems incorporating the Mifare IC." The <a href="http://zoeken.rechtspraak.nl/resultpage.aspx?snelzoeken=true&amp;searchtype=ljn&amp;ljn=BD7578&amp;u_ljn=BD7578">Dutch court</a> would have none of it:  "Damage to NXP is not the result of the publication of the article but of the production and sale of a chip that appears to have shortcomings."</p>

<p>Exactly right. More generally, the notion that secrecy supports security is <a href="http://www.schneier.com/crypto-gram-0205.html#1">inherently flawed</a>. Whenever you see an organization claiming that design secrecy is necessary for security — in ID cards, in voting machines, in airport security — it invariably means that its security is lousy and it has no choice but to hide it. Any competent cryptographer would have designed Mifare's security with an open and public design.</p>

<p>Secrecy is fragile. Mifare's security was based on the belief that no one would discover how it worked; that's why NXP had to muzzle the Dutch researchers. But that's just wrong. Reverse-engineering isn't hard. <a href="http://computerworld.com/action/article.do?command=viewArticleBasic&amp;taxonomyName=spam__malware_and_vulnerabilities&amp;articleId=9078038&amp;taxonomyId=85">Other</a> <a href="http://www.cs.virginia.edu/~evans/pubs/usenix08/">researchers</a> <a href="http://eprint.iacr.org/2008/166">had</a> <a href="http://staff.science.uva.nl/~delaat/sne-2006-2007/p41/Report.pdf">already</a> <a href="http://www.translink.nl/media/bijlagen/nieuws/TNO_ICT_-_Security_Analysis_OV-Chipkaart_-_public_report.pdf">exposed</a> Mifare's lousy security. A Chinese company even <a href="http://www.fmsh.com/english/product_chipcard.php?product=FM11RF32">sells</a> a <a href="http://www.fmsh.com/english/products/FM11RF32_FS_ENG.pdf">compatible chip</a>. Is there any doubt that the bad guys already know about this, or will soon enough?</p>

<p>Publication of this attack might be expensive for NXP and its customers, but it's good for security overall. Companies will only design security as good as their customers know to ask for. NXP's security was so bad because customers didn't know how to evaluate security: either they don't know what questions to ask, or didn't know enough to distrust the marketing answers they were given. This court ruling encourages companies to build security properly rather than relying on shoddy design and secrecy, and discourages them from promising security based on their ability to threaten researchers.</p>

<p>It's unclear how this break will affect <a href="http://www.tfl.gov.uk/">Transport for London</a>. Cloning takes only a few seconds, and the thief only has to brush up against someone carrying a legitimate Oyster card. But it requires an RFID reader and a small piece of software which, while feasible for a techie, are too complicated for the average fare dodger. The police are likely to quickly arrest anyone who tries to sell cloned cards on any scale. TfL <a href="http://news.cnet.co.uk/software/0,39029694,49297810,00.htm">promises</a> <a href="http://www.techradar.com/news/world-of-tech/tfl-responds-to-oyster-hack-runling-428238">to</a> turn off any cloned cards within 24 hours, but that will hurt the innocent victim who had his card cloned more than the thief.</p>

<p>The vulnerability is far more serious to the companies that use Mifare Classic as an access pass. It would be very interesting to know how NXP presented the system's security to them.</p>

<p>And while these attacks only pertain to the Mifare Classic chip, it makes me suspicious of the entire product line. NXP sells a more secure chip and has another on the way, but given the number of basic cryptography mistakes NXP made with Mifare Classic, one has to wonder whether the "more secure" versions will be sufficiently so.</p>

<p>This essay <a href="http://www.guardian.co.uk/technology/2008/aug/07/hacking.security">originally appeared</a> in the <i>Guardian</i>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=lyT29K"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=lyT29K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=3HhhnK"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=3HhhnK" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Thu, 07 Aug 2008 02:07:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/mifare">mifare</category>
      <category domain="http://securityratty.com/tag/design">design</category>
      <category domain="http://securityratty.com/tag/design secrecy">design secrecy</category>
      <category domain="http://securityratty.com/tag/mifare classic chip">mifare classic chip</category>
      <category domain="http://securityratty.com/tag/secrecy">secrecy</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/secrecy supports security">secrecy supports security</category>
      <category domain="http://securityratty.com/tag/security properly">security properly</category>
      <category domain="http://securityratty.com/tag/chip">chip</category>
      <source url="http://www.schneier.com/blog/archives/2008/08/hacking_mifare.html">Hacking Mifare Transport Cards</source>
    </item>
    <item>
      <title><![CDATA[BlackHat Picks, Day 2]]></title>
      <link>http://securityratty.com/article/bb5f61d931e262cc86324e4d585f8e2b</link>
      <guid>http://securityratty.com/article/bb5f61d931e262cc86324e4d585f8e2b</guid>
      <description><![CDATA[Heres the rest of my list
10:00-11:00 FX , Developments in Cisco IOS Forensics
11:15-12:30 Oliver Friedrichs , Threats to the 2008 Presidential Election (and more
13:45-15:00 Option 1: Scott Stender ,...]]></description>
      <content:encoded><![CDATA[<p>Here&#8217;s the rest of my list:</p>
<p><b>10:00-11:00</b> <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Lindner">FX</a>, Developments in Cisco IOS Forensics.</p>
<p><b>11:15-12:30</b> <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Friedrichs">Oliver Friedrichs</a>, Threats to the 2008 Presidential Election (and more).</p>
<p><b>13:45-15:00</b> Option 1: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Stender">Scott Stender</a>, Concurrency Attacks in Web Applications. Option 2: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Goodspeed">Travis Goodspeed</a>, Side-channel Timing Attacks on MSP430 Microcontroller Firmware.  </p>
<p><b>15:15-16:30</b> Option 1: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Sotirov">Alexander Sotirov and Mark Dowd</a>, How To Impress Girls With Browser Memory Protection Bypasses.  Option 2: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Nohl">Karsten Nohl</a>, Mifare - Little Security, Despite Obscurity.  This is one of the toughest time slots as you also have McFeters/Carter/Heasman and Grossman/Evans in the lineup.  Choices, choices.</p>
<p><b>16:45-18:00</b> Option 1: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Dang">Bruce Dang</a>, Methods for Understanding Targeted Attacks with Office Documents.  Option 2: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Tarnovsky">Christopher Tarnovsky</a>, Inducing Momentary Faults Within Secure Smartcards/Microcontrollers.</p>
<p>Lots of intriguing hardware talks on Day 2.  A lot of it is probably over my head and my first options are more applicable to my day job.  There might have to be some room hopping.</p>
<p>I fly out to Vegas tonight &#8212; see you all there!</p>
]]></content:encoded>
      <pubDate>Mon, 04 Aug 2008 13:48:24 +0000</pubDate>
      <category domain="http://securityratty.com/tag/day">day</category>
      <category domain="http://securityratty.com/tag/option">option</category>
      <category domain="http://securityratty.com/tag/attacks">attacks</category>
      <category domain="http://securityratty.com/tag/concurrency attacks">concurrency attacks</category>
      <category domain="http://securityratty.com/tag/cisco ios forensics">cisco ios forensics</category>
      <category domain="http://securityratty.com/tag/msp430 microcontroller firmware">msp430 microcontroller firmware</category>
      <category domain="http://securityratty.com/tag/day job">day job</category>
      <category domain="http://securityratty.com/tag/alexander sotirov">alexander sotirov</category>
      <category domain="http://securityratty.com/tag/impress girls">impress girls</category>
      <source url="http://www.veracode.com/blog/?p=163">BlackHat Picks, Day 2</source>
    </item>
    <item>
      <title><![CDATA[BlackHat Picks, Day 2]]></title>
      <link>http://securityratty.com/article/640a63fad4b288ad8b2f6f80cdfd9935</link>
      <guid>http://securityratty.com/article/640a63fad4b288ad8b2f6f80cdfd9935</guid>
      <description><![CDATA[Heres the rest of my list
10:00-11:00 FX , Developments in Cisco IOS Forensics
11:15-12:30 Oliver Friedrichs , Threats to the 2008 Presidential Election (and more
13:45-15:00 Option 1: Scott Stender ,...]]></description>
      <content:encoded><![CDATA[<p>Here&#8217;s the rest of my list:</p>
<p><b>10:00-11:00</b> <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Lindner">FX</a>, Developments in Cisco IOS Forensics.</p>
<p><b>11:15-12:30</b> <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Friedrichs">Oliver Friedrichs</a>, Threats to the 2008 Presidential Election (and more).</p>
<p><b>13:45-15:00</b> Option 1: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Stender">Scott Stender</a>, Concurrency Attacks in Web Applications. Option 2: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Goodspeed">Travis Goodspeed</a>, Side-channel Timing Attacks on MSP430 Microcontroller Firmware.  </p>
<p><b>15:15-16:30</b> Option 1: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Sotirov">Alexander Sotirov and Mark Dowd</a>, How To Impress Girls With Browser Memory Protection Bypasses.  Option 2: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Nohl">Karsten Nohl</a>, Mifare - Little Security, Despite Obscurity.  This is one of the toughest time slots as you also have McFeters/Carter/Heasman and Grossman/Evans in the lineup.  Choices, choices.</p>
<p><b>16:45-18:00</b> Option 1: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Dang">Bruce Dang</a>, Methods for Understanding Targeted Attacks with Office Documents.  Option 2: <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Tarnovsky">Christopher Tarnovsky</a>, Inducing Momentary Faults Within Secure Smartcards/Microcontrollers.</p>
<p>Lots of intriguing hardware talks on Day 2.  A lot of it is probably over my head and my first options are more applicable to my day job.  There might have to be some room hopping.</p>
<p>I fly out to Vegas tonight &#8212; see you all there!</p>
]]></content:encoded>
      <pubDate>Mon, 04 Aug 2008 13:48:24 +0000</pubDate>
      <category domain="http://securityratty.com/tag/day">day</category>
      <category domain="http://securityratty.com/tag/option">option</category>
      <category domain="http://securityratty.com/tag/attacks">attacks</category>
      <category domain="http://securityratty.com/tag/concurrency attacks">concurrency attacks</category>
      <category domain="http://securityratty.com/tag/cisco ios forensics">cisco ios forensics</category>
      <category domain="http://securityratty.com/tag/msp430 microcontroller firmware">msp430 microcontroller firmware</category>
      <category domain="http://securityratty.com/tag/day job">day job</category>
      <category domain="http://securityratty.com/tag/alexander sotirov">alexander sotirov</category>
      <category domain="http://securityratty.com/tag/impress girls">impress girls</category>
      <source url="http://www.veracode.com/blog/2008/08/blackhat-picks-day-2/">BlackHat Picks, Day 2</source>
    </item>
    <item>
      <title><![CDATA[MiFare RFID crack more extensive than previously thought]]></title>
      <link>http://securityratty.com/article/ff82bd889a0645580f446cd9af45b781</link>
      <guid>http://securityratty.com/article/ff82bd889a0645580f446cd9af45b781</guid>
      <description><![CDATA[Security woes for the wildly popular MiFare RFID chip, hacked several months ago, are mounting. New research demonstrated Tuesday at a security conference in Istanbul shows that the chip can be hacked...]]></description>
      <content:encoded><![CDATA[Security woes for the wildly popular MiFare RFID chip, hacked several months ago, are mounting. New research demonstrated Tuesday at a security conference in Istanbul shows that the chip can be hacked in mere seconds -- and that more models are affected.
<p><a href="http://feeds.computerworld.com/~a/Computerworld/Security/News?a=5lTSfL"><img src="http://feeds.computerworld.com/~a/Computerworld/Security/News?i=5lTSfL" border="0"></img></a></p><img src="http://feeds.computerworld.com/~r/Computerworld/Security/News/~4/271172206" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 15 Apr 2008 09:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/months ago">months ago</category>
      <category domain="http://securityratty.com/tag/security woes">security woes</category>
      <category domain="http://securityratty.com/tag/security conference">security conference</category>
      <category domain="http://securityratty.com/tag/models">models</category>
      <category domain="http://securityratty.com/tag/mere">mere</category>
      <category domain="http://securityratty.com/tag/istanbul">istanbul</category>
      <category domain="http://securityratty.com/tag/research">research</category>
      <category domain="http://securityratty.com/tag/tuesday">tuesday</category>
      <category domain="http://securityratty.com/tag/chip">chip</category>
      <source url="http://feeds.computerworld.com/~r/Computerworld/Security/News/~3/271172206/article.do">MiFare RFID crack more extensive than previously thought</source>
    </item>
    <item>
      <title><![CDATA[What do the Cold Boot Crypto Attack, DVD Players, and MiFare tell us about the Future of Biometrics?]]></title>
      <link>http://securityratty.com/article/c9945cfe64ffaf97ac8736318bf1f990</link>
      <guid>http://securityratty.com/article/c9945cfe64ffaf97ac8736318bf1f990</guid>
      <description><![CDATA[Last week Slashdot pointed me to an interesting article in The Standard
Understanding anonymity and the need for biometrics
In fact, I found the article to be rather upsetting. Not because of the...]]></description>
      <content:encoded><![CDATA[<p>Last week Slashdot pointed me to an &#8220;interesting&#8221; article in The Standard:<br />
<a href="http://www.thestandard.com/news/2008/03/19/understanding-anonymity-and-need-biometrics" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.thestandard.com/news/2008/03/19/understanding-anonymity-and-need-biometrics');">Understanding anonymity and the need for biometrics</a>.</p>
<p>In fact, I found the article to be rather upsetting.  Not because of the article&#8217;s thesis that strong authentication through a national ID program would not necessarily pose a threat to privacy; but rather, because of their naive (and irresponsible) handling of the realities of the biometric authentication challenge. They gloss over the real security challenges with creating a national biometric infrastructure.  Here are the two quotes that are most misleading:</p>
<ul>
<li><strong>&#8220;<span class="Apple-style-span" style="color: #171717; line-height: 17px">Confusing privacy with anonymity has delayed implementation of robust, virtually tamper-proof biometric authentication to replace paper-based forms of ID that neither assure privacy nor reliably prove identity.&#8221;</span></strong></li>
<li><strong><span class="Apple-style-span" style="color: #171717; line-height: 17px"></span><span class="Apple-style-span" style="color: #171717; line-height: 17px"><span class="Apple-style-span" style="color: #232323; line-height: 20px">&#8220;This emerging technology makes it virtually impossible to assume someone else&#8217;s unique identity.&#8221;</span></span></strong></li>
</ul>
<p>The problem that the authors are glossing over is that no such technology exists today, and it is unlikely to ever exist. Now, to be fair, I am assuming that  a  critical success factor for any national biometric program, as described, would be that the authentication devices have to be available, and usable, anyplace paper-based IDs can be used today. This of course implies that the authenticator must be an inexpensive, commodity device, easy to purchase, maintain, and operate. Such a device would have to be even more ubiquitous than the electronic credit card machine.</p>
<p>The problem is that the authenticator itself may be in the possession of the attacker (Perhaps after you authenticate your legitimate purchase the clerk desires to use your identity herself&#8230;). In the history of security controls, when the attacker has unsupervised at-will physical access, the attacker wins. Here are a few examples:</p>
<ul>
<li>Defeated copy protection on DVDs ( <a href="http://en.wikipedia.org/wiki/Jon_Lech_Johansen" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Jon_Lech_Johansen');">more</a> &amp; <a href="http://it.slashdot.org/it/08/03/21/1241234.shtml" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://it.slashdot.org/it/08/03/21/1241234.shtml');">more info</a>)</li>
<li>Cold Boot Crypto Attack on hard disk encryption (<a href="http://www.engadget.com/2008/02/21/cold-boot-disk-encryption-attack-is-shockingly-effective/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.engadget.com/2008/02/21/cold-boot-disk-encryption-attack-is-shockingly-effective/');">more info</a>)</li>
<li>MiFare RFID Cards (<a href="http://www.pcworld.com/article/id,143371-pg,1/article.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.pcworld.com/article/id,143371-pg,1/article.html');">more info</a>)</li>
<li>Skimming devices attached to ATM machines to steal card and PIN data (<a href="http://en.wikipedia.org/wiki/Credit_card_fraud#Skimming" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Credit_card_fraud#Skimming');">more info</a>)</li>
</ul>
<p>Of course, all of these systems worked in the lab. But when a security system is widely deployed, it has to  withstand an enormous amount of scrutiny, and minor flaws will be exploited. And of course, the greater the financial gain, the greater the time and energy attackers invest in trying to defeat the system. The authors of the article ignore  these issues, idealistically assuming biometrics will just work.</p>
<p>Now, of course there are lots of examples where biometrics work very effectively. But I would propose that biometric authentication is most useful when the authentication device is physically secure and the authentication itself is supervised. The MiFare example above also demonstrates two other issues:</p>
<ul>
<li>The system chose not to implement a reviewed and standard cryptographic algorithm - always a bad idea</li>
<li>MiFare was able to sell 1 billion cards and authenticators before the system failed</li>
</ul>
<p><strong>The cost of investing in a national biometric authentication program, and then having the security fail, is enormous.</strong> Can you imagine deploying a biometric authentication infrastructure to every bank, police car, restaurant, shop, etc. and then having video on YouTube of it being defeated ?</p>
<p>- Erik</p>
<p>BTW, Maybe the attacker doesn&#8217;t even need to  tamper with the device -&gt; ftp://ftp.ccc.de/pub/video/Fingerabdruck_Hack/fingerabdruck.mpg</p>
<p><a href="http://artofinfosec.com" >Art of Information Security</a> would <a href="http://artofinfosec.com/feedback/" >love your feedback</a> !</p>
<p><a href="http://artofinfosec.com/48/what-do-the-cold-boot-crypto-attack-dvd-players-and-mifare-tell-us-about-the-future-of-biometrics/" >What do the Cold Boot Crypto Attack, DVD Players, and MiFare tell us about the Future of Biometrics?</a></p>
<img src="http://feeds.feedburner.com/~r/artofinfosec/~4/257983662" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 25 Mar 2008 21:16:43 +0000</pubDate>
      <category domain="http://securityratty.com/tag/biometric authentication">biometric authentication</category>
      <category domain="http://securityratty.com/tag/biometric authentication infrastructure">biometric authentication infrastructure</category>
      <category domain="http://securityratty.com/tag/biometric authentication challenge">biometric authentication challenge</category>
      <category domain="http://securityratty.com/tag/tamper-proof biometric authentication">tamper-proof biometric authentication</category>
      <category domain="http://securityratty.com/tag/authentication">authentication</category>
      <category domain="http://securityratty.com/tag/authentication device">authentication device</category>
      <category domain="http://securityratty.com/tag/mifare">mifare</category>
      <category domain="http://securityratty.com/tag/tamper">tamper</category>
      <category domain="http://securityratty.com/tag/biometrics">biometrics</category>
      <source url="http://feeds.feedburner.com/~r/artofinfosec/~3/257983662/">What do the Cold Boot Crypto Attack, DVD Players, and MiFare tell us about the Future of Biometrics?</source>
    </item>
  </channel>
</rss>
