mwiacek.com | ColorColor | Mobile |
English
App - APN App - Gammu App - Gammu+ » Gammu+ internals App - ISTQB Glossary App - MyGnokii App - Sobieski App - True Fenix
Facebook (priv)
Chrome code (new/Gerrit)
Firefox Preview c/i Polski App - APN App - Bryły App - Historia polska App - Poczytaj mi tato App - Przepisy drogowe App - Słownik ISTQB App - Sobieski App - Straż
Artykuły i pliki
Praca dyplomowa
App Store Categories Acer (4) AMD (13) Android (84) APN (5) Apple (28) App Store (6) benchmark.pl (19) chip.pl (7) CHM (5) Chrome (5) dobreprogramy.pl (95) drogowe (40) English (130) English article (23) English blog (99) EPUB (7) Firefox OS (3) Fizyka (4) Gammu (62) Gammu+ (49) GSM (151) Hyperbook (10) ISTQB (3) jQuery (3) jQuery Mobile (3) książka 1 (6) książka 4 (97) License (4) Linux (33) Linux+ (1) MyGnokii (6) Nokia (30) NTFS (2) OS (41) PDF (5) poczytaj (1) poem (3) Polski (233) polski (239) Polski artykuł (58) polski blog (238) Polski blog (176) rysunki (2) S.F. (14) salon24.pl (180) Sobieski (8) Spider's Web (17) Straż (7) Tizen (5) TrueFenix (4) Ubuntu (5) Vista (5) WAT (1) wiersz (94) Windows (61) Windows 7 (11) x86 (115) Top 10 N82 review (2008) (201311) Przepisy drogowe (2012-2021) (153196) English articles and files (148864) Polskie artykuły i pliki (145464) Timeline 2024-08 (1) 2024-01 (1) 2023-12 (1) 2023-11 (1) 2023-03 (5) 2023-02 (1) 2023-01 (13) 2022-12 (9) 2022-11 (10) 2022-10 (12) 2022-09 (14) 2022-08 (4) 2022-07 (3) 2022-06 (4) 2022-05 (3) 2022-04 (9) 2022-03 (11) 2022-02 (9) 2022-01 (5) 2021-12 (6) 2021-11 (13) 2021-10 (11) 2021-09 (11) 2021-08 (4) 2021-07 (5) 2021-06 (12) 2021-05 (3) 2021-04 (4) 2021-03 (4) 2021-02 (5) 2021-01 (4) 2020-12 (4) 2020-11 (5) 2020-10 (1) 2020-09 (9) 2020-08 (5) 2020-07 (2) 2020-06 (1) 2020-05 (6) 2020-04 (3) 2020-03 (2) 2020-02 (2) 2020-01 (8) 2019-12 (2) 2019-11 (11) 2019-10 (1) 2019-09 (3) 2019-06 (1) 2019-05 (1) 2017-12 (2) 2017-11 (2) 2017-10 (2) 2016-01 (1) 2015-09 (2) 2015-08 (1) 2015-06 (1) 2015-05 (1) 2015-04 (1) 2015-03 (2) 2015-01 (1) 2014-10 (1) 2014-09 (2) 2014-07 (2) 2014-06 (5) 2014-05 (7) 2014-04 (3) 2014-03 (9) 2014-02 (5) 2014-01 (8) 2013-12 (7) 2013-11 (4) 2013-10 (10) 2013-09 (5) 2013-08 (9) 2013-07 (5) 2013-06 (1) 2013-05 (2) 2013-04 (3) 2013-02 (3) 2013-01 (7) 2012-12 (5) 2012-11 (5) 2012-10 (7) 2012-09 (2) 2012-08 (2) 2012-07 (2) 2012-06 (1) 2012-05 (2) 2012-04 (4) 2012-03 (6) 2012-02 (2) 2012-01 (3) 2011-12 (1) 2011-11 (1) 2011-04 (2) 2011-02 (2) 2011-01 (3) 2010-12 (5) 2010-11 (1) 2010-10 (2) 2010-08 (1) 2010-07 (2) 2010-06 (3) 2010-05 (9) 2010-04 (11) 2010-03 (14) 2009-12 (4) 2009-11 (2) 2009-10 (2) 2009-05 (1) 2009-03 (1) 2009-02 (1) 2009-01 (1) 2008-07 (1) 2008-05 (1) 2008-04 (1) 2007-12 (3) 2007-11 (2) 2007-10 (2) 2007-09 (3) 2007-08 (1) 2007-07 (2) 2007-06 (4) 2007-05 (4) 2007-04 (2) 2007-03 (5) 2007-02 (3) 2007-01 (6) 2006-12 (5) 2006-11 (5) 2006-10 (4) 2006-09 (2) 2006-08 (1) 2006-07 (6) 2006-06 (3) 2006-05 (2) 2006-04 (5) 2006-02 (1) 2006-01 (2) 2005-12 (1) 2005-09 (1) 2005-07 (1) 2003-11 (1) 2003-09 (5) 2002-11 (2) 2002-10 (14) 2001-07 (1) 2001-05 (2) 2001-01 (1) 2000-10 (1) 2000-07 (1) 2000-06 (1) 2000-03 (1) 1999-06 (2) 1999-04 (2) | Comment about Geimini - quo vadis Android... (2011, version 1.1) English Linux GSM English article OS Android Updated version 2.0 of this article is available here "New Android Trojan... It contains botnet capabilities... It's stealing many user data..." - many sites were writing such alarming notes about Geimini during last weeks (including Mobile-Review). I would like to make short study and check, if Android is protecting good enough user data and privacy or not. For tests I will use Samsung Galaxy S with Android 2.2.1 "Froyo" (ROM JPY, XEU variant), I will also base on some information for example from hacker conferences (like DEFCON). Default settingsAndroid phones are connected very close with Google accounts (you can synchronize for example contacts and calendar). It isn't very big problem for privacy - you can use account created for this occasion only and you can disable synchronization with it:
and finally disable "Menu -> Settings -> Accounts and sync -> Auto-sync" The same is with phone number displayed in "Menu -> Settings -> About phone -> Status". You can simply disable it - it's enough to enter "Contacts -> Settings -> Own numbers", delete all entries and restart phone. The real problem in my opinion starts with localization. In the Android 2.2.1 (Froyo) you can track user with three main technologies ("Menu -> Settings -> Location and security"):
When you enable first of them, you can see: And now the most interesting thing - there is added GPS button on the "Notifications" screen. Described setting is not disabled with it (and it looks, that you don't have API for it and you can't easy write software for it). How many users will stop disabling it because of it ?. Another thing - in Android 2.1 in the camera menu there was option for disabling location tagging in pictures, in 2.2 it disappeared (tags are added now, when you will activate something in the "Menu -> Settings -> Location and security"). There are some interesting details in the default browser too:
Of course it's possible to use other browser or change some of these things. From the other hand - default application will be still in the system. In the tested Galaxy S there was one additional problem with settings - they were reset from time to time to default (and passwords and location options were activated again). Screen can be locked with different methods (pattern, PIN or password) and this is good... But on such screen you can read SMS, when it will be received. I believe, that Android should have option for disabling it. Another small thing - memory cards are using FAT filesystem. It was done probably because of compatibility with Windows. But even in such situation - maybe it would be good to add option for mounting only part of such memory ? (concrete folder) And additionally give option of mounting in read-only mode ? Third party companies want to take user data too - for example Samsung needs user email and birthday data in the menu for checking for OTA updates. When you will compare Android to other systems, you will see, that in many places it needs connecting to Google servers too. For example such Google Maps (version 5.0.0.0) - local cache seems to be deleted from time to time (at least in Galaxy S) and searching way from point to point is 100% online. The same with Voice Searching... My comment: situation looks quite good, but is not ideal - some settings in this system were made rather for collecting data about users (not for protecting user privacy). In the future we will see probably more such things - data will be collected, because companies later are using them for various things. UpdatesAndroid 2.2 "Froyo" was announced on 19-20 May 2010, first official build was delivered to some (only some !) Polish users of Galaxy S on 9 November 2010. I will remind - Republic of Poland is country in the Europe with about 38 millions of people and this is flagship Samsung phone sold in various variants in more than 10 millions units. Similar situation is with devices from other companies - for example flagship X10 from Sony-Ericsson was sold over months with archaic Android 1.6. I could give many examples (for example very good article about number of updates between Android 2.1 and 2.2 in the USA was present last time in the Computer World), the only one devices updated immediately are Nexus One and Nexus S (but they cost sometimes "a little" more). Why I write about it ? Each new version of system doesn't only change functionality, but also fixes some known flaws in the security. Example - exploit for some older Android versions (and bug in WebKit engine used in system browser) is not working in release 2.2. How do you think - would be acceptable for you having in your desktop some security bugs for 6 or more months ? In the Android world this is very popular... I'm afraid, that some users (especially non-technical) will start thinking: "Android is not updated, is buggy and is based on the Linux. Because of the last reason Linux can't be treat as mature solution and it can't be used anywhere". I will say clear, that this is not true thinking and people creating Linux kernel are still in the conflict with the Google company. Conflict makes, that Google changes are not in the main kernel tree, additionally each company producing Android device is putting own version of kernel on own page (or at least should be - according to the Matthiew Garrett from the Red-Hat company it was done for about 19 devices from 130 checked). In short words - "real" Linux distributions and Android are using almost the same core in totally different way. Let's go further - there is still sold Samsung i5700 Galaxy as new device. It will not get official Froyo...but after short searching you will see, that there is such "unofficial" alternative from the Cyanogen. It's working and it's 2x (in Quadrant Standard) or 4x faster (in BenchmarkPi) than version 2.1 from Samsung. How many users will resign from using such update ? None ? I agree - it's nice, but it's the matter of time only, when some of such mods (or some of their copies) will contain malicious code. There are many ways, we can see soon for example ROMs with SSH clients, which will allow for access to phone from outside (like it happened in the past in some Apple phones with jailbreak) How companies can protect against it ? One of solution is using such methods like using encryption/checksums. This is done for example by Motorola, some steps for it were done in Galaxy Tab. I have feeling, that it will be used more and more often when platform will be more popular.... We will have such situation then - more and more people will use "old" (from companies perspective) devices with problems, because won't have money for new one with new one "revolutionary" system version. In the Android there is unfortunately another problem - official system builds don't always inform users about all available updates. I have notified it in tested Galaxy S after updating to the 2.2.1 version - I have seen proposed updates for Google Maps (to the version 5.0.0.0), YouTube (to the 2.1.6), there was also added Street View on Google Maps 1.6.0.6 and Market 2.2.7, but...I had to search in Market for Gmail, Layar, Voice Search, Google Search, Flash Player 10.1 (5 applications !) and update them manually. It was so important, because my old Flash Player was originally in version 10.1.92.8 and according to the security bulletin number APSB10-26 it could leave opened security hole... Do you see some irony ? Adobe, which was criticized many times for lack of updates, is delivering them and Google (company, where "first goal is to keep Google users safe") can't force it in the Android ecosystem. Can we do something with this ? I see only one option in this moment - installing Appbrain from the Market and after clicking on the "Manage and Sync" checking for Market info for all installed "default" programs. Not very useful, but better than nothing. In the mentioned Galaxy S I had some doubts related to some other programs added as "bonus" too. For example ThinkFree Office (in the Market available as ThinkFree Office Mobile) - "my" version was 2.0.1011.01 (after clicking inside on the update option there was nothing found), version from Market 2.0.1110.01. Bug ? And now the most interesting - with this Office in this phone I found at least 4 places for checking for updates:
First two could be run manually only, in the next two you don't have clear information, when they're checking for updates. My comment: selling devices with security holes is reprehensible, Android definitely needs receiving security updates for system applications (like Messages) during few years after putting some version on the market. They must be released immediately in my opinion by Google (something similar like in desktop Windows/Linux distributions or at least Windows Phone 7/Apple products). It would be good to have one place for managing all updates and "check now" button too. Applications privileges (without root)Let's say, that we want to download some application from the Market - after opening page with it we can see, what it will do: It's quite good described and we can resign in this moment from using it. In this concrete example (screenshots) there was used antivirus Free AVG, which naturally can need all these features. There is button "More". Let's click on it - you get another screen: These are the same permissions, but in different order. Why ? When you will scroll to the bottom, you will see "Show all". Let's click on the symbol on the left: New permissions ! How many users are checking it all and why it isn't more simple ? According to the presentation from DEFCON 18 (hackers conference) "THESE AREN’T THE PERMISSIONS YOU’RE LOOKING FOR" it's possible to-do by applications such actions without displaying any info about required permissions like:
In in the same presentation it was shown too, how with READ_LOGS privilege it's possible to get access at least for part of SMS or localization data. You can protect yourself from running applications on system startup (using various methods - for example by "killing" processes like it's done by Startup Cleaner 2.0). But what with other ? My comment: the weakest link here is of course user installing some software. But this time not in 100% and I believe, that method of informing people about software actions should be changed to be more precise and clear. Maybe there should be added option for blocking some of them ? Or asking users for permission like in (infamous) UAC ? Application privileges (with root)There is one interesting topic when we speak about Android - rooting devices (getting access to the account with admin functionality). It's done from various reasons like unlocking full device potential or fixing bugs available in official releases. To be clear about last point - Froyo added creating screenshots in any place by pressing Back + Home buttons. At least in theory in any place... I found at least two screens, where it doesn't work - Market (during displaying application privileges) and OTA menu ("Menu -> Settings -> About phone -> Software update"). And what is interesting ? 3rd party applications for this task require root. People will not resign from rooting in my opinion - it's too attractive. How to get it ? Each new version of Android is based on known kernel version and this contains known vulnerabilities. The same is with some system libraries. In the past you could find applications for rooting devices with one click in the Market, currently Google is removing them. From the technical side - proposed currently methods of rooting Galaxy S is CF-Root (flashing modified kernel) or SuperOneClick (using rootkit identified as Exploit.Linux.Lotoor.g by Kaspersky software - it's using some vulnerabilities in the Google adb application). Earlier it was much more "safe" - after compiling required applications (like su) for ARM platform it was enough to upload them to the phone using update.zip (so called Android System Recovery was in version 2e and allowed for flashing content from unsigned files). Majority/all of root packages allow for controlling, which applications will get "super" access. There is only one "small" problem - nobody is controlling them. And there is one "big" problem - all anti-virus software for the Android platform doesn't have "root" privileges (at least everything points on it). Can it combat effectively malicious code ? Threat is big and you should remember, that sometimes for example email passwords in internal databases are saved in plain text. It was interesting article about it created in the Android Central and there is quite long thread about it in the list of official Android bugs. There were some reasons for making it, but it's good point showing, that Android devices can't be used for more professional tasks or in corporate environment (where is required very strong security). They simply don't have filesystem encryption, there are some problems with NTLM support, etc. To make things clear - on the DEFCON 18 it was shown "This is not the droid you're looking for..." presentation. It proved, that creating invisible to user rootkit is quite easy. There was shown example of building application able for example for sending SMS or localization data after calling concrete phone number... My comment: the weakest link is again user (giving control over device to the unknown software). From the second hand - people are expecting such functionality like in desktop systems and this rabbit can't be closed in the hat. Maybe companies can sell smartphones using the same business model ? And stop with some of current "protections" ? It will maybe decrease profits per unit, but will make mobile revolution much bigger. Always online ?Smartphones are created for giving continuous access to the Internet over cellular network or Wifi. It's comfortable, but it looks, that with current technology it's good to cut off these connections - not only because of the security but also because of battery energy saving. "Plain" Android in version 2.2.1 has got basic options for it - there is Wifi button on the "Notifications" screen, it's possible to disable Wifi too when screen is off (you should enter "Menu -> Settings -> Wireless and network -> Wi-Fi settings", click on "Advanced" and set "Wi-Fi sleep policy" for "When screen turns off"), similar is with data transmission over cellular network (you have for example option "Data network mode" when you press Power button). This last option makes even too much in my opinion - in the tested Galaxy S it was disabling MMS too (they were set using access point with MMS type of course). This issue makes, that I will suggest using for disabling data transmission for example "classic" Android application APNDroid from the Market: What if you would like to enable Wifi automatically from time to time ? In the Market you have few applications for this task (like Service Manager), I have found only one working with Galaxy S (NetSchedule). It can few other things too (like enabling Bluetooth)... In the Android device you have also SMS and MMS - they're supported by system applications and I was writing already how "often" they're updated. For curious people - Android had known security issues here at least in the past. It's confirmed for versions 1.5 and earlier and described in the presentation "Attacking SMS" from the BlackHat conference (another hacker's meeting) in 2009. New phones can work as Wifi access point and tether Internet from cellular network connection. What I could suggest here ? Adding setting Wifi power level (similar option should be visible for "normal" Wifi connections too)... My comment: it's good here, but I think, that system should have scheduler (place, where you will be able to setup, what and when will be enabled, when applications will synchronize data, etc.) Maybe wall ?Another problem - Android doesn't have even the most simple firewall application (nobody is controlling, when and when applications are connecting. How to resolve it ? In the Market you can find application DroidWall, which can disable/enable data transmission from concrete applications over cellular network and/or Wifi. It can be done using white (we allow for set rules) or black list (we block set rules). Where is the problem ? Application requires root (what irony - program for increasing security needs breaking security ;)) and can not work in phones with kernel without compiled iptables support. Additionally you can't set concrete rules (for concrete ports). If you want to see, where applications are connected, you can use for example OS Monitor from the Market. It will show info about processes, network interfaces, opened connections and some other... My comment: Android definitely needs firewall because of poor updating... Market issuesDefault Android shop has got some issues too. First is providing different sets of applications in different countries (users are trying to use workarounds, which require root and this is connected with earlier described issues). Second is visible after last Market updates - we can return application in 15 minutes (earlier it was 24 hours), it can be 50 MB big and you don't have way to check device compatibility with it. Some problems happen for example, when application after buying from Market starting downloading additional and sometimes big content. It can need more than 15 minutes. What will do users, which bought some programs and were not able to use them ? I think, that some of them will start download such applications from other places and it's matter of time only, when they will contain additional malicious content. There is very long thread about it on the list of official Android bugs. My comment: problem is in Google strategy, but also in users actions and way of creating some applications (they could naturally check on start, if can work on concrete device and later download content). SummaryMobile devices will be more and more interesting for people stealing some data and Android will be probably the most interesting for them - it's growing the faster (according to the Garther it had 3,5% of market in 3Q 2009 and 25,5% in 3Q 2010). Android in my opinion is very attractive from user perspective (many applications and functions, nice interface, etc.), but it contains some real problems in security/business model. In simple words - even when you will use only Market applications and will not root phone, your data can be stolen. You can have of course different opinion - it's your right ;) |