News for hackers. Stuff that matters.
Re:Backdoored password manager stole data from as many as 29... by lmilcin on Saturday April 24, 2021 @07:54PM (#26929224)
That's why I don't use password managers. That's giving one entity too much power over everything I own.
Re:Backdoored password manager stole data from as many as 29... by StavrosK on Saturday April 24, 2021 @07:56PM (#26929234)
Do you simply remember hundreds of random passwords?
Re:Backdoored password manager stole data from as many as 29... by lmilcin on Saturday April 24, 2021 @08:08PM (#26929277)
I have couple of ways of dealing with the problem.

-- Pen and paper? It is still a thing and cannot be stolen online.

-- If you are afraid your family will access it without your knowledge, use tamper evident bag and a notepad to make notes of bag serial numbers. This prevents anybody from accessing it without your knowledge.

-- Split the password into components so that even if somebody gets access to the piece of paper with the password they still can't log in. I make a note of the variable part of the password and remember a different prefixes/suffixes. I use different prefixes/suffixes for different classes of accounts. For most critical accounts I don't reuse anything.

-- Use hardware (yubikeys) as second factor, to lessen pressure on the password. Unfortunately almost nobody implements these well. In most cases it is possible to turn off the second factor without presenting second factor which basically nullifies the value of it. If you use second factor on a site that implements it well, remember to have MULTIPLE copies of it. Keep it in triplicate, one with you, one in tamper evident bag and one offsite.

Re:Backdoored password manager stole data from as many as 29... by jobigoud on Sunday April 25, 2021 @04:20AM (#26931169)
Pen and paper doesn't work when you have hundreds of 20-char good passwords and it doesn't work for backups if you regularly create new ones. You need search and you need to sync the new entries to offsite backup as they are created.
Re:Backdoored password manager stole data from as many as 29... by StavrosK on Saturday April 24, 2021 @08:11PM (#26929285)
Do you carry this around with you, or is it just for high-value passwords? I regularly have to log in to things, carrying a notepad of passwords with me would be inconvenient and dangerous.
Re:Backdoored password manager stole data from as many as 29... by swiley on Saturday April 24, 2021 @08:32PM (#26929375)
You don't have a notepad anyway?

although I've never personally understood the advantage password managers have over just using AES encryption that most text editors have.

Re:Backdoored password manager stole data from as many as 29... by CarelessExpert on Saturday April 24, 2021 @08:48PM (#26929451)
Easy integration with browsers and so forth which significantly simplifies UX, especially for less sophisticated users. Built in password/passphrase generator. Mobile device support. Search and organization functions. The ability to store other kinds of secrets like ssh keys. TOTP support. I'm sure there's stuff I'm missing but those are a few things that spring to mind.

Personally, I use keepassxc + keepass2android + browser plugins + syncthing. The idea of storing my passwords in someone else's cloud gives me the heebie jeebies...

Re:Backdoored password manager stole data from as many as 29... by jjav on Sunday April 25, 2021 @03:39AM (#26931027)
If you're optimizing for UX you're not optimizing for security. It's just how it is.

My password manager can't communicate with anything, it's local only. It runs on a separate host so no, it doesn't have any browser integration. A browser is way too complex attack surface to trust. Only way I get a password is to ssh into the isolated host, decrypt password and cut & paste.

Less convenient, sure. Also far more secure.

Re:Backdoored password manager stole data from as many as 29... by CarelessExpert on Sunday April 25, 2021 @09:08AM (#26932407)
> If you're optimizing for UX you're not optimizing for security. It's just how it is.

Security can never be perfect. It's a lesson in trade-offs.

For example, if you make security so hard or inconvenient that people won't engage in secure behaviors, then in the end you're worse off.

This is the reason password rotation has fallen out of favor lately.

If in general we did away with password managers and took your lead, I guarantee we would collectively be worse off because, for most folks, what you describe would be seen as way more trouble than it's worth.

Your black-and-white take also fails to account for varied threat models.

Remember, the most common threat model online today is service breaches leading to passwords being exposed, followed by credential stuffing. Password managers encourage practices that eliminate that threat model.

If your threat model is centered on password manager service breaches like this one, then use a solution that doesn't require cloud hosting (e.g. keepass).

So now we need to worry about device breaches, which requires hackers to go after individual users (either targeted or untargeted), which has a much higher cost/complexity. We've made the hackers job a lot harder, which is good.

And if your model is centered on device breaches, well, bad news: your browser already sees your passwords go by (among many other things), so if the device is breached, you're hooped, password manager or no password manager.

Re:Backdoored password manager stole data from as many as 29... by megous on Sunday April 25, 2021 @07:49AM (#26932032)
I think about making something similar. Though the direction would be in reverse.

Say a Pinephone with no way to ssh into by default that is normally powered off. No services listening on the network running on it + strict firewall.

It can only initiate connections to other devices.

Unless I want to sign a ssh key from a CA stored on it or provide a password to some of my other devices it's just powered off. All of DRAM is cleared prior to shutdown. Pinephone can boot to UI in ~2-3s so it would not be bothersome to keep it normally off, and boot up only when needed. Battery would last months for a single charge for this use case.

It would run just a few processes. Init, maybe wpa_supplicant for wifi, and a UI process. Very simple SW, extremely limited attack surface.

Pinephone has a nice feature that it can emulate any USB device, so I could connect it over USB to any machine, and just make it look like a keyboard, and just type in the username and password into a focused field, for the password filling feature.

If I want to create a short term ssh certificate and sign a SSH key for access to a customer machine, the phone would connect to my workstation/notebook/whatever directly over ssh and sign/upload the certificate.

Re:Backdoored password manager stole data from as many as 29... by jfrunyon on Sunday April 25, 2021 @04:37AM (#26931246)
> A browser is way too complex attack surface to trust. Only way I get a password is to ssh into the isolated host, decrypt password and cut & paste.

A browser is too complex but an OS and SSH aren't? There are vulnerabilities in both disclosed regularly.

Re:Backdoored password manager stole data from as many as 29... by jjav on Sunday April 25, 2021 @01:16PM (#26934441)
> A browser is too complex but an OS and SSH aren't?

Yes, most certainly.

A browser is running adversarial third party code all the time as a matter of course. While browsers do a good job at isolating, expecting this to be perfect is way too fragile for a security critical requirement like putting all passwords in one basket.

An isolated and minimized OS install, much easier to harden. Never runs any code you don't know about.

Re:Backdoored password manager stole data from as many as 29... by cutemonster on Sunday April 25, 2021 @06:56AM (#26931815)
Different types of vulnerabilities, not that much comparable
Re:Backdoored password manager stole data from as many as 29... by EVa5I7bHFq9mnYK on Sunday April 25, 2021 @04:48AM (#26931292)
Not sure I can call clipboard a very secure communication protocol.
Re:Backdoored password manager stole data from as many as 29... by cutemonster on Sunday April 25, 2021 @06:58AM (#26931826)
If your OS is owned (hostile apps have access to the clipboard), you're doomed anyway?

You can use different computers / VMs

Re:Backdoored password manager stole data from as many as 29... by Too on Sunday April 25, 2021 @08:11AM (#26932128)
They don't rely on transferring the password via an insecure channel - your clipboard.

Other applications can sniff the clipboard, you might accidentally copy another of your credentials into website or you might forget to clear it after use and then later accidentally paste it into an irc-channel.

There is also risk of visually exposing the password in the text editor, either to someone else in the room, screen sharing or screenshot from another malicious app.

A bit into the tinfoil-hat side, but it's passwords we are talking about after all.

Re:Backdoored password manager stole data from as many as 29... by atat7024 on Sunday April 25, 2021 @09:26AM (#26932522)
Malicious JavaScript can sniff the clipboard.
Re:Backdoored password manager stole data from as many as 29... by bosie on Sunday April 25, 2021 @04:52AM (#26931305)
No notepad for me unfortunately. how do you use your setup on mobile?
Re:Backdoored password manager stole data from as many as 29... by swiley on Sunday April 25, 2021 @05:59AM (#26931563)
I have a hard time imagining getting any useful (maybe I could review PRs?) work done on a smartphone, also my company didn't give me one and both they and I have a strict policy of not mixing personal and work devices.
Re:Backdoored password manager stole data from as many as 29... by CarelessExpert on Sunday April 25, 2021 @09:23AM (#26932499)
Okay, but what about your personal accounts? Do you just not use them on your phone? Manually key in passwords while looking at them on a PC?
Re:Backdoored password manager stole data from as many as 29... by II2II on Saturday April 24, 2021 @08:54PM (#26929473)
In my case, the most critical passwords are memorized and are not stored in any other medium after the brief period that it takes to memorize it. Simply put, I saw a breach like this coming and I anticipate many more in the future. Simply put, password managers are too big of a target.

As for the rest, a written record is sufficiently secure since most of those login credentials aren't protecting anything important. I also have a tendency to avoid services that require a login.

Re:Backdoored password manager stole data from as many as 29... by atq2119 on Sunday April 25, 2021 @01:15AM (#26930491)
Browsers have had built-in password stores for years now. Why not just use those?
Re:Backdoored password manager stole data from as many as 29... by ComodoHacker on Sunday April 25, 2021 @02:05AM (#26930644)
So let that one entity be your browser vendor?

Also, the article says this product is primarily for enterprise customers, who need other features like sync across team and team access management.

Re:Backdoored password manager stole data from as many as 29... by atq2119 on Sunday April 25, 2021 @03:57AM (#26931091)
My browser already sees all of my (web) passwords anyway. Therefore, using the browser's built-in password management reduces the number of external entities I need to place my trust in.

Though fair enough when it comes to enterprise features.

Re:Backdoored password manager stole data from as many as 29... by w4rh4wk5 on Saturday April 24, 2021 @08:05PM (#26929268)
Just note them down in a book? I know, it sounds stupid, but nowadays it's a lot easier to keep a small booklet save than a digital file on a connected machine.
Re:Backdoored password manager stole data from as many as 29... by lmilcin on Saturday April 24, 2021 @08:13PM (#26929291)
No, it is not stupid.

It is strange how people get blinded by technology and forget about oldest, most reliable methods.

I have worked as a security officer at a credit card acquirer (basically, processing credit card transactions between terminal and the bank).

The process to safeguard your PINs is extremely complex but at the very end relies on pieces of paper with passwords and key components written down, put in tamper evident envelopes and then into safes.

Re:Backdoored password manager stole data from as many as 29... by jniedrauer on Sunday April 25, 2021 @01:26AM (#26930521)
You're describing backups. The base derivation keys still have to exist in an HSM to be used. No one is opening a safe and hand-typing the BDK each time they need to issue a PIN encryption key.
Re:Backdoored password manager stole data from as many as 29... by lmilcin on Sunday April 25, 2021 @05:39AM (#26931487)
It is not a backup. Backups are made just in case.

In case of HSM keys, the HSM itself is built to loose those keys at the least pretense. It is also not possible to retrieve the keys.

So whenever you want to provision a new HSM or even just move it couple centimeters (it looses keys when you try to move it) you have to go to the components written on paper.

It is just like a password on a website -- you have to be entering it regularly. But once you enter the password you don't need to retype it for every HTTP request.

Key components = password HSM = browser Message with PIN block = HTTP request

Re:Backdoored password manager stole data from as many as 29... by cryptica on Saturday April 24, 2021 @09:39PM (#26929638)
It's easy. Just come up with a secret rule and derive the passwords from that rule such that the password is different for each website/service.
Re:Backdoored password manager stole data from as many as 29... by function_seven on Sunday April 25, 2021 @12:34AM (#26930368)
I used to do this. It fell apart fast. Some websites require special characters and numbers and upper and lower case letters. Others actually prohibit certain special characters (weak SQL injection "prevention"). Some limit the length to 8 or 16 characters, others don't.

Then a random breach happens, and the website will force you to choose a new password.

I couldn't remember which variant of my rule I used at a particular website. This is aside from how easy my rule was to reverse engineer (which was made really clear to me once when I saw a couple of my PWs on haveibeenpwned

Re:Backdoored password manager stole data from as many as 29... by cryptica on Sunday April 25, 2021 @10:48AM (#26933137)
You can have different variants so you try one and if that's not it then you try the backup/alternative. In my case, this was only a problem with a couple of websites which I rarely used. I just did a password reset every time I wanted to log into these websites.
Re:Backdoored password manager stole data from as many as 29... by scrollaway on Saturday April 24, 2021 @10:14PM (#26929816)
Then the passwords are not secret, the rule is. And figuring out a rule with a couple of examples is much easier than breaking into an encrypted, properly secured password vault.

In case I'm losing you, here's a parallel: if I ask you to pick and remember a random number between 1 and 1 billion, the odds of me figuring it out are low. But if I ask you to pick and remember 200 numbers between 1 and 1 billion, you will likely come up with "a rule", and then if I get a couple of example numbers (in a "password leak"), i can probably figure it out. The numbers are no longer secret, it's the rule that is.

Re:Backdoored password manager stole data from as many as 29... by shard on Sunday April 25, 2021 @12:32PM (#26934014)
That depends on the type of threat being protected against. If the threat is a mass exfiltration of passwords, this method will probably work fine since nobody will bother trying to figure out that one weird trick to get this one person's passwords when there are a few million others to work on. If the threat is someone targeting you specifically, then you might need a better system.
Re:Backdoored password manager stole data from as many as 29... by lmilcin on Sunday April 25, 2021 @07:12PM (#26937603)
For somebody to guess your rule they would have to have an access to a number of your passwords.

Also, what the rules is is completely up to you. Be inventive.

If it comes to reverse engineering your rule it means you are facing a targeted attack. Believe me, you can't prevent a targeted attack by a good password.

It is better to have one rule to generate a lot of passwords that are good on their own and independent enough than have small number of passwords shared between many services.

Re:Backdoored password manager stole data from as many as 29... by edflsafoiewq on Sunday April 25, 2021 @02:32AM (#26930741)
Generally the rule would be hash(master password ++ key).
Re:Backdoored password manager stole data from as many as 29... by scrollaway on Sunday April 25, 2021 @07:57AM (#26932064)
Then you're just reimplementing a password manager... Badly.
Re:Backdoored password manager stole data from as many as 29... by cryptica on Sunday April 25, 2021 @10:49AM (#26933143)
Well it could be your own secret hashing or concatenation algorithm which you can do in your head. For example, you could use parts of the domain name to map to a specific word from a list that you've memorized. But there is an infinite number of rules you can choose from so you don't lose any security.
Re:Backdoored password manager stole data from as many as 29... by jjav on Sunday April 25, 2021 @03:35AM (#26931006)
Agreed. Password managers are an awesome thing, and yet, thus they present an extremely juicy attack target. Too many eggs in one basket.

It's an area where the right answer is to give up some convenience for better OpSec. Use a local-only password manager that can't communicate anything to anywhere.

Re:Backdoored password manager stole data from as many as 29... by isatty on Sunday April 25, 2021 @06:40AM (#26931733)
Just salt the password with a memorized phrase.