Bitzu

CC ยท Logical access control

Principle of least privilege

Granting only the access needed, need-to-know, and applying it to users and services.

Key points

  • Give every user, process and service account only the access it needs to do its job, and nothing more. Pair it with need-to-know for data, remove access when duties change, and apply it to service accounts too, not just people.

Source: https://csrc.nist.gov/glossary/term/least_privilege

Practice questions

Single choice

Which statement best describes the principle of least privilege?

  1. Users receive the minimum access required to perform their assigned tasks
  2. Users receive access to everything their department can see
  3. Users receive access only after they pass a background check
  4. Users receive access that expires every thirty days automatically
Show answer

Answer: A. Users receive the minimum access required to perform their assigned tasks

Least privilege limits each entity to what its function requires. Time limits or screening can help, but they are different controls.

Select all that apply

Which actions apply least privilege?

  1. Give a backup service account only the rights needed to read and copy data
  2. Remove a user's old access after they move to a new team
  3. Give all developers the same administrator rights for convenience
  4. Run routine work from a standard account, not an admin account
  5. Keep default accounts enabled with their original permissions
Show answer

Answer: A. Give a backup service account only the rights needed to read and copy data, B. Remove a user's old access after they move to a new team, D. Run routine work from a standard account, not an admin account

Trimming service rights, removing stale access and using standard accounts for daily work all reduce unneeded privilege. Blanket admin rights and untouched defaults do the opposite.

True or false

True or false: least privilege applies only to human users, so service accounts and applications can keep broad rights.

Show answer

Answer: False

Service accounts and processes are entities too. Over-privileged service accounts are a common route for attackers, so the principle covers them.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CC topics in this module