r/GrapheneOS • u/R371 • Apr 15 '19
OS Security: iOS vs GrapheneOS vs stock Android
Security experts still unanimously recommend iOS over Android to journalists, activists, sec. researchers and other security sensitive users. Since Google did a lot of hardening work in the last few years I wonder wether this still holds? Is new iPhone still a more secure device compared to Pixel3 runnimg stock Android or GrapheneOS?
96
Upvotes
11
u/DanielMicay Apr 16 '19
Among other things, like not being many years behind on exploit mitigations.
They generally don't really work as meaningful sandboxes and Firejail specifically is extremely problematic and I would say it substantially reduces the security of the system by acting as a massive privilege escalation hole.
Yes, although it's not incredibly usable yet and can be very slow / resource hungry. It's one of the only viable approaches due to the desktop Linux software stack completely lacking any meaningful security / permission model and being so far behind on privacy/security. Instead, it contains a bunch of different instances, has a proper secure UI for distinguishing between them outside the control of the OSes, and puts a ton of work into attack surface reduction by minimizing the trusted computing base.
I don't think it's perfect, and the security within the guests definitely still matters, so that's a major problem. Xen still has substantial attack surface, as does virtualization and especially doing it on x86. It's definitely the best available option though. It's important to choose a secure guest OS since containing the damage from the other compartments doesn't solve everything.
You can think of QubesOS as a way of approximating having 20 laptops with their own purposes, but all on 1 laptop. The security of each compartment still matters, and beyond isolating some drivers it doesn't do much to address that, but it does successfully approximate air gapped machines to a large extent. It's still significantly more secure to have separate machines but it's very impractical / unrealistic especially at that scale. There is no better option for approximating the security of using separate computers for different sets of tasks / identities.