Unit 19: Identity and Access Management
Lesson at a glance
| Item | Detail |
| --- | --- |
| Suggested length | 3 x 60 minutes |
| Objective alignment | SY0-701 4.6 (Given a scenario, implement and maintain identity and access management). SY0-801 equivalent: 4.5 (apply concepts related to identity and access management) |
| Materials | learner.md reading, worksheet.md lab, assets/ lab files (if any), quiz.md |
| Lab boundary | Local, fictional data only; no scanning or testing of real school, home, or public systems |
CompTIA and Security+ are trademarks of CompTIA, Inc. Blackbox Intelligence Group LLC is not affiliated with or endorsed by CompTIA. Objective numbers are listed for alignment only.
Topics
- Account lifecycle
- Federation, SSO, and the protocols
- Access control models
- Multifactor authentication
- Password concepts (current NIST guidance)
- Privileged access management (PAM)
- SY0-801 notes
Teacher lesson
Maps to: SY0-701 4.6 (Given a scenario, implement and maintain identity and access management). SY0-801 equivalent: 4.5 (apply concepts related to identity and access management). Time: 2 class periods plus lab. Builds on: Starter unit 2 (passwords and MFA).
1. Account lifecycle
- Provisioning creates an account with the access the job needs. De-provisioning disables or removes it when the person leaves or changes roles. Late de-provisioning leaves orphan accounts attackers can use. Unit 20 automates this.
- Permission assignments and implications. Every permission is a path. Watch for privilege creep: people collect access as they change jobs and never lose the old access. Fix it with periodic access reviews.
- Identity proofing confirms a person is who they claim before an account is issued (for example checking government ID). NIST SP 800-63A covers identity proofing [N2].
2. Federation, SSO, and the protocols
- SSO lets one login reach many applications. Federation extends trust across organizations: your company's identity provider (IdP) vouches for you to a partner's service provider (SP).
- LDAP (RFC 4511) is a protocol for querying and modifying directory services, such as looking up users and groups [R2]. Use LDAPS or StartTLS so credentials are not sent in clear text.
- SAML 2.0 (OASIS) is an XML standard in which the IdP sends a signed assertion about the user to the SP; common for enterprise web SSO [S1].
- OAuth 2.0 (RFC 6749) is an authorization framework: it lets an app get a limited access token to call an API on a user's behalf without seeing the user's password [R3]. OAuth alone is not an authentication protocol; OpenID Connect adds an identity layer on top of OAuth 2.0 [S2].
- Interoperability is why standards matter: a SAML or OIDC IdP can serve applications from many vendors.
- Attestation is a signed statement that something is true, such as a security key proving its make and model during registration, or a manager attesting during an access review that a user still needs access.
3. Access control models
| Model | Who decides | Example | | --- | --- | --- | | Mandatory (MAC) | System enforces labels and clearances; users cannot change them | Classified levels | | Discretionary (DAC) | The owner of the object grants access | File owner shares a folder | | Role-based (RBAC) | Permissions attach to roles; users get roles | "Nurse" can read charts | | Rule-based | Rules applied to all requests | Firewall ACL, "no logins 19:00 to 07:00" | | Attribute-based (ABAC) | Policy evaluates attributes of user, resource, action, environment | Same department + managed device + day shift. NIST SP 800-162 [N3] | Plus time-of-day restrictions and least privilege (only what the task needs, for only as long as needed).
4. Multifactor authentication
- Factors: something you know (password, PIN), something you have (token, phone, security key), something you are (biometric), somewhere you are (location). MFA uses two or more different factor types. A password plus a PIN is still one factor type.
- Implementations: biometrics; hard tokens (dedicated device) and soft tokens (an authenticator app); security keys (hardware, typically FIDO2/WebAuthn, which resist phishing because the key checks the site's origin).
- Authenticator apps usually implement TOTP (RFC 6238): HMAC of a shared secret and the current 30-second time step [R1]. The lab computes TOTP and checks it against the RFC test vectors.
5. Password concepts (current NIST guidance)
NIST SP 800-63B-4 (2025) says verifiers SHALL require at least 15 characters for passwords used as a single factor, and at least 8 when the password is only part of MFA; SHALL NOT impose other composition rules (such as mixing character types); SHALL NOT require periodic changes, but SHALL force a change on evidence of compromise; SHALL check new passwords against a blocklist of common or compromised values; SHOULD allow at least 64 characters [N1]. Exam terms map like this: length (most important), complexity (NIST now advises against composition rules; the exam may still ask what complexity means), reuse (block reuse; check breach lists), expiration and age (maximum age forces change; minimum age stops users cycling back to an old password; NIST no longer recommends routine expiration). Password managers make long unique passwords practical. Passwordless options (passkeys, security keys) remove the shared secret.
6. Privileged access management (PAM)
- Just-in-time permissions: admin rights granted for a short approved window, then removed.
- Password vaulting: privileged credentials stored in a vault, checked out with logging, rotated after use.
- Ephemeral credentials: short-lived credentials created for one session or task, then expiring.
SY0-801 notes
801 4.5 adds account types (user, privileged global/local, service, third-party, emergency access), OTP and backup codes, time-based and just-in-time as access models, access reviews, passkeys, compromised credential monitoring, account auditing. Attribute-based moves out of the list. Tag lessons accordingly.
Sources
- [C1] CompTIA SY0-701 objectives v7.0, 4.6; SY0-801 objectives v2.0, 4.5.
- [N1] NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management, Sec. 3.1.1 Passwords. https://pages.nist.gov/800-63-4/sp800-63b/authenticators/
- [N2] NIST SP 800-63A-4, Identity Proofing and Enrollment. https://pages.nist.gov/800-63-4/sp800-63a.html
- [N3] NIST SP 800-162, Guide to Attribute Based Access Control (ABAC). https://csrc.nist.gov/pubs/sp/800/162/upd2/final
- [R1] RFC 6238, TOTP: Time-Based One-Time Password Algorithm. https://www.rfc-editor.org/rfc/rfc6238
- [R2] RFC 4511, LDAP: The Protocol. https://www.rfc-editor.org/rfc/rfc4511
- [R3] RFC 6749, The OAuth 2.0 Authorization Framework. https://www.rfc-editor.org/rfc/rfc6749
- [S1] OASIS, SAML V2.0 Technical Overview. https://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html
- [S2] OpenID Connect Core 1.0. https://openid.net/specs/openid-connect-core-1_0.html