this post was submitted on 07 Mar 2024
643 points (96.0% liked)

Android

27943 readers
161 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
 

I'm lucky my banking app works (GrapheneOS), as it's now requiring 2FA with the app anytime I login on the browser. Can't use an actually secure form like TOTP. At least they now allow passwords over 8 characters (yes, serious).

(Meme in comments)

you are viewing a single comment's thread
view the rest of the comments
[–] PoorPocketsMcNewHold@lemmy.ml 7 points 8 months ago (4 children)

Beat the main purpose of GrapheneOS. Open the phone to a broad lot of security issues.

[–] viking@infosec.pub 27 points 8 months ago (2 children)

Graphene only works for Pixel phones, and I don't want a Google device.

[–] lseif@sopuli.xyz 5 points 8 months ago (2 children)

thats fair. device support is a major downside of GOS. but, remember: its not really the fault of the OS, as it requires a lockable/unlockable bootloader, which only pixel phones provide (at least in terms of mainstream phones). blame the OEMs like samsung

[–] viking@infosec.pub 4 points 8 months ago (1 children)

There are a ton of unlockable bootloaders. On my OnePlus that's a matter of flipping a switch in the settings.

[–] lseif@sopuli.xyz 4 points 8 months ago (1 children)

can it be re-locked? i may be wrong, btw. this is just what ive heard.

[–] viking@infosec.pub 0 points 8 months ago (1 children)

I don't know, never tried that.

[–] PoorPocketsMcNewHold@lemmy.ml 1 points 8 months ago

That's the main issue really, as it open the possibility to manage your device for anyone getting hold of it. Probably some debug attack methods also with it.

[–] deweydecibel@lemmy.world 3 points 8 months ago* (last edited 8 months ago) (2 children)

which only pixel phones provide (at least in terms of mainstream phones)

Mainstream phones? Pixel is a smaller market share than Motorola, and Motorola has unlockable bootloaders, and lineage supports a fair number of them.

[–] PoorPocketsMcNewHold@lemmy.ml 1 points 8 months ago

Sadly, can't be re-locked. Would have loved to get a Motorola if it was.

[–] state_electrician@discuss.tchncs.de 1 points 8 months ago (1 children)

I thought Google owned Motorola, but I missed the sale to Lenovo ten years ago.

[–] Azzu@lemm.ee 15 points 8 months ago (2 children)

What are the security issues? Rooted just means the potential to give trusted apps root access. Of course, if you give an app root access that you trust but is then abusing that trust and being malicious, yes it's a security issue. But if you don't do that, the simple fact of having a rooted phone should have no security change in any way. (Ok, except for potential bugs in Magisk/su or whatever)

[–] deweydecibel@lemmy.world 17 points 8 months ago* (last edited 8 months ago) (1 children)

The whole issue revolves around the fact Google is presuming a device is compromised or being used for illicit shit simply because root access is possible. If they put in effort to detect/prevent the actual problems they're concerned about, this wouldn't be as big a deal. This broad punishment for simply having root access is lazy and ridiculous.

It's like if Windows apps just stopped working if they detected a local admin account. It's patently absurd to assume the ability to access anything means the device is inherently "unsafe".

[–] Azzu@lemm.ee 5 points 8 months ago

But the previous commenter talked about security issues, you're only talking about usability issues.

[–] PoorPocketsMcNewHold@lemmy.ml 2 points 8 months ago* (last edited 8 months ago) (1 children)

https://www.reddit.com/r/GrapheneOS/comments/13264di/comment/ji54e19/?utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button

If you have the UI layer able to grant root access, it has root access itself and is not sandboxed. If the UI layer can grant it, an attacker gaining slight control over it has root access. An accessibility service trivially has root access. A keyboard can probably get root access, and so on. Instead of a tiny little portion of the OS having root access, a massive portion of it does.

In the verified boot threat model, an attacker controls persistent state. If you have persistent root access as a possibility then verified boot doesn't work since persistent state is entirely trusted.

A userdebug build of AOSP or GrapheneOS has a su binary and an adb root command providing root access via the Android Debug Bridge via physical access using USB. This does still significantly reduce security, particularly since ADB has a network mode that can be enabled. Most of the security model is still intact. This is not what people are referring to when they talk about rooting on Android, they are referring to granting root access to apps via the UI not using it via a shell.

[–] Azzu@lemm.ee 1 points 8 months ago (1 children)

I'm pretty sure whoever wrote that was talking out their ass. The fuck is "UI layer" on Android, or rather, what does it have to do with it xD

[–] PoorPocketsMcNewHold@lemmy.ml 1 points 8 months ago* (last edited 8 months ago) (1 children)

The actual Magisk prompt that ask you if you want to give root to such app. This UI layer.

Although, i suppose it could be countered by explicitly refusing all requests or enabling a biometric confirmation

[–] Azzu@lemm.ee 1 points 8 months ago (1 children)

But granting root is not done by "the UI layer", "the UI layer" is not running with root. There is no such thing as "the UI layer" as a separate entity, an app can have a UI layer as part of its architecture, but the UI is not running on its own. Just because Magisk shows you a UI for you to grant/deny a root request, that doesn't make it insecure. Nothing is able to interact with this prompt except the Android kernel/libraries itself and Magisk.

Only if you added an application as accessibility tool (or give it root) can it interact with anything within the UI. An app with a UI is generally not much different than an app on the command line.

[–] PoorPocketsMcNewHold@lemmy.ml 1 points 8 months ago

It still create an attack vector, as it allows a potential extra method to get access to it, in addition of potential hardware exploits that i shared to gain root. Yes, you can minimize the risks correctly, but the user is the only real barrier against it, not the software anymore. The less potential way to exploit your phone, the better it is. You shouldn't rely on thinking that such feature is fully attack-proof.

[–] RVGamer06@sh.itjust.works 7 points 8 months ago

don't give root to any app duh