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 777orchmod 666on 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.