7 ms·
The authors don't know much about cheap smartphones. I examined a cheap Android tablet's ROM dump and it had a backdoor that would allow manufacturer to install
by codedokode 7y ago
The authors don't know much about cheap smartphones. I examined a cheap Android tablet's ROM dump and it had a backdoor that would allow manufacturer to install any application remotely and an adware that would activate about 2 weeks after turning the tablet on and show ads above browser window (so that the user thinks that it is an ad from a website).
If the user tried to delete adware, the backdoor would reinstall it. The backdoor would not activate if the phone is in China.
I downloaded ROM from the link at the manufacturer's website to make sure it is really built-in into the ROM and the tablet was not infected by virus. Either manufacturer or those who made the ROM pre-installed backdoor to earn money from clicking on the ads.
Also on a Russian forum about smartphones I saw similar reports about other cheap models.
UPD: I googled around and it seems that the backdoor (named Cosiloon) has been found and described by antivirus vendors:
- https://news.drweb.com/show/?i=10345&lng=en https://news.drweb.com/show/?i=10345&lng=en
- https://www.androidauthority.com/cosiloon-malware-android-devices-869407/ https://www.androidauthority.com/cosiloon-malware-android-de...
- https://blog.avast.com/android-devices-ship-with-pre-installed-malware https://blog.avast.com/android-devices-ship-with-pre-install...
When I found it, there was no information about it anywhere.
- pmlnr 7y agoYep. I had a Nomu S10 which got a Triada infected OTA (!) from the manufacturer. For those unfamiliar with this: Triada, and it's relatives infect zygote, the java bootstrap system on Android. From there on rooting on it's own can't help, because the process binary is changed, so unless you can replace it with an uninfected one, it's gone. If there are ROMs out there without the infection, flashing helps.
- milankragujevic 7y agoIt's also kind-of not fair to blame only the brand/manufacturer, they are complicit -- yes -- but no the only party to blame. I work for a company that, in between other things, develops and sells Android devices (TVs, tablets, phones, watches, etc.) We buy a design from a Chinese developer, customize it, add apps and other "value-add" bulls*it, and then import the manufactured products and sell them. The problem is, we recently found malware in the OS images which were provided by the manufacturer/developer, and traces back to Mediatek themselves, but we were not made aware of it. On request, the developer removed the malware and we sent an OTA to all devices of most models that removes the malware. The point I'm making is that in many cases, the backdoors and spyware aren't even provided by the company that sells the phones, they are usually secretly put in much closer to the actual manufacturer/developer of the device and/or SoC.
- pmlnr 7y agoI blame automatic OTA, not the manufacturer. There should be rigorous virus scanning of each OTA before sent to the customer and even then it shouldn't be allowed to be automatically installed.
- milankragujevic 7y agoGoogle actually serves the OTA for most devices, meaning they can "see" and check for malware. The files are stored on and downloaded from their serves. Given the "rigorous" testing the apply to devices before they get Google Play certification, I assume they could revoke the certification remotely if malware is detected in an OTA, or even reject the OTA binary.
- deleted 7y ago[deleted]
- ryukafalz 7y ago>It's also kind-of not fair to blame only the brand/manufacturer, they are complicit -- yes -- but no the only party to blame. I blame the manufacturer for two reasons. First, because they're the highest level in the chain that's likely to have any knowledge of this stuff. Second, because they're the one selling it to consumers, and they have a responsibility to their customers to perform due diligence regarding the software they're including with the device. If batteries start exploding, the device manufacturer can't just throw up their hands and blame their suppliers. The same is true of software. Yes, that probably means accepting huge binary blobs from the ODM or SoC manufacturer puts the company selling it at risk. They can choose to accept that risk, or they can demand better. They have a whole lot more influence on the process than us consumers do. (There are precious few options for consumers. I'm holding out hope for the Librem 5 and PinePhone here.)
- milankragujevic 7y agoOkay, that is a fair point. In the EU, thankfully, we have laws that protect consumers from such incidents, including malware and faulty software, and the party selling the device is the responsible one, no matter what the EULA/TOS/LOL/etc. say.
- milankragujevic 7y agoI share your concern and findings. Famously, Nokia (HMD Global), also had apps that could perform such functions, developed by Evenwell Digitech Inc. I wrote about it here -- https://news.ycombinator.com/item?id=17329825 https://news.ycombinator.com/item?id=17329825, though it didn't gain much traction for a while. In the end, Nokia (HMD Global) appologised, and said that the apps were mistakenly included in global phone versions (they're supposed to be China-only), but they are being investigated by the Finnish DPO. -- https://uk.reuters.com/article/uk-finland-telecoms/finland-to-investigate-nokia-branded-phones-after-data-breach-report-idUKKCN1R20XO https://uk.reuters.com/article/uk-finland-telecoms/finland-t...
- ignoramous 7y agoThe Nokia phones you investigated [0], were they on Android One? [0] https://news.ycombinator.com/item?id=19449824 https://news.ycombinator.com/item?id=19449824
- milankragujevic 7y agoNo. Officially, no (i.e. not branded as such).
- rjzzleep 7y agoWhen people buy a cheap Android phone, I always recommend that you take a look at the xda-developers form [1] to see if there is a custom rom available. For some cheap phones even without the backdoor the some system components are unstable leading to a subpar experience. [1] https://forum.xda-developers.com https://forum.xda-developers.com
- 0b0001 7y agoDid anybody have a look at those custom ROMs, with sources from random repositories, modified by anonymous people, build on public build servers, distributed on random file hosting services? Are they trustworthy?
- userbinator 7y agoThe community is not stupid, it only takes one person to find out and tell everyone, and then the one doing it gets quickly ostracised. The centralised (corporatocracy) version of "trust" that is prevalent today one of the biggest obstructions to freedom IMHO.
- SmellyGeekBoy 7y agoThis is what I like about LineageOS. I may not have the time or inclination to build it myself, but it's "open enough" to meet my standards, especially compared to the closed ROM supplied by my phone's manufacturer (OnePlus, FWIW).
- 0b0001 7y agoI'm not implying they are, my question was honest. I once tried to see where the binary ROM actually came from, and met an astonishing lack of information. Granted, it's a model that isn't really supported. But it felt that the community is far away from having plausible sources and builds. I can understand that ultimately this begins with kernel sources that are already just a ZIP archive on some website.
- JohnFen 7y ago> Are they trustworthy? Most are, yes, and the community is pretty good at pointing out the ones that aren't. But the real question is are they any less trustworthy than Google itself and the phone manufacturers? From what I've observed, they are more trustworthy that that crowd.
- shadowprofile77 7y agoHonestly curious, how would one examine their phone's ROM dump? Asking as a non-expert on this here.
- codedokode 7y agoIt is often available for download at the manufacturer's site. In my case, I first connected to the tablet using ADB and examined files in the filesystem, found suspicious packages, decompiled them and later checked ROM dump to verify that the backdoor is pre-installed. Some chipsets (like MediaTek) support "uploading" data from device storage to PC using a proprietary Windows utility and USB cable.
- danaris 7y ago> using ADB ...Presumably that's not the very-obsolete Apple Desktop Bus, but what ADB is this?
- dragonwriter 7y agoThe Android Debug Bridge https://developer.android.com/studio/command-line/adb https://developer.android.com/studio/command-line/adb
- danaris 7y agoThanks! I've seen the abbreviation a few times before and been a bit puzzled.
- codedokode 7y agoADB is a CLI tool made by Google [1]. You download the tool and Windows driver from Google, then you edit USB VID/PID in driver's config so that it matches your device, then you install drivers, conenct device using USB and use adb command line tool. [1] https://developer.android.com/studio/command-line/adb https://developer.android.com/studio/command-line/adb
- deogeo 7y agoIt never ceases to amaze how malicious manufacturers can get, installing so many anti-features, without breaking some law and going to jail. Imagine if a real-estate agent kept breaking into houses he sold (through extra doors only he has the key to), and when people complained, he'd point to some fine print on page 23 of a contract you didn't even sign - it was just posted on the door, after you bought the house, stating that entering the house constitutes agreement. There'd be a million laws against it in a heartbeat.
- 1f60c 7y agoI get your point and I agree with you, but to be fair, spotting a physical backdoor would be a little easier than a software one, and I think that’s why there are no laws against it—people have no idea this is happening.
- deogeo 7y agoBut once those backdoors are found and reported, nothing happens. Unless you're a regular schmuck who 'hacks' by guessing a URL - then you get raided by the FBI and do hard jail time [1]. [1] https://en.wikipedia.org/wiki/Weev#AT&T_data_breach https://en.wikipedia.org/wiki/Weev#AT&T_data_breach
- userbinator 7y agoEven companies that used to be considered trusted by most people are doing it --- just look at Windows 10 for example... full of ads and telemetry which are nearly impossible to disable, thanks to that backdoor known as "Windows Update" which can easily revert all your changes (and is itself Hydra-like to disable.)
- lr4444lr 7y agoUntil data storage becomes recognized legally as a kind of real property, your outrage won't matter. Most law is concerned only with computers as an extension of simpler technology, and the data as IP. There isn't any concept of people's "lives" being on these devices.
- m-p-3 7y agoSeriously, Google should act more harshly on those devices, to the point of making them lose their Google Play certification and trigger a SafetyNet non-compliance.. This kind of shit shouldn't fly.
- codedokode 7y agoI don't think that cheap tablet had any certification, but it had Google Play.
- non-entity 7y ago> I examined a cheap Android tablet's ROM dump Can I ask how you did this? Did you have to physically remove the ROM from the board and read it with some sort of chip reader? Or is there an interface to read the ROM into a dump without any damage to the board
- h4waii 7y agoHonestly, the easiest way is to simply download the ROM or a full non-delta update from manufacturer, unpack it, and start decompiling. Another option if you are able to unlock the bootloader is, using a custom recovery, to create a tarball of each partition and unpack and start decompiling.
- codedokode 7y agoI found suspicious application (with name like ePlayService or eVideoService, don't remember exactly) in app list, then connected using ADB and examined the filesystem, and decompiled suspicious packages. Then I downloaded ROM from manufacturer's site to make sure that the backdoor was there too. Also I checked signatures on applications to exclude unmodified third party apps like Youtube and check only those with unknown signatures. This is where I found that the manufacturer signed their system applications using publicly available Android test key (which means device is vulnerable because anyone can make an app signed with that test key and gain high privileges on device). Also, some chipsets (like MediaTek) allow downloading storage contents to PC using proprietary Windows application.
- non-entity 7y agoHuh, I'm surprised that manufacturers of cheap android even bother providing downloadable firmware,I might pick up a cheapo android and play around with it.
- qazqwert 7y agoi woulden't say that's much of a cheep phone issue as much as it is china issue... but yeah it's a big problem.... but techs can pretty esily remove this backdoors even if regular users can't...