<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>On the road to Bandol</title>
	<atom:link href="http://javacard.vetilles.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://javacard.vetilles.com</link>
	<description>A weblog on Java Card, security, and other things personal</description>
	<pubDate>Sat, 06 Feb 2010 14:09:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>A new use for the (micro) SIM?</title>
		<link>http://javacard.vetilles.com/2010/02/06/a-new-use-for-the-micro-sim/</link>
		<comments>http://javacard.vetilles.com/2010/02/06/a-new-use-for-the-micro-sim/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 14:09:12 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[SIM]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=536</guid>
		<description><![CDATA[One of the numerous articles from Wired commenting Apple&#8217;s new iPad is about its SIM card. Rather than using traditional SIM cards, they will be using a Micro-SIM form factor, which is slightly smaller than a traditional SIM card.
Wired claims that the intention behind the change is to force customers to buy two SIM cards: [...]]]></description>
			<content:encoded><![CDATA[<p>One of the numerous <a href="http://www.wired.com/epicenter/2010/02/micro-sim-business/" class="liexternal">articles</a> from Wired commenting Apple&#8217;s new iPad is about its SIM card. Rather than using traditional SIM cards, they will be using a <a href="http://en.wikipedia.org/wiki/Micro-SIM" rel="nofollow" class="liwikipedia">Micro-SIM</a> form factor, which is slightly smaller than a traditional SIM card.</p>
<p>Wired claims that the intention behind the change is to force customers to buy two SIM cards: one for their iPhone, and one for their iPad. That&#8217;s an interesting hypothesis, and a possible new use case for SIM cards: use several formats to force customers to have several SIM cards. Of course, the network operators are accused of trying to get customers to get a mobile data subscription for each device they own.</p>
<p>Such a use of a SIM card certainly does not seem to make any <a href="http://blogs.hbr.org/haque/2010/02/great_to_good.html" class="liexternal">good</a> to anybody, and would reflect really short-term thinking from MNOs, and even worse thinking from SIM vendors if they started pushing this as an advantage of the multiple factors. Here are a few good reasons why this idea is bad:</p>
<ul>
<li>First, an iPhone is a phone, and an iPad isn&#8217;t. This means that, once you remove your SIM card from your iPhone, you can&#8217;t be reached on your mobile number. Unpractical, for the least.</li>
<li>Then, an iPad is not as small as an iPhone, and it is much more likely to be used in WiFi than 3G, at least as long as there will not be a pricing plan that makes the use of 3G affordable.</li>
<li>The contacts in the Mini-Sim and Micro-SIM are in the same configuration, which means that it is easy to build an adapter from Micro-SIM to Mini-SIM. So, if you have a Micro-SIM, you are able to use it in a device that requires a standard SIM card.</li>
</ul>
<p>So, this definitely isn&#8217;t the killer use case that we are looking for. Locking in final customers, through formats or anything else, does not look like a promising use case for a product, and we should rather think of making these customers&#8217; lives easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2010/02/06/a-new-use-for-the-micro-sim/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Greetings from China</title>
		<link>http://javacard.vetilles.com/2010/01/26/greetings-from-china/</link>
		<comments>http://javacard.vetilles.com/2010/01/26/greetings-from-china/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 06:56:17 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[Discussions]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[Mobile Security]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=534</guid>
		<description><![CDATA[The Java Card Forum is meeting in China this week. This is a first for me, so I can&#8217;t tell how much Beijing has changed in the past 10 or 15 years, because I don&#8217;t know how it used to be. So, here is what I have seen (from a very naive point of view):

Consumerism [...]]]></description>
			<content:encoded><![CDATA[<p>The Java Card Forum is meeting in China this week. This is a first for me, so I can&#8217;t tell how much Beijing has changed in the past 10 or 15 years, because I don&#8217;t know how it used to be. So, here is what I have seen (from a very naive point of view):</p>
<ul>
<li>Consumerism has hit in full force. Advertising is everywhere, including subway handles. Brands are also very present; I can see very large Cartier and Dolce&#038;Gabbana storefronts from my room.</li>
<li>Police is not very visible. We see a few police cars around, a few officers here and there, but not more than in the U.S. .</li>
<li>Internet is (almost) present. Of all the sites I use daily, Twitter and Wired are the only ones absent. Internet is a bit slow (filtering?), but nothing unacceptable.</li>
</ul>
<p>Basically, from a naive European view, Beijing is just another modern Asian city, with no Twitter support (for those who haven&#8217;t been there in a few years, there are high-rise buildings everywhere, and more cards than bikes, even on Tiananmen Square).</p>
<p>However, we also have interesting information about China, from this Google attacks. The attacks may have been directly state-sponsored, or sponsored by an enthusiastic defender of Chinese interests, I am not sure that we will ever know. In fact, I am almost sure that I don&#8217;t care.</p>
<p>The real thing that we should all realize is that nothing we do on Internet can be kept private from our states. We may want to hail the Chinese hackers for their great expertise, but I am sure that there are quite a few states that would be able to perform the same hacks. And if we get similar attacks coming from the U.S. or from one of their allies, would Google take the same position to protect a few people, especially if they are labeled as &#8220;potential terrorists&#8221;? I don&#8217;t know, but I would not bet on it.</p>
<p>This situation gets me a bit worried about cloud computing. If we start putting more and more information in the cloud, it means that we make this information available to people who have enough money to pay for a zero-day vulnerability and a few hackers.</p>
<p>Now, here is a question for the security people: If we use smart cards (with or without Web servers), trusted execution environments, and other client-side &#8220;strong&#8221; security solutions, how much more difficult canwe make it for these hackers?</p>
<p>I have no answer to that question. One thing I know is that we can&#8217;t do anything against server-side bugs that make data accessible. That leaves us with many other means of protection, but how efficient are they?</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2010/01/26/greetings-from-china/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OMTP TR1 gaining support in the UK</title>
		<link>http://javacard.vetilles.com/2010/01/21/omtp-tr1-gaining-support-in-the-uk/</link>
		<comments>http://javacard.vetilles.com/2010/01/21/omtp-tr1-gaining-support-in-the-uk/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:04:25 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[Mobile Security]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=530</guid>
		<description><![CDATA[Yesterday, I attended the Mobile Barcamp on Security at ETSI. Even though attendance was rather low, the exchanges were interesting, and the unconference format made them even more interesting. It was my first Barcamp, and I really enjoyed it.
Among the news and messages spread during the meeting, one struck me, even though it is not [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I attended the <a href="http://twitter.com/#search?q=%23MoCaSA" class="liexternal">Mobile Barcamp</a> on Security at ETSI. Even though attendance was rather low, the exchanges were interesting, and the unconference format made them even more interesting. It was my first Barcamp, and I really enjoyed it.</p>
<p>Among the news and messages spread during the meeting, one struck me, even though it is not all that new. OMTP has issued the <a href="http://www.omtp.org/Publications/Display.aspx?Id=3531a022-c606-42ad-bf02-4c8d10dc253e" class="liexternal">OMTP TR1</a> set of recommendations for an <em>Advanced Trusted Environment</em>. These recommendations are quite significant, and include a full Trusted Execution Environment (TEE) that is able to run trusted code on the device.</p>
<p>The interesting news comes from the UK Home Office. Back in May 2009, when the latest version of OMTP TR1 was issued, the Home Secretary issued a congratulation note, encouraging the use of TR1, with numerous quotes from various crime fighting units, as well as executives from Vodafone and Motorola. So far, nothing really big.</p>
<p>Things have gotten better in October, when the Crime Reduction unit from Home Office issued the <em>Contactless mobile phone payments - Best practice guidelines</em> document. The document is interesting, proposing a few classical security guidelines, like mandating PIN code for transactions over £10 or requiring a single number to report the theft or loss of a mobile, and of course to disable any payment app related to the mobile, together with the mobile subscription.</p>
<p>But the interesting point is here that this document somehow assumes that the mobile device follows the OMTP TR1 requirements, and therefore include a trusted environment. Here is the paragraph:</p>
<blockquote><p>It is expected that user verification (for example a passcode) for contactless mobile transactions above the prevailing payment industry agreed maximum contactless value (currently £10) will be required so as to add an additional level of security to that already provided in the mobile device. (1)</p></blockquote>
<p>Of course, the (1) is a reference to OMTP TR1, through the previously cited endorsement by the Home Office. Having TR1 &#8220;already provided in the mobile device&#8221; would be really interesting, and a step in the right direction for security. Now, let&#8217;s just wait for and hope that this actually happens in the mobile payment deployments in the UK and elsewhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2010/01/21/omtp-tr1-gaining-support-in-the-uk/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Racing the neighborhood</title>
		<link>http://javacard.vetilles.com/2010/01/17/racing-the-neighborhood/</link>
		<comments>http://javacard.vetilles.com/2010/01/17/racing-the-neighborhood/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 21:08:33 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=528</guid>
		<description><![CDATA[For years, I have wanted to use a racing game that would provide realistic driving in my neighborhood. Well, The first game like that is coming soon on Ovi Store. This is a 2D top view, which reminds me of the original GTA (I loved that game, even though it didn&#8217;t have the 3D experience [...]]]></description>
			<content:encoded><![CDATA[<p>For years, I have wanted to use a racing game that would provide realistic driving in my neighborhood. Well, The first game like that is <a href="http://blog.symbian.org/2010/01/08/ovi-maps-racing-game-lets-you-speed-around-your-neighborhood/" class="liexternal">coming soon</a> on Ovi Store. This is a 2D top view, which reminds me of the <a href="http://img84.exs.cx/img84/3973/GTA1.jpg" class="liexternal">original GTA</a> (I loved that game, even though it didn&#8217;t have the 3D experience that made the latest versions big hits). Not quite what I was expecting, but definitely a good first step.</p>
<p>I now hope that Google will be up to the challenge, and that a few guys at Google are using their &#8220;free&#8221; time to develop such a game using Google Maps data. I guess that, if these things don&#8217;t come, it must mean that 3D programming is indeed difficult; or it could be that gamers expect full 3D game with nice models of the buildings, trees and scenery. For me, the idea is not to have the best 3D experience with the exact buildings (although that would be nice too). The precision I want is on the road itself and on the simulation, because I know the road very well in real life.</p>
<p>Another reason may be price. The use of Google Maps is free, but I am not sure how much Google would charge to build a game with Google Maps data. After all, all these mapping companies are supposed to be worth a lot of money.</p>
<p>This kind of ideas are funny, because they remind us that execution is sometimes very hard. I am sure that some game executives already had the idea to develop such a game. But it hasn&#8217;t happened yet, and I am still waiting to be able to race up <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=Col+de+la+Gineste,+13009+Marseille,+France&#038;sll=37.09006,-97.391439&#038;sspn=47.301626,94.833984&#038;ie=UTF8&#038;hq=la+gineste,&#038;hnear=Marseilles,+France&#038;z=12&#038;iwloc=A&#038;ll=43.248902,5.452358" class="liexternal">La Gineste</a> with a few friends from the good ol&#8217; time. Until then, I will keep racing in San Francisco or London with two kids sitting on my lap.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2010/01/17/racing-the-neighborhood/feed/</wfw:commentRss>
		</item>
		<item>
		<title>One less flaw in secure USB keys</title>
		<link>http://javacard.vetilles.com/2010/01/09/one-less-flaw-in-secure-usb-keys/</link>
		<comments>http://javacard.vetilles.com/2010/01/09/one-less-flaw-in-secure-usb-keys/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 22:08:53 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[certification]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=521</guid>
		<description><![CDATA[We all know by now that some German testers have broken certified USB keys.
Breaking a secure product is not big news. Breaking a certified product is less common, so it makes the news. Now, the reactions are worth analyzing, because it is very hard to figure out what certification is about, in particular when related [...]]]></description>
			<content:encoded><![CDATA[<p>We all know by now that some <a href="http://www.syss.de/index.php?id=108&#038;tx_ttnews[tt_news]=528&#038;tx_ttnews[backPid]=59&#038;cHash=8d16fa63d9" class="liexternal">German testers</a> have <a href="http://www.h-online.com/security/news/item/NIST-certified-USB-Flash-drives-with-hardware-encryption-cracked-895308.html" class="liexternal">broken</a> <a href="http://www.schneier.com/blog/archives/2010/01/fips_140-2_leve.html" class="liexternal">certified</a> USB keys.</p>
<p>Breaking a secure product is not big news. Breaking a certified product is less common, so it makes the news. Now, the reactions are worth analyzing, because it is very hard to figure out what certification is about, in particular when related to security. Certification schemes are not perfect, but they still have plenty of advantages.</p>
<p>I am not going to describe the attack. All we need to know is that (1) the crypto algorithm in the USB drive was not borken, and (2) the authentication has been broken, but not by a brute force attack.</p>
<p>Now, about the certification. We are here talking about a <a href="http://en.wikipedia.org/wiki/FIPS_140-2" rel="nofollow" class="liwikipedia">FIPS 140-2</a>, Level 2 certification. First advantage of the certification, some trace is available on the Web, giving very <a href="http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140crt/140crt932.pdf" class="lipdf">a brief summary</a> of the evaluation results, as well as a <a href="http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp932.pdf" class="lipdf">security policy</a>.</p>
<p>Of course, these documents tell us many things. For instance, that authentication is password-based:</p>
<blockquote><p>Password Only: The module persistently stores the password hashed and AES encrypted in FLASH, which is outside of the cryptographic boundary.</p></blockquote>
<p>Then, it defines the strength of the mechanism:</p>
<blockquote><p>
The probability that a random attempt will succeed or a false acceptance will occur is 1/62^4, which is less than 1/1,000,000. The user is locked out after no more than 100 contiguous login failures, therefore the random success rate for multiple retries is 1/62^4 divided by a customer specified number ≤ 1001, which is less than 1/100,000.
</p></blockquote>
<p>OK. The &#8220;62^4&#8243; seems to mean that a 4-character alphanumeric  password is required (26 letters, uppercase + lowercase, + 10 digits, that makes 62 symbols), which represents a bit over 14 million combinations. I don&#8217;t really get the &#8220;customer specified number ≤ 1001&#8243; bit, but divided 14 millions by 100 (possible tries) yields a number greater than 100000, so the statement is about right.</p>
<p>Next, we can look at the certificate, which states:</p>
<blockquote><p>Roles, Services, and Authntication: Level 2</p></blockquote>
<p>So, this means that this authentication mechanism has been evaluated, and that it satisfies Level 2. I am not a FIPS140-2 specialist, so I need to look at the certification&#8217;s <a href="http://csrc.nist.gov/publications/fips/fips140-2/fips1402.pdf" class="lipdf">definition document</a> what that means:</p>
<blockquote><p>For Security Level 2, a cryptographic module shall employ role-based authentication to control access to the module.</p></blockquote>
<p>So far, so good. The roles are here basic, but they are present. Of course, the specification says more than that. Here are the basic requirements for authentication:</p>
<blockquote><p>
The strength of the authentication mechanism shall conform to the following specifications:</p>
<ul>
<li>For each attempt to use the authentication mechanism, the probability shall be less than one in 1,000,000 that a random attempt will succeed or a false acceptance will occur (e.g., guessing a password or PIN, false acceptance error rate of a biometric device, or some combination of authentication methods).</li>
<li>For multiple attempts to use the authentication mechanism during a one-minute period, the probability shall be less than one in 100,000 that a random attempt will succeed or a false acceptance will occur.</li>
<li>Feedback of authentication data to an operator shall be obscured during authentication (e.g., no visible display of characters when entering a password).</li>
<li>Feedback provided to an operator during an attempted authentication shall not weaken the strength of the authentication mechanism.</li>
</ul>
</blockquote>
<p>This definitely reminds us of the security policy, which satisfies all these rules. Now, what is missing? Well, the attack that succeeded is missing. There is no mention of the protection of the authentication mechanism against tampering. The standard only defines the properties of the normal use of the authentication mechanism, but not the properties of its defenses.</p>
<p>This is because FIPS140-2 focuses on cryptography, and not on ancillary functions. Maybe that a <a href="http://en.wikipedia.org/wiki/Common_Criteria" rel="nofollow" class="liwikipedia">Common Criteria</a> (CC) certification would have been better at finding this flaw, because CC looks at all security functions, beyond cryptography, and all labs know that authentication often is the weakest point of the crypto products. Of course, we will never know what CC would have found.</p>
<p>Now, we know one good point about certification: it only took us a few minutes to find the relevant information (security policy, certificate, and FIPS140-2 definition). And a security-literate computer professional would only need a few minutes to understand what features have been analyzed or not. Of course, very few people ever do that kind of analysis.</p>
<p>One of Schneier&#8217;s commenters mentions the fact that these products don&#8217;t really deserve to be blamed because &#8220;to err is human&#8221; and the vendors have acted swiftly after the discovery of the flaw.</p>
<p>Well, this may also be a very good point about certification. When NIST sees headlines about FIPS-certified products getting broken, it is quite likely that they take some action to analyze the problem, and that they get in contact with the vendor. And that&#8217;s a pretty good incentive in favor of action from these vendors. </p>
<p>So, overall, the certification brought some advantages to the customers, even to those who do not understand much about security. And the other good news is that now, their product is likely to be more secure, once they will have applied the corrective actions suggested by the vendors.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2010/01/09/one-less-flaw-in-secure-usb-keys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Let&#8217;s tax Google! All of us!</title>
		<link>http://javacard.vetilles.com/2010/01/08/lets-tax-google-all-of-us/</link>
		<comments>http://javacard.vetilles.com/2010/01/08/lets-tax-google-all-of-us/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 22:10:30 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[Discussions]]></category>

		<category><![CDATA[Mobile Security]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=519</guid>
		<description><![CDATA[I am French, and I must admit that my government spends a lot of time innovating about technology, in particular in relation with artistic creation. After enacting a wonderful antipiracy law that will cause problems to people with poorer network security skills than their neighbors, a recent report is suggesting to tax Google because it [...]]]></description>
			<content:encoded><![CDATA[<p>I am French, and I must admit that my government spends a lot of time innovating about technology, in particular in relation with artistic creation. After enacting a wonderful antipiracy law that will cause problems to people with poorer network security skills than their neighbors, a recent report is suggesting to <a href="http://news.cnet.com/8301-31001_3-10428434-261.html" class="liexternal">tax Google</a> because it is making money from people who search about artists (musicians, in particular). So, I searched about a few of them, just to see how Google coudl make money out of this.</p>
<p>A search for &#8220;Beatles&#8221; returned a surprisingly small amount of adds; &#8220;Michael Jackson&#8221; brought tabloid stuff, and &#8220;Muse&#8221; worked great. All advertisements were about Muse concert tickets and merchandising. So, OK, Google is making money, but it is also helping Muse make money, as well as legal concert ticket resellers.  Actually, I was quite amazed that there would be no reference to ancient Greece or general culture on the first page search for &#8220;muse&#8221;.</p>
<p>One last search for Florida bluesman &#8220;Sauce Boss&#8221; led me to his Web site and many references to him on the Web, but Google didn&#8217;t make much money, because the advertisements were about &#8220;Hugo Boss&#8221; and some sauce, which I was not interested in. However, it worked for me, because that&#8217;s exactly how I found the guy, more than 15 years after last seeing one of his concerts, and it worked for him, because I .</p>
<p>Our government seems to be spending a lot of energy on saving one problematic business model, but things are hard for many of us, including the companies I work for. SIM card vendors are having a hard time with these Google guys, who are moving all our nice SIM Toolkit applications (and their value) away from our SIM cards and into their Android phones, which do not even support SIM toolkit. This is almost antitrust matter: not supporting SIM Toolkit basically means that they are refusing competition.  </p>
<p>So, taxing Google definitely looks like a universal good idea, and many of us could gain from it. Maybe we could save the last Minitels that way. However, we all need to get our act together and make money from Google by working with Google. The examples above show how Google can benefit to both big and small music acts. I am sure that somebody will also find a way to make money from them with security in a way or another, and I hope that I can be part of it somehow.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2010/01/08/lets-tax-google-all-of-us/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to secure Santa&#8217;s database?</title>
		<link>http://javacard.vetilles.com/2009/12/24/how-to-secure-santas-database/</link>
		<comments>http://javacard.vetilles.com/2009/12/24/how-to-secure-santas-database/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 14:43:39 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[Mobile Security]]></category>

		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=515</guid>
		<description><![CDATA[I read very alarming news today, for a lot of kids around the world: Santa&#8217;s naughty-nice database has been hacked. The very good article shows all the typical issues related to privacy, and also to the fact that some records are grossly incorrect; all typical issues encountered when such a massive leak occurs.
Now, here is [...]]]></description>
			<content:encoded><![CDATA[<p>I read very alarming news today, for a lot of kids around the world: Santa&#8217;s naughty-nice database <a href="http://precision-blogging.blogspot.com/2009/12/another-leak-worst-so-far.html" class="liexternal">has been hacked</a>. The very good article shows all the typical issues related to privacy, and also to the fact that some records are grossly incorrect; all typical issues encountered when such a massive leak occurs.</p>
<p>Now, here is a perfect example of a database that we all would like to trust, because of the great service it provides (free gifts for kids on Christmas). But then, one must ask the question: shall we entrust this strange old man with such sensitive information?</p>
<p>As a supporter of secure (mobile) devices, my first temptation is to say <em>no</em>, of course. These naughty-nice records should not sit somewhere on a database, where a single leak has the potential to ruin my kid&#8217;s life for many years. And how do we know that Santa has a good policy for removing older &#8220;naughty&#8221; records, and that this policy is correctly applied.</p>
<p>Maybe that making the database accessible, so that we can check its contents, would make things better. But who should perform these checks? Our kids, or their trusted representatives (<em>i.e.</em>, us, their parents). The fact that this database holds data about minors certainly doesn&#8217;t make things easier.</p>
<p>Maybe that this database should be local. I have been advocating that for a long time. My own private data should be managed on my own devices, under my control, and maybe that the same principles should hold for my kids. By storing this data on their own devices (mobile phones, MP3 players, <em>etc</em>; all kids who are old enough to speak own one of these, or soon will), we have a guarantee that no massive leak can occur. Of course, a local leak remains possible, but it will then need to be a highly targeted attack, one kid at a time.</p>
<p>Of course, there must be a choice of disclosure. A kid may want to hide its naughty-nice record, possibly for privacy reasons. One may even want not to maintain such a record. What would the consequences be? Well, they are quite likely to lose the advantage of being on Santa&#8217;s list: Christmas presents. Privacy has a price((And kids, like all of us, are quite unlikely to accept that price.)).</p>
<p>And now, my favorite part: kids may be tempted to hack their local database in order to remove the naughty bits that don&#8217;t look good on their record. If they are able to do so, Santa&#8217;s entire business model becomes compromised. This means that there must be some way to secure that local database on every kid&#8217;s mobile device (not only the storage, but also its processing, as well as the interactions with the kids and with the other interfaces).</p>
<p>Rejoice, SIM merchants, TEE peddlers, smart object salesmen, for there is a wonderful customer awaiting your products in this end of year: Santa needs you!</p>
<p>I wish you all a wonderful Christmas, and great holidays!</p>
<p>P.S. For serious people, replace &#8220;Santa&#8221; by &#8220;Credit rating bureau&#8221;, and this post may become more interesting than it seems at first.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2009/12/24/how-to-secure-santas-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Unleashing Android on a Nook</title>
		<link>http://javacard.vetilles.com/2009/12/18/unleashing-android-on-a-nook/</link>
		<comments>http://javacard.vetilles.com/2009/12/18/unleashing-android-on-a-nook/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 05:44:54 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[Mobile Security]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=512</guid>
		<description><![CDATA[Using an open system to develop a closed device is nothing new, and it is working. We can therefore hardly call Barnes&#038;Noble innovators for basing their Nook e-book reader on the Android operating system. In another community, opening closed devices (and especially those that run on an open system) is also a well-known sport, and [...]]]></description>
			<content:encoded><![CDATA[<p>Using an open system to develop a closed device is nothing new, and it is working. We can therefore hardly call Barnes&#038;Noble innovators for basing their Nook e-book reader on the Android operating system. In another community, opening closed devices (and especially those that run on an open system) is also a well-known sport, and Apple&#8217;s jailbreakers are among the most active.</p>
<p>So, Nook has been rooted, and some clever guys have <a href="http://www.engadget.com/2009/12/17/nook-hacked-with-web-browser-facebook-and-twitter-for-starters/" class="liexternal">hacked</a> it to basically turn it into a Web-browing, Facebooking, and Twittering machine. Apparently, some things, like Google Maps, don&#8217;t work, because some libraries are missing (in other words, it will take a it longer to put them in).</p>
<p>Two things drew my attention to that attack, though, and both of them are related to the design of the Nook offer.<br />
<span id="more-512"></span></p>
<p>First, the Nook comes with a free lifetime 3G connection, which allows users to download e-books over-the-air through the AT&#038;T network (US only). This is nice, but the hack could offer Nook owners unlimited 3G for life. Of course ,this is unrealistic, as B&#038;N and AT&#038;T will find a way to make this impossible (until the next hack). However, it definitely raises the stakes about the hack, especially if it can be made accessible to many users.</p>
<p>Then, the Nook makes things quite easy for hardware hackers. The system is stored on a MicroSD card. Apparently, the card can&#8217;t be swapped for a larger one (too easy), but still, some things can be added to it (this is the base of the hack). Depending on what can exactly be changed on that card, we are going to see really interesting uses of the Nook. And for once, we won&#8217;t need to solder anything to have full access to the system. Nice.</p>
<p>I have taken a short look at the <a href="http://nookdevs.com/Main_Page" class="liexternal">hackers&#8217;s site</a>, and there isn&#8217;t much information about hacks at the Android level, and I am still wondering how much integrity checks that device includes. The current rooting process simply consists in enabling remote debugging of the device. Most likely, this feature could be removed from the MicroSD, but the next question would then become: Can we put it back in? That&#8217;s where integrity checks kick in, and the mechanism that performs these is better off if it sits outside of the SD itself.</p>
<p>One last point that I love in the hack, where the security dog bites its master. The command line recommended to disable automatic B&#038;N updates is as follows:</p>
<blockquote><p><code><br />
mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.bak<br />
</code></p></blockquote>
<p>Sure looks like somebody is hiding the OTA certificates used to authenticate the update site.</p>
<p>I will stop for now, but there are barrels of fun to come from this hack in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2009/12/18/unleashing-android-on-a-nook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Leyio PSD</title>
		<link>http://javacard.vetilles.com/2009/12/13/the-leyio-psd/</link>
		<comments>http://javacard.vetilles.com/2009/12/13/the-leyio-psd/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 06:25:42 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[Mobile Security]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=509</guid>
		<description><![CDATA[The mobile security community already know about PTDs (personal trusted devices), but do we know about, but until very recently, I didn&#8217;t know what a PSD was. It seemed obvious from the ad I received from one of my favorite e-commerce sites, so I looked up the device.
The Leyio has been launched a few months [...]]]></description>
			<content:encoded><![CDATA[<p>The mobile security community already know about PTDs (personal trusted devices), but do we know about, but until very recently, I didn&#8217;t know what a PSD was. It seemed obvious from the ad I received from one of my favorite e-commerce sites, so I looked up the device.</p>
<p>The <a href="http://www.leyio.com/product.php?lang=en_GB" class="liexternal">Leyio</a> has been launched a few months ago, and it is of course a Personal Sharing Device. The videos on the site explain it better than I could do it, but the idea is to have a device that can contain some data (16Gb in the standard version), and share it with many other devices. Here are some examples of what it can do:</p>
<ul>
<li>Share files with USB keys. You connect a USB key on the USB port, and hop, you can exchange files.</li>
<li>Share files with phones. You connect the phone on the USB post, and hop, you can exchange files (well, I guess, only if your phone is able to exchange files with a PC without any additional driver.</li>
<li>Share files with iPods. You connect an iPod, and hop, you can exchange files. Wait? All files? In both directions? I don&#8217;t know, but if this is the case, then welcome to the wonderful world of Palm Pre and to the war of updates between Apple and Leyio (if Apple thinks that you are significant enough).</li>
<li>Share files with PCs. You select the files that you want to share, and they are copied into a small USB key that you transfer to the PC. Now, that sounds like a good feature, allowing one to select the files to be shared.</li>
<li>Share files with PCs (2). You connect the Leyio to a PC, and you can see all its content, organize it, etc.</li>
<li>Share files with another Leyio. The Leyio includes a radio link that allows two Leyio to share data. This is done by shaking the device, like you are throwing the content at the other guy.</li>
</ul>
<p>This is a nice device, but is it worth it at 129€?<br />
<span id="more-509"></span></p>
<p>Of course, one of the issues is security. On that part, Leyio is innovating by using a fingerprint scanner for authentication (you can also use a password if you don&#8217;t trust biometry). I really like the fact that the scanner is also used as input device. In terms of security, I just hope that there isn&#8217;t any loophole left wide open, but this device definitely is a step forward when compared to standard USB keys.</p>
<p>Here is a grabbag of remarks:</p>
<ul>
<li>Wishful thinking. Sharing with another Leyio is nice,  but a Leyio ain&#8217;t an iPod, and the probability to find another one nearby is low. If that device could connect in WiFi/Bluetooth to my iPod Touch and transfer data through a free iPod application, things would be much better.</li>
<li>Gadgetry. I hope that the radio link and the accelerometer don&#8217;t cost much, because in practice, they are likely to be of little use.</li>
<li>No online backup. Although 16Gb is a bit small, this is a nice little backup device. In that case, associating it to storage on the cloud would ne nice.</li>
<li>No wireless. What? You think that you can be cool without being wirelessly connected? This radio interface really needs some work.</li>
<li>Where are my files? My files are usually on my PC somewhere. I would put on a Leyio the files that I think I am most likely to share. The question is: is 16Gb enough? Possibly, but I don&#8217;t know.</li>
</ul>
<p>Now, will I buy one? No, not at 129€, for sure, because I am not that desparate to share. But then, even if I share more than some people, I am not a teenager, and I can&#8217;t say what teenagers would say about the device (the Leyio also offers ways to share avatars and internet links, but I have the feeling that they would find other problems to it).</p>
<p>To close this, here are a few suggestions for the future of that device:</p>
<ul>
<li>Make a corporate version. With a professional look, a strong focus on security a little less gadgetry, and a few more features, this could make it in the corporate world, at least as a more secure way to share things.</li>
<li>Combine it with other features. A Leyio/Yuuwaa/Kindle combination would be nice. A thing that manages sharing (Leyio), is automatically backed up on line (Yuuwaa), and comes with a Kindle-like &#8220;free&#8221; 3G subscription so that the communication is completely transparent. Nice!</li>
</ul>
<p>Of course, making the device disappear altogether, or get to the form factor of a standard USB key would also be nice, because I am already carrying an iPod Touch and an Android phone, so this third thing is too large.</p>
<p>Note to self: when launching a data-related service/object, think about using names with (almost) no consonants; smooth sounds are required, like Yuuwaa or Leyio.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2009/12/13/the-leyio-psd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cartes, day 1</title>
		<link>http://javacard.vetilles.com/2009/11/17/cartes-day-1/</link>
		<comments>http://javacard.vetilles.com/2009/11/17/cartes-day-1/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 21:15:58 +0000</pubDate>
		<dc:creator>Eric Vétillard</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=506</guid>
		<description><![CDATA[Today was the first day of the 2009 edition of the Cartes show, the greatest smart card show on earth. Not much time to look around, but I didn&#8217;t catch a lot of excitement this time. There aren&#8217;t that many new things going on, and everybody looks like the first golden era of the smart [...]]]></description>
			<content:encoded><![CDATA[<p>Today was the first day of the 2009 edition of the Cartes show, the greatest smart card show on earth. Not much time to look around, but I didn&#8217;t catch a lot of excitement this time. There aren&#8217;t that many new things going on, and everybody looks like the first golden era of the smart card is over.</p>
<p>Will there be a next one? Maybe, but maybe not. Handset vendors don&#8217;t seem to hurry for supporting NFC, Smart Card Web Servers, and other USB interfaces for SIM cards. NFC seems to be moving, but definitely not fast. Android seems to be the only good news for the industry. At last, there are phones on which we can play with the software, including the drivers we want, the missing software layer, and anything else that is required for a good demo.</p>
<p>The numbers aren&#8217;t that bad, though. Part of my day was spent sitting on a Java Card Forum panel, and some of the figures shown by Sun sound good: 5 billion smart cards in 2009, including almost 2 billion with Java Card. And the marlet is still growing, with a forecast of 7.5 billion cards including 3 billion with Java in 2012. Wait, over 70% of these are SIM cards, and although the volume is growing, the associated revenue may not grow that much, as SIM cards become real commodities, with price as the last differentiator.</p>
<p>I guess that this is enough gloom for tonight. Tomorrow, I will start saving the smart card industry. First by going to look at a few <a href="http://fr.cartes.com/ExposiumCms/do/salon/CARTES+ID+FR/sesames/gagnants+2009/siteId_310700/pageId_929306" class="liexternal">Sesames winners</a>, in particular Sagem&#8217;s Internet-of-Things demo, and Neowave for their ID product. And second, by looking positively at potential new applications for our beloved SIM cards.</p>
]]></content:encoded>
			<wfw:commentRss>http://javacard.vetilles.com/2009/11/17/cartes-day-1/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
