- cross-posted to:
- programming@programming.dev
- cross-posted to:
- programming@programming.dev
Treating their users like idiots and more control. Why can’t this be editable but just under Developer Mode?
I’m just waiting for sideloading to be blocked due to “security.”
FFS, even iOS lets you install certificate profiles
deleted by creator
Android 14 blocks all modification of system certificates, even as root
No, it doesn’t. It moves the certificates to an APEX that gets updated rather than letting the five year old storage full of expired and otherwise distrusted certificates rot when manufacturers stop caring about your device.
Rooted phones have full control, especially the Magisk rooted ones. The root daemon is packaged into the boot image, it runs before Android can bootstrap its APEX mechanism.
Someone will have to write a new Magisk module to work around the sandboxing. That’s annoying, but I’m sure the moment Android 14 actually hits the majority devices used in the real world (usually a quarter to half a year later) I’m sure someone will have written one. Worst case scenario, someone will write an LSPosed module to hook the API calls for the system certificate store.
This is inconvenient but not the end of the world.
Previously any user could modify these certs directly, even on vanilla OS images from Google themselves, without installing Magisk or any tools at all, just by writing to disk. Right now, that’s widely used and included in the setup guides for lots & lots of tools. All of that will start breaking for users when Android 14 arrives.
I totally agree it is possible to work around this restriction, but it’s going to be significantly more complicated, and those changes will only be required because the OS used to let you read & write these files all by yourself, and now it doesn’t.
I don’t think Android should move further in a direction where it’s impossible to directly control anything unless you install a 3rd party modification to the root daemon. That’s not a good result. These are important settings and the OS itself should allow you to control them (behind reasonable safeguards & warnings, but still).
deleted by creator
And then Google will punish them for figuring it out by letting apps block access. That’s the issue. If you could do all this without Google integrity checking, we wouldn’t have to worry.
Wait, what tools, and why would they need you to modify existing certificates? That’s super sketchy.
This is modifying system CA certs on your own device, with root access. There’s plenty of examples in the article, but most commonly you’d want to add your own CAs so that you can intercept and inspect your own network traffic. There’s a wide world of developer/researcher/reverse engineering tools that do exactly that, there’s a demo here: https://httptoolkit.com/android/
It could plausibly be malicious, but it requires direct root access on the device, and if somebody has root access there’s already far more malicious options available to them so it’s not a meaningful threat in any sense.
The headline reads like an ad for GrapheneOS and LineageOS.
Anything google does is an ad for grapheme and lineage tbh
Tough, but fair.
It’s an interesting write up. But I don’t think it’s valid for one reason, company devices often require a company certificate to be fully trusted so that the company firewall can inspect all traffic transiting it.
So there must be a mechanism that allows corporately managed Android devices to adhere to corporate firewall policies.
Not just corporate, there’s some countries that require you to install their certificate before you can use the internet.
Fully managed corporate devices can do this, there’s a separate mechanism for that: https://developers.google.com/android/work/requirements/fully-managed-device
This only works when the corporation fully manages the device though - not for normal work profiles. It’s only possible to enable that setup when the device OS is initially installed, and the resulting device is controlled 100% by an IT administrator. It’s not something you can do for your own device, and even for small companies it’s quite complicated and expensive.
This is exactly what’s happening with Windows, too. Unless you’re a business with an Enterprise version, control is being ripped away from you. We’re getting to the place now where individuals are no longer permitted to be admins of their own devices unless they’re corporations that pay for the privilege. I said it years ago when they took GroupPolicy out of Home edition: it was normalizing admin control as a premium feature, that one day average people will be priced out of.
Combine that with a lot of the other environment integrity/hardware attestation bullshit Google and Microsoft are pushing more and more, so that even if you do manage to wrangle admin control back from them, you can be prevented from participating in the larger internet ecosystem for having the audacity to do so. Even Linux won’t be a meaningful retreat when the largest and most popular websites and apps collectively decide you have to use what is effectively a corporate approved kiosk to access them.
This shit should be illegal.
The day windows takes away my administrator power is the day I switch to Linux
Go uninstall Edge and get back to me.
You lost your admin privileges years ago.
You can uninstall it, it just breaks some things. Internet explorer was worse
Not through any of the conventional means.
You’ve gotta find and manually take ownership of all its files then delete them all. You also have to remove it’s updater service first (the same way) or it’ll re-install itself immediately.
Even then, it’ll re-install with system updates.
The only reason it breaks anything is several system services like the general help dialog and news+weather are permanently hard-coded to ignore the default browser setting and use Edge exclusively. There’s no good reason for this.
Yeah, it is rediculous that they do that and I’m surprised they haven’t faced another antitrust suit for it.
This guide, in the third section at the bottom talks about using KeyTool to boot into UEFI and is how you get around this issue: https://wiki.gentoo.org/wiki/User:Sakaki/Sakaki's_EFI_Install_Guide/Configuring_Secure_Boot
Firmware bootkit vulnerabilities are one of the largest attack surfaces available right now. There are ways to deal with this, it is just added complexity. The intellectual barrier is becoming harder. Secure boot is important though.
I don’t think it should be illegal, there are people who are not technically capable and can give permissions when they shouldn’t. I believe there should also be an an option where as a power user you are given those controls again because you have the technical understanding of what you are doing.
Correct me if I’m wrong, but I have a work profile with a cert authority installed in a work profile managed by Intune. If I update to Android 14, I’ll lose this?
Unless it’s a fully managed device (different to a work profile - this has to be configured when the device first boots, it’s for phones that are fully corporately owned & managed) then I think that has to be acting as a user-level CA certificate (trusted only by apps who opt in to trust it, which notably includes Chrome) not a system-level CA certificate (trusted by all apps by default). That will keep working just fine.
Ah okay. I trust Microsoft to figure it out then. Thanks!
No. This only affects certificates installed by rooting the device and modifying the system image.
I agree it’s a pain in the butt. Using an open source MDM, EMM gives you the ability to configure your device your way.
https://github.com/h-mdm like this
It shouldn’t be required though. Totally agreed.
I’d imagine in both cases you’d have to play nicely with google for them to push your certificates to the devices for you and/or give you tools to do so.
IE still available for those with power/money, but any regular citizen can go hump a cactus.
There’s far too many corporations out there for that to be the case. It would cost them far more in managing that controlled access than they could possibly gain from whatever control they’re trying to exert here
I feel like 12 was probably the last decent one. Maybe even 11.
rip AdGuard
Self host time
I meant https filtering
Besides the listed examples from the article, what would be the impact for normal to even hobbyist root users? It seems like this is a good idea to prevent modification of legit certs and allowing certs to be updated remotely.
As touched on above: if you’re configuring your own system CA certificates on Android right now for debugging, reverse engineering, testing or research, that option is going away in Android 14, and presumably all future versions too.