| ▲ | cyberax an hour ago | ||||||||||||||||
For example, a malicious app can add a browser plugin by directly manipulating your browser's profile. Or maybe just replace the browser entirely. Also, "we encrypt secrets on disk" is usually just pure nonsense, only slightly better than using rot-13. If an app can decrypt the secrets without asking for your password, then a malicious app can also do that. | |||||||||||||||||
| ▲ | codebje 19 minutes ago | parent | next [-] | ||||||||||||||||
"We encrypt secrets on disk" is pure nonsense on Linux and Windows, which only isolate secrets to the user level. On OS X, it's a much better story - the OS-level protections are quite robust against attacks. An application stores a secret in the OS keychain; access to that secret is gated by user permissions (a pop-up prompt can grant access to a program if it requests it) and by code signing credentials, ie, you can't just tamper with or replace the browser executable, that will lose you access to the keystore secrets. Chrome can read its secret, if I try to read it with another program I get prompted for my keychain password. Chrome also takes a lot of steps to harden up against these attacks. Plugins are hashed, all files individually, and any modification means that plugin won't be loaded. Injecting new plugins outside of Chrome fails because there are no hashes. The hashes need to be stored securely, but that's what the keystore is for. On Windows, Chrome installs a SYSTEM service that does a similar job to the OS X keychain service: it validates a request as coming from a genuine, signed Chrome instance before providing the secrets back. On Linux it's just whatever user-level keyring program you're using offers, which is typically just user-level protection. Flatpak/snap/bubblewrap etc might help because they can isolate the D-Bus instances, but I'm just not familiar enough with them to comment further. You can use local seed extraction to tamper with Chrome's "Secure Preferences" settings and mess with plugin settings that way, but plugins must (now) be installed via the Chrome Store which includes asymmetric signatures. Messing with the keypair invalidates the executable code signature and loses you access to OS-protected secrets. | |||||||||||||||||
| ▲ | kccqzy 39 minutes ago | parent | prev [-] | ||||||||||||||||
> Also, "we encrypt secrets on disk" is usually just pure nonsense, only slightly better than using rot-13. Nope. The macOS keychain doesn’t by default reveal secrets to a different app. Even an app with Full Disk Access can only access the encrypted cipher text of keychain items on disk. The items are either encrypted by the user’s login password or some other key protected by the Secure Enclave. That said, browsers don’t place cookies in the keychain so in practice an app with Full Disk Access can almost certainly find your cookies and act as you on websites. So Apple’s warning is accurate after all. | |||||||||||||||||
| |||||||||||||||||