9 ms·
The threat model used for this assessment pretty much never happens in reality. If you're arbitrarily reading memory using software, then you can also install a
by gruez 8y ago
The threat model used for this assessment pretty much never happens in reality. If you're arbitrarily reading memory using software, then you can also install a keylogger or steal clipboard contents, which the authors themselves concede no password managers can protect against. So what's really being evaluated is how well password managers can withstand physical attacks (DMA/coldboot), which isn't a concern for 99.999% of people. Furthermore, if your attackers had physical access, they could very well install a physical keylogger to steal your passwords, bypassing your password manager's countermeasures entirely.
- SlowRobotAhead 8y agoIn the case of 2FA devices, a keylogger won’t get you much on a remote machine. I think the more obvious path is that if you have memory access, just wait for the decrypted contents to be exposed.
- blitmap 8y ago- I am no security person myself. - I always liked this idea: https://krypt.co/ https://krypt.co/ Basically using an entirely separate device to authorize your access. 2FA devices still connect to the computer requesting access, I liked the idea that your phone act as the gatekeeper without ever touching your computer. Problem is: It's a phone. Apple has done much but I wouldn't trust it either.
- xoa 8y agoEven for many 2FA devices however, root access on the accessing machine can allow for hot online attacks. Not all tokens include some kind of system independent operator intention mechanism, ie., you must touch the token or input a PIN or biometrics on the token itself for each action. Many instead have the PIN inputted via the connected system. The token does protect the private keys themselves of course, so a remote attacker can't take them and then utilize them independently later, nor prevent the operator from removing the token or whatever. But with root, and while the token is in the system, attackers who had already taken the secondary auth (trivial with that level of system access) would be able to silently use it for anything the operator could. And even for tokens that do require an independent physical operator presence and decision indicator, root would still open up a lot of paths for social engineering (ex, wait for them to want to perform a real 2FA action, intercept it insert the attacker's own, then show an "error try again", then allow it to proceed so it looks like a brief blip which many users will ignore). Basically even pretty good 2FA systems aren't at all full defenses if an attacker has root. They can help in very important ways to minimize the potential damage, to make recovery easier (since private keys are never compromised), to aid discovery/auditing, etc. But it's hard to avoid there having to be some trust in the client at the end of the day. And it's often a lot better to decentralize trust into client devices rather then something that can be centrally compromised. It's much harder for attackers. Password Managers are no different, their raison d'etre is essentially trying to move the trust foundation more to clients. Client trust is a req though and any "compromise" that depends on controlling the client is uninteresting. They're basically a hack recreating PKI badly, but in a world where the technical foundations for a proper one didn't develop it's a good bandaid.
- Ajedi32 8y agoWhat if someone steals your laptop and decides to see if they can get any sensitive info off of it before they wipe it and sell it? Probably not a common scenario right now, but if this threat goes unfixed for a long time and tools become available to automate the attack I could see it becoming a problem.
- deleted 8y ago[deleted]
- xoa 8y ago>What if someone steals your laptop and decides to see if they can get any sensitive info off of it before they wipe it and sell it? That's what full disk encryption and (eventually) hardware security chips and the like are for. It's not a threat model that has anything to do with password managers. >Probably not a common scenario right now It never can be, that's the point. Physical attacks simply do not scale like purely online attacks do, let alone attacks on centralized single points (ie., a central password database). >but if this threat goes unfixed for a long time and tools become available to automate the attack I could see it becoming a problem. What? What tools "automate" stealing your notebook?? And also breaking through whatever physical security it has, like TPM or Apple's T-series chips or even just plain soldered on storage/memory/everything? The latter make repairs more of a PITA but they also make physical attacks significantly more difficult, even stuff like cooling memory and swapping (and encrypted memory based around tamper resistant security chips is a potential thing too).
- mediocrejoker 8y ago> What? What tools "automate" stealing your notebook?? Not the parent but I assume they meant a tool that traditional laptop thieves with little technical sophistication can use to easily extract valuable data from a machine after they have stolen it.
- vinceguidry 8y agoIs that a threat vector that is actually being used? Apple for sure has to worry about, but I don't think petty criminals would have the know-how to fence data even if they get it.
- dontbenebby 8y agoYeah, just as a thought exerise I took a look at my DB. The high value things (bank, email, web hosting accounts) all have 2FA enabled. The lower value ones, I can easily recover from a breach by simply resetting the PW via my email. The only real threat I see is if you're storing passwords to things like encrypted containers (Veracrypt, TrueCrypt etc) but as you pointed out if they'd had something running on your system you're hosed either way.
- bronco21016 8y agoDon’t you also store the 2FA recovery codes in the PW manager though? I haven’t found any other good method for this other than printing them out but that comes with its own issues obviously.
- akerl_ 8y agoNo, for exactly this reason. My recovery codes are on index cards in a physical safe, and then I've got MFA via multiple devices (TOTP on Phone + yubikey for most things).
- dontbenebby 8y agoDo you think having a separate database (with the key stored in a safe place) might be a happy medium between "keep them in a safe" and "keep them in the same locked container as the passowords"? Or do you think that having both DBs on the same (possibly compromised) machine is too much risk?
- icebraining 8y agoSeems like a good approach, if you use asymmetric encryption. Keep the private key in a safe place, and the public on the machine; then you can store new codes (by encrypting them with the public key) without having to access the safe place.
- 8y ago
- nickpsecurity 8y agoExactly. Attacker is already in God Mode. Doesn't need to be probing password managers. The report has some value in testing a claim about how well secrets were hidden in or scrubbed from memory. Not like advertised... Ill also add that mitigating stuff like this was an early, easy use of separation kernels. They put the secret-protecting components, like disk encryption and VPN, in dedicated partitions outside Linux VMs. That worked well.
- DanHulton 8y agoExcept for the case where they entire password DB can be decrypted and read (in the case of 1Password 7, at least). Sure, a keylogger could eventually get all of the passwords I use on the regular, but it couldn't get literally every password I have and in a nice, neat format along with where the passwords are used. Reading the current password from memory = keylogger, I'm not worried about that. Reading every password I have or have ever had, including (I assume) encrypted notes and such? = keylogger on steroids.
- UncleMeat 8y agoIs that different? "Eventually get all of your passwords" sounds just as bad to me, especially since only some passwords are worth anything and my email password can be used to reset all other passwords.
- oarsinsync 8y agoYou can't reset my online banking login password by email. You can't reset my online banking operation password by email. You can't reset my crypto wallet passwords by email. If you can read all of these from memory without me ever having interacted with the password, you can take all my money and then what do I do?
- UncleMeat 8y agoThe malware just waits until you use one of these passwords? The threat model of "I have these crazy essential passwords that I literally never use" is worthless. It costs the malware author nothing to wait.
- oarsinsync 8y agoMalware is like any other threat to any system. The longer it persists, the more likely it is to be detected and purged. Malware that exists purely transiently in my system is a lot more likely to be successful and remain undetected, than malware that persists.
- jiveturkey 8y agoyup. if the report is meant to be other than marketing, they would have done well to have an outside review before publishing. i don't see any acknowledgements section so i assume that didn't happen. this is basically soft marketing of the skills they bring to the table. realistic/practical threat modeling not being one of them.
- sec_evaler 8y agoI would argue that while memory read vulnerabilities are not normally commonly known, that does not begin to mean they don't exist. Look at any number of stories where vulns have escaped detection (or reporting) for 10, 20, even 30 years!
- gcbw2 8y ago> ignoring the fact that a password manager makes this as convenient as microformats (which we never got, ironically) for stealing secrets.
- phyller 8y agoConsider this. I am in a coffee shop. Someone walks by and grabs my machine. This is a huge annoyance, need to replace and setup a new machine vs. (with my password manager getting hacked) my life is basically over because as far as anyone is concerned the thief is more me than I am. Depending on who took it, I might as well move to the forest and live in a mud hut because I am never going to be able to clean this up. This actually happened to someone at my company. But their passwords weren't compromised. If they were, I can't even imagine, the guys who took the machine were really trying to do whatever they could to ruin him and the company.
- pvg 8y agomy life is basically over You make it sound like there's no mitigation at all for a password being compromised which isn't the case in practice.
- phyller 8y agoThe problem is 200 passwords being compromised, including my emails which are used to reset everything else. I can't fix it faster than the thief can wreck my digital life, and everything is digital now. I couldn't even start until I somehow convince my email provider who I am and to change the password for me. If this ever happens, best plan would probably be to change your email password immediately, banks next, and freeze your credit as soon as possible.
- kerng 8y agoIt's about degrees of freedom. Even if an adversary has access to a machine, there is a difference if they can choose when/where to exploit/steal something, or if they have to wait for an action. If the adversary cant get persistence, a simple reboot of the machine might get them evicted and the keylogger is gone. That's just a simple example but it shows that things are more nuanced. Apple for instance has efforts so that even root can't just debug arbitrary processes or unlock keychains of other users without them agreeing to it or disabling SIP. It's about raising the bar and removing degrees of freedom for an adversary, so it becomes more dfficult. In the end of course systems can always be exploitable (given enough resources are allocated in breaking in).
- deepsun 8y agoYep, just like your home locks are not rated as "breakable/unbreakable", but "how many minutes to break". Most locks are below 5 minutes. Locks requiring more than 30 minutes are considered pretty much unbreakable (easier to break through the nearest wall).
- dalf 8y agoWhat about Thunderbolt device plug into a laptop ? If the device scans the memory using PCI-E ? See https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-934.html https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-934.html ( https://news.ycombinator.com/item?id=19216781 https://news.ycombinator.com/item?id=19216781 )