News for hackers. Stuff that matters.
Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Tuesday October 24, 2023 @03:41AM (#37995876)
And people keep asking me why I use a self-hosted, self synced, password manager instead of using one of those super-easy, super-helpful online services to do it for me.

For the same reason why I don't throw my apartment keys into the local train stations safebox.

Re:1Password detects "suspicious activity" in its internal O... by bmikaili on Tuesday October 24, 2023 @04:01AM (#37996011)
Irrelevant. 1password passwords are encrypted with a key only you have. I HIGHLY doubt that you can keep your homeserver more secure than 1password can its servers.
Re:1Password detects "suspicious activity" in its internal O... by SCHiM on Tuesday October 24, 2023 @04:05AM (#37996048)
Security is not an absolute measure. It's a cost/benefit tradeoff. 1Password may have customers that make it economical for an adversary to spend $$$$ to breach it despite "better" security, whereas your "less" secure home setup may not be worth the effort.
Re:1Password detects "suspicious activity" in its internal O... by 8organicbits on Tuesday October 24, 2023 @06:41AM (#37997113)
I wouldn't worry about a targeted attack if I was "nobody" and I was self hosting. Likely bitwarden? I'd worry about an attacker scanning and exploiting every instance they can find. Scanning is cheap and provides value in aggregate.

I'd recommend only exposing bitwarden on an intranet, or controlling access with a strict firewall, but the setup guide makes no such suggestion. https://bitwarden.com/help/install-on-premise-linux/

Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Wednesday October 25, 2023 @03:47AM (#38010319)
I thank you for your advice and no, it's not bitwarden. I have losely described my setup elsewhere in this thread.
Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Tuesday October 24, 2023 @04:05AM (#37996041)
> 1password passwords are encrypted with a key only you have.

So is my password store.

> I HIGHLY doubt that you can keep your homeserver more secure than 1password can its servers.

I also highly doubt that my trousers pockets are harder than the 1.5cm thick hardened-steel-doors of the storage lockers at the local train station, or that my pyhsical constitution is superior to those of the trained security guards they have there.

And yet, guess where the keys to my apartment are kept. Hint: Not at the train station.

Re:1Password detects "suspicious activity" in its internal O... by offices on Tuesday October 24, 2023 @05:23AM (#37996628)
Irrelevant. The risk of a targeted attack is much lower than the risk of being part of an online attack. I doubt there's anyone on this site who hasn't been part of one of the latter but for someone to decide that I have something worth stealing they must first know that I exist.
Re:1Password detects "suspicious activity" in its internal O... by vinckr on Tuesday October 24, 2023 @06:24AM (#37997000)
Irrelevant. Just because you are paranoid does not mean nobody is trying to get your keys.
Re:1Password detects "suspicious activity" in its internal O... by vladvasiliu on Tuesday October 24, 2023 @05:32AM (#37996695)
> 1password passwords are encrypted with a key only you have.

Are they? How does the vault password recovery work, then?

Re:1Password detects "suspicious activity" in its internal O... by edualm on Tuesday October 24, 2023 @06:13AM (#37996924)
That feature only exists on family/team accounts, and in that case the account that is allowed to perform recoveries has an escrow of the vault passwords of other team members.

1Password themselves don't hold these keys.

Re:1Password detects "suspicious activity" in its internal O... by vladvasiliu on Tuesday October 24, 2023 @09:42AM (#37999075)
But it's possible to authorize a new account to perform recoveries of vaults created before. So there must be a way of distributing the escrow.

My point is not so much to throw 1Password under the bus (I'm a happy user), but I'd be curious to see a description of how this works.

Re:1Password detects "suspicious activity" in its internal O... by smileybarry on Tuesday October 24, 2023 @10:49AM (#37999936)
The user who currently holds escrow can distribute those recovery keys to other accounts in that family/team/enterprise. This is why 1Password SaaS forces you to have at least one account admin (aka the user with recovery keys). If you somehow have 0 account admins, creating a recovery key -- without full decryption access to a vault, aka, user still knows their password & account key -- is impossible.
Re:1Password detects "suspicious activity" in its internal O... by ilyt on Tuesday October 24, 2023 @09:24AM (#37998852)
Ain't nobody giving shit about your pictures kept on home server. Security measures need to be relevant to chance of attack, they do not exist in the void.

And so mediocre protection of irrelevant target can be far more effective than good protection of juicy target

Re:1Password detects "suspicious activity" in its internal O... by fofoz on Tuesday October 24, 2023 @03:46AM (#37995919)
I'm curious. Which one are you using?
Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Tuesday October 24, 2023 @03:50AM (#37995943)
Re:1Password detects "suspicious activity" in its internal O... by 8organicbits on Tuesday October 24, 2023 @06:54AM (#37997216)
I think this works well if you're already invested in GPG for code signing or something and use terminals a lot. It's a little unusual as key management uses asymmetric crypto, so you can add a password without opening your keyring. The passwords are stored in directories and the directory names are the plaintext name of the password (i.e. the site and username). So it doesn't offer privacy. Tampering is possible, you can delete a password without unlocking the keychain by deleting the directory. So it only really protects read access to a password.
Re:1Password detects "suspicious activity" in its internal O... by ilyt on Tuesday October 24, 2023 @09:28AM (#37998903)
We use similiar gpg-based one in our Configuration Management infrastructure, works really well.

The data files are encrypted with keys of the CM main servers and other admins, GIt has history in case something that should not get removed got removed and if you want you can also force that the data will always be signed with certain keys on server side git hooks if you want to have more accountability than just git logs.

With little config even git diff/git log work showing unencrypted (if you have right key) content.

Re:1Password detects "suspicious activity" in its internal O... by xjlin0 on Tuesday October 24, 2023 @10:18PM (#38008384)
My mom use pen and paper. Pretty secure I'd say.
Re:1Password detects "suspicious activity" in its internal O... by DanielHB on Tuesday October 24, 2023 @03:54AM (#37995965)
what do you think about Brave password manager? It seems to fit your bill
Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Tuesday October 24, 2023 @04:10AM (#37996089)
Never used it, so can't say anything about it. I prefer `pass`. It certainly fits my bill, and is easy for me to audit myself.
Re:1Password detects "suspicious activity" in its internal O... by realusername on Tuesday October 24, 2023 @03:44AM (#37995896)
Same, I use the pass command line + git (since it's integrated with it) and I never had a single problem until now.

Additionally I can even use it in scripts.

There's no server breach, no web extension exploit, no server errors making me lose me all my passwords, it just works.

Re:1Password detects "suspicious activity" in its internal O... by mirzap on Tuesday October 24, 2023 @04:44AM (#37996365)
You may feel safer that way, but it is not. If a dedicated attacker can breach Okta, they can surely breach your self-hosted, self-synced password manager you manage, which you forgot to update on time, or you don't get an update on time.

Remember, these organizations fix the issues weeks, sometimes months, before they release the statement.

If you use open-source and a critical bug is found, you'll get a patch with a press release, while all other large services fixed that already. For average Jane or Joe, the risk-benefit ratio favors services against self-hosted solutions.

Re:1Password detects "suspicious activity" in its internal O... by offices on Tuesday October 24, 2023 @05:20AM (#37996601)
>If a dedicated attacker can breach Okta, they can surely breach your self-hosted, self-synced password manager you manage

They can't and they won't because these are different threat models with vastly different incentives.

Re:1Password detects "suspicious activity" in its internal O... by waihtis on Tuesday October 24, 2023 @06:44AM (#37997144)
False, because it's not only a matter of technical difficulty, but also one of economics. Very unlikely for your average person to be a victim of a deliberate targeted attack.
Re:1Password detects "suspicious activity" in its internal O... by mirzap on Tuesday October 24, 2023 @08:42AM (#37998332)
Not targeted, but a random attack and data leak is very likely. Much more likely than if they used the service. That's why 99.999% of people should stick with the services.
Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Tuesday October 24, 2023 @12:16PM (#38001319)
A random attack that just happens to breach specifically my home server, that uses custom made service scripts to enable syncing to my devices, isn't reachable from the internet, and is airgapped from my DMZ?

Which then somehow manages to exfiltrate and decrypt data that is still encrypted with a public key, the private key to which is not stored on that system, and itself encrypted symetrically?

Yeah, that doesn't sound like a "random attack" to me, that sounds like a subplot in a Keanu Reeves Movie...

Re:1Password detects "suspicious activity" in its internal O... by blantonl on Tuesday October 24, 2023 @08:42AM (#37998334)
What is an "average person?"

There is probably a half way decent chance that the vast majority of participants here, in singular, that would be economically gold mines for compromise.

Re:1Password detects "suspicious activity" in its internal O... by mirzap on Tuesday October 24, 2023 @08:52AM (#37998483)
A bad term, I would say now, "most people." For me, hosting a password manager is like hosting an email server. There are situations where it makes sense. But for 99.99% of people, services are just good enough. Not to mention what a gold mine emails are if they get compromised.
Re:1Password detects "suspicious activity" in its internal O... by dubcanada on Tuesday October 24, 2023 @08:42AM (#37998342)
I suppose in that sense hanging out with a rich friend would mean you're very unlikely to be kidnapped.

While probably true most of the time. It does give you a false sense of security, which makes you a very easy and potentially profitable catch. If you fail to update and a scripted bot catches you, the actor notified will certainly see what's in there.

And if anything you're more likely never to find out. Which means they can just come after a few months later. Maybe they stole your first CC and then your second CC. I think there is possibilities there that make sense.

Re:1Password detects "suspicious activity" in its internal O... by worksonmine on Tuesday October 24, 2023 @07:35AM (#37997598)
> If a dedicated attacker can breach Okta, they can surely breach your self-hosted, self-synced password manager you manage, which you forgot to update on time, or you don't get an update on time.

Why would you assume the self-hosted alternative even has a server to be breached? If this is the same Okta breach from this week it was a human support channel that was breached. There's nobody like that in front of my setup, and no server or open ports.

Re:1Password detects "suspicious activity" in its internal O... by mirzap on Tuesday October 24, 2023 @08:48AM (#37998421)
Good for you. But the average user wants a password manager on all their devices, including web and mobile browsers. They don't want keepassx and to keep track of a single file. There's nothing to gain, except a false sense of security.
Re:1Password detects "suspicious activity" in its internal O... by worksonmine on Tuesday October 24, 2023 @04:50PM (#38005348)
The preferences of normal users aren't relevant for the privacy and security minded. They will always choose the easy route, which was the point of the comment you initially replied to. Here's a quote:

> And people keep asking me why I use a self-hosted, self synced, password manager instead of using one of those super-easy, super-helpful online services to do it for me.

The security of self-hosting and keeping the backups up to date (trivial to automate for computer-literate users) is not false compared to getting pwned by customer service with enough access to be dangerous. You're making it sound way more difficult than it is.

Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Tuesday October 24, 2023 @12:11PM (#38001238)
An attacker would first have to find my system, specifically, and then breach it. In terms of the most common method of breaching systems, social engineering, it is me, a single software engineer with a very solid background as a sysadmin, compared to a staff of many hundreds or thousands of employees at a large, visible company.

So simply in terms of attack surface, exposure and discoverability, doing that is a REALLY tall order. Many animals on this world survive not because they are huge and strong, but because they are tiny, fast and next to invisible.

Economics play a huge role in attacking systems. Targeted attacks are time consuming, costly, and if the end result is one guys passwords, usually not worth it. People carrying out such attacks want to use a dragnet, not a fishing rope.

> If you use open-source and a critical bug is found

...then many many many large organisations have the same problems as I do, only while being a lot more exposed and visible than me. Because the software I use relies on the same standardized, battle tested, vetted and re-vetted for years technologies as many commercial products.

Re:1Password detects "suspicious activity" in its internal O... by leokennis on Tuesday October 24, 2023 @05:35AM (#37996715)
I understand your point, but if my password vault was a self hosted piece of software and a self hosted vault file, I'd be nervous every day of losing data.
Re:1Password detects "suspicious activity" in its internal O... by trumpeta on Tuesday October 24, 2023 @06:03AM (#37996868)
I think the self-hosted bit is just for syncing, as long as you have multiple devices its not likely to lose data even if you don't follow the 3-2-1 backups.
Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Wednesday October 25, 2023 @03:52AM (#38010340)
> I'd be nervous every day of losing data

And I am, same as I am worried everyday about losing the keys to my apartment. I am speaking as a person who once only got them back by sheer luck (and a young mans honesty), after they fell out of a hole in my trousers pocket.

However, I would be even more nervous if the security of these keys were up to someone other than me. For example a random employee of a big company, whos access to the system I have no say in, who I never met, and whos actions I can neither see nor regulate.

Bottom line is: I prefer worrying about myself failing, than someone else. Because I can do something about the former.

Re:1Password detects "suspicious activity" in its internal O... by leokennis on Wednesday October 25, 2023 @09:51AM (#38012765)
I think it depends on the skills and risks involved.

I prefer a qualified pilot worrying about keeping the Boeing I'm traveling in airborne, than myself.

But indeed, I rather worry myself about my house keys than someone else.

For me, keeping extremely sensitive data always available and securely secret forever is more like flying an airplane than not losing my house keys.

Re:1Password detects "suspicious activity" in its internal O... by usrbinbash on Thursday October 26, 2023 @04:20AM (#38023090)
> always available and securely secret forever

Yeah...about that...

https://password-managers.bestreviews.net/faq/which-password...

And while I am certainly not qualified to fly an aircraft, I do feel that I am quite qualified when it comes to software engineering and systems administration.

So yeah, this is something I rather do myself.