<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>On the road to Bandol &#187; Android</title>
	<atom:link href="https://javacard.vetilles.com/tag/android/feed/" rel="self" type="application/rss+xml" />
	<link>https://javacard.vetilles.com</link>
	<description>A weblog on Java Card, security, and other things personal</description>
	<lastBuildDate>Mon, 18 Aug 2025 06:48:26 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.32</generator>
	<item>
		<title>Uh oh, Google just stopped updating my kids&#8217; phones</title>
		<link>https://javacard.vetilles.com/2019/05/20/uh-oh-google-just-stopped-updating-my-kids-phones/</link>
		<comments>https://javacard.vetilles.com/2019/05/20/uh-oh-google-just-stopped-updating-my-kids-phones/#comments</comments>
		<pubDate>Mon, 20 May 2019 20:13:32 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[Discussions]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=26391</guid>
		<description><![CDATA[So, Google has revoked Huawei&#8217;s Android license. Huawei&#8217;s new phones won&#8217;t get any of the nice Google features like Google&#8217;s store, Gmail, and more. But also, all existing Huawei phones will stop receiving updates from Google. What? This includes my kids&#8217; Honor-branded phones, and as far as I know, a significant portion of the kids [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So, Google has revoked Huawei&#8217;s Android license. Huawei&#8217;s new phones won&#8217;t get any of the nice Google features like Google&#8217;s store, Gmail, and more. But also, all existing Huawei phones will stop receiving updates from Google.</p>
<p>What? This includes my kids&#8217; Honor-branded phones, and as far as I know, a significant portion of the kids in their middle school, as Honor has been proposing phones with a great value for a few years, and they are popular in that population who are usually not getting the top-of-the-line models.</p>
<p>I could also have titled this blog more provocatively as &#8220;Google denies basic security to their customers,&#8221; &#8220;Donald Trump throws millions of kids in hackers&#8217; hands,&#8221; or &#8220;Evil Americans exercise extra-territorial power over people around the world.&#8221; There are plenty of opportunities here to be angry, but the problem is elsewhere.</p>
<p>There is here a trust and liability issue. When I buy an Android phone, I expect some service from the vendor, but I also expect some services from Google. In my professional life, I am battling for improving IoT security, making updates mandatory and secure, among other things. Until now, this was a battle against slackers and profiteers, but today, politics is getting in the way. If hackers benefit from this, who can be held liable? Is this just Huawei? Doesn&#8217;t Google share some responsibility for stopping their support? My kids have done nothing, for sure.</p>
<p>Most comments seem to emphasize that Google dealt a big blow to Huawei, but Google has also dealt a big blow to themselves: Huawei didn&#8217;t cut my kids&#8217; updates, Google did. This really has some consequences on the Android model: When you buy a phone with Android, you introduce a dependency between you and both the device vendor and Google, and you will be a collateral victim if their relationship turns sour. This almost sounds like Apple; when you get an iPhone, you belong to Apple, but at least, only to Apple.</p>
<p>It makes me rethink seriously my dependency on Google, so it&#8217;s time to take some strong decisions. I will switch my family streaming subscription from Google Play Music to Spotify, just to make sure that my kids still enjoy music on their unsupported phones. And if this madness continues, I will move them to Huawei&#8217;s app store as wellâ€¦ </p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2019/05/20/uh-oh-google-just-stopped-updating-my-kids-phones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some people don&#8217;t like phone security</title>
		<link>https://javacard.vetilles.com/2012/03/19/some-people-dont-like-phone-security/</link>
		<comments>https://javacard.vetilles.com/2012/03/19/some-people-dont-like-phone-security/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 19:35:50 +0000</pubDate>
		<dc:creator><![CDATA[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=809</guid>
		<description><![CDATA[It seems that FBI isn&#8217;t able to perform smudge attacks very well. Apparently, they have been defeated by Android&#8217;s &#8220;pattern lock&#8221; on a Samsung phone. Well, my friends must be smarter than the FBI, because both of the guys who tried to defeat my pattern lock using a smudge attack succeeded. The fun part is [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>It seems that FBI isn&#8217;t able to perform <a href="http://javacard.vetilles.com/2010/10/18/smudge-attacks-on-android/" class="liinternal">smudge attacks</a> very well. Apparently, <a href="http://www.wired.com/threatlevel/2012/03/fbi-android-phone-lock/" class="liexternal">they have been defeated</a> by Android&#8217;s &#8220;pattern lock&#8221; on a Samsung phone. Well, my friends must be smarter than the FBI, because both of the guys who tried to defeat my pattern lock using a smudge attack succeeded.</p>
<p>The fun part is of course that the FBI is now going after Google to find a solution to this problem, asking them plenty of information about the device and about the use that the bad guy did of it. Most of the things that they are requesting may indeed be in Google&#8217;s hands, if the bad guy is not very smart: e-mails, text messages, Web history, contacts, <em>etc</em>. Unless of course, the bad guy has been using non-default apps.</p>
<p>But it gets even more interesting when we get to the part asking for <em>â€œVerbal and/or written instructions for overriding the â€˜pattern lockâ€™ installed on theâ€ phone</em>. Since this is a Samsung phone, does Google have this information? What if there is no way to override this? I am not sure that the people who design security protocols for Trusted Execution Environments and/or for Secure Elements actually include a backdoor everywhere. After all, in some cases, not having a backdoor makes security easier to enforce. Of course, in this particular case, the pattern lock can be overridden by the owner&#8217;s Google account, so I guess that Google has the information.</p>
<p>But, in a more general term, it brings us back to the question of the &#8220;right&#8221; security level. If there is an open market for TEE/SE applications, the &#8220;superlock&#8221; application definitely sounds like a good one. It will certainly benefit our privacy, and it will just as certainly annoy anybody who wants to violate someone&#8217;s privacy, with the same debates as usual regarding the limits of the law. I am not completely sure where I stand on this, since I don&#8217;t like the idea of letting police look at <em>my</em> information, but I don&#8217;t really like the idea that my wonderful security products are used by bad guys to protect their content from police Of course, we can trust most bad guys to be like regular guys and make blatant security mistakes, but sometimes, it just won&#8217;t work. Oh well, we&#8217;ll see, and it should be interesting.</p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2012/03/19/some-people-dont-like-phone-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Card is 15 years old</title>
		<link>https://javacard.vetilles.com/2011/11/05/java-card-is-15-years-old/</link>
		<comments>https://javacard.vetilles.com/2011/11/05/java-card-is-15-years-old/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 22:31:46 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[History]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Java Card]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=767</guid>
		<description><![CDATA[I just realized that I missed Java Card&#8217;s 15th birthday. This birthday was sometime in the end of October, 1996. I don&#8217;t have the exact date, because the only document I have is the Java Card API: Specification of the Java Virtual Machine and Application Programmer&#8217;s Interface, version 0.13, dated October 10, 1996. Although this [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I just realized that I missed Java Card&#8217;s 15th birthday. This birthday was sometime in the end of October, 1996. I don&#8217;t have the exact date, because the only document I have is the <em>Java Card API: Specification of the Java Virtual Machine and Application Programmer&#8217;s Interface</em>, version 0.13, dated October 10, 1996.</p>
<p>Although this draft was officially authored by Sun Microsystems, Schlumberger played an important role there. This is why I am quite sure that the spec was released at the end of the month, since one of Schlumberger&#8217;s main patents on the topic was filed on October 25, 19996. The main topic of <a href="http://www.google.com/patents?id=ZrsIAAAAEBAJ" class="liexternal">this patent</a> is to use a high-level language to program a microcontroller, and it claims in particular the transformation of a class file into a more optimized format. Quite a good idea, at least sufficient to include this patent in the <a href="http://www.scribd.com/doc/40113431/Gemalto-sues-Google-HTC-Samsung-and-Motorola" class="liexternal">suit against Google</a>&#8216;s Android (which may be a proof that Android is yet another derivative of Java Card).</p>
<p>Good idea, but everybody trying to fit something on a card was ddoing just the same. The really brilliant idea was not to generate an optimized format, but to believe that it would be possible to start from something as different as Java. This was brilliant at the time, especially since in 1996, Java was definitely not mainstream technology, and was often considered as too expensive or too slow even on a PC. Now, that&#8217;s something for which the guys in Schlumberger can be congratulated.</p>
<p>Of course, they were not the only ones to try fitting unlikely things into a smart card. Researchers in Gemplus were more focused on object oriented technology, in particular Corba. And naturally, they needed to think about optimization in order to fit this into a card. They were  using Forth as their base language for the Combo virtual machine. Even before that, as mentioned in this <a href="http://www.scribd.com/doc/61011453/59/A-Short-History-of-Byte-Code-Interpreters-on-Smart-Cards" class="liexternal">history of bytecode interpreters for smart cards</a>, researchers at RD2P designed a bytecode interpreter, as early as 1990 (I can&#8217;t even imagine the memory sizes of cards at that time; if somebody knows, please leave a comment).</p>
<p>Now, the interesting part is that a patent has been filed in France (sorry, <a href="http://fr.espacenet.com/publicationDetails/biblio?locale=fr_FR&#038;DB=fr.espacenet.com&#038;adjacent=true&#038;locale=fr_FR&#038;return=true&#038;FT=D&#038;date=19920327&#038;CC=FR&#038;NR=2667171A1&#038;KC=A1" class="liexternal">in French only</a>). And one of the key elements of this patent was the fact that the programs are later compiled for the specific embedded  virtual machine.</p>
<p>Not quite Java Card, though, because the patent only mentioned direct compilation from source code, not using an intermediary format (<em>a.k.a.</em> Java class file). The difference is slim, and I would be tempted to credit the French guys with the invention of optimized smart card code. However, there is something that the Schlumberger guys did much better: timing. The French patent, filed in 1990, was never extended into an international patent, whereas the American patent has been extended and mainained to this day.</p>
<p>As a final trivia note, did you smile when I mentioned that Android was a derivative of Java Card? Well, very indirectly, but somehow, a little bit. Java Card, after being initiated by Schlumberger, was maintained by Sun Microsystems. Sun&#8217;s Java Card team later convinced Sun to develop a slightly larger VM, the KVM, to address very small devices. This VM was then extended into MIDP, which became the leading platform for phones. And everybody knows that the Android team includes a number of ex-Sun employees who used to work on MIDP. So, yes, indeed, Android a a distant heir of Java Card.</p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2011/11/05/java-card-is-15-years-old/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GoogleIO suggestions for new NFC apps</title>
		<link>https://javacard.vetilles.com/2011/05/11/googleio-suggestions-for-new-nfc-apps/</link>
		<comments>https://javacard.vetilles.com/2011/05/11/googleio-suggestions-for-new-nfc-apps/#comments</comments>
		<pubDate>Wed, 11 May 2011 16:26:21 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[NFC]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=729</guid>
		<description><![CDATA[GoogleIO is happening right now in San Francisco. On the agenda, there has been (only?) one talk on NFC in the Android track. During this talk, the speakers gave an introduction to NFC technology, but for someone who knows the basics on NFC, the most interesting parts were the demos, showing interesting NFC applications. But [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GoogleIO is happening right now in San Francisco. On the agenda, there has been (only?) one talk on NFC  in the Android track. During <a href="http://www.youtube.com/watch?v=49L7z3rxz4Q" class="liexternal">this talk</a>, the speakers gave an introduction to NFC technology, but for someone who knows the basics on NFC, the most interesting parts were the demos, showing interesting NFC applications.</p>
<p>But first, let&#8217;s see what they have to say about the characteristics of NFC. I kinda like their presentation of things:</p>
<ul>
<li><strong>Low friction. The main advantage that they have been advertising. The idea is here that when you scan a NFC tag, the appropriate application is instantly launched, which is a much better user experience than using QR-codes.<strong></li>
<li><strong>Low range.<strong> Some good, and some bad. On the good side, the low range is a security guarantee: in order to start a NFC exchange, an attacker will need to be uncomfortably close to his victim. On the bad side, if you want to do something, NFC will be used to bootstrap, but another wireless connection (Bluetooth, WiFi) will need to be set up.</li>
<li><strong>Low data rate. Not good, and another reason to switch to another wireless connection after bootstrap.<strong></li>
</ul>
<p>So, in Google IO, the main message is that NFC has &#8220;low friction&#8221; and allows developers to instantly start their application, based on a contextual information (a NDEF tag, or another phone in P2P mode). The examples for tags were basic but demonstrative, as they actually triggered an action (or at least, they tried to, because as usual in big conferences, network was a problem).</p>
<p>The P2P examples were even more demonstrative. The most basic one used NFC in a gaming environment: (1) take two phones on which the same 2-player application is installed, (2) start the application on one, (3) move the second phone in NFC range. Then, the magic occurs: the application is started on the second phone, and a Bluetooth connection is setup. The players can now start a new game and play. Now, that&#8217;s user experience.</p>
<p>This concept can then be extended, and this will actually happen in the next release (dubbed Ice Cream Sandwich, one of my favorite American junk foods). Then, some of the core applications will be NFC-enabled. For instance, to share a contact, simply open the contact, and have the recipient put his phone in range: the contact goes to the other phone. Same thing to exchange a URL, to confirm an appointment, or a few more things. Very impressive indeed, and for me, a whole new set of applications for NFC.</p>
<p>I kept one for the end. If we reconsider the gaming example, but the second player does not have the application installed, what will happen? He will be forwarded to Android Market, of course, to purchase the application. This just works.</p>
<p>Google even gets a reward for this: since both people exchanging data on a P2P NFC connection are likely to be connected to their Google account, such recommendations are really easy to track, or even to reward. More information for the Google database.</p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2011/05/11/googleio-suggestions-for-new-nfc-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon does little shifts</title>
		<link>https://javacard.vetilles.com/2011/03/30/amazon-does-little-shifts/</link>
		<comments>https://javacard.vetilles.com/2011/03/30/amazon-does-little-shifts/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 06:27:25 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=717</guid>
		<description><![CDATA[So, Amazon is launching an online music service, where you can store your music on their servers and then stream it to your devices. This is impressive, and as mentioned by some, we are getting closer to the mythical GDrive. Amazon&#8217;s announcement gives us a very cheap online storage: by just buying one album on [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So, Amazon is <a href="http://www.amazon.com/b/ref=amb_link_355091782_4?ie=UTF8&#038;node=2658409011&#038;pf_rd_m=ATVPDKIKX0DER&#038;pf_rd_s=center-2&#038;pf_rd_r=0J3XBYRHAC5ZTB9ABCZF&#038;pf_rd_t=101&#038;pf_rd_p=1291940422&#038;pf_rd_i=163856011" class="liexternal">launching</a> an online music service, where you can store your music on their servers and then stream it to your devices. This is impressive, and as mentioned <a href="http://www.fabcapo.com/2011/03/did-amazon-just-launch-mythical-gdrive.html" class="liexternal">by some</a>, we are getting closer to the mythical GDrive. Amazon&#8217;s announcement gives us a very cheap online storage: by just buying one album on Amazon&#8217;s MP3 store, you get 20GB of free storage. Even if you buy a $5 album (cheaper ones are available), that about $0,25 per gigabyte per year, which is cheap.</p>
<p>Amazon started with the books, as all my Kindle books are stored online, with all the information, and can be instantly retrieved anywhere, anytime. They are now moving to music, which consumes significantly more storage and bandwidth. Video is probably next. Now, will they stop there, or will they move into other types of content, like office documents?</p>
<p>Another interesting thing is the mobile client. We know that Amazon is a friend of Android, especially since they have launched their own Android application store. However, they have gone a bit further here, since the Amazon Cloud Player is only available for Android for the launch. No iOS version at this time, which is quite a bold statement for a product that launched only in the U.S. Of course, an iOS version must be somewhere in the works, but Amazon knows that, eventually, Apple is not going to like their competition. After all, loyal iTunes customers can now upload all their iTunes music into Amazon&#8217;s Cloud, and stream it. Maybe an indication why they can only do that on an Android device: It&#8217;s a free world. </p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2011/03/30/amazon-does-little-shifts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android malware better, still accessible</title>
		<link>https://javacard.vetilles.com/2011/03/07/android-malware-better-still-accessible/</link>
		<comments>https://javacard.vetilles.com/2011/03/07/android-malware-better-still-accessible/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 22:06:23 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=708</guid>
		<description><![CDATA[I have been lazily looking at the latest Android piece of malware these past few days, until a tweet written this afternoon by @cryptax: Disagree with http://bit.ly/hq5J6H on raising entry fee of #android dev: organized gangs will still pay. Genuine individuals no. It sure sounded to me that I agreed with Axelle, and not only [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I have been lazily looking at the latest Android piece of malware these past few days, until a <a href="http://twitter.com/#!/cryptax/status/44757304083619842" class="liexternal">tweet</a> written this afternoon by <a href="http://twitter.com/#!/cryptax" class="liexternal">@cryptax</a>:</p>
<blockquote><p>
Disagree with http://bit.ly/hq5J6H on raising entry fee of #android dev: organized gangs will still pay. Genuine individuals no.
</p></blockquote>
<p>It sure sounded to me that I agreed with Axelle, and not only because I plan to register as an Android developer one of these days. I checked on the proposal on the <a href="http://nakedsecurity.sophos.com/" class="liexternal">naked security</a> blog, and it confirmed that I do disagree with them. Making developers pay for submitting and testing an application is a bad idea; this is what mobile operators and other application distributors were doing before Apple&#8217;s App Store, and it didn&#8217;t work, because it increasing artificially the cost of developing applications. The cost of vetting an application is an App Store cost, and the idea is that the revenues from the store should cover this cost. Of course, this may not be very easy for Android Market, because their revenue is lower than Apple&#8217;s store revenue, but it nevertheless remains their responsibility.</p>
<p>Making application development accessible to developers always makes it just as accessible to hackers and malware developers, but this remains the way to go. If you consider Java Card, it has never been really accessible (just try to get sample cards to run a Java Card application, and you&#8217;ll understand what I mean); hackers have largely stayed away from it, and so did developers: creativity on the Java Card platform is dismal, and it sure doesn&#8217;t come from independent developers.</p>
<p>So, what can Android Market do about these deliverables? Well, like we said before, vetting is a key element here (<em>i.e.</em>, having Google analyze the applications carefully before to actually put them on the market). This is a part where Apple is far from transparent but potentially efficient: few people know the kind of vetting performed on iPhone applications. Of course, malware developers can test concepts, but the opacity of the process allows Apple to update it rapidly when malware is detected.</p>
<p>Let&#8217;s follow a few of Crypto Girl&#8217;s suggestions, on her <a href="http://blog.fortinet.com/android-droiddream-uses-two-vulnerabilities/" class="liexternal">Fortinet blog</a>, and on <a href="http://blogs.iss.net/archive/Examining%20the%20recent.html" class="liexternal">IBM&#8217;s blog</a>, to get a few more technical detail. These reads are quite interesting, because they show how the exploits have been embedded in the code. I am not an expert on Linux exploits and I may be wrong, but I have the feeling that a static analyzer could identify a few things that would trigger a security analyst&#8217;s interest.</p>
<p>As a lot of people mentioned in the past months, there is increasing interest for mobile malware, especially around Android and iOS, and we expect a race between the good guys and the bad guys. What worries me a bit here is that I don&#8217;t see much sign of Google engaging in the race to protect Android. Applications like DroidDream should be caught and rejected before they are released, rather than recalled after being downloaded by thousands of developers. Let&#8217;s hope for Google that they get serious before their Android Market becomes completely discredited, because Android is an open system, and competitors could show up.</p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2011/03/07/android-malware-better-still-accessible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android as an application platform</title>
		<link>https://javacard.vetilles.com/2011/02/09/android-as-an-application-platform/</link>
		<comments>https://javacard.vetilles.com/2011/02/09/android-as-an-application-platform/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 20:06:57 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Applications]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=701</guid>
		<description><![CDATA[Android and iPhone have in common the fact that they define an operating system, an application execution platform, an applicatoin development platform, an application distribution framework, and probably many things that I forget. This consistent and wholesome experience probably participates to their success, but it also makes the analysis more difficult. The recent announcement of [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Android and iPhone have in common the fact that they define an operating system, an application execution platform, an applicatoin development platform, an application distribution framework, and probably many things that I forget. This consistent and wholesome experience probably participates to their success, but it also makes the analysis more difficult. </p>
<p>The recent announcement of <a href="http://www.myriadgroup.com/Device-Manufacturers/Android-solutions/Alien-Dalvik.aspx" class="liexternal">Alien Dalvik</a> by Myriad Group clarifies things a bit on the Android side, since this product simply allows Android applications to run on other operating systems. My expertise is not deep enough to understand how difficult this is, but the idea sure sounds good at first. Developers are really hard to attract these days, so taking advantage of an existing platform to enrich another operating system looks smart. From my perspective, it also shows the superiority of Google&#8217;s approach. This has only been possible because Android is an open-source system, which has been adapted by a third-party company to run on another operating system. This allows Google to reach even more customers, without having to do the work themselves.</p>
<p>Now, the problem is: are there going to be many platforms on which to port this Alien Dalvik? The With Meego&#8217;s perspectives being quite somber and iOS an unlikely target, there aren&#8217;t that many candidates left.</p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2011/02/09/android-as-an-application-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Malware, Permissions, and Side Channels</title>
		<link>https://javacard.vetilles.com/2011/01/29/android-malware-permissions-and-side-channels/</link>
		<comments>https://javacard.vetilles.com/2011/01/29/android-malware-permissions-and-side-channels/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 21:57:55 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[Discussions]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[static analysis]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=694</guid>
		<description><![CDATA[New Android malware keeps popping up, and the latest one to be publicly discussed is very typical of what we are seeing these days. And frankly, I haven&#8217;t found them very impressive. In short, the attack consists in recording phone calls, identifying calls to credit card support lines, then analyzing the recording to identify the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>New Android malware keeps popping up, and the latest one to be <a href="http://www.schneier.com/blog/archives/2011/01/trojan_steals_c.html" class="liexternal">publicly</a> <a href="http://www.thinq.co.uk/2011/1/20/android-trojan-captures-credit-card-details/" class="liexternal">discussed </a>is very typical of what we are seeing these days. And frankly, I haven&#8217;t found them very impressive. In short, the attack consists in recording phone calls, identifying calls to credit card support lines, then analyzing the recording to identify the tones corresponding to a credit card number, and finally transmitting this data to another piece of malware through hardware settings.</p>
<p>Basically, this attack shares the following characteristics with many other ones:</p>
<ul>
<li><strong>Exploit Android permissions</strong>. Android permissions are very wide, and labeled in simple terms. This means that there are many ways to abuse people, especially with combinations. In that particular case, the use of two collaborating applications is a way to hide combinations, but it also makes the attack more difficult.</li>
<li>Use a side channel for leaking data. Some side channels are obvious (like leaking data on Internet together with other data), and this one is trickier. In fact, there is always a tricky way to leak data, especially when you can do it one bit at a time.</li>
<li>Be a proof-of-concept. This malware works, but only in a lab. In the real world, it needs someone to download two pieces of malware, dial a credit card support hotline, type a credit card number, and do that for another reason then blocking the card. Possible, quite unlikely.</li>
</ul>
<p>My main claim is that such a malware is quite unlikely to represent any kind of danger. The scheme is so complex that by the time people get credit card numbers stolen, the malware is very likely to be detected. My second claim is that the Android permission system is not worse than the others around: iOS doesn&#8217;t really use permissions, MIDP uses overly detailed ones (granted by network operators in most cases), <em>etc</em>. My third claim is that what really count is that the Android Market is able to vet applications; even if it doesn&#8217;t do much today, we can rest assured that Google will make sure that 2011 doesn&#8217;t become <a href="http://javacard.vetilles.com/2011/01/20/2011-the-year-of-mobile-malware-nope/" class="liinternal">the year of mobile malware</a>.</p>
<p>Nevertheless, the paper points a few interesting things about Android permissions, and some of them could be fixed:</p>
<ul>
<li>The <em>Read contact data</em> permission gives access to the call history. I am not sure that I see the need for that. In fact, my main issue with that is that, in terms of privacy control, I believe that it&#8217;s very different to know who I know and who I actually call. I believe that this one should be fixed.</li>
<li>The <em>Record audio</em> permission allows an application to record the content of phone communication (as well as recording audio in the background, actually). In fact, that&#8217;s again a privacy issue: an application that records audio while it is the currently running application is fine; allowing that application to record audio from the background is a very different thing, which worries me. This one also deserves to be fixed.</li>
<li>The side channel actually doesn&#8217;t use any permission in most cases, since it uses channels that don&#8217;t require any, like setting the volume repeatedly. Here, I don&#8217;t think that there is a big problem, because getting data out is most likely not the main problem today. Five years ago, everybody was worried about connected applications; today, most people consider it normal for an application to be somehow connected to the net (for instance, an application can always claim to backup things, to have a social side, <em>etc</em>.). Malware doesn&#8217;t need to be bundled with sensitive, intelligent software, so complicated side channels probably represent a futile complexity.</li>
</ul>
<p>To conclude, a word about hidden communication channels. I have worked on information flow static analysis, and we haven&#8217;t found many practical ways to identify hiddne information flows. Usually, these hidden flows do not use variables or communication APIs to leak data. Instead, they often leak a trickle of information using either an unnecesssarily convoluted computation (which is likely to attract the attention of a human reviewer, but is difficult to find for a static analyzer), or by looping on an apparently innocuous API method (this is what is done here, and we may have detected it using a static analyzer).</p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2011/01/29/android-malware-permissions-and-side-channels/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LG Thinq and smart appliances</title>
		<link>https://javacard.vetilles.com/2011/01/07/lg-thinq-and-smart-appliances/</link>
		<comments>https://javacard.vetilles.com/2011/01/07/lg-thinq-and-smart-appliances/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 20:56:36 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[Discussions]]></category>
		<category><![CDATA[Java Card Bandol]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Internet of Things]]></category>
		<category><![CDATA[Java Card 3.0]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=672</guid>
		<description><![CDATA[Beside Motorola&#8217;s Atrix 4G and the many tablets, one of the very nice announcements of CES is LG&#8217;s Thinq, with significant press coverage. Connecting home appliances sounds kind of obvious, and the ubiquitous availability of smartphones and tablets makes it even more obvious. I have many times left my clean laundry sit in the washer [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Beside Motorola&#8217;s <a href="http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/Motorola-ATRIX-US-EN" class="liexternal">Atrix 4G</a> and the many tablets, one of the very nice announcements of CES is LG&#8217;s <a href="http://www.lg.com/global/press-release/article/lg-unveils-total-home-appliance-solution-empowering-consumers-to-smartly-manage-their-homes.jsp" class="liexternal">Thinq</a>, with <a href="http://www.engadget.com/2011/01/04/lg-thinq-linqs-your-smart-appliances-with-wifi-and-smartphone-ap/" class="liexternal">significant</a> <a href="http://www.wired.com/gadgetlab/2011/01/lg-smart-appliances/" class="liexternal">press</a> <a href="http://www.reghardware.com/2011/01/05/lg_home_applicances/" class="liexternal">coverage</a>.</p>
<p>Connecting home appliances sounds kind of obvious, and the ubiquitous availability of smartphones and tablets makes it even more obvious. I have many times left my clean laundry sit in the washer for hours, just because I turned the thing on and forgot about it; no doubt that a message on the phone in my pocket would be a welcome reminder.</p>
<p>The devices shown by LG seem to be rather high-end stuff, with rather large LCD screens for the interface (and no buttons, so these screens must be tactile). Apparently, these devices are running Android, which could mean that we will soon find Android applications targeted at washers and refrigerators. This is great news at least for one point: I have no doubt that independent developers can imagine applications on appliances that LG wouldn&#8217;t dream about, and opening this market could lead to real improvements.</p>
<p>Now, I am wondering: do we need a smartphone in every home appliance? Do we need a 7&#8243; screen on every appliance? A few rich geeks may answer yes, but most people are quite likely to stick with much simpler interfaces and cheaper electronics. You may have guessed already where I am heading: Java Card 3.0 Connected is the way to go. It has many qualities required to do that:</p>
<ul>
<li><strong>Web-based application model</strong>. A Java Card 3.0 servlet can provide the required communication link between an appliance and the controlling device, using a fairly simple and well-known application model.</li>
<li><strong>Dynamic management of applications</strong>. With the addition of GlobalPlatform specs, Java Card 3.0 supports a wide range of application management models, and it could in particular be used in an application store model. For those who doubt, we can remind that the Java Card/GlobalPlatform is already used on a few billion devices, so scaling up is not a major issue here.</li>
<li><strong>Small footprint, possible single-chip integration</strong>. Adding a full Android device to a US$1,000 washer is not a big issue, but adding the same device to a US$100 coffee machine will have a significant impact on its price. </li>
</ul>
<p>Of course, it lacks a few things, in particular regarding I/O&#8217;s. In order to control an appliance, Java Card 3.0 needs to be able to control a few I/O ports, including a small display. But these APIs already exist in other embedded Java dialects such as MIDP, so why not doing it?</p>
<p>The bottom line is here that we can achieve with Java Card 3.0 Connected results that are quite similar to what is possible with Android, while making it accessible to a much wider range of devices. The only question is: Who is going to define the few missing APIs and make a reference design for a network extension board for appliances? I would definitely like to be part of that, but I&#8217;m not the one who will do the electronics part.</p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2011/01/07/lg-thinq-and-smart-appliances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schmidt on Android and NFC: A dream come true</title>
		<link>https://javacard.vetilles.com/2010/11/16/schmidt-on-android-and-nfc-a-dream-come-true/</link>
		<comments>https://javacard.vetilles.com/2010/11/16/schmidt-on-android-and-nfc-a-dream-come-true/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 16:13:08 +0000</pubDate>
		<dc:creator><![CDATA[Eric Vétillard]]></dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[mobile payment]]></category>
		<category><![CDATA[NFC]]></category>
		<category><![CDATA[VRM]]></category>

		<guid isPermaLink="false">http://javacard.vetilles.com/?p=648</guid>
		<description><![CDATA[Yesterday, at the Web 2.0 Summit, Eric Schmidt started his &#8220;discussion&#8221; with Tim O&#8217;Reilly and John Battelle by Android and NFC. And what he said about the technology is like a dream for many NFC stakeholders, who have been waiting for signals from big players. First, the upcoming Nexus S will support NFC. This is [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Yesterday, at the Web 2.0 Summit, Eric Schmidt started his &#8220;<a href="http://www.youtube.com/watch?v=AKOWK2dR4Dg&#038;p=2737D508F656CCF8" class="liexternal">discussion</a>&#8221; with Tim O&#8217;Reilly and John Battelle by Android and NFC. And what he said about the technology is like a dream for many NFC stakeholders, who have been waiting for signals from big players.</p>
<p>First, the upcoming Nexus S will support NFC. This is big, because one of Google&#8217;s objectives (the main one?) with Nexus phones is to provide a reference design for Android devices. And now, NFC is part of that reference design (and of Gingerbread, Android&#8217;s upcoming release).</p>
<p>Then, Eric Schmidt talked about NFC. He started by a tag reading demo; of course, it didn&#8217;t work, because the network was too slow (typical in such environments). He gave a little description, and then switched to contactless payments, even mentioning the use of a secure element. Now, that was nice: Google is not only thinking about reading tags.</p>
<p>Later in his speech, he mentioned how the combination of location-aware, tag reading and mobile payment could change the way commerce works, using terms that would have been largely appreciated at a NFC conference.</p>
<p>To please me even more, he even threw in a mention of voluntarily provided information, which is of course limited by the fact that Google is an unlikely VRM supporter. But yes, if the system is able to integrate that I am actually looking for a new pair of pants, it may provide me with very useful information.</p>
<p>Finally, Eric Schmidt went as far as mentioning security several times, and even saying that &#8220;the technology has to be secure,&#8221; which is nice to hear for many of my colleagues. And his reason is rather simple: there is money involved directly, so security is a must.</p>
<p>One of the best parts of his vision is to remind us that mobile is personal, secure, and an aggregating technology. So when we think about what we can do with NFC or whatever we add to that, we need to figure out what it brings to the big picture, and how the technology can best be used with all the other mobile technologies.</p>
<p>OK. Enough ramblings. Here is an approximative transcript of what he said about Android (a bit raw, so if you have 10 minutes to spare, take a look at <a href="http://www.youtube.com/watch?v=AKOWK2dR4Dg&#038;p=2737D508F656CCF8" class="liexternal">the video</a>):</p>
<p><strong>Q</strong>: <em>There has been a lot of talk about a new operating system aligned with a potential hardware device, coming from Google. We&#8217;d love to see it if that was possible.</em></p>
<p><strong>ES</strong>: OK. How about instead a demonstration of some software.? So, I happen to have here an unannounced product that I carry around with me. That is an Android device, and we have taped over its origin.</p>
<p> You see, this is a placemark [showing a placemark panel, obviously with a tag in it]. The neat thing you could do with this new technology called NFC (which stands for Near Field Communication), and we think that Android should support that. It&#8217;s been around for a while, by the way.What you do is, these are chips that are embedded in things, eventually in clothes to prevent people from stealing. These chips are senders, and we are incorporating support for the reader-writer, so the way it works is you turn this thing on and you basically just tap like that, and it tells you, in the particular case, where you are.</p>
<p>What&#8217;s neat about the NFC chip is that the whole notion of location takes an entirely new meaning, because now I can just tap, I don&#8217;t have to take a picture, I don&#8217;t have to scan a barcode.</p>
<p><strong>Q</strong>: <em>So this is basically gonna be in presumably many of the new Android phones.</em></p>
<p><strong>ES</strong>:  It&#8217;s actually gonna be in the new operating system called Gingerbread that comes out in the next few weeks. So we think that the overall mobile market, which is already extraordinarily excited about these payment systems, will benefit from having those, because it is a secure element, and the secure element really is very hard to steal if you will.</p>
<p><strong>Q</strong>:  <em>So, the secure element allow you basically to do payment.</em></p>
<p><strong>ES</strong>: One way to think about this is that is that it will replace your credit card. The term of the industry is called tap and pay. The theory of the case is that you will be able to take these mobile devices from everybody, to walk into stores, do commerce, you&#8217;ll be able to figure out where you are, again, with your permission, all that kind of stuff.</p>
<p><strong>Q</strong>: <em>Effectively, bump for everything.</em></p>
<p><strong>ES</strong>:  Yes, bump for everything, and eventually, replace credit cards.</p>
<p><strong>Q</strong>: <em>It also turns the phone into a much more powerful form of identification.</em></p>
<p><strong>ES</strong>: It&#8217;s an example of what I have talked about for a while, which is &#8220;mobile first&#8221;. I don&#8217;t think that people understood how much more powerful these mobile devices are going to be than the desktops. You think of the desktop machine as having all this power and tremendous network, beautiful screen, but because these things are so highly personal, and because they are location aware, â€¦</p>
<p><strong>Q</strong>: <em>They also have network</em></p>
<p><strong>ES</strong>: Yes, with LTE networks coming  to the United States, first in the world, for a change, roughly in January-February around the country,  it is a really really god day for mobile.</p>
<p><strong>Q</strong>: <em>With the theme of points of control, it strikes us that one of the points of control is having tons and tons of credit card numbers; Amazon has tons, Paypal has tons, Apple has a lot. Combined with this kind of technology, it strikes me that it could possibly change the game. Do you agree with that, and where does Google stand with that.</em></p>
<p><strong>ES</strong>: Well, we see ourselves as a technology provider in this, we&#8217;re not trying to compete in those spaces, but ultimately this technology is personal, it&#8217;s secure, and it&#8217;s an aggregating technology. So it makes sense that you put everything in it and carry it around. It has to be secure, because it&#8217;s obviously going to be used as money repository.</p>
<p><strong>Q</strong>:  <em>But still, if you are doing payment, somebody is doing the payment processing.</em></p>
<p><strong>ES</strong>: There are industrial partners for all the initiatives in the industry, with very sophisticated payment processors, and regulations, and all </p>
<p><strong>Q</strong>: <em>You expect to be a partner there rather than â€¦</em></p>
<p><strong>ES</strong>: Absolutely. </p>
<p><strong>Q</strong>: <em>But you do have Google checkout.</em> </p>
<p><strong>ES</strong>: Remember, Google checkout is just a piece of this. Payment processors do something different. They actually deal with the merchants, moving the money around, you know with fraud and so forth. The reason why this NFC dhip is so interesting is because the credit card industry thinks that the loss rate is going to be much better, because they are fundamentally more secure. And ultimately, the money that brings us all to this wonderful venue comes out of commerce in one way or another; advertising in Google&#8217;s case. My guessis that there will be 500 new startups in the mobile payment space as these platforms emerge, with all these new and interesting things that we can do.</p>
<p><strong>Q</strong>: <em>What I&#8217;ve been fascinating by is the idea that this is gonna change is shorten the loop between the search and acquisition of a product. Right now, we see this in buying an app: you search for the app and then you buy it on the phone. But this really makes it possible in the real world. You can search for something, and â€¦</em></p>
<p><strong>ES</strong>: But, forget search. Well, I shouldn&#8217;t exactl say that, but that&#8217;s a joke. Imagine I am walking down the street, and instead of typing my search, my phone is giving me information all the time, and it happens to know that I need new pants or something. You can imagine all sorts of linkages between autonomous search, and location-based search, where you are, where your favorite stores are, what your preferences are, again if you opt in to these situations. Its likely to drive a very very large mobile commerce business and mobile e-commerce business.  And the scale of commerce is 14 trillion dollars, which is the global GDP,  so some large amount of money is to be gotten in these new platforms over time.</p>
<p><strong>Q</strong>: <em>And you can really how this could be a fabulous tie with groupon, because it tells you that there is a crowdsourced offer.</em></p>
<p><strong>ES</strong>: Again, if you look at groupon as a very good example of a very very successful local merchant, they today use e-mail as their primary acquisition mechanism, but they have competitors which are using other techniques. What we know is that people like a deal.</p>
<p><strong>Q</strong>: <em>One last question on Android. What are you dissatisfied about with regard to the platform, and what do you think need to be fixed, if anything.</em></p>
<p><strong>ES</strong>:  You score Android against the historically leader in the space, which is the iPhone, and I do this as a proud former board member of the Apple world. There is a set of things that the iPhone really did a brilliant job of bringing out in a closed system. Brilliant design, the app store, the platform and so on. So most people judge Android by how we are doing relative to that. And it&#8217;s clear that from a reach, choice, and so forth, we are in great shape. The next real focus is at the applications layer. So I think that if I want to be critical, I would have liked to put more emphasis on the application side earlier. It&#8217;s hard, because remember, the application decisions are made based on developers, who do it based on volume.  So you have to establish volume first, which is something that I think we have done with Android. And for all of these players at the third-party level, and again I know that we have a lot of developers here in the audience, it&#8217;s fundamentally about the math of the platform.  So we understand platforms very well, we think that Android will be, if not the leading platform, a leading platform.</p>
<p><strong>Q</strong>: <em>That brings up a question that I have been thinking about. As there are more and more applications, it becomes a search problem to figure out which one to choose, and that&#8217;s one of your sweet spots. But you don&#8217;t have some of the same mechanisms  for identifying the best apps. How are you thinking about search as a competitive advantage as the application space grows, where the Android Market is the Google of the app space?</em></p>
<p><strong>ES</strong>: We don&#8217;t think of it as a competitive edge, we just try to do it better, and the competitive environment will win. As a comment, I think people are obsessed with the competitive landscape, where what they should really be focusing on is how much bigger the market is getting. And because it&#8217;s, including the leadership that you guys did with Web 2.0 so many years ago, this is a very large universe, that is getting much larger very quickly, bringing more and more people into it. So the competition is healthy, what&#8217;s really happening is you&#8217;re growing the market. So with respect to the applications and application search, there&#8217;s all sorts of interesting ways of doing that; Admob, for instance, is doing on the order of a billion ad impressions a day now, and that kind of information, in theory, is useful as part of a search problem, because ads have a real value, and we really believe that.  There are many many ways in which the information people are using, usage patterns, can be used to provide better choices. But you&#8217;re correct that these markets tend to overcorrect; They have millions of apps, whatever, but then ultimately, the leaders emerge. </p>
<p><strong>Q</strong>: <em>One of the things that Steve and Apple did right is the about divorce from the carriers, the ability to pretty much say: I don&#8217;t want your stuff on my phone. Do you think that Android is ever going to be truly free of that â€¦</em></p>
<p><strong>ES</strong>: I certainly hope so, in the sense that the Android model is different from the Apple model, very distinctly on pretty much every point. It&#8217;s open system vs. Closed system, and closed systems have their advantages, and open systems have their advantages. Google made a bet on open systems. We are willong to let the vendors, the carriers, and so forth, set their pricing, set their distribution terms, and so forth. I think that &#8216;s the right model. </p>
]]></content:encoded>
			<wfw:commentRss>https://javacard.vetilles.com/2010/11/16/schmidt-on-android-and-nfc-a-dream-come-true/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
