125 points · by djsumdog · 8y ago · 59 comments
https://en.wikipedia.org/wiki/BSD_Authentication
https://man.openbsd.org/authenticate.3
It does have some benefits, with its process-based model, with various login_* helper utilities (in contrast to PAMs shared libraries). This allows some cool things like "sandboxing" with pledge(2), which it appears many are.. including login_duress.
I think that’s standard procedure already.
Also, note that destructing or concealing evidence that is relevant to a court case or legal investigation is a criminal offense in many jurisdictions. For sure you will face charges just for trying even if you are not successful (e.g. because they’ve imaged the system).
It can still be useful when they don't have physical access to make an image, for instance when the system in question is being remotely accessed via ssh.
> Also, note that destructing or concealing evidence that is relevant to a court case or legal investigation is a criminal offense in many jurisdictions.
It can still be useful when there's no court case or legal investigation. For instance, when you're being illegally threatened to reveal your password.
Bear in mind that law enforcement generally has the ability to go get those too.
> It can still be useful when there's no court case or legal investigation. For instance, when you're being illegally threatened to reveal your password.
You're absolutely right! One caveat worth considering is that this might not be a typical security threat that most people are likely to face.
Simply transferring everything off a 2TB HDD at 100MB/s will take over 5 hours, and that's ignoring any hashing.
I could be behind on certain policies but that’d seem to fly in the face of the fifth amendment (or is concealment not covered?).
https://github.com/skx/pam_pwnd/
That's not exactly the same thing as denying a previously-valid password, but it is along similar lines.
Might the following script make sense:
- Delete/change what you don’t want to share
- Change the regular password to the duress password
- Remove login_duress
Any flaws with this approach or improvements?
The whole point of this is that the adversary doesn't have access.
1Password already has the ability to wipe for travel, would be good to see more of that.
Specifically, plymouth provides the splash screen on boot with many common Linux distros. If I enter the decoy password, take some action, like displaying a fake error screen.
I toyed around with making a plymouth theme to this end, but didn't get far. It would be nice to have a theme that offered plausible deniability wrt FDE.