News for hackers. Stuff that matters.
Re:Google to Fold Chrome Operating System into Android by geofft on Friday October 30, 2015 @12:05AM (#10476103)
Android's attack surface is much higher than Chrome OS's. On CrOS I can usually get away with running questionable NaCl code because the NaCl runtime sandboxes what it can do, and on top of that, the browser itself is sandboxed by the kernel. On Android, questionable apps have direct access to the entire kernel system call interface, as well as to other OS features.

Personally, I'm not so much upset because Android is uncommonly bad (it's like any other system that gives untrusted users non-root access to Linux: you can probably get away with it, but eh), but because CrOS is uncommonly good.

Re:Google to Fold Chrome Operating System into Android by kllrnohj on Friday October 30, 2015 @12:04PM (#10478621)
> (it's like any other system that gives untrusted users non-root access to Linux: you can probably get away with it, but eh)

This is far from true. Android has always had a ton of sandboxing. Every app is its own user, unable to interact arbitrarily with other apps, things like that.

You won't find any desktop OS that comes anywhere close to the security design of Android. But the thorn in Android's security side remains updates, or lack thereof.

> Android's attack surface is much higher than Chrome OS's.

Not really. All you have to do in CrOS is compromise Chrome (which has happened plenty of times), and you have owned the user. You've won. Game over. And Chrome's attack surface is huge, just like any other browser's. The kernel syscall interface is relatively tiny, and SELinux clamps that down even further.

Re:Google to Fold Chrome Operating System into Android by Shooti on Friday October 30, 2015 @07:41AM (#10477224)
>On Android, questionable apps have direct access to the entire kernel system call interface, as well as to other OS features.

Doesn't seem correct: https://source.android.com/devices/tech/security/overview/ke...

Re:Google to Fold Chrome Operating System into Android by geofft on Friday October 30, 2015 @09:50PM (#10481499)
Apps have direct access to the entire kernel system call interface. They don't run as root, and in particular they run as different UIDs (which is, to be clear, fantastic in its own right) and with SELinux policies. But their "Application Sandbox" is nothing more than that. Apps have as much access as, say, a well-run public shell server gives to their users. That's a lot more attack surface than JS in my browser has.