What IAM covers
Identity & Access Management (IAM) is about proving who someone is (authentication) and then controlling what they can do (authorisation). Security+ tests both the theory and the specific technologies.
Authentication factors
There are three classic factors: something you know (password, PIN), something you have (smart card, token, phone), and something you are (biometrics - fingerprint, iris, face). A fourth, less tested factor is somewhere you are (geolocation). Multifactor authentication (MFA) means combining factors from at least two different categories - two passwords is NOT MFA, it is just two knowledge factors.
Authentication protocols and standards
- Kerberos uses tickets and a Key Distribution Centre (KDC); tickets typically expire (commonly 10 hours by default in Windows AD), preventing indefinite reuse.
- LDAP (port 389, or 636 for LDAPS) is the standard for querying directory services like Active Directory.
- RADIUS (UDP 1812/1813) and TACACS+ (TCP 49) are AAA protocols for network device and remote access authentication. TACACS+ encrypts the whole packet; RADIUS only encrypts the password.
- SAML, OAuth 2.0 and OpenID Connect (OIDC) enable federation and single sign-on (SSO) across organisations. SAML uses XML assertions; OAuth issues access tokens; OIDC adds an identity layer on top of OAuth.
Access control models
- DAC (Discretionary): the resource owner decides who gets access.
- MAC (Mandatory): access set centrally by security labels/clearance (used in military/government).
- RBAC (Role-Based): access tied to job role, not the individual.
- ABAC (Attribute-Based): access decided dynamically from attributes (time, location, device).
- Rule-Based access control uses if-then rules (e.g. firewall ACLs).
Key principles
- Least privilege: give users only the access they need to do their job, nothing more.
- Need to know: even with clearance, only see information relevant to the task.
- Separation of duties: split critical tasks between two or more people to stop fraud.
- Just-in-time (JIT) access and privileged access management (PAM) grant elevated rights temporarily, then revoke them.
Common mistakes to avoid
- Confusing authentication (who you are) with authorisation (what you can do) - a classic exam trap.
- Forgetting that federation and SSO reduce password fatigue but create a single point of failure if the identity provider is compromised.
- Assuming biometrics are foolproof - they can be spoofed and cannot be 'reset' like a password if stolen.
- Not rotating or expiring service account credentials, a top real-world breach cause.
What are the three classic authentication factors?
Something you know, something you have, something you are (knowledge, possession, inherence).
tap to reveal
Does using two passwords count as MFA?
No - both factors are 'something you know', so it is not multifactor, just two knowledge checks.
tap to reveal
What port does LDAP use unencrypted, and what does LDAPS use?
LDAP uses port 389; LDAPS (encrypted) uses port 636.
tap to reveal
What is the default maximum Kerberos ticket lifetime in Windows Active Directory?
10 hours by default.
tap to reveal
What ports does RADIUS use and what does it encrypt?
UDP 1812 (auth) and 1813 (accounting); it only encrypts the password, not the whole packet.
tap to reveal
How does TACACS+ differ from RADIUS in encryption?
TACACS+ (TCP port 49) encrypts the entire packet, whereas RADIUS only encrypts the password.
tap to reveal
What is the difference between SAML and OAuth 2.0?
SAML uses XML assertions for SSO authentication; OAuth 2.0 issues tokens for delegated authorisation (not primarily identity).
tap to reveal
What does OpenID Connect (OIDC) add to OAuth 2.0?
An identity/authentication layer, allowing verification of who the user is, not just authorisation.
tap to reveal
Define authentication vs authorisation.
Authentication proves who you are; authorisation determines what you are allowed to do once identified.
tap to reveal
What is Role-Based Access Control (RBAC)?
Access permissions are assigned based on a user's job role rather than to the individual directly.
tap to reveal
What is Attribute-Based Access Control (ABAC)?
Access decisions are made dynamically using attributes like time, location, or device posture.
tap to reveal
What is the principle of least privilege?
Users should be granted only the minimum access necessary to perform their job function.
tap to reveal
What is separation of duties?
Splitting a sensitive task between two or more people so no single individual can complete fraud alone.
tap to reveal
What is just-in-time (JIT) access?
Temporary elevated privileges granted for a task that automatically expire afterward, part of PAM.
tap to reveal
What is the main risk of federated SSO?
The identity provider becomes a single point of failure - if compromised, all federated services are exposed.
tap to reveal