dwyl / ISO-27001-2013-information-technology-security

:closed_lock_with_key: Probably the most boring-but-necessary repo on GitHub. If you care about the security/privacy of your data...! :white_check_mark:
156 stars 42 forks source link

What is the ISO27001 view on password expiry ? #24

Closed Melonbwead closed 6 years ago

Melonbwead commented 6 years ago

I know this use to be enforced in the earlier version of ISO-27001, but i can't find anything on password expiry in here, maybe i haven't looked hard enought

nelsonic commented 6 years ago

Hi @ChennyBaBy, good question! (thank you for opening this issue!)

Sadly, the ISO27001-2013 doc https://trofisecurity.com/assets/img/iso27001-2013.pdf Has 3 instances of the word password and they are all in the same "control" (A.9.4.3): image

"Password management systems shall be interactive and shall ensure quality passwords."

It does not mention passwords must be rotated ... 🙄

tl;dr: ISO27001-2013 Does Not Require Password Rotation

Typically most "Enterprise" (Corporate) environments require monthly password changes. But, as Bruce Schneier (who we highly respect) says in his 10thOctober 2017 article "Changes in Password Best Practices": https://www.schneier.com/blog/archives/2017/10/changes_in_pass.html image

  1. "Stop it with password expiration. That was an old idea for an old way we used computers. Today, don't make people change their passwords unless there's indication of compromise."

From personal experience (working in "high security" environments) passwords are generally a "weak link", if "complexity" is required people either easily forget their password, or they use a predictable pattern like "word" + digits + punctuation. which when they are required to change their password, they simply increment the digits e.g: "Unicorns7$" >> "Unicorns8$" this satisfies the criteria/requirements:

As you can tell this is a very predictable pattern and is not especially "secure"...

A much better way of encouraging/enforcing security is:

xkcd-password-strength Source: https://xkcd.com/936

If you're curious I would recommend reading the discussion/answers on this thread: https://security.stackexchange.com/questions/4704/how-does-changing-your-password-every-90-days-increase-security This is also a good article "Time to rethink mandatory password changes": https://www.ftc.gov/news-events/blogs/techftc/2016/03/time-rethink-mandatory-password-changes

Melonbwead commented 6 years ago

Thank you so much for this amazing detailed reply!!!! ❤️

Truck3r commented 1 year ago

However ISO 27002 does specify rules for password expiry and rotation: Section 11.3.1 e) change passwords at regular intervals or based on the number of accesses (passwords for privileged accounts should be changed more frequently than normal passwords), and avoid re-using or cycling old passwords;

Since 27002 is often used as implementation guidelines for 27001 (as I understand it), you will likely run into password expiry and rotation in organisations that are 27001 certified. Unfortunately 😢