Live data from Hacker News

Microsoft Edge stores all passwords in memory in clear text, even when unused

twitter.com

41–50 of 243 posts

Re: Microsoft Edge stores all passwords in memory in clear text, even when unused

#41

Its Microsoft doing Microsoft things

Linux stores plenty of passwords in clear text in /etc and $HOME and this is considered acceptable by most users. These same people also believe the TPM is a spy chip.

You really need to upgrade to UNIX Version 6 or later. Some of the improvements since 1974 are well worth having.

Re: Microsoft Edge stores all passwords in memory in clear text, even when unused

#42

Its Microsoft doing Microsoft things

Linux stores plenty of passwords in clear text in /etc and $HOME and this is considered acceptable by most users. These same people also believe the TPM is a spy chip.

I thought Linux stored plain text credentials owned by root that require elevated permissions.

Re: Microsoft Edge stores all passwords in memory in clear text, even when unused

#44
post #33

Earlier quoted context omitted.

Linux stores plenty of passwords in clear text in /etc and $HOME and this is considered acceptable by most users. These same people also believe the TPM is a spy chip.

> Linux stores plenty of passwords in plain text in /etc That's gonna be a big ol' [CITATION NEEDED] from me, dawg.

Wifi passwords in /etc/netplan files, is one I can think of.

Re: Microsoft Edge stores all passwords in memory in clear text, even when unused

#47
post #22

Earlier quoted context omitted.

If I leave a post-it note of passwords on my monitor inside a vault to which only I have access, it’s not a big deal. That’s the point of the “airtight hatch” metaphor.

Right; but in the scenario of this Tweek, you've invited someone untrustworthy into the vault and are then freaking out because they can see the post-it note of passwords. It is inherently irrational. This issue is inherently unfixable by ANY password manager, because the process model of the underlying OS isn't itself secure. No obfuscation will work, because the password manager itself needs to de-obfuscation it be…

> This issue is inherently unfixable by ANY password manager, because the process model of the underlying OS isn't itself secure

Usually the confidential bits are hardware isolated away from the supervisor (host kernel/OS) in Enclaves/TEEs, Realms, Secure Elements, Security chips, etc.

Re: Microsoft Edge stores all passwords in memory in clear text, even when unused

#48
post #39

Earlier quoted context omitted.

Security isn't black and white. If i leave a post-it note of my logins on my monitor, that's definitely less safe than in a unlocked drawer, and so on.

> If i leave a post-it note of my logins on my monitor, that's definitely less safe than in a unlocked drawer, and so on. Having passwords on post-it notes does make certain types of attacks much easier. For instance, coworkers hacking other coworkers, or people burglarizing the office. None of which really apply to the "If an attacker gains administrative access on a terminal server" scenario. Continuing the analogy…

> Having passwords on post-it notes does make certain types of attacks much easier.

It also makes other attacks much harder. Namely I don't need to worry about some zero-day in my password manager.

Re: Microsoft Edge stores all passwords in memory in clear text, even when unused

#49
post #22

Earlier quoted context omitted.

If I leave a post-it note of passwords on my monitor inside a vault to which only I have access, it’s not a big deal. That’s the point of the “airtight hatch” metaphor.

Right; but in the scenario of this Tweek, you've invited someone untrustworthy into the vault and are then freaking out because they can see the post-it note of passwords. It is inherently irrational. This issue is inherently unfixable by ANY password manager, because the process model of the underlying OS isn't itself secure. No obfuscation will work, because the password manager itself needs to de-obfuscation it be…

I think we’re largely in agreement. I do think there’s some benefit in reducing the amount of time that a password is in cleartext in memory. But it’s pretty far down the list.

Re: Microsoft Edge stores all passwords in memory in clear text, even when unused

#50
post #40
post #31

Earlier quoted context omitted.

Reading arbitrary process memory can be done as a standard user. No admin needed. Any Win32 program can do it. You just can't access the memory from processes that are admin-level.

This is not true. The canonical way to prevent access is via PAGE_NOACCESS[1]. Obviously, running as admin or in kernel mode breaks the whole thing since you can re-call `VirtualProtect` on that page and open it up. [1] https://learn.microsoft.com/en-us/windows/win32/memory/memor...

And if the malware is running as admin, you’re pretty fucked either way
Post reply on HN