dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

Propose password policy based on current standards

Open mkopec opened this issue 1 year ago • 11 comments

The problem you're addressing (if any)

The current password requirements are very strict and won't allow someone to use passphrases (because you need uppercase, lowercase, special, numeric, symbol(?) characters

It has been shown that strict password requirements cause people to re-use their passwords or use shorter ones because they simply can't remember so many complex strings of text, making their overall security lower: https://www.enzoic.com/blog/the-benefits-and-drawbacks-of-password-complexity-rules/

Describe the solution you'd like

Remove or loosen the password requirements

Where is the value to a user, and who might that user be?

People who use passphrases People who are okay with using less secure passwords

Describe alternatives you've considered

FIDO2 auth in setup menu?

Additional context

https://neal.fun/password-game/

The password requirement code was imported completely from edk2-platforms without much thought if we want to actually have these requirements

mkopec avatar Dec 20 '23 16:12 mkopec

Mandatory XKCD: https://xkcd.com/936/

macpijan avatar Dec 20 '23 16:12 macpijan

Not understanding the value of security, or being lazy, should never be a reason to weaken the security.

Personally, to make the password more memorable, I use $ instead of S or 3 instead of E or @ instead of a in casual words.

Secondly how often an average person needs to enter BIOS? Most likely the frequency is high right after buying the HW. But when settings are settled, one almost never enters BIOS setup. The password may be enrolled when one decides on the set of settings.

Even better idea: remove the setup password if the presence of such option causes such willingness to abuse its use.

miczyg1 avatar Dec 21 '23 12:12 miczyg1

And now we know which characters to include in the dictionary when bruteforcing your passwords ;)

mkopec avatar Dec 21 '23 12:12 mkopec

And now we know which characters to include in the dictionary when bruteforcing your passwords ;)

Good luck. Except that I mainly use the generated passphrases from bitwarden-like apps

But in case like these where you need to memorize something, It may be good. And I just gave a few examples. There are more symbol I use, not necessarily in place of regular characters in words

Anyway, don't forget to send me a ransom, when you get to my bank account.

miczyg1 avatar Dec 21 '23 12:12 miczyg1

I guess I'll need to look for peer-reviewed studies showing the impact of password requirements here to show my point.

mkopec avatar Dec 21 '23 12:12 mkopec

Password policy is very common topic, we should just look at existing standards, here are some references: https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#implement-proper-password-strength-controls

Maybe we should change the title of the issue to less-triggerring one, like "Propose password policy based on current standards" ;)

macpijan avatar Dec 21 '23 12:12 macpijan

Not understanding the value of security, or being lazy, should never be a reason to weaken the security.

https://en.wikipedia.org/wiki/False_consensus_effect

pietrushnic avatar Dec 21 '23 14:12 pietrushnic

Not understanding the value of security, or being lazy, should never be a reason to weaken the security.

https://en.wikipedia.org/wiki/False_consensus_effect

Sounds like something that can be applied to anything. So be it.

miczyg1 avatar Dec 21 '23 14:12 miczyg1

Just for reference, AMI:

image

miczyg1 avatar Dec 29 '23 09:12 miczyg1

I guess this is an antipattern we should not follow.

pietrushnic avatar Dec 29 '23 10:12 pietrushnic

When is this issue planned to be implemented, i.e. when will Dasharo accept passphrases as USER or ADMIN password?

rafkoch avatar Apr 09 '24 11:04 rafkoch

@BeataZdunczyk That should be not that difficult change, can we plan to include in the next releases?

macpijan avatar Jun 28 '24 20:06 macpijan

Working on the issue here: https://github.com/Dasharo/edk2/pull/152 https://github.com/Dasharo/docs/pull/857

philipandag avatar Jul 12 '24 10:07 philipandag

https://github.com/Dasharo/edk2/pull/152 https://github.com/Dasharo/docs/pull/857 PRs are merged, closing the issue.

philipandag avatar Jul 18 '24 11:07 philipandag

@BeataZdunczyk @mkopec, @philipandag I do not understand whether DASHARO supports or does not support PASSPHRASES, because the screenshot mentions the old requirements (lowercase, uppercase, aplhabetic, number,...) while under this screenshot in the description it already mentions the requirement of lowercase letters only.

  1. screenshot on docs. dasharo.com link1: image

  2. description under this screenshot link2: image

rafkoch avatar Oct 16 '24 08:10 rafkoch

Screenshot wasn't updated, but password requirements were loosened to allow for passphrases

mkopec avatar Oct 16 '24 08:10 mkopec

So. I'm waiting for replacement the screenshot until it is consistent with the description under it.

rafkoch avatar Oct 16 '24 09:10 rafkoch