<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Rowland Watkins</title>
    <link>http://rowlandwatkins.com</link>
    <language>en</language>
    <webMaster>rowland@rowlandwatkins.com (Rowland Watkins)</webMaster>
    <copyright>Copyright 2008-2012</copyright>
    <ttl>60</ttl>
    <pubDate>Thu, 02 Oct 2008 18:15:00 GMT</pubDate>
    <description>Exploring the use of Web and SOA technology in Hong Kong</description>
    <item>
      <title>On Exploiting ePassport Vulnerabilities </title>
      <link>http://rowlandwatkins.com/past/2008/8/8/on_exploiting_epassport_vulnerabilities/</link>
      <pubDate>Fri, 08 Aug 2008 20:49:00 GMT</pubDate>
      <guid>http://rowlandwatkins.com/past/2008/8/8/on_exploiting_epassport_vulnerabilities/</guid>
      <author>rowland@rowlandwatkins.com (Rowland Watkins)</author>
      <description>&lt;p&gt;&lt;a href="http://www.timesonline.co.uk/tol/news/uk/crime/article4467106.ece"&gt;The Times&lt;/a&gt;, &lt;a href="http://www.engadget.com/2008/08/07/more-e-passports-hacked-within-minutes-security-questions-aboun/"&gt;Engadet&lt;/a&gt;, and &lt;a href="http://irdial.com/blogdial/?p=1192"&gt;other&lt;/a&gt;&lt;a href="http://dizzythinks.net/2008/08/epassports-cloned-in-less-than-hour.html"&gt;bloggers&lt;/a&gt; highlighted apparent vulnerabilities in the current ePassport initiative, run by the &lt;a href="http://www.icao.int/"&gt;International Civil Aviation Organization&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;The crux of the issue is that apparently, Jeroen van Beek (University of Amsterdam) and a colleague were able to copy an ePassport, modify biometric (facial image and personal data) data that is not related to the passport holder, and create a new passport (from a suitably appropriated blank). Such a fraudulent passport would pass through border security software recommended by the &lt;span class="caps"&gt;ICAO&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;Unfortunately, The Times incorrectly attributes the ability to clone, create and validate a new ePassport solely on the security of the &lt;span class="caps"&gt;RFID&lt;/span&gt; microchip (which does require an encrypted connection to retrieve data). Based on The Times report, I believe that the real issue is that ePassports are susceptible to classic flaws in &lt;a href="http://www.ietf.org/rfc/rfc2510.txt"&gt;&lt;span class="caps"&gt;PKI&lt;/span&gt;&lt;/a&gt; processes and procedures.&lt;/p&gt;&lt;p&gt;This post attempts to deconstruct van Beek&#8217;s approach and explain how the &lt;span class="caps"&gt;ICAO&lt;/span&gt; Public Key Directory is where most of the problems with ePassports lie.&lt;/p&gt;&lt;h3&gt;Validating an authoritative ePassport&lt;/h3&gt;&lt;p&gt;Reading from various online resources (including The Times article and &lt;span class="caps"&gt;ICAO&lt;/span&gt; website), plus my &lt;span class="caps"&gt;PKI&lt;/span&gt; knowledge, here&#8217;s a rough diagram that describes the life of an &lt;strong&gt;authoritative&lt;/strong&gt; ePassport from creation to validation:&lt;/p&gt;&lt;p&gt;&lt;a href="/images/epassport-lifecycle-diagram.png"&gt;&lt;img src="/images/epassport-lifecycle-diagram-75.png" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;Steps 1-4 essentially setup the &lt;span class="caps"&gt;PKI&lt;/span&gt; to be used by an ePassport authority&lt;br/&gt;	&lt;ol&gt;&lt;li&gt;UK creates its own Country Signing &lt;a href="http://en.wikipedia.org/wiki/Certificate_authority"&gt;Certificate Authority&lt;/a&gt; and &lt;span class="caps"&gt;CRL&lt;/span&gt;&lt;/li&gt;&lt;li&gt;UK creates one of many Document Signing Certificates&lt;/li&gt;&lt;li&gt;UK Country Signing CA signs each UK Document Signing Certificate&lt;/li&gt;&lt;li&gt;UK negotiates with &lt;span class="caps"&gt;PKD&lt;/span&gt; to have all Document Signing Certificates, Country Signing CA, and &lt;span class="caps"&gt;CRL&lt;/span&gt; added to the &lt;span class="caps"&gt;PKD&lt;/span&gt;. PKD then serves as a root of trustfor all future ePassport validation&lt;/li&gt;&lt;/ol&gt;Steps 5-8 describe a traveller requesting and using their ePassport&lt;br/&gt;	&lt;ol&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Darth_Vader"&gt;Darth Vader&lt;/a&gt; (a fictional traveller) applies for an ePassport so he can travel to France for a holiday&lt;/li&gt;&lt;li&gt;UK Passport Authority checks his identity thoroughly. They create and sign his new ePassport&lt;/li&gt;&lt;li&gt;UK Passport Authority attach the Document Signing Certificate used to sign Vader&#8217;s ePassport&lt;/li&gt;&lt;li&gt;Vader buys his &lt;del&gt;Eurostar&lt;/del&gt; (passengers are pre-authorised in St Pancras &#8211; too boring) EasyJet ticket and travels &lt;span class="caps"&gt;CDG&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;Step 9 shows verification against the &lt;span class="caps"&gt;PKD&lt;/span&gt;&lt;ol&gt;&lt;li&gt;At &lt;span class="caps"&gt;CDG&lt;/span&gt;, French Border Control uses the Golden Reader Tool to validate Vader&#8217;s ePassport against the populated &lt;span class="caps"&gt;PKD&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;Golden Reader Tool should check the following (non-exhaustive):&lt;br/&gt;	&lt;ol&gt;&lt;li&gt;Vader&#8217;s ePassport was signed by a known UK Document Signing Certificate (added in Step 4)&lt;/li&gt;&lt;li&gt;The UK Document Signing Certificate was signed by the UK Country Signing CA (added in Step 4)&lt;/li&gt;&lt;li&gt;The UK Document Signing Certificate has not been added to the UK Country Signing &lt;span class="caps"&gt;CA CRL&lt;/span&gt;. The &lt;span class="caps"&gt;CRL&lt;/span&gt; must be kept up-to-date!&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;As can be seen from this lengthy set of steps, correct identification of certificates added to the &lt;span class="caps"&gt;PKD&lt;/span&gt; is critical. Accidentally adding the wrong certificates (Document Signing, Country Signing CA or &lt;span class="caps"&gt;CRL&lt;/span&gt;), could either cause entry refusal, or worse (if there is insider collusion), admit nefarious visitors.&lt;/p&gt;&lt;h3&gt;Copying an ePassport&lt;/h3&gt;&lt;p&gt;Let&#8217;s face it, Darth Vader is not likely going to be able to get a real ePassport from the UK Passport Authority &#8211; he&#8217;s the Dark Lord of the Sith. Following van Beek&#8217;s idea, he thinks he can copy someone elses ePassport, then create his own with bogus details.&lt;/p&gt;&lt;p&gt;Here&#8217;s something interesting about data: if you can read it, you can copy it!&lt;/p&gt;&lt;p&gt;Copying data from an &lt;span class="caps"&gt;RFID&lt;/span&gt; enabled passport is not new as can be seen &lt;a href="http://www.engadget.com/2006/08/03/german-hackers-clone-rfid-e-passports/"&gt;here&lt;/a&gt;. Lukas Grunwald used publicly available &lt;span class="caps"&gt;ICAO&lt;/span&gt; standards.&lt;/p&gt;&lt;p&gt;If you have a suitable &lt;span class="caps"&gt;RFID&lt;/span&gt; card reader, you can get all the data off your ePassport using software from &lt;a href="http://rfidiot.org/"&gt;RFIDiot&lt;/a&gt;. The cheapest reader is something like &#163;5. Adam Laurie also has a non-exhaustive list of known EU government signing certificates and X.500 &lt;a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r3/topic/rzahy/rzahyunderdn.htm"&gt;Distinguished Names&lt;/a&gt; for their corresponding CAs.&lt;/p&gt;&lt;p&gt;Once Vader has copied the data from his chosen ePassport using &lt;span class="caps"&gt;ICAO&lt;/span&gt; standards, he is able to manipulate it as the Dark Lord wishes&#8230;&lt;/p&gt;&lt;h3&gt;Creating a Sith ePassport&lt;/h3&gt;&lt;p&gt;Here&#8217;s a rough recipe for Vader to use to create his new ePassport that satisfies Jeroen van Beek&#8217;s exploit:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Get access to a blank ePassport &#8211; there should be plenty available after this &lt;a href="http://www.guardian.co.uk/uk/2008/jul/30/ukcrime.uksecurity"&gt;recent robbery&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Write &lt;span class="caps"&gt;ICAO&lt;/span&gt; standard data to new ePassport&lt;/li&gt;&lt;li&gt;Sign data and write signature and Document Signing Certificate to ePassport&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;For a comprehensive explanation of &lt;a href="http://en.wikipedia.org/wiki/Public_key_infrastructure"&gt;&lt;span class="caps"&gt;PKI&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/X.509"&gt;X.509&lt;/a&gt; certificates, &lt;a href="http://en.wikipedia.org/wiki/Digital_signatures"&gt;digital signatures&lt;/a&gt;, roots of trust, and &lt;a href="http://en.wikipedia.org/wiki/Certificate_revocation_list"&gt;Certificate Revocation Lists&lt;/a&gt;, please consult Wikipedia &#8211; it&#8217;s pretty thorough.&lt;/p&gt;&lt;h3&gt;Signing a Sith ePassport&lt;/h3&gt;&lt;p&gt;This is where things become a bit more tricky. The Times article notes:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&#8220;The Home Office has always argued that faked chips would be spotted at border checkpoints because they would not match key codes when checked against an international data-base.&#8221;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;In this context &#8220;key codes&#8221; = UK Document Signing Certificate, UK Country Signing CA, and &lt;span class="caps"&gt;CRL&lt;/span&gt;, stored in the &lt;span class="caps"&gt;PKD&lt;/span&gt;. Basically, the UK Government believes wholeheartedly that &lt;span class="caps"&gt;PKI&lt;/span&gt; will protect ePassports and completely ignore the human factor in &lt;span class="caps"&gt;PKI&lt;/span&gt; management.&lt;/p&gt;&lt;p&gt;While The Times article does not explicitly state it, I&#8217;m betting van Beek created his own &#8220;key codes&#8221;. It is highly unlikely that Jeroen van Beek broke or faked the signatures of the original ePassports. UK and New Zealand &lt;a href="http://rfidiot.org/certificates.html"&gt;Signing Certificates found at RFIDiot&lt;/a&gt; show the use strong hash functions (SHA256).&lt;/p&gt;&lt;p&gt;If Vader really wants to subvert the system to go on holiday, he needs to create is own &#8220;key codes&#8221; and add them to the &lt;span class="caps"&gt;PKD&lt;/span&gt;. In this case, he&#8217;ll be using &lt;a href="http://openssl.org/"&gt;OpenSSL&lt;/a&gt;, a freely available tool for basic &lt;span class="caps"&gt;PKI&lt;/span&gt; management:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Create a new Sith Country Signing CA&lt;/li&gt;&lt;li&gt;Create a new Sith Document Signing Certificate&lt;/li&gt;&lt;li&gt;Write &lt;span class="caps"&gt;ICAO&lt;/span&gt; standard data to new ePassport&lt;/li&gt;&lt;li&gt;Sign data with Sith Document Signing Certificate and add to ePassport&lt;/li&gt;&lt;li&gt;Update &lt;span class="caps"&gt;PKD&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Please note that Vader will not be silly enough to show that the Sith Country Signing CA and subsequent Document Signing Certificates are of Sith origin. This is the nature of the Sith. Vader will simply create his certificates to look and feel like the UK (or another country) certificates. Unless you know the real provenance of a certificate, you cannot tell the difference.&lt;/p&gt;&lt;p&gt;Updating the &lt;span class="caps"&gt;PKD&lt;/span&gt; is the hardest part in all this. Later, we&#8217;ll take a look at the &lt;span class="caps"&gt;PKD&lt;/span&gt; and see whether it is realistic for Vader to perform a bit of &lt;a href="http://en.wikipedia.org/wiki/Social_engineering_(security"&gt;Social Engineering&lt;/a&gt;) to get his new Sith certificates recognised internationally.&lt;/p&gt;&lt;h3&gt;Validating a Sith ePassport&lt;/h3&gt;&lt;p&gt;The diagram below summarises what Vader has achieved:&lt;/p&gt;&lt;p&gt;&lt;a href="/images/epassport-lifecycle-diagram-subverted.png"&gt;&lt;img src="/images/epassport-lifecycle-diagram-subverted-75.png" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;h4&gt;Steps 1-4&lt;/h4&gt;&lt;p&gt;As we noted earlier, adding Sith certificates to the &lt;span class="caps"&gt;PKD&lt;/span&gt; is no easy feat. Step 4 is therefore problematic &#8211; Dark Force tactics are required here.&lt;/p&gt;&lt;h4&gt;Steps 5-8&lt;/h4&gt;&lt;p&gt;Nothing difficult here. Vader&#8217;s use of RFIDiot and OpenSSL makes copying, creating and signing his new ePassport a breeze.&lt;br/&gt;He&#8217;ll go by RyanAir this time to &lt;span class="caps"&gt;CDG&lt;/span&gt;.&lt;/p&gt;&lt;h4&gt;Step 9&lt;/h4&gt;&lt;p&gt;Assuming Vader has successfully added his Sith certificates to the &lt;span class="caps"&gt;PKD&lt;/span&gt;, the Golden Reader Tool should let Vader through French Border Control to visit the Eiffel Tower.&lt;/p&gt;&lt;h4&gt;Updating the Public Key Directory&lt;/h4&gt;&lt;blockquote&gt;&lt;p&gt;Question: Is it realistic for Vader to add his Sith certificates to the &lt;span class="caps"&gt;PKD&lt;/span&gt;?&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;Answer: To some extent, yes. But Vader will not be able to do it on his own. The &lt;span class="caps"&gt;ICAO&lt;/span&gt; apparently have several security provisions to protect the &lt;span class="caps"&gt;PKD&lt;/span&gt; from unauthorised manipulation. But not everyone is confident in the &lt;span class="caps"&gt;ICAO&lt;/span&gt;.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The &lt;a href="http://www2.icao.int/en/MRTD/Pages/icaoPKD.aspx"&gt;Public Key Directory&lt;/a&gt; is an &lt;a href="http://www.secunet.com/berlin/faq.html"&gt;&lt;span class="caps"&gt;LDAP&lt;/span&gt;&lt;/a&gt; server that contains the Document Signing Certificates, Country Signing CAs, and CRLs for participating countries in the ePassport initiative. It is unclear from public information what the access control policies are for this repository, but it is apparently inadequate enough for the &lt;a href="http://www.cardtechnology.com/article.html?id=20070710Y0IFC18D"&gt;German government to complain&lt;/a&gt;. Incidentally, the &lt;span class="caps"&gt;PKD&lt;/span&gt; is operated by a Singapore-based company, Netrust.&lt;/p&gt;&lt;p&gt;According to the &lt;a href="http://www2.icao.int/en/MRTD/Pages/icaoPKD.aspx"&gt;&lt;span class="caps"&gt;ICAO&lt;/span&gt;&lt;/a&gt; in March 2007:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&#8220;The &lt;span class="caps"&gt;PKD&lt;/span&gt; currently holds Document Signer Certificates and Certificate Revocation Lists that have been validated against the respective Country Signing CA Certificates, and these are now available for secure download by the other participating States.&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;The security surrounding the &lt;span class="caps"&gt;PKD&lt;/span&gt; operation is significant. The Montreal infrastructure of the &lt;span class="caps"&gt;PKD&lt;/span&gt; is located in a purpose built vault within the &lt;span class="caps"&gt;ICAO&lt;/span&gt; offices. Access to the vault is limited to a small number of suitably cleared staff of &lt;span class="caps"&gt;ICAO&lt;/span&gt; and of the service provider who constructed the system, Netrust Pte Ltd.&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;The vault features layers of physical controls and monitoring. Once access is gained to the vault, system controls ensure that only authorised operators can access the system and that their work in the system is comprehensively logged both on the system and through &lt;span class="caps"&gt;CCTV&lt;/span&gt;.&#8221;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The German Government &lt;a href="http://www.cardtechnology.com/article.html?id=20070710Y0IFC18D"&gt;complained&lt;/a&gt; about this setup in July 2007:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&#8220;You have to store a huge number of preverified (certificates) securely in your inspection systems. Imagine what happens if someone manages to add his own (certificate),&#8221; he said. &#8220;Even worse, there&#8217;s the idea that all information taken from the directory already is preverified, and, therefore, receiving states do not have to verify the (certificates). That&#8217;s a real security nightmare.&#8221;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The UK and France have proposed &lt;a href="http://www.cardtechnology.com/article.html?id=20070710Y0IFC18D"&gt;cross-certification&lt;/a&gt; of Document Signing Certificates. This would require multiple bilateral agreements between participating states, completely nullifying the need for the &lt;span class="caps"&gt;PKD&lt;/span&gt;!&lt;/p&gt;&lt;h3&gt;Potential Attacks on &lt;span class="caps"&gt;PKD&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;Based on the above information and other precedence, Vader could do one or more of the following:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Vader could remotely update the &lt;span class="caps"&gt;PKD&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Vader pretends to be the UK Country Authority, wishing to update the UK Country Authority CA and add a new Document Signing Certificate&lt;/li&gt;&lt;li&gt;Vader could bend &lt;span class="caps"&gt;ICOA&lt;/span&gt; employees with access to the &lt;span class="caps"&gt;PKD&lt;/span&gt; to his will (e.g. give them a lot of money)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The first approach is unlikely as network access would be heavily protected.&lt;/p&gt;&lt;p&gt;Options 2 and 3 are more feasible given known successes with &lt;a href="http://www.schneier.com/blog/archives/2008/07/social_engineer_5.html"&gt;social engineering&lt;/a&gt;. With Option 2, triggering an update to an existing Country Signing CA could be used to introduce an nefarious one. If you&#8217;ve ever looked at the list of CAs in your web browser, you&#8217;ll see that it is &lt;span class="caps"&gt;VERY&lt;/span&gt; difficult to distinguish two CAs with the same Distinguished Name. In fact, the only reliable way to identity, it to compare the each signature and what is known as the Subject Key Identifier &#8211; just hope you reliably recorded then when adding to the &lt;span class="caps"&gt;PKD&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;Option 3 is also feasible &#8211; we&#8217;ve seen &lt;a href="http://www.infoworld.com/article/08/07/18/30FE-sf-network-lockout_1.html"&gt;disgruntled employees&lt;/a&gt; deny access to the entire &lt;a href="http://www.securityfocus.com/brief/776"&gt;San Francisco IT network&lt;/a&gt;. There&#8217;s also the German Government purchasing confidential information on &lt;a href="http://www.panamalaw.org/lichtenstein_bank_secrecy_scandal.html"&gt;apparent tax evaders in a Lichenstein bank&lt;/a&gt;.&lt;/p&gt;&lt;h3&gt;Summary&lt;/h3&gt;&lt;p&gt;Jeroen van Beek&#8217;s claim that he and a colleague cloned and created a new ePassport using available tools is viable, even if he was not able to test in a live experiment. The main problems behind the ePassport initiative lie in the Public Key Directory and the security surrounding it. The German government have complained about its security, and apparently only 10 out of 45 countries are using it.&lt;/p&gt;&lt;p&gt;My hastily conceived scenario with Darth Vader and his Sith certificates, shows that van Beek&#8217;s ideas could extended to real fraudulent ePassports, but that the &lt;span class="caps"&gt;PKD&lt;/span&gt; would be a challenge to subvert successfully, without &lt;span class="caps"&gt;ICAO&lt;/span&gt; authorities becoming aware.&lt;/p&gt;&lt;p&gt;Please note that it is unclear how Golden Reader Tool was configured when van Beek performed his experiment for The Times. van Beek claims that he was able to validate is newly cloned ePassports with Golden Reader Tool. Unfortunately, Golden Reader Tool is no longer available as a public download from &lt;a href="http://www.secunet.com/berlin/download.html"&gt;Secunet&lt;/a&gt; so I cannot confirm configuration options. I am assuming that the Golden Reader Tool can be configured to check the Country Signing CA and &lt;span class="caps"&gt;CRL&lt;/span&gt; locally. The non-use of the &lt;span class="caps"&gt;PKD&lt;/span&gt; suggests that CA validation was &#8220;local&#8221; to the machine running Golden Reader Tool and &lt;span class="caps"&gt;CRL&lt;/span&gt; checking was either &#8220;local&#8221; with an empty &lt;span class="caps"&gt;CRL&lt;/span&gt; or disabled.&lt;/p&gt;&lt;h3&gt;Credits&lt;/h3&gt;&lt;p&gt;Special thanks to George Lucas for conceiving Darth Vader and the Sith. Many thanks also to &lt;a href="http://graffletopia.com/users/70"&gt;olde_fortran&lt;/a&gt; for the Lego stencil set.&lt;/p&gt;</description>
      <category domain="http://rowlandwatkins.com/past/tags/epassports">epassports</category>
      <category domain="http://rowlandwatkins.com/past/tags/pkd">pkd</category>
      <category domain="http://rowlandwatkins.com/past/tags/pki">pki</category>
      <category domain="http://rowlandwatkins.com/past/tags/policy">policy</category>
      <category domain="http://rowlandwatkins.com/past/tags/security">security</category>
      <category domain="http://rowlandwatkins.com/past/tags/trust">trust</category>
    </item>
    <item>
      <title>Cardspace Pharming Vulnerability Discovered</title>
      <link>http://rowlandwatkins.com/past/2008/5/31/cardspace_phishing_vulnerability_discovered/</link>
      <pubDate>Sun, 01 Jun 2008 03:56:00 GMT</pubDate>
      <guid>http://rowlandwatkins.com/past/2008/5/31/cardspace_phishing_vulnerability_discovered/</guid>
      <author>rowland@rowlandwatkins.com (Rowland Watkins)</author>
      <description>&lt;p&gt;It appears that Windows Cardspace is susceptible to pharming techniques similar to &lt;a href="http://idcorner.org/2007/08/22/the-problems-with-openid/"&gt;threats that exist in OpenID&lt;/a&gt;. According to &lt;a href="http://www.intology.com/computers-internet/windows-cardspace-security-breached-by-researchers/"&gt;Intology&lt;/a&gt;. It&amp;#8217;s always best to go to the source of apparent exploits; there&amp;#8217;s an overview &lt;a href="http://demo.nds.rub.de/cardspace/"&gt;here&lt;/a&gt;, and the actual paper: &lt;a href="http://www.nds.rub.de/gajek/papers/GaScXu08_CardSpaceTR.pdf"&gt;On the Insecurity of Microsoft&amp;#8217;s Identity Metasystem CardSpace&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;While this exploit is a slight headache for Microsoft, it is only as effective as the validity of the &lt;span class="caps"&gt;SAML&lt;/span&gt; token minted by the Cardspace token issuer. All the token issuer needs to do is change their policy for the validity period to alter the risk period. What would be more worrying is if the fraudulent web server was capable of minting &lt;span class="caps"&gt;SAML&lt;/span&gt; tokens. I don&amp;#8217;t know how easy it is to be an issuer, so this may not be practical.&lt;/p&gt;&lt;p&gt;It&amp;#8217;s interesting to note that the exploit procedure requires restarts to the fraudulent web server. While this in itself can be automated, it does limit the rate of successful pharming incidents if the web server is unavailable. Virtualisation could alleviate this somewhat, creating a farm of pharming servers.&lt;/p&gt;&lt;p&gt;There&amp;#8217;s also a mention of so-called &lt;a href="http://en.wikipedia.org/wiki/EV_SSL"&gt;Extended Validation (EV) Certificates&lt;/a&gt; and the question of whether such certificates (and corresponding browser support) can help tackle such attacks. As the researchers correctly point out, a &lt;a href="http://www.usablesecurity.org/papers/jackson.pdf"&gt;usability study&lt;/a&gt; by Standford University and Microsoft has shown the introduction of EV Certificates in &lt;span class="caps"&gt;IE 7&lt;/span&gt; has not significantly affected a users&amp;#8217; ability to discriminate between valid and fraudulent web pages; user training remains the best way highlight the on-going risks to users.&lt;/p&gt;&lt;p&gt;I haven&amp;#8217;t tried the exploit against Microsoft&amp;#8217;s own Cardspace provider, but I might evaluate this myself to see just have practical this pharming technique is.&lt;/p&gt;</description>
      <category domain="http://rowlandwatkins.com/past/tags/SAML">SAML</category>
      <category domain="http://rowlandwatkins.com/past/tags/WCF">WCF</category>
      <category domain="http://rowlandwatkins.com/past/tags/cardspace">cardspace</category>
      <category domain="http://rowlandwatkins.com/past/tags/pharming">pharming</category>
      <category domain="http://rowlandwatkins.com/past/tags/security">security</category>
    </item>
    <item>
      <title>Clifton's Enterprise IT Security Forum</title>
      <link>http://rowlandwatkins.com/past/2008/5/18/cliftons_enterprise_it_security_forum/</link>
      <pubDate>Mon, 19 May 2008 06:43:00 GMT</pubDate>
      <guid>http://rowlandwatkins.com/past/2008/5/18/cliftons_enterprise_it_security_forum/</guid>
      <author>rowland@rowlandwatkins.com (Rowland Watkins)</author>
      <description>&lt;p&gt;The other week I was lucky enough to attend a seminar hosted by &lt;a href="http://www.cliftons.com/"&gt;Cliftons&lt;/a&gt; on Enterprise IT Security. I&amp;#8217;ve been to several events hosted by Cliftons so far, and I have to say that all have been very worthwhile.&lt;/p&gt;&lt;p&gt;There were three guest speakers, each of whom provided key insights and good business practises on range of topics: Ken Ume (Thales e-Security) &amp;#8211; authentication, Jason Healey (Goldman Sachs) &amp;#8211; cyber attacks, and Thomas Parenty (&lt;a href="http://www.parenty.com/"&gt;Parenty Consulting&lt;/a&gt;) &amp;#8211; secure communication on the move.&lt;/p&gt;&lt;h2&gt;Ken Ume | Authentication: Essential Part of Everyday Life&lt;/h2&gt;&lt;p&gt;Ken provided a good overview of authentication schemes as used in eCommerce by consumers and business. His argument is that increasing scales of communication has meant that trust has gradually decreased, since &lt;span class="caps"&gt;B2C&lt;/span&gt; can be achieved without either party meeting face-to-face. This has been compounded by consumers having access to more information and being more informed.&lt;/p&gt;&lt;p&gt;Authentication is an interesting problem with a raft of solutions out there, some based strong (PKI-based), others not (OpenID-based). Accessibility is a real concern, especially when faced with the so called &lt;a href="http://en.wikipedia.org/wiki/Digital_divide"&gt;digital divide&lt;/a&gt;. If an authentication scheme (or process) is inaccessible, people and those in business will bypass the scheme, rendering it useless. As Ken rightly stated, open standards are essential to overcoming business challenges, not to mention auditing.&lt;/p&gt;&lt;h2&gt;Jason Healey | Caught in the Middle: Asia Business and Cyber Attacks&lt;/h2&gt;&lt;p&gt;Recent Internet activism has highlighted the increasing number of instances where businesses and other organisations are being targeted based on [primarily] political agendas. Two examples that Jason cited were previous defacement of the &lt;a href="http://www.aipac.org/"&gt;&lt;span class="caps"&gt;AIPAC&lt;/span&gt;&lt;/a&gt; website and protests (online and outside shops) against &lt;a href="http://www.carrefour.com/"&gt;Carrefour&lt;/a&gt;. He argued that there appears to be a &amp;#8220;China ceiling&amp;#8221;, based on analysis that many of these attacks (at least against Carrefour) originate from mainland China.&lt;/p&gt;&lt;p&gt;The talk&amp;#8217;s catch phrase &amp;#8220;stuck in the middle&amp;#8221; refered to whether these increasingly popular cyber attacks are specific (as in the case of &lt;span class="caps"&gt;AIPAC&lt;/span&gt;), or &amp;#8220;guilty by association&amp;#8221; in the case of Carrefour, since it is a French brand (fallout over disruption of the Paris leg of the Olympic torch relay). In the previous &lt;a href="http://www.webwednesday.hk/"&gt;Web Wednesday&lt;/a&gt; meetup, there was a related presentation on Chinese activism and propaganda after the &lt;a href="http://www.ajc.com/metro/content/metro/atlanta/stories/2008/04/26/chinese_0427.html"&gt;&lt;span class="caps"&gt;CNN&lt;/span&gt; gaff&lt;/a&gt;.&lt;/p&gt;&lt;h2&gt;Thomas Parenty | Staying Connected Securely: A Guide for the Traveling Executive&lt;/h2&gt;&lt;p&gt;Thomas presented the image of a travelling businessman, planning the next M&amp;#38;A or releasing the next product. During his travels, the businessman uses airport Wi-Fi, hotel networks and business centre computers. In each case, unless security is considered, emails can be read, resulting in the M&amp;#38;A failing to a rival or the product details being revealed to another competitor.&lt;/p&gt;&lt;p&gt;Roving security is obviously a big problem, but can be mitigated with cryptographic tools including &lt;span class="caps"&gt;SSL&lt;/span&gt;/TLS (as stated by Thomas). Other techniques such as &lt;a href="http://en.wikipedia.org/wiki/Two-factor_authentication"&gt;two-factor authentication&lt;/a&gt; (let&amp;#8217;s not worry about some of the &lt;a href="http://www.schneier.com/blog/archives/2005/03/the_failure_of.html"&gt;associated issues highlighted by Bruce Schneier&lt;/a&gt;) could also be considered.&lt;/p&gt;&lt;p&gt;There was a short question and answer session, but it was unfortunately rather short &amp;#8211; free food on the horizon! There were a few questions, but none from business leaders relating their own experience, which is a shame.&lt;/p&gt;</description>
      <category domain="http://rowlandwatkins.com/past/tags/cliftons">cliftons</category>
      <category domain="http://rowlandwatkins.com/past/tags/hk">hk</category>
      <category domain="http://rowlandwatkins.com/past/tags/security">security</category>
    </item>
    <item>
      <title>Google App Engine vs. AWS</title>
      <link>http://rowlandwatkins.com/past/2008/4/30/google_app_engine_vs_aws/</link>
      <pubDate>Wed, 30 Apr 2008 23:03:00 GMT</pubDate>
      <guid>http://rowlandwatkins.com/past/2008/4/30/google_app_engine_vs_aws/</guid>
      <author>rowland@rowlandwatkins.com (Rowland Watkins)</author>
      <description>&lt;p&gt;Is the Google App Engine a viable competitor to the current generation &lt;span class="caps"&gt;AWS&lt;/span&gt;?&lt;/p&gt;&lt;p&gt;To first approximation, I would argue no. As a Python (for the time being) web application platform, Google App Engine provides a highly scalable sandboxed environment that reduces what a developer can do with the underlying platform. In addition, the Google App Engine is a single Software as a Service (SaaS) platform.  Developers and businesses cannot reuse distinct services for deploying OS images, storing data, creating complex business processes.&lt;/p&gt;&lt;p&gt;&lt;span class="caps"&gt;AWS&lt;/span&gt; on the other hand, is a low-level middleware infrastructure for developing new platforms. It provides primitive services for storage (S3), databases (SimpleDB), queuing (SQS), and computation (EC2) that enable high resilience and scalability. Consider &lt;a href="http://www.morphexchange.com/"&gt;Morph eXchange&lt;/a&gt; which offers Rails app hosting as a SaaS in a very similar fashion to the Google App Engine. And guess what, it actually runs on &lt;span class="caps"&gt;AWS&lt;/span&gt;! Unlike Google App Engine, however, Morph appears to allow businesses a free-er hand in their development decisions, permitting a full Ruby and Rails environment, together with managed access to S3.&lt;/p&gt;&lt;p&gt;The clear separation of duty in &lt;span class="caps"&gt;AWS&lt;/span&gt; is what gives it the edge over Google App Engine. &lt;span class="caps"&gt;EC2&lt;/span&gt; allows businesses to deploy complete OS images from S3 to produce novel environments such as Morph. It gives business more control on how to put together business processes which currently isn&amp;#8217;t possible with the Google App Engine.&lt;/p&gt;&lt;p&gt;Google App Engine is still in closed beta so it&amp;#8217;s early days. It&amp;#8217;s possible it will pick up and enable business to do things not possible in &lt;span class="caps"&gt;AWS&lt;/span&gt;. Then we would have competition and even more innovation at our finger tips.&lt;/p&gt;</description>
      <category domain="http://rowlandwatkins.com/past/tags/aws">aws</category>
      <category domain="http://rowlandwatkins.com/past/tags/saas">saas</category>
      <category domain="http://rowlandwatkins.com/past/tags/scalability">scalability</category>
      <category domain="http://rowlandwatkins.com/past/tags/webservices">webservices</category>
    </item>
    <item>
      <title>First encounter with the Google App Engine</title>
      <link>http://rowlandwatkins.com/past/2008/4/30/first_encounter_with_the_google/</link>
      <pubDate>Wed, 30 Apr 2008 20:18:00 GMT</pubDate>
      <guid>http://rowlandwatkins.com/past/2008/4/30/first_encounter_with_the_google/</guid>
      <author>rowland@rowlandwatkins.com (Rowland Watkins)</author>
      <description>&lt;p&gt;Google have taken a first step by exposing part of their infrastructure capability through their new [invitation-only] Google App Engine. It&amp;#8217;s a Python-based infrastructure that provides access to many core services using by Google &amp;#8211; more information &lt;a href="http://en.wikipedia.org/wiki/Google_App_Engine"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;While I haven&amp;#8217;t been lucky enough to get to the head of the waiting list, I have played around with the &lt;span class="caps"&gt;SDK&lt;/span&gt; released by Google, which offers a complete development environment, including a development server. I haven&amp;#8217;t utilised all interfaces yet, just looking at what Google offers in terms of interfaces for remote connections to other &lt;span class="caps"&gt;WWW&lt;/span&gt; services.&lt;/p&gt;&lt;p&gt;Google have been quite sensible in creating a sandbox for running potentially hazardous third-party developer code, removing access to many core Python modules that use C interfaces. This is OK, until you want to do something exciting like &lt;span class="caps"&gt;HTTPS GET&lt;/span&gt; &amp;#8211; urlfetch will perform the &lt;span class="caps"&gt;GET&lt;/span&gt;, but has no way of validating the server. That&amp;#8217;s not too bad, but it&amp;#8217;s not clear if urlfetch even provides the ability to access the &lt;span class="caps"&gt;TLS&lt;/span&gt; session and for the developer to validate the certificate themself &amp;#8211; seems like a valid alternative.&lt;/p&gt;&lt;p&gt;It would be nice if Google at least loosen the rope a little more to provide full &lt;span class="caps"&gt;TLS&lt;/span&gt; functionality. Of course, what I really want to do is &lt;span class="caps"&gt;TLS&lt;/span&gt; with mutual auth &amp;#8211; that should be good fun. In the mean time, I&amp;#8217;ll see what I can do with other &lt;span class="caps"&gt;TLS&lt;/span&gt; toolkits that run in pure Python.&lt;/p&gt;</description>
      <category domain="http://rowlandwatkins.com/past/tags/googleappengine">googleappengine</category>
      <category domain="http://rowlandwatkins.com/past/tags/python">python</category>
      <category domain="http://rowlandwatkins.com/past/tags/rest">rest</category>
    </item>
  </channel>
</rss>

