IAM
Framework of policies, technologies, processes & programs to manage digital identities and govern user access.
Core: Right identity → right access → right resource → right time.
Identity — 3 Data Types
- Identifiers — unique labels: employee ID, username
- Credentials — proof: password, certificate, SAML assertion, biometric
- Attributes — descriptive: name, role, department
1 Identification
Claiming identity. Must be: Unique · Non-descriptive · Secure
2 Authentication
Type I — Knowledge: password, PIN, OTP
Type II — Possession: token, smartcard
Type III — Biometrics: fingerprint, iris
MFA — 2+ DIFFERENT types
3 Authorization
Need-to-Know · Least Privilege · SoD · Implicit Deny · ACL
4 Accountability
Identity + Action + Object + Timestamp. Logs 1 year, no overwrite.
| Type | When | Examples |
|---|---|---|
| Preventive | Stops BEFORE | Locks, firewalls, MFA, IPS |
| Detective | Detects AFTER | CCTV, IDS, honeypots, audit logs |
| Corrective | Fixes after incident | AV quarantine, reboot, backup restore |
| Deterrent | Discourages | Guards, warning signs, mantraps |
| Recovery | Restores resources | Backups, clustering, VM shadowing |
| Directive | Guides behavior | Posted policies, supervision |
| Compensating | Alternative when primary unavailable | Hardware token while waiting for smartcard |
| Model | Who decides | Key feature | Use case |
|---|---|---|---|
| MAC | OS/Kernel | Classification labels | Military |
| DAC | Data owner | Owner sets permissions | File sharing |
| RBAC | Role assignment | Permissions follow roles | HR records |
| ABAC | Policy engine | Subject + resource + env | Cloud context-aware |
Bell-LaPadula
CONFIDENTIALITY
❌ No Read Up · ❌ No Write Down
✅ Military, HR salary data
Biba
INTEGRITY
❌ No Write Up · ❌ No Read Down
✅ Financial, transaction logs
3 Principles
- Verify explicitly — auth on identity, location, device, risk
- Least privileged access — JIT/JEA, risk-based policies
- Assume breach — segment, encrypt all traffic, analytics
⚡ Zero Trust — NIST SP 800-207 Access Flow
User / Device
Policy Enforcement
Policy Decision
App / Data / API
IGA
Identity Governance & Admin — lifecycle, access reviews
AM
Access Management — SSO, MFA, federation
PAM
Privileged Access Mgmt — vault, session monitoring
ADMgmt
Active Directory Management — AD security
ISO/IEC 24760
- IdP — authenticates users, issues tokens. Ex: Okta, Azure AD
- SP — provides services, delegates auth. Ex: Gmail, Salesforce
| Model | How | Pro / Con |
|---|---|---|
| Isolated | Separate creds per domain | Independent ✅ / Complex ❌ |
| Federated | Shared creds across orgs | Cross-org SSO ✅ / Trust dep. ❌ |
| Centralized | Single credential source | Easy mgmt ✅ / SPOF ❌ |
♻️ JML Identity Lifecycle
• Auto-provision AD, email
• Birthright Access Matrix
• Day-1 access
• Remove old rights
• Assign new rights
• Enforce SoD
• Revoke orphaned
• Disable ALL accounts
• Clean tokens/API keys
• Retain audit trail
- Initiate payment + Approve payment → FRAUD RISK
- Create vendor + Initiate payment → GHOST VENDOR
- Create users + Assign roles + Disable logs → INSIDER THREAT
| Tech | Purpose | Key detail |
|---|---|---|
| PAM | Secure privileged accounts | Password vault + session monitoring + least privilege |
| WAM | Web access gateway | On-prem only — no cloud/mobile/API |
| LDAP | Directory service | X.500/TCP-IP. Stores identities, attributes, groups |
| PKI | Digital certificates (X.509) | CAs: Let's Encrypt, DigiCert — enables SSL/TLS |
| Regulation | Scope | Key IAM requirement |
|---|---|---|
| HIPAA | Healthcare e-PHI | Privacy + Security + Breach Notification. Fines $2.1M/yr |
| SOX | Public companies | SoD, audit logs, prove compliance past 90 days |
| GDPR | EU citizen data | Consent, right to be forgotten, breach notification |
| Standard | Type | Token | Use Case |
|---|---|---|---|
| Kerberos | AuthN | TGT / ST | Internal network (Windows/AD) |
| LDAP | Directory | Directory entries | Store & query identities |
| SAML | AuthN + AuthZ | XML Assertion | Enterprise web federated SSO |
| OAuth | AuthZ only | Access Token (JWT) | Third-party API resource access |
| OpenID Connect | AuthN (on OAuth) | ID Token (JWT) | "Sign in with Google" — identity |
| XACML | AuthZ policy lang. | XACML policies | Fine-grained ABAC policies |
📄 SAML SP-Initiated Authentication Flow
Service Provider
Identity Provider
🎫 Kerberos Authentication Flow
Auth Server
Ticket Granting
Resource
🔴 Kerberoasting
Request TGTs for SPN accounts → crack hashes offline. Tools: Mimikatz, Rubeus.
🔴 Golden Ticket
Forge TGT with stolen krbtgt key → admin access to ALL services.
🔴 Silver Ticket
Forge ST from computer account → ONE service, no KDC contact (stealthier).
🔴 Pass-the-Ticket
Replay stolen TGT/ST to impersonate user — no password needed.
| Aspect | SSO | FIM |
|---|---|---|
| Scope | Single org | Cross-org |
| Trust | Centralized | Federated (mutual agreements) |
| Protocol | Kerberos, LDAP | SAML, WS-Federation, OIDC |
| Use case | Internal apps | Partner portals, B2B |
40+ questions covering the full course — drawn from real exams 2022, 2023, 2025.
Select an exam. Click Show All Answers for the full correction.
Topics that always appear on every exam — know these cold.
🔥 MCQ Guaranteed Topics
🔥 Case Study Guaranteed Questions
🔥 Definitions to Know Word-for-Word
| Scenario | Type |
|---|---|
| Firewall blocks unauthorized traffic | Preventive |
| IDS alerts on suspicious login | Detective |
| Forensic analysis after breach | Detective |
| Antivirus removes virus | Corrective |
| Revoking access after intrusion detected | Corrective |
| Security guard at door | Deterrent / Preventive |
| Backup restore after ransomware | Recovery |
| Security awareness training | Directive (Administrative) |
| Hardware token while waiting for smartcard | Compensating |
| CCTV recording server room | Detective |
5 full case studies. Tap any question to reveal the model answer.