Identity & Access Management: MFA, Least Privilege

Identity and Access Management (IAM) governs Identification (claiming an identity), Authentication (proving the identity).

What to practice

  • Evaluate MFA workflows and distinguish Single Sign-On (SSO), OAuth 2.0, OIDC, SAML, and Kerberos.
  • Compare DAC, MAC, RBAC, and ABAC access control models and enforce Least Privilege and Separation of Duties.
  • Convert between symbolic (`-rwxr-x---`) and octal (`750`) Linux permissions and identify SUID/SGID escalation risks.

1. Core Concept Instruction

Identity and Access Management (IAM) governs Identification (claiming an identity), Authentication (proving the identity), Authorization (enforcing what resources the identity may access), and Accounting/Auditing (logging actions). Multi-Factor Authentication (MFA) requires credentials from at least TWO distinct factor categories: (1) Something You Know (password, PIN), (2) Something You Have (hardware FIDO2 key, smart card, authenticator app token), (3) Something You Are (fingerprint, iris scan), or (4) Somewhere You Are (geolocation). Access control models include DAC (Discretionary: file owner grants access), MAC (Mandatory: OS enforces security clearance labels like Top Secret), RBAC (Role-Based: permissions assigned to job roles like 'Nurse' or 'Auditor'), and ABAC (Attribute-Based: dynamic rules combining user role, time of day, device posture, and location). In Linux, file permissions are represented by three 3-bit octal digits (User/Owner, Group, Other) where read r = 4, write w = 2, and execute x = 1.

2. Worked Examples

Worked Linux Octal chmod Permission Calculation & Least-Privilege Audit

A payroll script `run_payroll.sh` owned by user `svc_pay` and group `finance` currently has permissions `-rwxrwxrwx` (`chmod 777`). (a) Convert `rwxr-x---` and `rw-r-----` to 3-digit octal notation. (b) Select the exact `chmod` command so `svc_pay` can read/write/execute, `finance` group members can read/execute, and all other users have zero access.

Result:

Phishing-Resistant FIDO2/WebAuthn MFA vs. SMS OTP & Least-Privilege RBAC

After an attacker uses a real-time reverse-proxy adversary-in-the-middle (AiTM) phishing page to capture a user's password and 6-digit TOTP code, security architects redesign the authentication flow.

Result: Deploy origin-bound FIDO2/WebAuthn hardware keys and enforce least-privilege Role-Based Access Control

Core Concept Review

Identity and Access Management (IAM) governs Identification (claiming an identity), Authentication (proving the identity), Authorization (enforcing what resources the identity may access), and Accounting/Auditing (logging actions). Multi-Factor Authentication (MFA) requires credentials from at least TWO distinct factor categories: (1) Something You Know (password, PIN), (2) Something You Have (hardware FIDO2 key, smart card, authenticator app token), (3) Something You Are (fingerprint, iris scan), or (4) Somewhere You Are (geolocation). Access control models include DAC (Discretionary: file owner grants access), MAC (Mandatory: OS enforces security clearance labels like Top Secret), RBAC (Role-Based: permissions assigned to job roles like 'Nurse' or 'Auditor'), and ABAC (Attribute-Based: dynamic rules combining user role, time of day, device posture, and location). In Linux, file permissions are represented by three 3-bit octal digits (User/Owner, Group, Other) where read r = 4, write w = 2, and execute x = 1.

Extended Concept Analysis

Identity and Access Management (IAM) governs Identification (claiming an identity), Authentication (proving the identity), Authorization (enforcing what resources the identity may access), and Accounting/Auditing (logging actions). Multi-Factor Authentication (MFA) requires credentials from at least TWO distinct factor categories: (1) Something You Know (password, PIN), (2) Something You Have (hardware FIDO2 key, smart card, authenticator app token), (3) Something You Are (fingerprint, iris scan), or (4) Somewhere You Are (geolocation). Access control models include DAC (Discretionary: file owner grants access), MAC (Mandatory: OS enforces security clearance labels like Top Secret), RBAC (Role-Based: permissions assigned to job roles like 'Nurse' or 'Auditor'), and ABAC (Attribute-Based: dynamic rules combining user role, time of day, device posture, and location). In Linux, file permissions are represented by three 3-bit octal digits (User/Owner, Group, Other) where read r = 4, write w = 2, and execute x = 1.

Worked Problem Walkthrough

Worked Linux Octal chmod Permission Calculation & Least-Privilege Audit

A payroll script run_payroll.sh owned by user svc_pay and group finance currently has permissions -rwxrwxrwx (chmod 777). (a) Convert rwxr-x--- and rw-r----- to 3-digit octal notation. (b) Select the exact chmod command so svc_pay can read/write/execute, finance group members can read/execute, and all other users have zero access.

Phishing-Resistant FIDO2/WebAuthn MFA vs. SMS OTP & Least-Privilege RBAC

After an attacker uses a real-time reverse-proxy adversary-in-the-middle (AiTM) phishing page to capture a user's password and 6-digit TOTP code, security architects redesign the authentication flow.

Common Exam Traps & How to Avoid Them

  • Confusing Authentication (verifying who you are via MFA) with Authorization (checking whether your role has permission to read a database table).

  • Setting chmod 777 or chmod 666 on production configuration files, violating the Principle of Least Privilege.

Key Vocabulary

  • Principle of Least Privilege: Granting every user, program, or service account only the minimum permissions necessary to perform its authorized tasks.

  • ABAC (Attribute-Based Access Control): An authorization model that evaluates context attributes (user, resource, environment, time, location, device health) against policy rules.

Use this chapter companion

Review the lesson, attempt the original practice, then check the explanation. Your printed study guide remains complete without the website.

Independence

Skill by Skill Prep is independent. SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC. Practice results describe these questions, not official scores or admission predictions.

Last updated .