News for hackers. Stuff that matters.
Re:Password Managers by ramraj07 on Saturday June 05, 2021 @07:29PM (#27409290)
After realizing how every program running on your machine can Snoop on your clipboard I'm never allowing any program to send my password to the clipboard again.
Re:Password Managers by mimimi31 on Saturday June 05, 2021 @07:50PM (#27409397)
Haven't you pretty much already lost when you can't trust the programs running on your machine? If they can snoop on your clipboard, they're probably also able to access your sensitive files, log key presses, take screenshots, install browser extensions etc.
Re:Password Managers by Wowfunhappy on Saturday June 05, 2021 @09:47PM (#27410019)
They'd need root access to do half of those things. The other half are bad but not life-shattering.
Re:Password Managers by mimimi31 on Sunday June 06, 2021 @03:59AM (#27411545)
This obviously depends on your OS and setup, but on Linux + Xorg at least I don't need root access to do any of the things I listed.
Re:Password Managers by Wowfunhappy on Sunday June 06, 2021 @10:48AM (#27413562)
Sorry, I must have been very tired last night. This morning, I can't remember (or figure out) which actions I was thinking of when I wrote that.

The only one that still jumps out to me is browser extensions—I'm pretty sure none of the major browsers allow that without user approval within the browser. You'd have to do something nasty which would require root.

Re:Password Managers by mimimi31 on Sunday June 06, 2021 @02:22PM (#27415077)
>The only one that still jumps out to me is browser extensions—I'm pretty sure none of the major browsers allow that without user approval within the browser. You'd have to do something nasty which would require root.

I've admittedly never tried it, but as far as I understand, installing an extension in Firefox just involves copying the corresponding .xpi file to the profile folder (which is owned by the user, not root) and modifying a few configuration files (e.g. extensions.json). I don't see why some other program wouldn't be able to do that.

If root access were required, you'd have to supply your root password every time you wanted to install an extension.

Re:Password Managers by Wowfunhappy on Sunday June 06, 2021 @02:33PM (#27415162)
Nope, they don't allow that anymore! https://blog.mozilla.org/addons/2020/03/10/support-for-exten...

This is in addition to the fact that Firefox has absolutely mandatory code signing for extensions (the only recourse is to recompile Firefox). That's something I'm very much not happy about, but does have upsides.

Re:Password Managers by mimimi31 on Sunday June 06, 2021 @03:12PM (#27415475)
I have a hard time imagining how they enforce that. What keeps a malicious program from replicating the exact changes that Firefox makes when installing an extension? What about just replacing the whole profile folder with one that has a malicious extension installed?

>Firefox has absolutely mandatory code signing for extensions

That helps I guess, but there are clearly still malicious extensions that can pass the automated tests and get signed. Even if that wasn't possible, you could probably use some userscript extension and load malicious scripts that way.

Re:Password Managers by Wowfunhappy on Sunday June 06, 2021 @08:16PM (#27417599)
> What keeps a malicious program from replicating the exact changes that Firefox makes when installing an extension? What about just replacing the whole profile folder with one that has a malicious extension installed?

I obviously haven't spent time trying to break this, but I would assume the config file is hashed. You probably could replace the whole profile, but that would be very noticeable to the user.

Re:Password Managers by paulryanrogers on Saturday June 05, 2021 @07:55PM (#27409423)
KeePass (official) can split the auto fill between typing and pasting to mitigate sniffers which only monitor cupboard or keyboard.
Re:Password Managers by FooHentai on Sunday June 06, 2021 @12:58AM (#27410905)
I'm far less worried about that than I am about one website breach resulting in my accounts on other sites being compromised.

Perfect security doesn't exist, of course, so somewhere in the middle lies a good compromise that trades off risk and convenience. For me keepass on a synced drive hits the mark.

Not sure what the solution would be if you don't trust local programs - Keepass' paste method already bypasses the clipboard IIRC by entering directly into the fields.

Re:Password Managers by accrual on Saturday June 05, 2021 @08:50PM (#27409705)
I think it would be great if major OSs offered an "$app copied/pasted from clipboard" notification like iOS.
Re:Password Managers by fsflover on Tuesday June 08, 2021 @02:16PM (#27438828)
If you care about such things, you should probably use Qubes OS with a dedicated VM storing passwords.