111 points · by TjWallas · 11y ago · 56 comments
https://code.google.com/p/chromium/wiki/LinuxPasswordStorage
But yeah, it pretty much looks for any sort of secure credential manager and falls back to the fixed key only when nothing is available.
In GNOME,the wallet is opened by the login manager and that means all the contents of the wallet are available to all processes run from the logged in user account.
KDE refused to have the above behavior of the login manager opening the wallet and hence after login,there must be atleast one application that will have to open the wallet and then the behavior will be the same as libsecret.
Lots of people who use these two storage systems are not aware of the above.
I dont like the above behavior as i want each application to manage its own private wallet and i created lxqt_wallet[1] to give me the behavior i want.
The project also supports libsecret and KWallet for those who prefer these backends.
There's so many blurry lines there. I agree that a secret store is best done as a system level service, but it's so hard to standardize on one api, and yet so easy for a shitty one to become de facto (I.e. X.org).
No, the best it could do is to have a master password, provided at launch.
I'm really concerned about the extent to which neither Google nor Mozilla actually cares about user security. No plaintext password should ever live somewhere outside of the user's head; no password encrypted with a user-memorable password should live outside of a computer under the user's physical control. Thus, passwords (and other private data) on remote systems should always be encrypted with secure keys, themselves generated on the user's device and encrypted on his device with his memorable password.
The facts that by default Google will store your website and WiFi passwords (along with your emails and pictures) in plaintext on their servers, and that Mozilla utterly destroyed the security of their sync system, are utterly sickening.
You're going to need to qualify that statement.
> Mozilla utterly destroyed the security of their sync system
You're going to need to qualify that statement.
> You're going to need to qualify that statement.
They store that information such that they can read it. Yes, it may actually be encrypted with a key they have access to, but it's effectively plaintext because they can read it.
> > Mozilla utterly destroyed the security of their sync system
> You're going to need to qualify that statement.
https://blog.mozilla.org/services/2014/04/30/firefox-syncs-n...
Your master key is stored on their servers, encrypted with a key derived from your password. That's pretty bad already, since user-memorable passwords are highly susceptible to guessing. It gets worse though, since they use Mozilla-served JavaScript to log you into your Firefox account—which means Mozilla could choose to serve someone different JavaScript and steal his password.
All it would take is a court order, and they could be forced to do it.
Mozilla used to be different. However, when Brendan was purged, first doubts may have arisen. Now that we also see cyber-bully Klabnik on their payroll, the probability has risen sharply that Mozilla has been successfully subverted into a political pressure group.
Since Mozilla now is enrolled in support of the dominant ideology, it has no incentive for supporting privacy anymore, either: The dominant ideology wants minority opinion holders to be outed and ostracised.
Just over half of those participating have installed Gnome/KDE/Cinnamon
https://qa.debian.org/popcon-graph.php?packages=gnome-shell%...
And it looks as if about a quarter totally are using Gnome/KDE/Cinnamon regularity (rest could be switched off of course!)
https://qa.debian.org/popcon-graph.php?packages=gnome-shell%...
Popcon statistics are notoriously hard to interpret though so a large pinch of salt needed.
If an attacker can read the file the cookies are stored in, you have already lost.
It even mentions "obfuscation" - which might be a slight obstacle if this was closed-source - but Chromium is open-source.
For example if a sysadmin is investigating a problem they're less likely to accidentally see a user's data in human-readable form, it also provides a level of defence against unsophisticated attackers.
Password is: "peanuts" Salt is: "saltysalt" Algorithm used: AES-128-CBC The number of KDF iterations is: 1
Edit: Indicate that no. of iterations is for the Key Derivation Function
The salt doesn't really need to be secret, as it is only there to make an attacker work harder. However, the existence of a known, hardcoded salt means that an attacker can generate rainbow tables specifically for cracking these cookies, so the salt isn't really useful here.
The application specific "master password" is more of an anti-pattern for effective credential storage. The most glaring issue is that user friction is so high that it's rarely ever enabled, because it's just too inconvenient and confusing for most people. But beyond that it has the weaknesses typical to any credential manager not deeply integrated into the OS (e.g. credential management is handled entirely in the user's context, management is inconsistent between applications, etc.).
The only advantage system-level password storage has is when the attacker e.g. wants to get the passwords from a forensic image or such.
this doesn't really protect much from other users since other users don't have access to the file in the first place, and doesn't protect from the user that owns the browser process.
which is probably why the bug still exists, adding a randomly generated key only adds another easily passable obstacle
Chrome must be able to read its cookies, so cookies file must be readable/writeable for user vbezhenar. And there are high chances that I'll run malware program under this user vbezhenar too, so it can read cookies file, but it won't be able to access encryption password.
> // Salt for Symmetric key derivation.
> const char kSalt[] = "saltysalt";
In seriousness, what gives!? Why are these so simple? Surely a development base as large as Chromium's could pick up on something like this.