<?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: revocation]]></title>
    <link>http://securityratty.com/tag/revocation</link>
    <description></description>
    <pubDate>Thu, 02 Aug 2007 18:17:32 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[How to Clone and Modify E-Passports]]></title>
      <link>http://securityratty.com/article/d87db1f435de50bdfb362a781b2835de</link>
      <guid>http://securityratty.com/article/d87db1f435de50bdfb362a781b2835de</guid>
      <description><![CDATA[The Hackers Choice has released a tool allowing people to clone and modify electronic passports
The problem is self-signed certificates
A CA is not a great solution: Using a Certification Authority...]]></description>
      <content:encoded><![CDATA[<p>The Hackers Choice has <a href="http://blog.thc.org/index.php?/archives/4-The-Risk-of-ePassports-and-RFID.html">released</a> a tool allowing people to clone and modify electronic passports.</p>

<p>The problem is self-signed certificates.</p>

<p>A CA is not a great solution:</p>

<blockquote>Using a Certification Authority (CA) could solve the attack but at the same time introduces a new set of attack vectors:

<ol><li>The CA becomes a single point of failure. It becomes the juicy/high-value target for the attacker. Single point of failures are not good. Attractive targets are not good.

<p>Any person with access to the CA key can undetectably fake passports. Direct attacks, virus, misplacing the key by accident (the UK government is good at this!) or bribery are just a few ways of getting the CA key.</p>

<p><li>The single CA would need to be trusted by all governments. This is not practical as this means that passports would no longer be a national matter.</p>

<p><li>Multiple CA's would not work either. Any country could use its own CA to create a valid passport of any other country. Read this sentence again: Country A can create a passport data set of Country B and sign it with Country A's CA key. The terminal will validate and display the information as data from Country B.This option also multiplies the number of 'juicy' targets. It makes it also more likely for a CA key to leak.</p>

<p>Revocation lists for certificates only work when a leak/loss is detected. In most cases it will not be detected.</ol></p>

<p>So what's the solution? We know that humans are good at Border Control. In the end they protected us well for the last 120 years. We also know that humans are good at pattern matching and image recognition. Humans also do an excellent job 'assessing' the person and not just the passport. Take the human part away and passport security falls apart.</blockquote></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=UYU6L"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=UYU6L" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=z7bQL"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=z7bQL" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Tue, 30 Sep 2008 08:24:51 +0000</pubDate>
      <category domain="http://securityratty.com/tag/passports">passports</category>
      <category domain="http://securityratty.com/tag/passport">passport</category>
      <category domain="http://securityratty.com/tag/passport security falls">passport security falls</category>
      <category domain="http://securityratty.com/tag/passport data set">passport data set</category>
      <category domain="http://securityratty.com/tag/set">set</category>
      <category domain="http://securityratty.com/tag/electronic passports">electronic passports</category>
      <category domain="http://securityratty.com/tag/country">country</category>
      <category domain="http://securityratty.com/tag/key">key</category>
      <category domain="http://securityratty.com/tag/undetectably fake passports">undetectably fake passports</category>
      <source url="http://www.schneier.com/blog/archives/2008/09/how_to_clone_an.html">How to Clone and Modify E-Passports</source>
    </item>
    <item>
      <title><![CDATA[An insecurity in OpenID, not many dead]]></title>
      <link>http://securityratty.com/article/36f416e51d88cd2db5ed822a7ed3835a</link>
      <guid>http://securityratty.com/article/36f416e51d88cd2db5ed822a7ed3835a</guid>
      <description><![CDATA[Back in May it was realised that , thanks to an ill-advised change to some random number generation code, for over 18 months Debian systems had been generating crypto keys chosen from a set of 32,768...]]></description>
      <content:encoded><![CDATA[<p>Back in May <a href="http://www.debian.org/security/2008/dsa-1571">it was realised that</a>, thanks to an ill-advised change to some random number generation code, for over 18 months Debian systems had been generating crypto keys chosen from a set of 32,768 possibilities, rather than from billions and billions. Initial interest centred around the weakness of SSH keys, but in practice lots of different applications were at risk (<a href="http://wiki.debian.org/SSLkeys">see long list here</a>).</p>
<p>In particular, SSL certificates (as used to identify https websites) might contain one of these weak keys &#8212; and so it would be possible for an attacker to successfully impersonate a secure website. Of course the attacker would need to persuade you to mistakenly visit their site &#8212; but it just so happens that one of the more devastating attacks on DNS has <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447">recently been discovered</a>; so that&#8217;s not as unlikely as it must have seemed back in May.</p>
<p>Anyway, my old friend <a href="http://en.wikipedia.org/wiki/Ben_Laurie">Ben Laurie</a> (who is with Google these days) and I have been trawling the Internet to determine how many certificates there are containing these weak keys &#8212; and there&#8217;s a lot: around 1.5% of the certs we&#8217;ve examined.</p>
<p>But more of that another day! because earlier this week, Ben spotted that one of the weak certs was for Sun&#8217;s &#8220;OpenID&#8221; website, and that two more OpenID sites were weak as well (by weak we mean that a database lookup could reveal the private key!)</p>
<p>OpenID, for those who are unfamiliar with it, is a scheme for allowing you to prove your identity to site A (viz: provide your user name and password) and then use that identity on site B. There&#8217;s a queue of people offering the first bit, but rather less offering the second : because it means you rely on someone else&#8217;s due diligence in knowing who their users are &#8212; where &#8220;who&#8221; is a hard sort of thing to get your head around in an online environment.</p>
<p>The problem that Ben and I have identified (<a href="http://www.links.org/files/openid-advisory.txt">advisory here</a>), is that an attacker can poison a DNS cache so it serves up the wrong IP address for openid.sun.com. Then, even if the victim is really cautious and uses https and checks the cert, their credentials can be phished. Thereafter, anyone who trusts Sun as an identity provider could be very disappointed. There&#8217;s other attacks as well, but you&#8217;ve probably got the general idea by now.</p>
<p>In principle Sun should make a replacement certificate and that should be it (and so they have &#8212; <a href="http://blogs.sun.com/racingsnake/entry/one_factor_trust_multi_factor">read Robin Wilton&#8217;s comments here</a>). Except that they need to put the old certificate onto a Certificate Revocation List (CRL) because otherwise it will still be trusted from now until it expires (a fair while off). Sadly, many web browsers, and most of the OpenID codebases haven&#8217;t bothered with CRLs (or they don&#8217;t enable their checking by default so it&#8217;s as if it wasn&#8217;t there for most users).</p>
<p>One has to conclude that Sun (and the other two providers) should not be trusted by anyone for quite a while to come. But does that matter ? Since OpenID didn&#8217;t promise all that much anyway, does a serious flaw (which does require a certain amount of work to construct an attack) make any difference? At present this looks like the modern equivalent of a <a href="http://www.mantex.co.uk/reviews/oxf-misquot.htm">small earthquake in Chile</a>.</p>
]]></content:encoded>
      <pubDate>Fri, 08 Aug 2008 21:33:39 +0000</pubDate>
      <category domain="http://securityratty.com/tag/openid">openid</category>
      <category domain="http://securityratty.com/tag/openid codebases">openid codebases</category>
      <category domain="http://securityratty.com/tag/certs">certs</category>
      <category domain="http://securityratty.com/tag/weak certs">weak certs</category>
      <category domain="http://securityratty.com/tag/weak">weak</category>
      <category domain="http://securityratty.com/tag/openid sites">openid sites</category>
      <category domain="http://securityratty.com/tag/sun">sun</category>
      <category domain="http://securityratty.com/tag/suns openid website">suns openid website</category>
      <category domain="http://securityratty.com/tag/trusts sun">trusts sun</category>
      <source url="http://www.lightbluetouchpaper.org/2008/08/09/an-insecurity-in-openid-not-many-dead/">An insecurity in OpenID, not many dead</source>
    </item>
    <item>
      <title><![CDATA[Free Certificate Reissuance From VeriSign]]></title>
      <link>http://securityratty.com/article/efb481208ef9b0e30c0410f3cd14b3f4</link>
      <guid>http://securityratty.com/article/efb481208ef9b0e30c0410f3cd14b3f4</guid>
      <description><![CDATA[Owing to the recent severe bug in Debian's OpenSSL implementation , VeriSign is offering free reissuance of certificates . Patching the flawed software is not enough: certificates containing public...]]></description>
      <content:encoded><![CDATA[Owing to <a href="http://blogs.eweek.com/cheap_hack/content/networking/debian_openssl_blunder_1.html">the recent severe bug in Debian's OpenSSL implementation</a>, VeriSign is offering <a href="https://blogs.verisign.com/ssl-blog/2008/05/the_debian_keypairs_security_f.html">free reissuance of certificates</a>.

Patching the flawed software is not enough: certificates containing public keys generated by the buggy versions of OpenSSL have to be revoked and replaced with new copies generated by fixed versions of the software. For customers of trusted certificate authorities this also means having the CA resign the certificate.

CAs normally charge for revoking and replacing certificates, but because a software error is involved, VeriSign is not charging for revocation and replacement of VeriSign, Thawte, GeoTrust, and RapidSSL SSL Certificates. <a href="https://blogs.verisign.com/ssl-blog/2008/05/free_reissuance_for_code_signi.html">This includes code signing certificates</a> as well as SSL certificates.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=cb0b9ea4ec60ffbcea3529d565a3e672" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=cb0b9ea4ec60ffbcea3529d565a3e672" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.ziffdavisenterprise.com/~r/RSS/cheap_hack/~4/292238908" height="1" width="1"/>]]></content:encoded>
      <pubDate>Sat, 17 May 2008 03:20:37 +0000</pubDate>
      <category domain="http://securityratty.com/tag/verisign">verisign</category>
      <category domain="http://securityratty.com/tag/software error">software error</category>
      <category domain="http://securityratty.com/tag/software">software</category>
      <category domain="http://securityratty.com/tag/rapidssl ssl">rapidssl ssl</category>
      <category domain="http://securityratty.com/tag/openssl implementation">openssl implementation</category>
      <category domain="http://securityratty.com/tag/recent severe bug">recent severe bug</category>
      <category domain="http://securityratty.com/tag/openssl">openssl</category>
      <category domain="http://securityratty.com/tag/ssl">ssl</category>
      <category domain="http://securityratty.com/tag/buggy versions">buggy versions</category>
      <source url="http://feeds.ziffdavisenterprise.com/~r/RSS/cheap_hack/~3/292238908/free_certificate_reissuance_from_verisign_1.html">Free Certificate Reissuance From VeriSign</source>
    </item>
    <item>
      <title><![CDATA[Risk ROI for Some Provisioning Solutions]]></title>
      <link>http://securityratty.com/article/89e30dad1e66d2f7d8f4ac140f494cad</link>
      <guid>http://securityratty.com/article/89e30dad1e66d2f7d8f4ac140f494cad</guid>
      <description><![CDATA[Today I ran into an interesting post on Matt Flynns Identity Management Blog entitled Extending the ROI on Provisioning in which he discusses the fact that, in addition to the traditional value...]]></description>
      <content:encoded><![CDATA[<p>Today I ran into an interesting post on <a href="http://360tek.blogspot.com/" target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://360tek.blogspot.com/');">Matt Flynn&#8217;s Identity Management Blog</a> entitled <a href="http://360tek.blogspot.com/2008/04/extending-roi-on-provisioning.html" target="_blank" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://360tek.blogspot.com/2008/04/extending-roi-on-provisioning.html');">Extending the ROI on Provisioning</a> in which he discusses the fact that, in addition to the &#8220;traditional&#8221; value propositions centered around increased efficiency and cost reduction, there are also significant risk management and oversight capabilities that <em><strong>can be had</strong></em>.</p>
<p>All provisioning solutions provide some facilities for:</p>
<ul>
<li>Reduction of paper-based processes in favor of electronic requests and work flows</li>
<li>Reduction of manual updates in favor of automated entitlement updates</li>
</ul>
<p>All provisioning solution providers strive to have a compelling story for these items. Additionally, these were the focus of the first generation of solutions which emerged in the &#8217;90s.</p>
<p>For the Identity Management programs with which I have been involved, automation and risk management have been equally important. This is somewhat reflected in the definition I use for provisioning:</p>
<blockquote><p><strong>Provisioning is the processes and systems which:</strong></p>
<ul>
<li>Manage the entire Lifecycle of an Entitlement from request, through approval processes, onto issuance, and eventual revocation</li>
</ul>
<ul>
<li>Provide transparent views of the status and history of each step in the Entitlement Lifecycle through the creation of durable and detailed records, which include all the information required to provide non-repudiation and event reconstruction for each step in an Entitlement Lifecycle</li>
</ul>
<p>Note: Fulfilling these objectives always involves a mix of manual and automated activities, technical and procedural controls.</p></blockquote>
<p>Based on my experiences, having prepared several product selection scorecards in this space, there are two major approaches (philosophies), that provisioning products take in this space:</p>
<p>The provisioning system &#8220;sees itself as&#8221;…</p>
<ul>
<li><strong>Coordinating</strong> identity and entitlement activities among systems with the objective of providing automation</li>
</ul>
<p>- - - OR - - -</p>
<ul>
<li>Maintaining a <strong>single centralized record of reference</strong> for identity and entitlement, as well as providing tools to automate approval, issuance, revocation, and reconciliation</li>
</ul>
<p>The &#8220;Centralized Record of Reference&#8221; concept is the watershed between these two. The systems that are designed purely for automation tend to focus on &#8220;Coordination&#8221; of external events. These systems often do not contain an internal store of entitlements. The systems that maintain a &#8220;Centralized Record of Reference&#8221; approach have the ability, through reconciliation, to validate that the entitlements in the &#8220;wild&#8221; (e.g., in AD, LDAP, within local applications, etc.) match the &#8220;official&#8221; state (which they maintain). This enables these systems to detect changes and take  action (e.g., drop the privilege, report the discrepancy, trigger a follow-up work flow, etc.)<strong> </strong></p>
<p><strong>Which system is right for you?</strong></p>
<p>This really depends on what percentage of your systems require tight oversight. If you are in an industry with low-IT regulation, and the data of your core business is low risk, then it may make more sense to invest in routine manual audits of a few systems, rather than monitoring your entire IT world. On the other hand, if you are in an industry that is highly regulated, with high-risk data, then the automated oversight and reconciliation capabilities  are likely a good fit for you.</p>
<p>FYI, last week I co-taught a one-day class on Identity and Access Management Architecture at RSA 2008. For the last 3rd of the class, Dan Houser and I had a list of advanced topics for the class to vote on. I prepared a module on Provisioning, but alas it was number 4 out of 7 options, and we only had time to cover 3&#8230; As a result, a Provisioning slidecast is &#8220;coming soon&#8221; to the Art of Information Security podcast.</p>
<p>Cheers, Erik</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/55/risk-roi-for-some-provisioning-solutions/" >Risk ROI for &#8211;Some&#8211; Provisioning Solutions&#8230;</a></p>
<img src="http://feeds.feedburner.com/~r/artofinfosec/~4/273283295" height="1" width="1"/>]]></content:encoded>
      <pubDate>Fri, 18 Apr 2008 22:22:29 +0000</pubDate>
      <category domain="http://securityratty.com/tag/information security">information security</category>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/entitlement">entitlement</category>
      <category domain="http://securityratty.com/tag/entitlement lifecycle">entitlement lifecycle</category>
      <category domain="http://securityratty.com/tag/solutions">solutions</category>
      <category domain="http://securityratty.com/tag/systems">systems</category>
      <category domain="http://securityratty.com/tag/risk roi">risk roi</category>
      <category domain="http://securityratty.com/tag/information security podcast">information security podcast</category>
      <category domain="http://securityratty.com/tag/identity">identity</category>
      <source url="http://feeds.feedburner.com/~r/artofinfosec/~3/273283295/">Risk ROI for Some Provisioning Solutions</source>
    </item>
    <item>
      <title><![CDATA[More on Driver Certificate Revocation]]></title>
      <link>http://securityratty.com/article/c1c13347fed1fc4de5f97416a2f3f31c</link>
      <guid>http://securityratty.com/article/c1c13347fed1fc4de5f97416a2f3f31c</guid>
      <description><![CDATA[For more from Microsoft on when/how driver certificate revocation works, see the comment section on the blog on the Atsiv revocation . Sounds like the current architecture only allows for boot-time...]]></description>
      <content:encoded><![CDATA[For more from Microsoft on when/how driver certificate revocation works, see the comment section on <a href="http://blogs.msdn.com/windowsvistasecurity/archive/2007/08/03/x64-driver-signing-update.aspx">the blog on the Atsiv revocation</a>.

Sounds like the current architecture only allows for boot-time checks, and they're just speculating that checks with VeriSign could be done more frequently:<blockquote><i>The VeriSign revocation list may impact a variety of operations.  For example, verification checks that request online CRL validation will fail, which is more common for user mode operations.  This can also extend to functions such as online time stamping combined with signing of new code.  The frequency of these checks is application specific, and also depends on factors such as the requested CRL verification policy (online network, vs. offline without fresh cached CRLs, etc).</i></blockquote>Right, but we're talking about kernel mode device drivers here. So I'm guessing that those only occurr at boot time too. 

Microsoft's analogies to patches, which also often require reboots, work to a point. You might get a notification from automatic updates that you need to reboot because of a patch, but you might never know that a cert is revoked, and go a month or more before rebooting.

Here's a compromise proposal: A program (maybe I could write this myself. Hmmm...) that just does a a cert check on all loaded drivers and code and reports back to the user, perhaps with some action choices based on what it finds. The program can be set to run periodically.<img src="http://feeds.ziffdavisenterprise.com/~r/RSS/cheap_hack/~4/140285797" height="1" width="1"/>]]></content:encoded>
      <pubDate>Fri, 03 Aug 2007 03:54:37 +0000</pubDate>
      <category domain="http://securityratty.com/tag/revocation">revocation</category>
      <category domain="http://securityratty.com/tag/checks">checks</category>
      <category domain="http://securityratty.com/tag/atsiv revocation">atsiv revocation</category>
      <category domain="http://securityratty.com/tag/verification checks">verification checks</category>
      <category domain="http://securityratty.com/tag/verisign revocation list">verisign revocation list</category>
      <category domain="http://securityratty.com/tag/operations">operations</category>
      <category domain="http://securityratty.com/tag/user mode operations">user mode operations</category>
      <category domain="http://securityratty.com/tag/verisign">verisign</category>
      <category domain="http://securityratty.com/tag/boot-time checks">boot-time checks</category>
      <source url="http://feeds.ziffdavisenterprise.com/~r/RSS/cheap_hack/~3/140285797/more_on_driver_certificate_revocation.html">More on Driver Certificate Revocation</source>
    </item>
    <item>
      <title><![CDATA[Microsoft Hits Back at Atsiv]]></title>
      <link>http://securityratty.com/article/713e312d67184638c3986d246757be7f</link>
      <guid>http://securityratty.com/article/713e312d67184638c3986d246757be7f</guid>
      <description><![CDATA[My current column describes Atsiv, a tool for loading unsigned kernel code in Windows Vista x64
Perhaps I was the one who alerted Microsoft, but it responded tonight pretty strongly. As described by...]]></description>
      <content:encoded><![CDATA[<p><a target="_blank" href="http://www.eweek.com/article2/0,1895,2165585,00.asp">My current column describes Atsiv, a tool for loading unsigned kernel code in Windows Vista x64.</a> </p>

<p>Perhaps I was the one who alerted Microsoft, but it responded tonight pretty strongly. <a target="_blank" href="http://blogs.msdn.com/windowsvistasecurity/archive/2007/08/03/x64-driver-signing-update.aspx">As described by Scott Field, Windows Security Architect, in the Windows Vista Security blog</a>, Microsoft has taken the following actions:

<ul>
	<li>It (actually VeriSign) has revoked the code-signing certificate used in Atsiv. Such certificates from VeriSign cost at least $431/year, and that's if you commit to several years. </li>
	<li>Microsoft is thinking of adding it to their own revocation list. This confuses me; why would it be good enough for VeriSign's revocation list, but Microsoft is only looking into putting it in its own? I've asked.</li>
	<li>Best of all: It has added signatures to Windows Defender to detect Atsiv, at least the current version of it. Source for Atsiv is supposedly available (although I didn't see a link for it on the Linchpin Labs site), so it should be possible to write a new version that Defender won't detect if you're looking forward to losing your own code-signing certificate.</li>
</ul>

The blog also confirms&#151;I think&#151;my fear that certificate revocation is only checked at driver load/boot time. This means, as Field says in the blog, that Atsiv can continue to run at least until the system reboots. I'm not sure I have all the facts on this. It seems to me that it at least should provide some manual check option that users could schedule to run periodically. The system should probably throw an exception or something similarly dramatic if the cert for a running driver is determined to be revoked. </p><img src="http://feeds.ziffdavisenterprise.com/~r/RSS/cheap_hack/~4/140154984" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 02 Aug 2007 18:17:32 +0000</pubDate>
      <category domain="http://securityratty.com/tag/atsiv">atsiv</category>
      <category domain="http://securityratty.com/tag/microsoft">microsoft</category>
      <category domain="http://securityratty.com/tag/detect atsiv">detect atsiv</category>
      <category domain="http://securityratty.com/tag/detect">detect</category>
      <category domain="http://securityratty.com/tag/revocation list">revocation list</category>
      <category domain="http://securityratty.com/tag/revocation">revocation</category>
      <category domain="http://securityratty.com/tag/verisign cost">verisign cost</category>
      <category domain="http://securityratty.com/tag/driver loadboot time">driver loadboot time</category>
      <category domain="http://securityratty.com/tag/verisign">verisign</category>
      <source url="http://feeds.ziffdavisenterprise.com/~r/RSS/cheap_hack/~3/140154984/microsoft_hits_back_at_atsiv.html">Microsoft Hits Back at Atsiv</source>
    </item>
  </channel>
</rss>
