News for hackers. Stuff that matters.
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by raise_throw on Sunday April 08, 2018 @09:19PM (#16789575)
A variant of the 'single non-root user' problem on Unix systems.

A non-root user (hopefully) can't root the system or rm -rf /root.

But everything interesting is stored in that user's home folder with implicit RW permissions anyway.

On Android apps just request everything. I imagine (without explicit knowledge) that an app given permissions could rewrite, erase, or pull down over the network contacts / photos / etc in the background.

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by duxup on Sunday April 08, 2018 @09:55PM (#16789747)
I remember learning Unix on my school's big Unix system. Lots of talk about how important root was. I understood it from a system standpoint sure.

Yet I was confused, because as a user all I cared about was my stuff that was ... right there in a non root account.

As you say all the stuff I was concerned about was right there, but nobody talked about how important that was.

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by michaelt on Monday April 09, 2018 @06:42AM (#16791847)
"If someone steals my laptop while I'm logged in, they can read my e-mail, take my money, and impersonate me to my friends... but at least they can't install drivers without my permission" https://xkcd.com/1200/
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by mikeryan on Sunday April 08, 2018 @10:37PM (#16789904)
On a large multi user system there’s a big difference between “your stuff” and “everyone’s stuff” on a single user system like a phone - not so much.
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by dredmorbius on Monday April 09, 2018 @07:41AM (#16792116)
The point is that your trust envelope extends to the authors of software, which are frequently not acting in the best interests of the user, and have their own goals and incentives (including competing goals with other software authors).

On my Linux systems, particularly under Debian, there's some assurance provided through the Debian Project, its guiding documents (social contract, constitution, policy), and debian developers. The project explicitly serves the users. This doesn't prevent bugs and occasional malice, but tends to tremendously reduce incentives for it.

Smartphones ... are a mess, and Android rather particularly so. I've suggested entirely rethinking how app development is performed, particularly for basic utilities, closer to the Debian model. I have little hope of this occurring.

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by c22 on Sunday April 08, 2018 @11:46PM (#16790171)
Although you can leverage multiuser capable systems for more security by, say, using different user accounts for playing games and banking, or whatever.
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by hoppa_liza on Sunday April 08, 2018 @09:28PM (#16789624)
> On Android apps just request everything

That was true up to Marshmallow (Android 6), when finer grained permissions were added.

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by pjmlp on Monday April 09, 2018 @03:39AM (#16791116)
Let me just update to it, oh wait....
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by netsharc on Monday April 09, 2018 @11:46AM (#16794002)
Ah, finer-grained permissions, something I've seen on a BlackBerry in 2009.
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by MayeulC on Monday April 09, 2018 @07:53AM (#16792169)
I learned quite recently that Android was using one user ID per installed app, effectively isolating them one from another. However, I am not sure I understood what you meant by

> On Android apps just request everything

Well, this is as true as with any other operating system, isn't it?

Nowadays, I try to use F-droid as much as I can, applications there ask for reasonable permissions, and are open source, which makes it easier to trust them.

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by mirimir on Sunday April 08, 2018 @10:07PM (#16789785)
OK, but doesn't AppArmor protect against that?

And it looks like it's been ported to Android and iOS. But it's not default, I guess.

But neither is AppArmor in Linux. So why haven't we heard about apps stealing stuff from /home/user/? Is it just that distros do a better job of policing their repos? Or that the userbase is too small to attract malicious app developers?

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by spease on Monday April 09, 2018 @01:07AM (#16790544)
> rm -rf /root

I don’t think this will do much besides blow away the root user's home directory, which probably doesn't have much in it anyway. But I get what you mean.

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by mirimir on Monday April 09, 2018 @02:14AM (#16790792)
I think that he meant "rm -rf /" :)
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by jaclaz on Monday April 09, 2018 @07:25AM (#16792047)
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by Larrikin on Monday April 09, 2018 @12:33AM (#16790395)
How many years after Android permissions changed for the better will users who have never owned an Android phone complain about a problem that no longer exist.
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by pjmlp on Monday April 09, 2018 @03:36AM (#16791100)
Well, because there is this thing called lack of updates.

On German consumer shops, most "deal of the day" are still a mix of 4.4 and 5.1.

Re:Smartphone Security: You'll Never Guess Who Just Messaged... by saagarjha on Monday April 09, 2018 @12:48AM (#16790458)
Until Google finally matches the permission model that iOS has had for years, and until the changes roll out to the majority of users instead of the few that own Pixel phones?
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by KozmoNau7 on Monday April 09, 2018 @02:56AM (#16790963)
It has been there since Android 6.0.
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by pjmlp on Monday April 09, 2018 @03:38AM (#16791109)
Only available to around 60% of Android users.
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by microtheo on Monday April 09, 2018 @04:17AM (#16791261)
It doesn't change the fact that it is there. :D
Re:Smartphone Security: You'll Never Guess Who Just Messaged... by jackson1way on Monday April 09, 2018 @08:59AM (#16792578)
It is NOT there for at least 40% of android users.