News for hackers. Stuff that matters.
Re:Password Managers: Under the Hood of Secrets Management by gruez on Wednesday February 20, 2019 @10:34AM (#19208613)
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.
Re:Password Managers: Under the Hood of Secrets Management by DanHulton on Wednesday February 20, 2019 @12:02PM (#19209520)
Except 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.

Re:Password Managers: Under the Hood of Secrets Management by xoa on Wednesday February 20, 2019 @12:45PM (#19209972)
>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.

But passwords aren't just about you, they're about the server they're also stored on too. Without a password manager, how do you propose remembering unique fully random passwords for dozens to hundreds of services over the course of decades? And they must still be easy enough to enter that most people will actually use it. And also be trivial to change at will, for when (not if) the password database is compromised. And in fact you directly bring up the problem of that being worse for services you use extremely infrequently. So if you use it frequently the keylogger gains it anyway, and if you don't use it frequently then what's your usable system again? Also, are not the most important things you want taken the least also the ones that tend to be used the most frequently? And with access to your email and in fact all communication services used on that system you don't see how an attacker wouldn't just be able to "I forgot my password" for many if not most services?

>Reading the current password from memory = keylogger, I'm not worried about that.

You're not worried about your system being rooted? I'd say you have an awfully different set of priorities when it comes to security then most of the world even beyond HN.

Re:Password Managers: Under the Hood of Secrets Management by kaens on Wednesday February 20, 2019 @08:31PM (#19213780)
> how do you propose remembering unique fully random passwords for dozens to hundreds of services over the course of decades?

not fully random, but:

make up an algorithm that uses pieces of data that you know you can derive from some superficialities of anything you need a password for plus some some obfuscation function and some other data that you can derive or remember that is not related to the thing you need a password for.

e.g: the name of the site and the month you signed up in leet speek, rot-5'd and alternating letters, interspersed with symbols at some period related to a rhythm you like.

doing this gives you relatively strong passwords that you can reliably recreate while not needing to memorize them, that do not have an obvious pattern to them even if looking at them in mass, that have a very low chance of collision. you can remember a fairly complex recipe pretty easily ;)

depending on where your passwords are and what they're for, this might be preferable than storing them in one app that can compromise every password you have.

either way, someone only needs your important pw once. use multi-auth.

Re:Password Managers: Under the Hood of Secrets Management by gruez on Wednesday February 20, 2019 @09:39PM (#19214074)
What you're basically describing is no-sync password managers[1], with all of its disadvantages (password changes/rotation, username storage, etc) but also with security by obscurity instead of a proven KDF.

[1] I'm not sure what they're called exactly, but basically all you do is enter a password and it generates your password using your password + site + KDF.

Re:Password Managers: Under the Hood of Secrets Management by kaens on Wednesday February 20, 2019 @10:20PM (#19214233)
correct, the point of doing something like what i'm describing is to have a system for keeping / creating N unique passwords stored only in your head, in a way that provides an acceptable amount of strength, avoids disclosing all of your passwords if one is compromised, and doesn't require you to be a savant of long-random-string memorization.

there are plenty of things that this isn't an appropriate approach for, and fwiw I wouldn't tell someone it would be a good strategy for all their passwords.

it can be useful when you have a set of longer lived passwords that you need to care about guaranteeing that the entire set can't be snarfed without holding you at gunpoint.

Re:Password Managers: Under the Hood of Secrets Management by jsutton on Thursday February 21, 2019 @01:40PM (#19219364)
Your strategy doesn't negate the need for a password manager for all of your non-essential web accounts.
Re:Password Managers: Under the Hood of Secrets Management by NikolaeVarius on Wednesday February 20, 2019 @08:43PM (#19213832)
And then what happens when that has to change every 30 days?
Re:Password Managers: Under the Hood of Secrets Management by kaens on Wednesday February 20, 2019 @09:06PM (#19213930)
for the example above, you could chunk-rotate, change the rot-degree you use as obfuscation or have other variants of your algorithm.

there's a point somewhere a bit faster than monthly-expiration where I would consider using a store and random gen in situations where i would otherwise not. really depends on you, what it's for, and what risks you need to care about the most.

Re:Password Managers: Under the Hood of Secrets Management by UncleMeat on Thursday February 21, 2019 @12:22PM (#19218501)
How do you propose to change your password after a breach?
Re:Password Managers: Under the Hood of Secrets Management by oarsinsync on Thursday February 21, 2019 @05:41AM (#19215914)
> And in fact you directly bring up the problem of that being worse for services you use extremely infrequently. So if you use it frequently the keylogger gains it anyway, and if you don't use it frequently then what's your usable system again? Also, are not the most important things you want taken the least also the ones that tend to be used the most frequently?

I don’t login to my online banking from my computer very often, nor do I login to government / tax services frequently. I’d be pretty upset if the credentials for these things (especially in the case of some banks, the second password required to perform any kind of transfer operation) got compromised simply because my entire password database got dumped from machine memory without having been used.

Re:Password Managers: Under the Hood of Secrets Management by spudlyo on Wednesday February 20, 2019 @01:19PM (#19210392)
A notebook and pencil in your desk drawer solves this problem reasonably well if you're patient. In some ways that is more secure than having all the passwords stored where an attacker can grab them from the comfort of their living room.
Re:Password Managers: Under the Hood of Secrets Management by sleepybrett on Wednesday February 20, 2019 @01:21PM (#19210422)
.. and when you are trying to log into one of those accounts when you are away from your desk drawer?
Re:Password Managers: Under the Hood of Secrets Management by takeda on Thursday February 21, 2019 @12:25PM (#19218529)
Take photo of your note and store it on imgur /s
Re:Password Managers: Under the Hood of Secrets Management by spudlyo on Wednesday February 20, 2019 @01:25PM (#19210485)
You wait 'til you get home? Personally, I use 1Password, but I have a friend who swears by the notebook approach. He also caries a feature phone and uses a desktop computer, which makes it a lot more practical.
Re:Password Managers: Under the Hood of Secrets Management by selestify on Wednesday February 20, 2019 @01:40PM (#19210670)
What are you doing to do if your home burns down? If it's an emergency and you can't wait until you get home? If industrial espionage efforts involve stealing a notebook from your home?
Re:Password Managers: Under the Hood of Secrets Management by qrbLPHiKpiux on Wednesday February 20, 2019 @02:40PM (#19211246)
Back up, my man! 3-2-1. 3 copies, 2 local different media, one off site. If your data's that important, secure the offsite with an attorney.
Re:Password Managers: Under the Hood of Secrets Management by scarejunba on Wednesday February 20, 2019 @02:43PM (#19211280)
If you want people to not have your information you just turned this into multiple SPOF situation. Now I have to secure everything.
Re:Password Managers: Under the Hood of Secrets Management by prophesi on Wednesday February 20, 2019 @03:05PM (#19211459)
There's no such thing as a multiple SPOF; that's called a multiple point of failure, which is a good thing.

Security is a battle of convenience. If your threat model is state actors, then it may well be worth the inconvenience to have your data secured in several different locations, running Tails OS on everything, scrapping your smartphone, and so on.

Re:Password Managers: Under the Hood of Secrets Management by ergothus on Wednesday February 20, 2019 @03:58PM (#19211910)
> that's called a multiple point of failure, which is a good thing.

Totally leaving aside the argument you were in - multiple single points of failure are bad, and very different than the opposite of a single point of failure.

Having a SPOF means one thing will take you down. Having multiple SPOF means any one of those can take you down. Lack of any SPOF means no one thing will take you down, it will require multiple problems. 3 distinct options.

Re:Password Managers: Under the Hood of Secrets Management by prophesi on Wednesday February 20, 2019 @05:47PM (#19212875)
Ahh, you're totally right. I'll scratch out my post so I don't spread misinformation.

Edit: hm, too much time elapsed for me to edit the parent post

Re:Password Managers: Under the Hood of Secrets Management by tedunangst on Wednesday February 20, 2019 @01:10PM (#19210291)
At some point you're going to enter the master password to unlock the next password, at which point it will be stolen, giving up every password.
Re:Password Managers: Under the Hood of Secrets Management by Faark on Wednesday February 20, 2019 @04:02PM (#19211949)
Only with additional work, if the attacker also extracts your password file. That's something I'd like some resistance against anyway, so malware can't simply do that and potentially decrypt it a few years down the line.

This of cause doesn't help against a resourceful and highly targeted attack, but that's less of a concern for me than some malware toolbox adding support for common password managers.

Re:Password Managers: Under the Hood of Secrets Management by WorldMaker on Thursday February 21, 2019 @04:17PM (#19220648)
Also, on Windows, KeePass at least offers the option to always ask for the master password only in the same secure desktop that UAC and login/logout use. (I don't know why this isn't the default behavior, other than maybe cross-platform compat, but it is not the default. First thing I turn on for fresh installs.) That at least helps mitigate against most software keyloggers / remote automation hack attempts. (Leading the threat concerns back to rootkits and physical hardware access.)
Re:Password Managers: Under the Hood of Secrets Management by UncleMeat on Wednesday February 20, 2019 @12:14PM (#19209636)
Is 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.
Re:Password Managers: Under the Hood of Secrets Management by oarsinsync on Thursday February 21, 2019 @06:00AM (#19215992)
You 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?

Re:Password Managers: Under the Hood of Secrets Management by UncleMeat on Thursday February 21, 2019 @12:24PM (#19218519)
The 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.
Re:Password Managers: Under the Hood of Secrets Management by oarsinsync on Friday February 22, 2019 @05:11AM (#19224251)
Malware 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.

Re:Password Managers: Under the Hood of Secrets Management by Too on Saturday February 23, 2019 @04:21AM (#19232494)
What bank does not use 2FA?! Only having your password should not expose your banking.
Re:Password Managers: Under the Hood of Secrets Management by m1sta_ on Wednesday February 20, 2019 @02:44PM (#19211290)
Masterpassword compromised = all compromised.
Re:Password Managers: Under the Hood of Secrets Management by kerng on Wednesday February 20, 2019 @05:46PM (#19212866)
It'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).

Re:Password Managers: Under the Hood of Secrets Management by deepsun on Wednesday February 20, 2019 @05:52PM (#19212918)
Yep, 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).

Re:Password Managers: Under the Hood of Secrets Management by phyller on Wednesday February 20, 2019 @05:26PM (#19212687)
Consider 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.

Re:Password Managers: Under the Hood of Secrets Management by dasil003 on Wednesday February 20, 2019 @07:55PM (#19213570)
Hold on, are laptop thieves skilled in cracking encrypted password managers? Even if they are I think you'd have time to rotate passwords.
Re:Password Managers: Under the Hood of Secrets Management by pvg on Wednesday February 20, 2019 @05:32PM (#19212746)
my 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.

Re:Password Managers: Under the Hood of Secrets Management by phyller on Wednesday February 20, 2019 @05:38PM (#19212792)
The 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.

Re:Password Managers: Under the Hood of Secrets Management by pvg on Wednesday February 20, 2019 @06:27PM (#19213143)
A better, simpler-sounding plan is to enable better 2FA on your critical accounts. Doesn't this mostly fix your catastrophic scenario?
Re:Password Managers: Under the Hood of Secrets Management by graeme on Wednesday February 20, 2019 @08:52PM (#19213873)
Oftentimes 2fa backup codes are slso stored in the password manager.
Re:Password Managers: Under the Hood of Secrets Management by spydum on Wednesday February 20, 2019 @09:11PM (#19213961)
Or the password recovery for lost 2fa is secret questions (this is so awful,but see it often). And chances are those secret questions/answers might also be in the vault
Re:Password Managers: Under the Hood of Secrets Management by graeme on Wednesday February 20, 2019 @09:37PM (#19214066)
Does anyone have a good solution to these issues for non techncial users? 1password etc + 2fa is great for even not super technical people.

But if it's ever breached I have no idea how you would get clear.

Re:Password Managers: Under the Hood of Secrets Management by pvg on Wednesday February 20, 2019 @09:42PM (#19214090)
Sure but that's roughly equivalent to disabling or not having 2fa. You can still avoid the catastrophic scenario by not-doing that.
Re:Password Managers: Under the Hood of Secrets Management by nickpsecurity on Wednesday February 20, 2019 @11:51AM (#19209406)
Exactly. 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.

Re:Password Managers: Under the Hood of Secrets Management by jiveturkey on Wednesday February 20, 2019 @12:19PM (#19209681)
yup. 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.

Re:Password Managers: Under the Hood of Secrets Management by dontbenebby on Wednesday February 20, 2019 @11:13AM (#19209034)
Yeah, 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.

Re:Password Managers: Under the Hood of Secrets Management by bronco21016 on Wednesday February 20, 2019 @12:03PM (#19209521)
Don’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.
Re:Password Managers: Under the Hood of Secrets Management by akerl_ on Wednesday February 20, 2019 @12:27PM (#19209768)
No, 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).

Re:Password Managers: Under the Hood of Secrets Management by dontbenebby on Wednesday February 20, 2019 @12:49PM (#19210026)
Do 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?

Re:Password Managers: Under the Hood of Secrets Management by icebraining on Wednesday February 20, 2019 @01:33PM (#19210589)
Seems 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.
Re:Password Managers: Under the Hood of Secrets Management by dontbenebby on Wednesday February 20, 2019 @03:35PM (#19211711)
> Seems 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.

Interesting idea. I had just been picturing a second keepass db with a different passphrase (or use a usb key with a keyfile kept offsite) but I like yours too.

(I'm also trying to brainstorm solutions scalable to non-experts so "&Ok fire up the CLI, we're doing GPG*" might work for me, but not everyone in my org :) )

Re:Password Managers: Under the Hood of Secrets Management by nucleardog on Wednesday February 20, 2019 @01:19PM (#19210393)
This is why I refuse to upgrade from 1Password 4. Or switch to another product.

I haven't found anything that I can self-host and allows me to have multiple "vaults". And I refuse to keep all my 2FA codes and recovery codes in the same place as the passwords, since that completely defeats the point.

When I asked 1Password about it, their response was that the functionality wouldn't be coming back in 7 because it wasn't a supported configuration -- it's called 1Password so users should only ever be remembering one password!

If Keepass's entire UX wasn't hot garbage it would be perfect. But here we are.

Re:Password Managers: Under the Hood of Secrets Management by pmoriarty on Wednesday February 20, 2019 @03:23PM (#19211617)
Have you tried KeepassXC?

It can do this, and I don't see anything remotely resembling "hot garbage" in its UX.

https://keepassxc.org

Re:Password Managers: Under the Hood of Secrets Management by oarsinsync on Thursday February 21, 2019 @06:05AM (#19216010)
I use this as well as 1Password. I'd describe the UX generally as being 'hot garbage' compared to 1Password. The difference in polish is night and day.

That said, based on this report, the security model is significantly better, so the decision becomes do I care more about usability/being pretty, or security.

The never-ending trade-of between security and usability continues...

Re:Password Managers: Under the Hood of Secrets Management by dontbenebby on Wednesday February 20, 2019 @03:38PM (#19211738)
>I haven't found anything that I can self-host and allows me to have multiple "vaults".

I'm not familiar with 1Password. How do you access these various "vaults" - you type a password, correct?

I guess I'm not following why multiple Keypass DBs with multiple passphrases is not acceptable for you, but several passwords in one app is?

(To be clear, I'm not saying your opinion is wrong I just want to understand - usable security is an interest of mine :) )

Re:Password Managers: Under the Hood of Secrets Management by oarsinsync on Thursday February 21, 2019 @06:04AM (#19216007)
> When I asked 1Password about it, their response was that the functionality wouldn't be coming back in 7 because it wasn't a supported configuration -- it's called 1Password so users should only ever be remembering one password!

What functionality has gone from 7 and isn't coming back? Multiple vaults with distinct master passwords and not requiring their cloud backing?

Re:Password Managers: Under the Hood of Secrets Management by nucleardog on Friday February 22, 2019 @02:23PM (#19228256)
Yes, exactly that.

You can set up multiple vaults, but it seems to store the master password for the additional vaults within the first, after the first time you unlock the additional vaults. So, effectively, it's a single vault -- access to the one gets you access to all.

Re:Password Managers: Under the Hood of Secrets Management by brodsky on Wednesday February 20, 2019 @06:20PM (#19213111)
you might want to check out Enpass. Multiple vaults and mobile clients are a premium feature, but the desktop app is free and fully local with self-hosted sync options. I'm not affiliated, but have been a happy user for a couple of years.
Re:Password Managers: Under the Hood of Secrets Management by captn3m0 on Wednesday February 20, 2019 @03:27PM (#19211640)
I use pass with multiple vaults. Not the same 2 vaults as you want, but I run one "everything" vault, and another one for just "mobile".

The "mobile-passwords" git repo doesn't have any password I don't use on my phone.

Re:Password Managers: Under the Hood of Secrets Management by jgalt212 on Wednesday February 20, 2019 @08:45PM (#19213842)
I love 2FA for high value services, but I worry about adversaries getting access via social engineering ("I lost my key fob, and I'm on vacation please help!")
Re:Password Managers: Under the Hood of Secrets Management by Ajedi32 on Wednesday February 20, 2019 @11:11AM (#19209020)
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?

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.

Re:Password Managers: Under the Hood of Secrets Management by xoa on Wednesday February 20, 2019 @11:33AM (#19209235)
>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).

Re:Password Managers: Under the Hood of Secrets Management by Ajedi32 on Wednesday February 20, 2019 @12:07PM (#19209565)
> That's what full disk encryption and (eventually) hardware security chips and the like are for.

That only helps if you assume the laptop is fully powered off when it is stolen. If it's on or merely in "sleep" mode, disk encryption doesn't help.

> It never can be

What can never be? Laptops being stolen? A threat doesn't necessarily need to scale to be a problem as long as the gain from individual compromises is sufficient to make it worthwhile.

> What tools "automate" stealing your notebook?

The stealing doesn't need to be automated, just the attack on the password manager itself. A program anyone can download and run on a stolen laptop to extract the password database would be sufficient.

Re:Password Managers: Under the Hood of Secrets Management by xoa on Wednesday February 20, 2019 @12:39PM (#19209901)
>That only helps if you assume the laptop is fully powered off when it is stolen. If it's on or merely in "sleep" mode, disk encryption doesn't help.

First, I said FDE and hardware security chips like Apple's T2 and mentioned stuff being soldered on and HSM backed encrypted memory. Yes, simple FDE and standard PCs can be subject to physical memory swaps and the like, but that becomes vastly more complicated and difficult with devices that use significant hardware security. This is no different then a modern iPhone, where merely having physical possession, even with the phone not powered off, doesn't mean it's trivial to access the data.

Second, you're engaging in the security fallacy of inventing theoretical attacks without considering economic cost or whether they pass the weakest point test in the threat model. The sort of scenario you've come up with is not that simple and not the sort of thing some random crook is likely to do, which is how this thread was started. But if you're dealing with a targeted physical attack by an actor with significant expertise and resources, there are far more trivial weaker points to go for. For example, they could just stick a pinhole camera looking down at your desk (or anywhere else you frequent with your notebook) and just record your password and avoid the whole mess. None of this has anything to do with password managers.

>What can never be?

Try reading the conversation? I responded to "Probably not a common scenario right now", which implies that it could someday become a common scenario. Ie., an attack that could be scalable. But physical end point attacks are inherently not scalable, just like anything else that requires actual boots on the ground. Resource cost is the framework of all security.

>The stealing doesn't need to be automated, just the attack on the password manager itself. A program anyone can download and run on a stolen laptop to extract the password database would be sufficient.

If the stealing isn't automated then it's not scalable and it's an entirely different scenario. And this makes zero sense anyway. You can't just download and run anything on a stolen quality notebook without breaking it's physical security first, which is increasingly non-trivial. The password manager database has absolutely nothing to do with any of this.

Re:Password Managers: Under the Hood of Secrets Management by Ajedi32 on Wednesday February 20, 2019 @07:02PM (#19213322)
You're speaking as if HSM encrypted memory and strong hardware security are standard on all laptops these days. They aren't. Lockscreens can often be bypassed, especially if you have physical access. [1][2]

All it takes is for the _exploit_ to be automated (not the actual act of stealing laptops) such that any random person off the street can do it. Then a targeted attack is no longer necessary; crimes of opportunity become the larger threat.

[1]: https://www.digitaltrends.com/computing/microsoft-fixes-cort...

[2]: https://www.theguardian.com/technology/2017/nov/29/macos-hig...

Re:Password Managers: Under the Hood of Secrets Management by dontbenebby on Wednesday February 20, 2019 @03:43PM (#19211787)
>That only helps if you assume the laptop is fully powered off when it is stolen. If it's on or merely in "sleep" mode, disk encryption doesn't help.

Is this true for Filevault? I know a lot of Mac owners who assume otherwise.

Re:Password Managers: Under the Hood of Secrets Management by extra88 on Wednesday February 20, 2019 @05:54PM (#19212934)
I think for any FDE, including FileVault, the disk encryption helps but there are many more potential avenues for attack if the system was not off when stolen. Those avenues include remote exploits on anything listening for incoming network traffic on the Mac and DMA attacks through Thunderbolt. I don't know what the current status is of exploits through physical ports on a Mac but they have existed in the past.

It's not just Mac users, I mentioned this issue in a meeting with an Apple sales engineer last month and he acted like you don't need to turn off a Mac to make it safer (he's not a security engineer so I don't really expect him to know how un/safe a running system with FileVault is). It may well be that the current OS and/or T2 chip makes it very, very hard to access the boot volume of a running Mac without a user's login but there's still a network exploit risk.

Re:Password Managers: Under the Hood of Secrets Management by dontbenebby on Sunday February 24, 2019 @12:18AM (#19237263)
>Those avenues include remote exploits on anything listening for incoming network traffic on the Mac and DMA attacks through Thunderbolt.

DMA access does sound plausible, but how can someone run a remote network traffic attack?

(I personally turned off any "smart wake" type of functionality)

Re:Password Managers: Under the Hood of Secrets Management by extra88 on Sunday February 24, 2019 @08:57AM (#19238565)
Plug in an Ethernet adapter or wake the computer around unencrypted WiFi (or encrypted WiFi but with a broadly shared password) with the same name as one the computer has used. In addition to direct attacks on anything listening for incoming network connections, I believe applications will keep running and using the network while the screen saver lock is enabled; it may be possible to inject an exploit in a server response to a request from a browser, an email client, etc. though the broad use of encryption at the application transport level makes that much less likely.
Re:Password Managers: Under the Hood of Secrets Management by Xeanort on Thursday February 21, 2019 @04:48AM (#19215744)
If you have an open browser you can easily get HTTP cookies: https://github.com/samyk/poisontap
Re:Password Managers: Under the Hood of Secrets Management by sowbug on Wednesday February 20, 2019 @06:18PM (#19213102)
There is a very small intersection between people who steal laptops and people who can take advantage of sleep vs. off.
Re:Password Managers: Under the Hood of Secrets Management by eikenberry on Wednesday February 20, 2019 @02:19PM (#19211038)
> That only helps if you assume the laptop is fully powered off when it is stolen. If it's on or merely in "sleep" mode, disk encryption doesn't help.

If you have disk encryption you probably also have sleep mode lock the computer. So they still don't have access.

Re:Password Managers: Under the Hood of Secrets Management by mediocrejoker on Wednesday February 20, 2019 @11:41AM (#19209307)
> 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.

Re:Password Managers: Under the Hood of Secrets Management by vinceguidry on Wednesday February 20, 2019 @12:02PM (#19209519)
Is 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.
Re:Password Managers: Under the Hood of Secrets Management by dalf on Thursday February 21, 2019 @11:30AM (#19217957)
What 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://news.ycombinator.com/item?id=19216781 )
Re:Password Managers: Under the Hood of Secrets Management by SlowRobotAhead on Wednesday February 20, 2019 @10:38AM (#19208664)
In 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.

Re:Password Managers: Under the Hood of Secrets Management by xoa on Wednesday February 20, 2019 @11:14AM (#19209044)
Even 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.

Re:Password Managers: Under the Hood of Secrets Management by blitmap on Wednesday February 20, 2019 @11:08AM (#19208986)
- I am no security person myself. -

I always liked this idea: 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.

Re:Password Managers: Under the Hood of Secrets Management by sec_evaler on Wednesday February 20, 2019 @01:24PM (#19210466)
I 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!
Re:Password Managers: Under the Hood of Secrets Management by gcbw2 on Wednesday February 20, 2019 @03:43PM (#19211789)
> ignoring the fact that a password manager makes this as convenient as microformats (which we never got, ironically) for stealing secrets.