Sunday, 19 June 2011

Lookout opens unwanted data connections all by itself and punches holes in DroidWall


If you switch off mobile data in the Android settings menu or with widgets like Dazzle or Extended Controls you'd expect your data connection to stay quiet, even after a reboot. You definitely don't want apps to switch it on behind your back.

But when I reboot my phone I always see network traffic in the status bar, and my Dazzle data indicator turns green. After a few seconds the rogue data connection switches itself off again. If you don't keep looking at your screen you'll probably never notice that something phones home upon boot.

Of course I wanted to know how the data connection got switched on, which apps used it, and how to put an end to this. Testing conditions: Motorola Defy running Froyo, installed apps include DroidWall (with a long list of blocked apps), AdFree, and Lookout (not set as device administrator, which didn't make any difference). Mobile data was switched off before rebooting with either Dazzle, Extended Controls, Quick Settings, or WidgetSoid. I didn't use the APN rename method, just the plain data switch.

Even though mobile data was supposed to be off I always found traffic by mobile virus scanner Lookout. Other apps went online too, even though DroidWall should have blocked most of them. This is possible because DroidWall doesn't block anything until it has written its iptables. Blocked apps can go online in between booting your phone and DroidWall doing its thing if there is an open data connection.

The apps that hitched a ride were GO SMS Pro and Make Your Own Clock Widget (both bypassing DroidWall), YouTube, and GoogleServices Framework. The latter includes the calendar and contacts sync adapters. Of course I had syncing switched off but Google doesn't care about that. Other apps may also sneak unwanted traffic through if they manage to squeeze in between booting the system and DroidWall getting out of bed.

GO SMS Pro, Make Your Own Clock Widget, YouTube, and the Google Services Framework didn't go online at every restart, but often enough to notice. I guess they sometimes woke up in time to hitch a ride, and sometimes started late and found a closed connection. But Lookout always managed to go online in the few seconds that the rogue data connection was live. Maybe it activated the connection by itself?

To verify that Lookout was the guilty one I rebooted my phone a few times with Lookout uninstalled or frozen with Titanium. Without Lookout my data connection never activated by itself, and I didn't detect any stowaway data traffic from the other apps. With Lookout defrosted or reinstalled the unwanted traffic came back. Not only from Lookout, but also from the apps that hitched a ride.

Lookout may have good reasons to switch data on by itself, such as phoning home if your phone gets stolen so you can lock it or wipe it remotely. But Lookout has no reason for not including an off switch. If you only use the virus scanner part of the program there's no need for Lookout to snoop online on startup.

It's ironic that an antivirus program causes blocked apps to leak data. An internet connection that starts up by itself before apps like DroidWall or LBE Privacy Guard wake up is a major security problem. It can also lead to unpleasant surprises on your phone bill if you're traveling abroad and pay a fortune for international data roaming.

You can prevent unwanted data connections with apps like APNdroid, the APN renaming switches in Quick Settings and Widgetsoid, or by any other method that renames your access points into something unusable. But this defeats the purpose of Androids built-in off switch that doesn't rely on the clumsy workaround of renaming your access points.

I'll try some alternatives to Lookout to see if there's a good security app out there that doesn't open the doors when it shouldn't. Stay tuned!

Update: I ditched Lookout for avast.


tweet this reddit digg this StumbleUpon digg this digg this

Friday, 3 June 2011

The "read phone state and identity" permission should be split


Does Google care about your privacy? Of course not! That's to be expected from a company that lives from advertising. Google makes money from gathering as much information about you as possible. They have no reason to let you control what information you share and what information you keep private.

Of course they need to pretend that they let you choose, because bad publicity is bad for business. That could explain why Android has some privacy features that are really nothing but a bit of window dressing.

The prime suspect is the "read phone state and identity" permission in Android that many apps request when you install them, even when there's no apparent need for this permission other than allowing advertisers such as Google to spy on you.

The phone state and identity permission is a grab bag of permissions:
- See if there's a call going on.
- Read your phone number.
- Read your phone's IMEI number.
- Read the IMSI number of your SIM card.
- Read the unique device ID that Google assigns to your phone.

The first permission is useful and not controversial. Of course a media player should be told that you receive an incoming call so that it can pause playback until you hang up.

But this innocent permission is bundled with a bunch of dangerous permissions. My streaming media player should keep quiet during phone calls, but it doesn't need to know my phone number.

IMEI, IMSI, and device ID may seem innocent at first, but they're not. The phone identy permission is the wet dream of all advertisers and spammers. These numbers can be used to track you, and unlike web browser cookies there's no way to opt out. You can delete cookies, but your device ID is permanently tied to your phone, your IMSI identifies your SIM card and cannot be changed, and altering the IMEI of your phone is illegal in many countries. Combined with permission to go online (which comes in one flavour only: "full internet permission") the potential for abuse is endless.

So this permission should be split. The phone state permission should NOT be bundled with permission to read your phone identity.

The phone identity permission should be tuned too. Permission to read your phone number should be separate from the other permissions.

Unfortunately there's no way to split these permissions yet. Apps like LBE Privacy Guard and Permissions Denied only allow for an all-or-nothing choice. Maybe future versions of these programs will allow us to grant phone state permission but deny access to phone identity, or feed bogus identy information to nosy apps?
tweet this reddit digg this StumbleUpon digg this digg this

Thursday, 2 June 2011

Free last.fm for everybody with KLastFM



Update 1: CoboltFM and KLastFM are dead. Last.fm changed things for the worse and pulled the plug on free streaming for almost everyone. Believe it or not, most of the planet can't stream anymore even if they pay. Last.fm refugees can still stream custom radio stations from Grooveshark with Dood's Music Streamer.

Update 2: Liquid Bear still plays last.fm radio on Android.


Last.fm is great, except for one thing. Germans, english and americans can play last.fm radio for free, but the rest of the world has to pay. And even if you pay, you can only stream last.fm on your computer. Outside the UK, USA, and Germany even paying customers are not allowed to listen to last.fm radio on their phones.

Back when I used a Nokia with Symbian I used to listen to last.fm with Skyfire. This browser routes everything through an american proxy server and identifies itself as a standard desktop browser.

But on Android it's even easier: get KLastFM from the market (or straight from the developer) and you can stream last.fm on your phone anywhere on the planet.

Which is how it should be. The internet was never meant to have borders.

KLastFM is far from perfect. Its user interface is a mess, it has a very annoying banner ad that AdFree fails to block, scrobbling is a hit 'n' miss affair, and according to LBE Privacy Guard KLastFM tries to read my IMEI number (the ad banner is probably abusing it as an undeletable cookie). It also sucks your battery dry, but that's a problem of all apps that stream media from the web. On the bright side, KLastFM also streams last.fm radio to your phone without a paid subscription. Also if you're outside the UK, Germany, or the USA.

Update: AdFree and AdAway now block the ads in KLastFM!

• KLastFM (Opera Software)
• KLastFM (developer's site, in french)

Update: for an even better alternative last.fm app, check out CoboltFM:

• CoboltFM: free last.fm on all Android phones everywhere

Update 1: CoboltFM and KLastFM are dead. Last.fm changed things for the worse and pulled the plug on free streaming for almost everyone. Believe it or not, most of the planet can't stream anymore even if they pay. Last.fm refugees can still stream custom radio stations from Grooveshark with Dood's Music Streamer.

Update 2: Liquid Bear still plays last.fm radio on Android.



tweet this reddit digg this StumbleUpon digg this digg this

Wednesday, 1 June 2011

Android Market needs more tabs


The Android Market app has a few built-in tabs (like Top paid, Top free, Just in), but it won't let you make your own tabs.

Since the market app works like a web browser, it could have tabs like a web browser.

Why would you want to make tabs? Because it makes it a lot easier to compare apps! When you search for an app, you get many results for similar apps and you need an easy way to compare them. Same goes for the "related apps" section once you've clicked to an app. I'm sure everybody uses the related apps part to find free alternatives to paid apps.

Comparing apps in the current setup means navigating back and forth a lot. If you could open app pages in tabs you can compare them side by side without losing track.

Of course you could ditch the Market app and open market.android.com in your (mobile) web browser to get tabs, but wouldn't it make things easier if Google would add tabs to the market app?


tweet this reddit digg this StumbleUpon digg this digg this