News for hackers. Stuff that matters.
Re:Popular Google Play store apps are abusing permissions an... by nemothekid on Wednesday April 17, 2019 @07:27PM (#19687322)
>and yea i know you can sideload on android, but the unwashed masses don’t know that so it doesn’t matter.

Then what is your solution? The unwashed masses tried the wild wild west of digital software delivery back in the 2000s. It ended with tears, viruses, UAC and SaaS. Even today, most sideloading, for general consumers, begins with trying to pirate apps and ends with even more invasive spyware.

The locked in store model is better than than what we had before for the general consumer (at least iOS's, unequivocally is, IMO). The App Store might be bad for developers, but it's way better for consumers.

Re:Popular Google Play store apps are abusing permissions an... by 43920 on Wednesday April 17, 2019 @08:50PM (#19687762)
The problem with early 2000's-style software delivery wasn't that you could choose which software to install, it was that there was no separation between programs, so that any random program you installed could add toolbars to your browser, steal all your passwords, etc. If iOS or Android made it easier to install apps outside the store, I highly doubt you'd see anywhere near the same level of problems, since everything is so isolated from each other.
Re:Popular Google Play store apps are abusing permissions an... by tty2300 on Wednesday April 17, 2019 @09:35PM (#19688027)
I would find it acceptable if side loading apps was allowed by default but sideloaded apps are blocked from the dangerous permissions like device admin and draw over screen. Apps that really do require this have to be checked by a maintainer or require the device to be in developer mode.

This way almost everyone is happy because most apps don't really require anything other than internet, camera and GPS which can be denied by the user.

Re:Popular Google Play store apps are abusing permissions an... by floatingatoll on Wednesday April 17, 2019 @10:09PM (#19688178)
Isn’t that what native web apps are for, where you Share > Home Screen and they store themselves in local storage in the browser cache?
Re:Popular Google Play store apps are abusing permissions an... by tty2300 on Wednesday April 17, 2019 @11:24PM (#19688473)
Web apps can't use GPS like an app can
Re:Popular Google Play store apps are abusing permissions an... by stephenr on Wednesday April 17, 2019 @11:59PM (#19688604)
Im generally not a fan of web apps but this is incorrect.

https://developer.mozilla.org/en-US/docs/Web/API/Geolocation

Re:Popular Google Play store apps are abusing permissions an... by tty2300 on Thursday April 18, 2019 @09:51AM (#19690971)
I should have been more specific but my app needs to record GPS with the screen off and with the app not focused which web apps can't do.
Re:Popular Google Play store apps are abusing permissions an... by stephenr on Thursday April 18, 2019 @10:07AM (#19691082)
I guess your app is Android only - I can't imagine this working well on any iOS device, regardless of being a native app.
Re:Popular Google Play store apps are abusing permissions an... by tty2300 on Friday April 19, 2019 @02:14AM (#19697448)
Hm, I'm not sure how iOS apps do it. My app is a fitness app that records activities, the app has to remain running in the background so the recording isn't interrupted.
Re:Popular Google Play store apps are abusing permissions an... by stephenr on Friday April 19, 2019 @03:41AM (#19697771)
It's the background part im not sure about. You can e.g. start Runtastic on an iPhone and it won't close if you switch to Music or messages or whatever but I don't know for sure that it'll be allowed to run in the background for extended periods of time.
Re:Popular Google Play store apps are abusing permissions an... by floatingatoll on Thursday April 18, 2019 @10:02AM (#19691059)
I don’t trust sideloaded apps with background access to both my location and the Internet, so it gives me no sadness to hear this.
Re:Popular Google Play store apps are abusing permissions an... by LoSboccacc on Thursday April 18, 2019 @01:12AM (#19688888)
can't see anywhere mentioned geofencing.
Re:Popular Google Play store apps are abusing permissions an... by stephenr on Thursday April 18, 2019 @01:21AM (#19688919)
That also applies to the comment I replied to.
Re:Popular Google Play store apps are abusing permissions an... by ajnin on Thursday April 18, 2019 @12:48PM (#19692538)
The comment you replied to mentioned :

> use GPS like an app can

that means high resolution location, background updates, geofencing, etc ...

Re:Popular Google Play store apps are abusing permissions an... by LoSboccacc on Thursday April 18, 2019 @01:56AM (#19689035)
fair enough :D
Re:Popular Google Play store apps are abusing permissions an... by gloflo on Thursday April 18, 2019 @03:33AM (#19689370)
Geofencing is just conditionally acting depending on a location. All you need for it is a location.
Re:Popular Google Play store apps are abusing permissions an... by michaelt on Thursday April 18, 2019 @06:27AM (#19689984)
If we want to show users permission dialogs and that let them make good decisions, there's a need for finer grain APIs to allow finer-grain permissions.

For example, for a smart home app asking 'precise location constantly even when not using the app' is sufficient to perform geofencing - but asking for a more limited 'know when you arrive home' is much more likely to get user approval.

Re:Popular Google Play store apps are abusing permissions an... by floatingatoll on Thursday April 18, 2019 @10:01AM (#19691049)
The correct time to ask for the permission is when the user attempts to set up geofencing, at which point the phone OS should present a geofence picker that stores the fence in the OS and notified the app on entry/exit. The app itself has no need to know what the geofence coordinates and radius are, so by implementing the geofence at the OS level you can optionally as app author decline to care what its coordinates are — and thus have no need to request location access at all.
Re:Popular Google Play store apps are abusing permissions an... by dwighttk on Thursday April 18, 2019 @06:27AM (#19689987)
You also need to be able to run in the background
Re:Popular Google Play store apps are abusing permissions an... by nwellinghoff on Wednesday April 17, 2019 @10:36PM (#19688287)
This. Google and Apple should make it easy for computer literate people to use something more advanced. Have the unwashed massed version sure, but then let us override it in a graceful manner instead of having to jump through hoops. Would lead to all kinds of free innovation etc. that they could then take over and profit from. Use the computer literate! WE WILL FIX IT FOR YOU
Re:Popular Google Play store apps are abusing permissions an... by majewsky on Thursday April 18, 2019 @03:09AM (#19689285)
The problem with this is that waaaay too many people consider themselves computer-literate.
Re:Popular Google Play store apps are abusing permissions an... by SmellyGeekBoy on Thursday April 18, 2019 @04:21AM (#19689574)
What? It's already possible for the "computer literate" to sideload apps on Android. That's literally what this whole thread is about?
Re:Popular Google Play store apps are abusing permissions an... by scarface74 on Thursday April 18, 2019 @08:21AM (#19690440)
And everyone says they are an above average driver.
Re:Popular Google Play store apps are abusing permissions an... by codedokode on Thursday April 18, 2019 @02:30AM (#19689161)
> it was that there was no separation between programs, so that any random program you installed could add toolbars to your browser, steal all your passwords, etc.

And for Linux or Windows this is still true.

Re:Popular Google Play store apps are abusing permissions an... by pjc50 on Thursday April 18, 2019 @04:24AM (#19689579)
I believe it's not true for UWP Windows Store apps?
Re:Popular Google Play store apps are abusing permissions an... by raxxorrax on Thursday April 18, 2019 @07:45AM (#19690251)
True, but nobody uses them and there are few examples of useful UWP programs. App-Store on macOS isn't a success story and rightly so.

macOS = useful; iOS = nope

Re:Popular Google Play store apps are abusing permissions an... by Yetanfou on Wednesday April 17, 2019 @07:34PM (#19687361)
The solution is what has been suggested earlier: allow users to choose their own 'store', don't lock them to a single vendor. This is already possible with Android where F-Droid is a good example of a 'store' where the chance of being exposed to these shenanigans is close to zero.

Currently iOS users lack this option so for them the only way out is to change platform.

Re:Popular Google Play store apps are abusing permissions an... by acdha on Wednesday April 17, 2019 @08:47PM (#19687753)
That doesn’t seem like much of an improvement: if it became popular, you’d see the same social attacks switch from getting people to install apps to enabling a new store. F-Droid is safer because it’s much smaller and mostly free software: that’s good for people who don’t want anything else but it seems unlikely to satisfy mainstream demand or survive a motivated attack.
Re:Popular Google Play store apps are abusing permissions an... by Yetanfou on Thursday April 18, 2019 @10:05AM (#19691070)
Linux survived these attacks. Debian survived them. Ubuntu did. More or less all Linux distributions have been attacked but survived, many of them thrive.

Yes, this is free software. Being less susceptible to these problems has been one of the stated advantages of using such for a long time. Alternative 'stores' carrying 'pirated' non-free software do not have this advantage and can easily turn into dark places so the solution does not lie there.

Will people choose a 'boring' free software 'store' over a 'cool pirate store' (Arrrrr!)? Some will, some won't. Those who will will end up being mostly silent as the thing just works. Those who won't will be susceptible to the whims of those who put up those 'stores' and are likely to come home with a bit more than they asked for.

Some 'stores' will get a good reputation along the lines of that of F-Droid, some will get the reputation of being the place to go to get the latest craze but also the latest infection. Users will start making conscious decisions based on those reputations, just like they already do elsewhere.

Will opening up closed platforms like iOS for third-party software repositories get rid of these problems? No, it won't, it will even raise the average level of problematic software on that platform. The difference between closed systems and more open ones is not that the closed ones are inferior, it is that they limit the user's choice to get something which is better as well as worse than what the walled garden offers. In this context better can mean software which does not come with tracking, analytics, profiling and other such privacy-invading nonsense. I can get the source code and build it myself, I can host my own repository, only time limits where I can go. This is not true for the Google Play Store or the Apple Appstore, nor is it true for the Amazon equivalent or any of those Chinese alternatives. That is why I chose to use something like F-Droid.

By the way, there is nothing keeping e.g. Facebook or Twitter from releasing a free software version of their apps. Their value - and most of their profiling proficiency - lies in their platforms, not in the apps used to access them. They might lose any additional venues for leaching the user of data but they would gain some believability when they state that they're not up to no good. Of course there are plenty of alternative apps for these services so they don't really need to but they could if they wanted to.

Re:Popular Google Play store apps are abusing permissions an... by acdha on Thursday April 18, 2019 @11:10AM (#19691546)
> Linux survived these attacks. Debian survived them. Ubuntu did. More or less all Linux distributions have been attacked but survived, many of them thrive.

Really? Is there a huge market of mainstream consumer Linux software which I've missed in the past 3 decades of using it?

The answer is, of course, no. Linux distributions have mostly been used by developers and other IT people and there's never been the equivalent of the mainstream mobile app ecosystem used by people who are asked to make critical security decisions which they don't know how to answer. If there was an equivalent, there would be the same sleazy sites pushing free porn, games, taking successful apps and repackaging them, etc. that we see in the mobile/Windows desktop world, and normal people would routinely be socially-engineered to get access to free stuff, just as Linux users have for years been fooled into running binaries or installing packages. This isn't more widespread because there's not much money in it but if that were to change it would immediately require the same kind of hardening which every other consumer OS has had to make.

Re:Popular Google Play store apps are abusing permissions an... by Yetanfou on Thursday April 18, 2019 @11:41AM (#19691911)
Well, there is Android, that uses Linux and is as mainstream consumer as it gets. Do mind that I specifically said 'Linux survived' as in 'the Linux kernel project', followed by a number of Linux distributions.

Also, where are those Linux users [who] have for years been fooled into running binaries or installing packages? The majority of Linux users get their software from repositories maintained by whichever distribution they use. This fact is one of the reasons why Linux users are far less likely to install 'random' software. It is that aspect of Linux distributions which 'stores' like F-Droid bring to Android.

Last, what kind of 'hardening' do you deem every other consumer OS has had to make which Linux distributions have yet to accomplish? I'd go so far as saying that the likes of Windows and MacOS are playing catch-up here in finally getting around to implementing a sane repository infrastructure from which users can install and update software instead of having them hunting around the web for some SETUP.EXE to download and click on - which then proceeds to install not only the requested program but also a host of toolbars and 'shopping assistants'.

That both Apple as well as Microsoft took one step further in making these software repositories single-source to the detriment of their user's freedom of choice is what started this discussion in the first place.

Re:Popular Google Play store apps are abusing permissions an... by thekyle on Wednesday April 17, 2019 @08:18PM (#19687615)
Another nice thing about F-Droid is that it uses Linux style "repositories" meaning that individuals/companies can setup repos for apps without needing to build their own custom app store. There are also multiple independent implementations of the F-droid client:

https://gitlab.com/gdroid/gdroidclient/

https://github.com/SkyzohKey/M-Droid

Re:Popular Google Play store apps are abusing permissions an... by tty2300 on Wednesday April 17, 2019 @09:37PM (#19688033)
I am told thses software repos are super useful for the 3rd world because phone stores can run a local app repo and people can download apps without using their very limited internet data. Fdroid also allows local app transfers to people near you.
Re:Popular Google Play store apps are abusing permissions an... by bduerst on Wednesday April 17, 2019 @09:02PM (#19687828)
You still have fragmentation though, which creates surfaces for security and privacy issues that the 'wild west' of the 2000s had. OS providers could enforce standards for these 'stores' as a fix, but then they'll be accused of unfairly regulating competition.

Part of one of the antitrust suits against Google was that it required Play Services to be preinstalled by manufacturers on Android phones before the Play Store could be preinstalled - but the latter needs the former to work.

Re:Popular Google Play store apps are abusing permissions an... by api on Wednesday April 17, 2019 @09:12PM (#19687884)
Anything that became popular would be targeted just the same. The solution is more secure OSes, not distribution filtering. I should be able to put a gelatinous abomination from hell on my phone and be okay. Mobile OS sandboxing is better than older PC OSes but it's still not perfect.
Re:Popular Google Play store apps are abusing permissions an... by pferde on Thursday April 18, 2019 @02:55AM (#19689236)
The problem is that nobody except end users wants more secure OS. And end users do not matter.
Re:Popular Google Play store apps are abusing permissions an... by mattkevan on Thursday April 18, 2019 @07:52AM (#19690283)
> This is already possible with Android where F-Droid is a good example of a 'store' where the chance of being exposed to these shenanigans is close to zero.

There are many other stores where the chance of being exposed to these shenanigans is close to 1. Think of the article recently about super-shady app stores for iOS that misused enterprise certificates to sideload apps [0].

If alternate app stores were to be allowed on iOS, all that would happen is a great proliferation of these scumware stores, full of knockoffs, fakes and outright malware.

It's going to be almost impossible for a lot of people to distinguish between legit good quality, legit crap quality and non-legit harmful app stores, resulting in waves of malware and privacy theft that will make the old Windows XP days look like a panacea.

While it has its problems, the curated nature of iOS' App Store is a distinct positive for users.

[0] https://www.theverge.com/2019/2/20/18232583/apple-ios-develo...

Re:Popular Google Play store apps are abusing permissions an... by Yetanfou on Thursday April 18, 2019 @09:17AM (#19690744)
I don't think people using Android are different from those using iOS and recognise that that most popular alternative 'store' for Android does not seem to fall victim to these problems. This is very much related to the fact that F-Droid only hosts free software but the same thing could be done for iOS if Apple lifted its heavy control over the platform and its users. I see no reason why a similar free software store for iOS would turn into a scumware-infested hell hole.
Re:Popular Google Play store apps are abusing permissions an... by StreamBright on Thursday April 18, 2019 @02:04AM (#19689061)
It is amazing that we can fly aircrafts to space but cannot solve software installations, in't it? Maybe the software industry as a whole needs a kick in the butt.
Re:Popular Google Play store apps are abusing permissions an... by cmpxchg8b on Thursday April 18, 2019 @02:06AM (#19689070)
Flying to the moon isn’t filled with profit motivated bad actors.
Re:Popular Google Play store apps are abusing permissions an... by shittyadmin on Wednesday April 17, 2019 @07:31PM (#19687344)
I'd say that the sandboxing introduced by mobile OSes today solves the vast majority of the problem.

By isolating applications and introducing permissions, malware that can steal or encrypt user data isn't possible even for people installing those pirated APKs.

Re:Popular Google Play store apps are abusing permissions an... by vbezhenar on Thursday April 18, 2019 @10:20AM (#19691178)
Don't trust Android or iOS or macOS sandbox. Google invests huge amounts of development time and research into Google Chrome JavaScript sandbox. It is the real wild west, there are malicious actors who want to break that sandbox. There are multiple layers of protection. Yet there are successful attacks. Much less people trying to break Android or iOS sandbox, because you can just ask for permission from Android and because Apple can kick bad app from the store and prevent infestation. It means that security of those sandboxes is worse, there are many undiscovered (or undisclosed) holes.

Check out history of Java sandbox with its numerous vulnerabilities. I have no reasons to expect anything different from built-in sandboxes. It's like relying on unix user permissions and allow to run anything under untrusted user. Works in theory, but you'll be owned pretty soon, because local root escalation vulnerabilities are not that rare.

In those days the only sandbox I would trust is JavaScript one. It's battle tested.

Re:Popular Google Play store apps are abusing permissions an... by shittyadmin on Thursday April 18, 2019 @11:25AM (#19691739)
> because you can just ask for permission from Android

You cannot ask for permission to bypass sandbox restrictions on Android. You need root access, which means physical access to do things like unlock the bootloader or an exploit.

iOS sandbox seems slightly weaker here due to the use of hidden/private functions to protect certain things, sideloaded apps would likely be a bigger risk on iOS than Android at the moment, but that's not something unresolvable.

In any case, the things you're discussing aren't really so problematic - isolation systems are only getting better, OS level ones are improving every day. We could easily have sandboxes at this level just as secure as the javascript ones.

Re:Popular Google Play store apps are abusing permissions an... by comex on Wednesday April 17, 2019 @09:22PM (#19687946)
But the type of malware described in the article obviously is possible, given that it’s possible even on the Play Store. The OP posed switching to a decentralized model as a solution to that, and it’s hard to see how that makes any sense.
Re:Popular Google Play store apps are abusing permissions an... by shittyadmin on Thursday April 18, 2019 @11:27AM (#19691761)
I'd argue the type of malware described in this article is fairly to completely harmless to the user. Harm to ad networks and a bit of wasted bandwidth is basically the worst case scenario.

The wasted bandwidth would be made clear by the OS to the user too, so it'd be trivial to identify if it was a significant consumer.

Re:Popular Google Play store apps are abusing permissions an... by raxxorrax on Thursday April 18, 2019 @03:17AM (#19689315)
But in the end the software running on our phones is mostly crap.

I doubt user data being protected by these mechanisms helped people to guard their data.

Re:Popular Google Play store apps are abusing permissions an... by wolco on Wednesday April 17, 2019 @07:37PM (#19687372)
The single source has many advantages but also many negatives.

Android apps run the risk of becoming facebook apps. A rising platform that had a lot going for it. Little by little more restrictions pushed many away and turned into what it is today.

Re:Popular Google Play store apps are abusing permissions an... by tallanvor on Thursday April 18, 2019 @07:47AM (#19690261)
The locked in store model in iOS also forces you in to a specific and rather puritanical morality when it comes to the apps you can choose from.
Re:Popular Google Play store apps are abusing permissions an... by z3t4 on Thursday April 18, 2019 @03:49AM (#19689442)
Funny thing is the pirated apps often remove spyware and other crap.