← Back to context

Comment by ramraj07

1 month ago

Be careful with these apps. The permissions they ask for are quite expansive.

You're correct, but there's a good reason: they need to draw over other apps to do what they do. So it's not necessarily nefarious. But it is an excellent reason to build the functionality into the OS.

(The reason the permission is so dangerous is they can trick you into pressing the wrong button by relabeling dangerous text with innocuous text.)

  • The presence of a good reason is exactly why you have to be so careful. Creating an app with a legitimate reason to request permission, only to also abuse it, is a great strategy for an attacker.

Absolutely, which is why I really appreciate the network permission on GrapheneOS. It makes me more comfortable to allow other permissions knowing no data can be exfiltrated.

  • It's wild to me that "internet access" is not revokable or even displayed in the Play Store in stock Android. It's such a huge security and privacy concern, even if most apps semi-legitimately need it.

    Or, it would be wild, if it weren't fairly obvious that this is just Google protecting their mobile ad revenue.

  • >no data can be exfiltrated.

    Well, that depends on the other apps you have installed. Unless things have changed in newer versions, apps with no networking can still do IPC, so any app can for example use Cronet to make network requests via Google Play Services, regardless of the toggle, as long as sandboxed Google Play Services has network permission.

    • Good point and thanks for the heads up.

      Mostly asking it as a question, given that graphene runs Google play services (optionally) as a normal, sandboxed service with no special permissions might help a bit, but I guess unless you disable networking for every other service installed, this is sort of impossible to plug 100%? IPC can be quite the security hole.

      3 replies →

    • Yep, nothing has changed yet. GOS project still has this in the road map, but as of now Inter Profile Sharing still works.

    • > so any app can for example use Cronet to make network requests via Google Play Services

      Cronet? Isn't that Chromium's networking library? How's that letting apps connect via Google Play Services?

  • Network permissions could be used to avoid ads on Android. The horror!

    • And it even fails in the way that apps will see no-wifi and believe the entire device is offline. That way they can't detect it and mess around without harming regular offline users.

      2 replies →

  • Funnily enough, the Huawei P30 Pro I was using previously (back when these things could run Android with GMS) had network toggles for all apps. They weren't in the permissions menu, as they were meant for data saving purposes but you had the additional granularity of choosing if an app could access mobile data or Wi-Fi separately.

    That solved the problem of ads in games much better than DNS :D

  • Any self-respecting OS has packet filtering, this isn't unique to or surprising from GrapheneOS. On my Samsung/OneUI I use AFWall+ which sets iptables rules iirc