Course · Domain 5 · 13% · 15 h

Identity and Access Management (IAM)

Full course for Domain 5 (Identity and Access Management - IAM), structured in 9 modules. IAM sits at the heart of information security: it ensures that only the right identities reach the right resources, at the right time, for the right reasons. Weighing roughly 13% of the CISSP exam, this domain is one of the most operational and most heavily tested.

The guiding thread is the IAAA model - identification, authentication, authorization, accountability. Identification assigns a unique label to every subject and object; authentication proves the claimed identity through one or more factors; authorization defines which resources are reachable and what type of access is granted; accountability tracks and logs each action to produce an audit trail usable in forensic analysis.

The course covers access control foundations, factors and biometrics (with FAR, FRR and the crossover error rate), single sign-on and federated identity (FIM, Kerberos, SAML, OAuth, OIDC), authorization models (DAC, MAC, RBAC, ABAC), the full access provisioning life cycle, privileged account management (PAM), and modern authentication systems. Everything is framed through policies, compliance (GDPR, HIPAA) and exam traps.

Learning outcomes

By the end of this course you will be able to

  • Explain the IAAA model and clearly distinguish identification, authentication, authorization and accountability.
  • Select and justify an authentication factor type (something you know/have/are) and design relevant multi-factor authentication.
  • Interpret biometric error rates FAR (Type 2), FRR (Type 1) and the crossover error rate (CER) to compare sensors.
  • Compare the authorization models DAC, MAC, RBAC, RuBAC and ABAC and map them to a classification context.
  • Design single sign-on and federated identity (FIM) with Kerberos, SAML, OAuth or OpenID Connect, identifying the client, SP/RP and IdP roles.
  • Drive the access provisioning life cycle, from identity proofing to deprovisioning, and prevent privilege creep through access reviews.
  • Implement privileged account management (PAM) and monitoring/logging controls that produce a forensic audit trail.
  • Tie IAM choices to compliance requirements (GDPR, HIPAA) and to the principle that due care and due diligence cannot be outsourced.

Prerequisites : It helps to have covered Domain 1 (risk management, the CIA triad, due care and due diligence), Domain 2 (data owner, data custodian and classification) and Domain 3 (security models and architecture concepts). These notions underpin the vocabulary and authorization decisions of Domain 5.

Suggested path

Three sessions of roughly three to four hours each, spreading the 9 modules. The progression moves from conceptual foundations toward mechanisms (factors, federation, authorization), then toward operations (life cycle, privileged accounts, authentication systems). Work through each checkpoint before moving to the next session.

  1. Session 1 - Foundations and identity

    MODULE 1 · MODULE 2 · MODULE 3

    Access control vocabulary, identities as labels, and the IAAA model (identification, authentication, authorization, accountability) as the backbone of the domain.

  2. Session 2 - Factors, federation and authorization

    MODULE 4 · MODULE 5 · MODULE 6

    Factors and biometrics (FAR, FRR, CER), single sign-on and federated identity management (Kerberos, SAML, OAuth, OIDC), then authorization models DAC, MAC, RBAC and ABAC.

  3. Session 3 - Life cycle and systems

    MODULE 7 · MODULE 8 · MODULE 9

    Access provisioning life cycle and privilege creep prevention, privileged account management (PAM), then authentication systems and session management in production.

Module 1 Objective A 100 min Foundational

IAM foundations: assets, subjects/objects, IAAA, physical and logical access

Prerequisites : None. Entry point of Domain 5.

Every organization classifies and categorizes its information according to the value it represents for its activities. If one of the security characteristics of that information is compromised, the organization assesses the impact on that value. This is where the mission of identity and access management (IAM) is born : to create and manage identities, associate privileges with them, and then use this information to ensure that no unknown or unrecognized identity, human or non-human, accesses resources or performs operations on them.

This module lays the foundation of the domain. Here you will distinguish IAM from identity management (IdM), you will master the "triple A" summarized by the acronym IAAA (identification, authentication, authorization, accounting/accountability), and you will understand the fundamental subjects/objects vocabulary as well as CRUD operations. You will then see how to administer an access control system (centralized, decentralized, hybrid), how to combine administrative, physical and logical controls, and why physical security constitutes a distinct problem that no costly logical defense can replace.

The notions appear simple but the exam tests them on fine distinctions : IAM vs IdM, identification vs authentication, PACS as a general class vs a set of U.S. federal standards. By the end of the module, you will know how to connect the value of an asset and the result of risk management to the right mix of controls, and explain why information classification must precede the choice of controls.

Learning objectives

  • Distinguish IAM from identity management (IdM) and name the human and nonhuman users IAM must manage
  • Break down the IAAA acronym (identification, authentication, authorization, accounting/accountability) and its tie to the triple A
  • Define subjects and objects, the CRUD operations plus share/archive/store, and the complexity of the ultimate requesting subject
  • Compare the three IAM administration models (centralized, decentralized, hybrid) with their advantages and disadvantages
  • Explain access control as a system combining administrative, physical, and logical controls
  • Differentiate Logical Access Control Systems from Physical Access Control Systems (PACS) and justify why physical security is a distinct problem

Success criteria

  • Choose IAM over IdM in a question about federated or cloud systems, and vice versa
  • Correctly order and name the four IAAA components
  • Map a given access to the right CRUD or share/archive/store operations, and identify the real requesting subject
  • Select the administration model fitting a context (24-48 h latency, fault tolerance, strict control)
  • Classify a given access control as administrative, physical, or logical
  • Justify that a physical threat bypasses costly logical defenses and name the driver of controls (asset value and risk management outcome)

1.1 IAM vs IdM, and the IAAA lifecycle

IAAA lifecycle: identification, authentication, authorization, accounting
Figure 1.1 · The IAAA lifecycle: an identity claims itself (identification), proves itself (authentication), receives rights (authorization), and its actions are traced (accounting/accountability).

The market hesitates between two terms. Some sources, such as Gartner, reserve identity management (IdM) for the process of issuing and managing identities to control their access to the resources of a system, and keep IAM for the broader problem of identity and access in cloud and federated systems. The course adopts IAM as the encompassing term. An IAM system creates and manages identities, associates privileges with them, and then leverages this information so that no unknown or unrecognized identity accesses resources or acts on them. It must also track the entire life cycle of an identity and its access attempts.

Key point : not all users are human. IAM must manage humans but also non-humans - software, hardware, connected objects (IoT) and a growing number of robots. An application service, an automation script or an IoT sensor has an identity and requests access, exactly like a person.

At the heart of IAM is the "triple A" : authentication, authorization and accounting (AAA). With the identity management function that precedes it, we speak of the acronym IAAA : identification (declaring who you are), authentication (proving it), authorization (determining what you are allowed to do) and accounting/accountability (tracing and attributing actions). Without this cornerstone, no security control would know which activities to authorize and which to block.

Key terms IAM IdM IAAA Triple A (AAA) Nonhuman users Accountability
Key points
  • IAM is the umbrella term; IdM (Gartner sense) is limited to issuing and managing identities
  • IAM manages humans AND nonhumans: software, IoT, robots
  • IAAA = identification, authentication, authorization, accounting/accountability
  • Identification claims, authentication proves: do not confuse them

1.2 Subjects, objects, and access operations

A subject requests CRUD access to a database (object) via an intermediary host
Figure 1.2 · Figure 5.1: a subject requests access to an object via an intermediary host; the system decides whether to allow the create, read, update, delete operations.

ISO/IEC 27000:2016(E) defines access control as a "means to ensure that access to assets is authorized and restricted based on business and security requirements." Stated more explicitly, access control consists of controlling the access of subjects to objects in a system. An object is an information asset or system resource to be protected : files, records or fields in a database, but also memory, CPU time, disk space, network interfaces, physical areas of a building, printed documents, even Wi-Fi channels. An object can even be another subject. A subject is any person, process, device or entity that wants to access an object.

Access is expressed in database terms by CRUD operations - create, read, update, delete - to which the data security life cycle of Domain 2 adds three explicit actions : share, archive and store. Identifying the right operation is essential : a read right is not an update right.

The figure illustrates the complexity of the ultimate requesting subject. A human often uses an intermediary computer, which may not belong to them, to reach a database on a server. The user launches an application on their device, to which the OS assigns process IDs ; one of these process IDs, for a given thread, issues system calls to open a connection to the remote database, soliciting other process IDs that act on its behalf. The server only sees the remote connection request and the access requests that follow. The DBMS must then receive credentials saying in essence : "user X, recognized and approved on their own system, requests access to these records to perform these CRUD actions on them ; can you approve?"

Key terms Subject Object CRUD Share/archive/store Ultimate requesting subject Process ID
Key points
  • Subject = who requests; Object = what is requested (sometimes another subject)
  • CRUD plus share, archive, store describe the possible operations
  • Identifying the ultimate requesting subject is hard because of chained process IDs
  • ISO/IEC 27000: access is authorized AND restricted per business and security requirements

1.3 Administering IAM: centralized, decentralized, hybrid

Three columns comparing centralized, decentralized, and hybrid administration
Figure 1.3 · The three IAM administration models: centralized (strict control), decentralized (owners decide, 24-48 h latency), hybrid (central for the baseline, owners for files).

Information about access, whether logical or physical, is stored somewhere in the form of data. Its management is organized in three main ways. In centralized administration, a single function configures access controls ; any modification goes through this central administration, after approval by an established procedure and the competent authority. Advantages : strict control (few individuals can act), centralized oversight of every account, easy closure of all access for a departing person, uniform procedures easy to enforce. Trade-off : all authentication and authorization actions go through the central system, which makes updates immediately available on all nodes, but imposes strong performance constraints on this system.

In decentralized (or distributed) administration, access is controlled by the owners or creators of the files, wherever they are. Advantage : control is in the hands of the people most accountable for the information, most familiar with it and best placed to judge who should do what. Disadvantages : lack of consistency of procedures between owners, difficulty in obtaining a system-wide view of all access, risk of conflicts of interest introduced inadvertently, and difficulty in properly revoking access during a transfer or departure. Above all, pushing updates of the AC database to all servers can take 24 to 48 hours ; this latency opens a window in which an attacker can exploit privileges that management has decided to revoke but that not all nodes have yet applied.

In hybrid administration, centralized control applies to certain information and decentralized control to other information. Typical pattern : the central administration provides the broadest and most basic access, while the creators/owners of files manage access to their own files. A new hire thus receives from the central administrator permissions according to their department, their job classification and their task - for example read-only on a corporate SharePoint library, but read-write on their department's weekly report ; and if they leave a project, the project lead easily closes their access to the file concerned.

Key terms Centralized administration Decentralized administration Hybrid administration Propagation latency Fault tolerance
Key points
  • Centralized: strict control, easy revocation, but heavy load on the central system
  • Decentralized: owners decide, better fault tolerance, but 24-48 h latency
  • Hybrid: central for the baseline, owners for their own files
  • Decentralized latency opens a window to exploit revoked privileges

1.4 Access control as a system: administrative, physical, logical

Defense layers stacking administrative, physical, and logical controls
Figure 1.4 · Access control as a system: administrative controls drive the design, then combine with physical and logical controls in defense in depth.

An access control system is built with the three categories of security controls. Administrative controls - policies, directives, procedures, training, standards and compliance requirements oriented toward the human - drive the design of workflows to meet security needs. From this design foundation, professionals choose the right mix of physical and logical (or technical) controls. NIST and ISO publications on AC refer as much to policies and procedures as to devices and software rules.

A physical control guides, prevents or permits the movement of people and devices in a defined space : the simplest example is a door that can be locked. A logical control acts within the data flows of the system : the login process is the illustration, it transforms the data generated by the user's physical actions (keystrokes, clicks) to decide whether or not to grant the next software step. A smart card mixes the two. The reader on the door does not directly actuate the locks : the data read on the card, plus any data entered, are sent over the network to an AC server. This server decides whether or not to grant access according to its rule base, then commands the entry controller to open or refuse. As part of accounting, it records the attempt and the decision ; the controller also logs on its side.

An essential precedence : before selecting and implementing the type of logical control, the data owner must classify and categorize their information. These complementary processes identify the type of protection required (in CIANA+PS terms) and its extent, to meet the organization's overall risk management needs. This step must come first. SMEs often push back this risk-based approach, believing it adds too much analysis and cost ; this is not inevitable.

Key terms Administrative control Physical control Logical control AC server CIANA+PS Classify and categorize
Key points
  • Three categories: administrative, physical, logical (technical)
  • The smart card blends physical and logical via an AC server that decides and logs
  • Classifying and categorizing information (CIANA+PS) MUST precede control choice
  • Controls derive from risk management and asset value

1.5 Logical (FICAM) and physical (PACS) systems; protecting applications, services, devices

Logical and physical access systems stacked as defense layers
Figure 1.5 · Logical (FICAM) and physical (PACS) systems collaborate: a PACS, general class or federal standard, protects entryways and devices with least privilege.

The U.S. FICAM roadmap (Federal Identity, Credential and Access Management) defines a Logical Access Control System as an automated system that : authorizes or denies use to an individual user ; authorizes or permits it ; relies on the fact that the user has an identity registered and approved by the system ; uses resources of the information system (endpoints, workstations, networks, applications, system software or data) ; and grants, for this access, the instances of permissions registered for that identity. The volume of remote users often imposes a logical AC system far more complex and nuanced than physical control : it is simpler in principle to restrict the movements of people than to control the multiple forms of remote access and resource sharing.

Physical Access Control Systems (PACS) generally use automated systems - thus logical elements - to manage the passage of people, material and equipment through defined entrances, or to authorize/prevent physical access to a specific device (endpoint, server, technical room). A purely physical example : the inside of a server rack configured to require two people, each opening their own combination padlock, with an administrative process ensuring that no single person knows both combinations. Specific authorization rules authenticate the identity that wants to cross the entrance (user ID, shipping manifest, device ID, inventory tag) ; NIST SP 800-53r4 specifies these aspects.

The acronym PACS has a double meaning : it designates the general class of physical AC systems, and also a precise set of policies, procedures and standards (such as NIST SP 800-53r4) used by U.S. federal agencies and their contractors. Finally, IAM protects three large families of assets with the principle of least privilege : applications (not all employees need the same resources or the same level of permission - example Microsoft 365/SharePoint, or an accounting application reserved for finance) ; services (offered by cloud providers via policies determining which subjects access which services) ; and devices.

Key terms Logical Access Control System FICAM PACS Two-person rack NIST SP 800-53r4 Least privilege
Key points
  • FICAM defines the Logical Access Control System as an automated system based on a registered identity
  • PACS: dual meaning, general class of systems OR US federal standards (NIST SP 800-53r4)
  • The two-person rack illustrates separation of knowledge in physical security
  • Applications, services, and devices are protected with least privilege

Case studies

Case · Case study

The U.S. Department of Homeland Security PACS

Context : The U.S. Department of Homeland Security (DHS) operates in government buildings, leased spaces, and contractor-provided facilities. Its approach to Physical Access Control Systems (PACS) illustrates several security concepts. The DHS PACS is divided into four areas operating independently under the PACS administrator's direction. Identification: PACS requires a person's personally identifiable information (PII) to authorize physical access; its sensors read the personal identity verification (PIV) card to verify authorization. Visitor management: visitors and contractors without a PIV card must be identified before any access. Parking permit management: the Office of the Chief Administrative Officer (OCAO) issues and tracks parking permits via PACS (name, email, permit number and type, dates). Alarm monitoring and intrusion detection: the alarm application lets OCAO monitor the intrusion detection system (IDS); each alarm activation or incident (communication or power failure) is recorded. The IDS combines sensors, lights, and mechanisms through which the Office of the Chief Security Officer (OCSO) detects intrusions; the only PII the IDS collects are the first and last name of the person authorized to arm/disarm the alarm and their PIN code.

Question : Name the logical or physical systems described in the PACS. What can be assumed about the nature of the identification information? And why does DHS view physical access control as a set of problems distinct from information-system access?

Topics covered PIV card and PIIVisitor management and pre-screeningPhysical sensors (CCTV) vs logical (IDS/IPS)Mantrap, turnstile, barrierPhysical security as a distinct problem
Show analysis and answer

PACS is a set of physical AC processes and technologies applicable to any organization, not just federal buildings. It describes the controls to apply to any entity entering a controlled space : employees, contractors, citizen or non-citizen visitors. In all cases, some form of pre-screening precedes admission.

The systems described mix physical and logical. A PACS begins with an identification and authorization process - turnstile, mantrap, barrier or retractable bollard for vehicles - which presents both a physical and a logical barrier. Then come physical sensors (CCTV, motion and acoustic sensors) for continuous surveillance of the space, and logical sensors (IDS, IPS) that monitor activity on the network and on critical hosts. Identification information (PII, PIV card, PIN codes) is sensitive and provides, given the degree of pre-screening required, reasonable assurance that no threat weighs on the security of the occupants or the data of the site.

The DHS is right to treat physical security as a distinct problem. Organizations spend enormously to protect networks, data and systems from external attacks, often with costly and complex technologies - but their existence sometimes creates a false sense of security. If a malicious actor obtains physical access to the site, and the occupants believe their site is safe, they let their guard down : physical access makes it possible to bypass many of these costly solutions.

Takeaway : A PACS combines physical AND logical barriers and sensors; physical security stays a distinct problem because physical access bypasses costly logical defenses.

Key learning points
  • A PACS blends physical and logical barriers (mantrap, IDS/IPS) and requires pre-screening
  • Identification information (PIV, PII, PIN) is sensitive and underpins authorization
  • Physical access bypasses the costliest logical defenses; never lower the guard
Case · Applied scenario

Waxbill/MLZ Systems: controlling physical access to critical assets

Context : You are Chief Security Officer of MLZ Systems, pursuing a government contract to sell UAVs (drones). The federal project liaison contacts you about a review of your physical access controls. They want to understand how you regulate access to critical assets - equipment, servers, facilities -, your authentication and authorization processes for physical entry into restricted areas, your protocols for external personnel and contractors, your procedures for adjusting or revoking rights on role changes or terminations, and how your physical security policies are communicated and enforced.

Question : How is physical access to critical assets controlled, and what mechanisms prevent unauthorized entry, especially for external personnel and on a termination or role change?

Topics covered Keycard plus biometricsEscorted access and time-limited badgesThird-party background checksReal-time revocation (centralized AC)Physical least privilege
Show analysis and answer

Authentication and authorization : MLZ applies a strict keycard system coupled with biometric authentication to regulate entry into sensitive areas. Access rights are assigned according to roles and responsibilities, ensuring that each employee only enters the areas relevant to their functions - a direct application of least privilege to the physical world.

External personnel : externals, suppliers included, undergo thorough background checks before any access. Escorted access and time-limited badges are imposed on third parties, minimizing the threat. This treatment reuses the logic of visitor management from the DHS case : pre-screening, identification, and temporal and spatial confinement of access.

Adjustment and revocation : rights are reviewed and updated in real time via a centralized AC system. Immediate revocation procedures apply to departures and role changes, preventing any unauthorized access. This point illustrates the advantage of the module's centralized model : revocation is immediate on all nodes, whereas a decentralized model would suffer a latency of 24 to 48 hours - a window exploitable by a disgruntled leaver. Finally, clear policies are communicated through regular training, accessible documentation, periodic reminders and quizzes that maintain a security culture (administrative control).

Takeaway : Keycard plus biometrics, escorted and time-limited access for externals, and real-time revocation via centralized AC: physical security applies least privilege and benefits from centralized immediacy.

Key learning points
  • Strong physical authentication combines keycard and biometrics, with role-based rights
  • Externals require background checks, escort, and time-limited badges
  • Real-time revocation via centralized AC removes the latency window of a departure or role change
Exam pitfall

Identification vs authentication

The exam often contrasts these first two letters of IAAA. Identification is the mere claim of an identity: announcing a user ID, presenting a PIV card. Authentication is the proof of that identity: entering a password, validating a biometric. Claiming is not proving. If a question mentions "presenting a card" or "entering a username," that is identification; if it mentions "verifying," "proving," or "validating" the claim, that is authentication. Authorization (what the proven identity may do) comes next, then accounting/accountability (traceability).

Exam pitfall

PACS: dual meaning

The acronym PACS has two meanings and the exam plays on the ambiguity. On one hand, PACS denotes the general class of Physical Access Control Systems - any physical AC system, in any organization. On the other, it denotes a specific set of policies, procedures, and standards (such as NIST SP 800-53r4) used by U.S. federal agencies and their contractors. The question's context should orient you: do not dismiss PACS just because your organization has no tie to the U.S. federal market; the general class applies everywhere.

Exam pitfall

Physical security is a distinct problem

A recurring trap is to believe costly logical defenses are enough. On the contrary, they can create a false sense of security. Physical access to the site bypasses many of those solutions: an attacker who reaches a server, workstation, or wiring closet can short-circuit network controls. That is why physical access control needs its own policies, distinct from information-system access, and measures such as the two-person rack or the mantrap. Never answer that investing in logical defenses removes the need for physical ones.

Checkpoint : IAM foundations: assets, subjects/objects, IAAA, physical and logical access

  1. Which considerations should primarily drive the implementation of physical and logical access controls?

    • A The number of process IDs generated by the operating system, as a proxy for the attack surface
    • B The mandatory use of NIST SP 800-53 in all cases, as the baseline required for every organization
    • C Historic log analytics services, as the only reliable source of the threats actually observed
    • D The outcome of the risk management exercise and the asset value as set by the data owner
    Answer and rationale

    Answer : D. The outcome of the risk management exercise and the asset value as set by the data owner

    Threats, their likelihood, and their impact (the risk management outcome) shape the control environment, and the asset value set by the data owner drives the level of investment. NIST SP 800-53 may be required for federal agencies but is not a general consideration. Historic log analytics may feed risk management but do not directly drive controls. The number of process IDs is unrelated to driving controls.

  2. What is the difference between centralized and decentralized administration?

    • A In decentralized, a single function configures access control; in centralized, it is managed by the owners or creators of resources
    • B In centralized, a single function configures access control; in decentralized, it is managed by the owners or creators of resources
    • C Centralized administration is widely implemented whereas decentralized is rarely used
    • D Decentralized administration is widely implemented whereas centralized is rarely used
    Answer and rationale

    Answer : B. In centralized, a single function configures access control; in decentralized, it is managed by the owners or creators of resources

    In centralized administration, a single function configures access control: that central point allows very strict controls to be configured and administered. The mirror statement reverses the definitions: in decentralized, control is in the hands of those most accountable for and familiar with the information. Neither model is rare: both are found in general use, the choice depending on the organization's infrastructure needs.

  3. In Figure 5.1, a human uses an intermediary host to reach a database on a server. Why is it hard to know the ultimate requesting subject?

    • A Subjects can never be processes, only humans, so the server cannot record anything but the host name it sees
    • B The server encrypts all identities before recording them, so the requester can only be recovered with the key
    • C The application receives process IDs from the OS, and chained process IDs issue the requests on the requester's behalf
    • D The database deletes the user's identity on every CRUD operation, so only the last connection is kept
    Answer and rationale

    Answer : C. The application receives process IDs from the OS, and chained process IDs issue the requests on the requester's behalf

    The user launches an application to which the OS assigns process IDs; one of them opens the remote connection by calling other process IDs that act on its behalf, so the server only sees the remote connection. Server-side encryption of identities is off-topic. A subject is not necessarily a human: it can be a person, process, device, or entity. Deleting the identity on every CRUD operation is invented and contrary to the described behavior.

  4. Which statement correctly describes the dual meaning of the PACS acronym?

    • A It denotes the general class of physical AC systems AND a specific set of standards (e.g., NIST SP 800-53r4) of the U.S. federal market
    • B It denotes exclusively the logical AC systems defined by FICAM AND the smart-card readers (e.g., PIV) of the U.S. federal market
    • C It denotes the general class of physical AC systems AND applies only to organizations with no tie to the U.S. federal market
    • D It denotes the network encryption protocol of physical AC systems AND the card format (e.g., PIV, FIPS 201) of the U.S. federal market
    Answer and rationale

    Answer : A. It denotes the general class of physical AC systems AND a specific set of standards (e.g., NIST SP 800-53r4) of the U.S. federal market

    PACS denotes both the general class of Physical Access Control Systems and a set of policies, procedures, and standards (such as NIST SP 800-53r4) used by U.S. federal agencies and their contractors. Reducing it to an encryption protocol or a card format confuses the notions. FICAM concerns logical access control: the option limited to it swaps physical and logical. The general class applies everywhere, including outside the federal market.

  5. In the IAAA cycle, the step that logs a subject's actions so they can be attributed to them is called:

    • A Identification (identity claim)
    • B Authorization (rights granted)
    • C Authentication (identity proof)
    • D Accounting (accountability)
    Answer and rationale

    Answer : D. Accounting (accountability)

    Accounting/accountability = logging and attribution. Authorization decides rights, identification claims identity, authentication proves it: none provides after-the-fact traceability.

  6. A subject presents their employee badge to a door reader without entering a code. Which IAAA step is the badge presentation alone?

    • A Accounting via the door access log
    • B Identification via a claimed identifier
    • C Authentication via a possession factor
    • D Authorization via the door's access rule
    Answer and rationale

    Answer : C. Authentication via a possession factor

    The badge is a 'have' factor that PROVES an identity: it is authentication. Authorization comes next (door opens or not); identification would be merely claiming an identifier.

  7. In an access control system, the subject and the object are respectively:

    • A The firewall filtering the request and the router forwarding it
    • B The passive data being requested and the active user requesting it
    • C The active entity requesting access and the passive resource requested
    • D The PDP that decides the access and the PEP that enforces the decision
    Answer and rationale

    Answer : C. The active entity requesting access and the passive resource requested

    Subject = active entity (user, process) initiating a request; object = passive resource (file, database, device). Making the data the subject and the user the object swaps the roles; PDP/PEP are decision/enforcement components, not the subject-object pair.

  8. Defense in depth, applied to IAM, primarily means:

    • A Encrypting every communication end to end (TLS, VPN) as the single protective measure
    • B Layering several independent controls (MFA, least privilege, monitoring, segmentation)
    • C Relying on one very strong control (hardware MFA) and nothing else, to keep it simple
    • D Removing all privileged accounts (admin, root, service) so no elevated right can be abused
    Answer and rationale

    Answer : B. Layering several independent controls (MFA, least privilege, monitoring, segmentation)

    Defense in depth = multiple redundant layers. A single control, even strong, creates a single point of failure; encryption alone or removing accounts is not a layered strategy.

  9. An access control that physically prevents two people passing at once (anti-tailgating) is:

    • A An application firewall
    • B An ACL
    • C A capability table
    • D A mantrap (portal)
    Answer and rationale

    Answer : D. A mantrap (portal)

    A mantrap (two-door portal) is a PHYSICAL access control against tailgating/piggybacking. Firewall, ACL and capability table are logical controls with no effect on physical passage.

  10. The main risk of several people sharing one account (e.g. 'admin') is:

    • A Incompatibility with LDAP: a directory cannot bind several people to one entry
    • B Excessive memory usage: each concurrent session of the account consumes resources
    • C Loss of accountability: impossible to attribute an action to an individual
    • D Weaker encryption: the shared secret cannot be protected by a long passphrase
    Answer and rationale

    Answer : C. Loss of accountability: impossible to attribute an action to an individual

    A shared account destroys accountability and thus non-repudiation. Service accounts may be shared by systems, but never named human accounts.

  11. An advantage of CENTRALIZED access control administration is:

    • A Strict, consistent control with fast revocation from a single point
    • B Zero server load, since no central component has to be consulted
    • C Slow, fragmented revocation, which gives owners time to object
    • D Decisions made locally by each owner, close to the resource concerned
    Answer and rationale

    Answer : A. Strict, consistent control with fast revocation from a single point

    Centralization offers consistency and immediate revocation from a single point, at the cost of higher server load and a potential single point of failure. Local owner decisions characterize the decentralized model instead.

  12. A typical drawback of DECENTRALIZED access control administration is:

    • A Instant revocation everywhere, which leaves no grace period
    • B Lack of consistency and delays in propagating changes
    • C Excessive load on the central server at peak hours
    • D Owners being unable to decide on access to their own data
    Answer and rationale

    Answer : B. Lack of consistency and delays in propagating changes

    In decentralized administration each owner manages access: better fault tolerance but inconsistencies and propagation delays (a change may take hours to reflect everywhere). Central load and owners unable to decide describe the centralized model.

  13. Logical access control of an asset differs from physical access control in that it:

    • A Regulates building entry via locks, badges and visitor registration
    • B Concerns only surveillance cameras, badges and the guards' patrol rounds
    • C Prevents tailgating via mantraps, turnstiles and anti-passback readers
    • D Regulates access to data/systems via authentication, ACLs, encryption
    Answer and rationale

    Answer : D. Regulates access to data/systems via authentication, ACLs, encryption

    Logical control concerns access to data and systems (authentication, ACLs, rights, encryption). Locks, cameras and anti-tailgating are PHYSICAL controls. The two complement each other in defense in depth.

  14. An organization uses a PACS (Physical Access Control System) with badges and turnstiles. This system is primarily a control of type:

    • A Administrative only
    • B Physical
    • C Cryptographic
    • D Logical
    Answer and rationale

    Answer : B. Physical

    A PACS (badges, turnstiles, mantraps) manages PHYSICAL access to premises. It relies on identification/authorization but its purpose is physical. It is neither logical, nor purely cryptographic or administrative.

  15. An employee badges through a door, then logs in with credentials, then is challenged by a guard at the parking entrance. This example illustrates:

    • A A least-privilege violation, the employee holding a badge, an account and parking
    • B A single point of failure, since the badge alone unlocks every later control
    • C A single control layer, applied three times at different places during the day
    • D Defense in depth combining physical and logical controls throughout the day
    Answer and rationale

    Answer : D. Defense in depth combining physical and logical controls throughout the day

    Badge (physical), login (logical), guard challenge (physical/human) = several complementary layers: this is defense in depth. It is not a single layer, a SPOF or a least-privilege violation.

  16. The threat most directly tied to a failing physical access control (unlocked door) is:

    • A Password spraying against the badge readers' admin interface from inside the building
    • B Unauthorized physical access enabling equipment theft or bypass of logical controls
    • C Credential stuffing from a laptop plugged into the server room's free network port
    • D Kerberoasting launched from a workstation left unlocked near the unlocked door
    Answer and rationale

    Answer : B. Unauthorized physical access enabling equipment theft or bypass of logical controls

    An unlocked door lets an intruder enter physically: they can steal equipment, plug in a malicious device or bypass logical controls. Credential stuffing, Kerberoasting and password spraying are remote logical attacks.

  17. The acronym IAM stands for:

    • A Identity and Access Management
    • B Internet Access Module
    • C Integrated Audit Mechanism
    • D Internal Authorization Matrix
    Answer and rationale

    Answer : A. Identity and Access Management

    IAM = Identity and Access Management: the set of processes and technologies for managing identities and access. The other options are made-up distractors.

  18. What is the FIRST step in the IAAAA cycle?

    • A Identification
    • B Auditing
    • C Authentication
    • D Authorization
    Answer and rationale

    Answer : A. Identification

    Identification = claiming who you are (e.g. username). Always the first step before any proof.

  19. A user enters their password after their login. Which IAAAA step?

    • A Authentication
    • B Accountability
    • C Identification
    • D Authorization
    Answer and rationale

    Answer : A. Authentication

    The password PROVES the claimed identity. This is authentication (step 2 after identification).

  20. A multinational wants security policy and privileged accounts managed by headquarters, while each subsidiary grants rights on its own local applications. Which IAM administration mode BEST meets this need?

    • A Hybrid administration
    • B Centralized administration
    • C Decentralized administration
    • D Administration delegated to an IDaaS provider
    Answer and rationale

    Answer : A. Hybrid administration

    Hybrid administration combines a centralized core (policy, sensitive accounts) with local management of application rights, which is exactly the split described. Centralized administration alone would remove all autonomy from the subsidiaries. Decentralized administration alone would leave policy and privileged accounts outside headquarters' control, with inconsistencies and propagation delays. Delegating to an IDaaS provider is a delivery model, not a way of splitting responsibilities between headquarters and subsidiaries.

  21. The inside of a server rack opens only with two combination padlocks held by two different people, and a procedure guarantees that no single person knows both combinations. Which combination of controls does this arrangement illustrate?

    • A A physical control only
    • B A logical control backed by an administrative control
    • C A physical control backed by an administrative control
    • D A detective control backed by a logical control
    Answer and rationale

    Answer : C. A physical control backed by an administrative control

    The padlocks are a physical control (they prevent movement toward the hardware) and the procedure that separates knowledge of the combinations is an administrative control: the course cites this two-person rack as a purely physical example framed by a process. A logical control acts within the system's data flows, which is not the case here. Calling it a physical control only ignores the procedure that requires two people. A detective control records an event after the fact, whereas this arrangement prevents the opening.

Key takeaways

  • IAM is the umbrella term (including cloud, federated); IdM, in the Gartner sense, is limited to issuing and managing identities.
  • IAM manages human AND nonhuman users: software, hardware, IoT, robots.
  • IAAA = identification (claim), authentication (prove), authorization (rights), accounting/accountability (traceability); the triple A is its core.
  • Subjects access objects via CRUD plus share/archive/store; the ultimate requesting subject hides behind chained process IDs.
  • Three administration models: centralized (strict control, immediate revocation, server load), decentralized (owners decide, fault tolerance, 24-48 h latency), hybrid (central for the baseline, owners for files).
  • Access control is a system combining administrative, physical, and logical controls; the smart card blends physical and logical via an AC server.
  • Classifying and categorizing information (CIANA+PS) MUST precede control choice; controls derive from risk management and asset value as set by the data owner.
  • FICAM defines the Logical Access Control System; PACS has a dual meaning (general class OR U.S. federal standards).
  • Applications, services, and devices are protected with least privilege; the two-person rack illustrates separation of knowledge.
  • Physical security is a distinct problem: physical access bypasses costly logical defenses, hence the need for its own policies.
Module 2 Objective B 110 min Intermediate

Identity, identity store and credential management

Prerequisites : Module M1 (IAAA lifecycle, subjects/objects distinction, and identification vs authentication).

Digital identity has undergone a radical evolution over two decades. This module places identity management back in its history (three successive eras), then explains the technical building blocks that make it possible today : the identity store and federation protocols, Credential Management Systems, and enrollment frameworks such as FICAM and the NIST SP 800-63 model.

The common thread is the notion of credential : a binding between an authenticator (what proves) and an identifier (who is proven). Understanding how a credential is sponsored, produced, issued and then managed throughout its life cycle is central to Domain 5. We connect this process to NIST's digital identity model, seen as the real-time implementation of the identity life cycle.

Finally, the module installs a reading grid that the exam loves to test : NIST 800-63-3's three assurance levels - IAL (strength of proofing), AAL (strength of authentication) and FAL (strength of the federated assertion). Knowing how to choose the right IAL for a given service (forum vs bank) is a directly assessed skill.

Learning objectives

  • Trace the three eras of digital identity evolution and place OSM, social login, and data sovereignty
  • Explain the role of the identity store and name the main federation repositories (Kerberos, RADIUS, LDAP, OAuth, SAML, OpenID, FIDO, WebAuthn)
  • Define a credential as the binding of authenticator + identifier and describe a Credential Management System
  • Walk through the FICAM five-step enrollment process and relate it to the NIST SP 800-63 digital identity model
  • Distinguish identity proofing from authentication, then IAL, AAL, and FAL
  • Choose the appropriate IAL level for a given service based on risk

Success criteria

  • Match a concrete example (Facebook login, Estonian sovereign ID, multiple accounts per organization) to the right evolution era
  • Name at least six identity-store repositories and state their role (authentication, federation, authorization)
  • State the five FICAM steps in order and place identity proofing in the correct step
  • Order the NIST model roles: applicant, claimant, subscriber, verifier, relying party
  • Assign the correct IAL (1, 2, or 3) to a given service and justify it by the required proofing level
  • Distinguish IAL, AAL, and FAL without error in an exam question

2.1 The three eras of digital identity

IAAA access lifecycle placing identity within the authentication flow
Figure 2.1 · Identity (Identification) opens the IAAA lifecycle; its historical evolution changes how it is established and shared.

The use of identity during initial connections and authentication across multiple systems reflects an evolution, even a revolution, in the way markets, individuals and governments have had to deal with digital identity. Three major eras can be distinguished.

The first era, at the dawn of the internet age, modeled digital identity on existing business, governmental and personal practices : a single individual had multiple identity files, one per company or administration they dealt with, containing different information or frozen at different moments. The second era begins with the spread of online social networks : sites start accepting that a customer logs in with their social network identity (OSM). In a short time, Facebook, LinkedIn, Google, Apple and Microsoft become the leaders of this social login and establish relationships of transitive trust (the site trusts the OSM, which trusts the user).

The third era takes off between 2015 and 2020, driven by the demand for data sovereignty : individuals want to own the data about their habits, actions and transactions rather than leaving it to the colossal aggregators of social networks. New technologies such as blockchain open the way to sovereign digital identities ; nations such as Estonia and Canada, and the EU through several initiatives, are making notable progress toward citizen digital IDs. COVID-19 accelerated remote work, online buying and telemedicine, but also inventive frauds. None of these forces has yet imposed a single standard : current systems rely on technologies matured over 10 to 15 years, including the identity store, single sign-on (SSO) and federated identity management (FIM).

Key terms OSM Social login Transitive trust Data sovereignty Sovereign digital ID FIM
Key points
  • Era 1: multiple identities, one per organization, inconsistent with each other
  • Era 2: OSM and social login (Facebook, Google, Apple, Microsoft, LinkedIn) via transitive trust
  • Era 3: data sovereignty, blockchain, sovereign IDs (Estonia, Canada, EU), accelerated by COVID-19
  • No single standard imposed; SSO, FIM, and the identity store still dominate

2.2 The Identity Store and federation repositories

On-premises, cloud, and hybrid hosting models for the identity store
Figure 2.2 · The identity store can sit on-premises, in the cloud, or hybrid; federation repositories expose it to consuming systems.

Over time, the multiplication of systems made the maintenance of separate identity stores costly and error-prone. Organizations therefore sought mechanisms to simplify credential management, reduce the burden on users (who had to juggle multiple credentials) and standardize identity services in heterogeneous environments.

The first federation systems relied on scripting to pass credentials between a central identity store and different systems. Scripting was simple to implement, but struggled to scale and remained vulnerable to credential interception and then spoofing. Several technical approaches then evolved to meet the competing demands of identity, authentication and authorization, following the evolution of communication protocols and the growing dependence on information systems.

A few well-known identity store repositories : Kerberos, RADIUS (Remote Authentication Dial-in User Service), LDAP (Lightweight Directory Access Protocol), OAuth / OAuth 2.0 (Open Authorization), SAML (Security Assertion Markup Language), OpenID, OpenID Connect, FIDO (FIDO U2F, FIDO UAF, FIDO2) and WebAuthn (Web Authentication). These protocols do not all play the same role : LDAP and RADIUS serve mainly as directory and network authentication, Kerberos delivers tickets, SAML and OpenID Connect carry federation assertions, OAuth handles delegated authorization, and FIDO/WebAuthn standardize strong passwordless authentication. We will detail them in the modules dedicated to federation.

Key terms Identity store Kerberos RADIUS LDAP OAuth 2.0 SAML OpenID Connect FIDO / WebAuthn
Key points
  • Separate identity stores are expensive and error-prone
  • Script-based federation is simple but fragile (scale, interception, spoofing)
  • Key repositories: Kerberos, RADIUS, LDAP, OAuth/OAuth2.0, SAML, OpenID, OpenID Connect, FIDO, WebAuthn
  • Each protocol covers a distinct role: directory, authentication, authorization, or federation

2.3 Credential Management Systems: the credential as a binding

Credential life cycle, from production to revocation
Figure 2.3 · The CMS drives the credential's full life cycle; a credential binds the authenticator to the identifier.

A credential is the binding between an authenticator and an identifier (user, service or system). In other words, it links what proves the identity (a secret, a key, a certificate) to who or what is identified. A Credential Management System (CMS) is an established, software-based form of credential issuance and management.

CMS software can be part of a public key infrastructure (PKI) and can serve to issue identities for two-factor authentication (2FA). Credentials can be collected and managed by a credential service provider (CSP). Examples of credentials include, but are not limited to, smart cards, private/public cryptographic keys and digital certificates.

The CMS is therefore not a simple password vault : it drives the entire life cycle of the credential, from its production (often backed by the PKI) to its revocation. Remember the exact definition of the credential for the exam : it is neither the identifier alone, nor the authenticator alone, but the verifiable link between the two. Confusing credential with identifier (or credential with password) is a frequent error.

Key terms Credential Authenticator Identifier CMS PKI CSP
Key points
  • Credential = binding authenticator + identifier (neither one alone)
  • A CMS issues and manages credentials in software
  • A CMS can rely on a PKI and issue 2FA identities
  • Credential examples: smart cards, private/public crypto keys, digital certificates

2.4 FICAM / ICAM: five-step enrollment

NIST digital identity model: applicant, CSP, claimant, verifier, subscriber, relying party
Figure 2.4 · Figure 5.2: the NIST SP 800-63 model chains applicant, CSP enrollment and proofing, claimant, verifier, subscriber, and relying party; trust passes from the CSP, through the verifier, to the RP.

In 2009, the U.S. federal government found that an identity management framework was needed to ensure the compliance of the entire federal sector. It published the FICAM architecture, which provides common Identity Credential Access Management (ICAM) rules to build a sound credential architecture in federal agencies.

The FICAM Roadmap and Implementation Guidance Version 2.0 defines a five-step enrollment process. 1. Sponsorship : an authorized entity sponsors claimants for a credential with a CSP. 2. Enrollment : the sponsored claimant enrolls for the credential ; this step includes identity proofing, which may involve the capture of biographic and biometric data. 3. Credential Production : credentials are produced in the form of smart cards, private/public cryptographic keys or digital certificates. 4. Issuance : the claimant receives their credential. 5. Credential Life Cycle Management : credentials are maintained through activities including revocation, reissuance, reenrollment, expiration, suspension or reinstatement.

This architecture serves as a reference for implementing a CMS in various organizations. FICAM remains useful but its last major update dates from December 2011 ; in late 2020, the U.S. government CIO and the General Services Administration launched a migration and restructuring effort named Managing Federal Identity Programs Roadmap and Playbooks. Other more recent frameworks, such as the NIST Digital Identity Guidelines (SP 800-63) and ISO 27001 Annex 9 (Access Control), can also be used.

Key terms FICAM ICAM Sponsorship Identity proofing Issuance Credential Life Cycle Management
Key points
  • FICAM (2009) provides the ICAM rules for US federal agencies
  • Five steps: Sponsorship, Enrollment (with identity proofing), Credential Production, Issuance, Credential Life Cycle Management
  • Proofing (biographic/biometric) sits in step 2, Enrollment
  • FICAM is evolving into the Managing Federal Identity Programs Roadmap and Playbooks (since late 2020)

2.5 Proofing vs authentication, and the IAL / AAL / FAL levels

IAL1/IAL2/IAL3 ladder alongside AAL and FAL
Figure 2.5 · The three IAL rungs (proofing) alongside AAL (strength of authentication) and FAL (strength of the federated assertion).

In 2018, NIST published SP 800-63 to update credential management. Its digital identity model (Figure 5.2) illustrates the use of PKI for certificate-based identity authentication services, and reads like the real-time implementation of the identity life cycle. The flow starts with a user in the role of applicant, who enters an enrollment and proofing process with a CSP (Google, Facebook, LinkedIn, Outlook Live, or an internal CSP sponsored by the organization). The user then becomes a claimant when they attempt to access a service as a potential subscriber, which makes them interact with the verifier to authenticate their credentials with the CSP. This elevates them to the role of subscriber, and ultimately the relying party (RP) - the one that performs the real work of the session - obtains the assurance it needs. Trust has passed from the CSP, via the verifier, to the RP.

Two decisions must be clearly distinguished. Identity proofing is the initial decision : proving that a person is indeed who they claim to be, during enrollment. Authentication is the real-time decision : verifying, at each access attempt, an identity claim of a user, process or device. Proofing creates the trust relationship ; authentication replays it at each session.

NIST SP 800-63-3 defines three assurance levels. The Identity Assurance Level (IAL) concerns proofing : at IAL1 the attributes (if any) are self-asserted ; at IAL2 they are verified in person or remotely according to SP 800-63A ; at IAL3 in-person proofing is required, with verification of attributes by an authorized CSP representative on physical documents. The Authenticator Assurance Level (AAL) concerns the strength of the authentication process. The Federation Assurance Level (FAL) concerns the strength of the assertion in a federated environment, used to communicate the authentication and, where applicable, the attributes to an RP. To remember : Facebook, LinkedIn or Gmail operate at IAL1 (self-asserted) at account creation, whereas opening a bank account falls under IAL3 (passport or license plus proof of address, verified in person).

Key terms Identity proofing Authentication IAL AAL FAL Relying party (RP)
Key points
  • The NIST 800-63 model = real-time implementation of the identity life cycle
  • Proofing = initial decision (enrollment); authentication = real-time decision (each access)
  • IAL1 self-asserted, IAL2 verified remote/in-person, IAL3 in-person by the CSP
  • IAL = proofing; AAL = authentication; FAL = federated assertion to the RP

Case studies

Case · Applied scenario

Choosing the right IAL: community forum vs online bank

Context : A company launches two services. The first is a free community forum where users post public messages and can sign in with their Google account. The second is an online bank that opens checking accounts and executes wire transfers. The CISO asks to set the required identity proofing level (IAL) at enrollment for each.

Question : Which IAL should be assigned to the forum and which to the bank, and why?

Topics covered Identity proofingIAL1 / IAL2 / IAL3Risk-based assuranceSocial login / transitive trust
Show analysis and answer

For the forum, the risk associated with a false identity is low : a pseudonym suffices, the harm is limited to spam or unwanted messages. IAL1 is appropriate : attributes are self-asserted, the user has nothing to prove about their real identity. Logging in via Google does not change this level : Google itself operates at IAL1 for account creation, so the transitive trust inherits a self-asserted proofing.

For the bank, the stakes are entirely different : opening an account and moving money exposes one to fraud, money laundering and regulatory obligations (KYC). IAL3 is required : in-person proofing, verification of attributes by an authorized CSP representative on physical documents (passport or driver's license) and proof of address. IAL2 (remote verification) might be appropriate for intermediate products, but bank account opening is the canonical example of IAL3.

The pitfall would be to reason about password strength or MFA to set this level : that would be to confuse IAL and AAL. The IAL answers the question "prove to me who you are at registration" ; the AAL answers "prove to me it is you at each connection." Here we are sizing only the initial proofing, hence the IAL.

Takeaway : The proofing level (IAL) is chosen by service risk: IAL1 self-asserted for a forum, IAL3 in-person for a bank; do not confuse it with the AAL.

Key learning points
  • The greater the harm from a false identity, the higher the required IAL
  • Social login inherits the CSP's proofing level (often IAL1)
  • Choosing the IAL is not the same as choosing the AAL or MFA
Exam pitfall

IAL vs AAL vs FAL

The three NIST 800-63-3 levels answer three different questions. IAL (Identity Assurance Level) measures the strength of identity proofing: how confident we are the claimed identity is real. AAL (Authenticator Assurance Level) measures the strength of the authentication process: how well the mechanism (password, MFA, FIDO) resists impersonation. FAL (Federation Assurance Level) measures the strength of the assertion passed to an RP in a federated environment. The exam muddies the waters by describing robust MFA to bait an IAL answer: strong MFA belongs to AAL, not IAL. Mnemonic: IAL = who are you (proofing), AAL = is it really you (authentication), FAL = what the federated assertion says.

Exam pitfall

Identity proofing (initial decision) vs authentication (real-time decision)

Identity proofing and authentication do not happen at the same time or with the same goal. Proofing is a single, initial decision at enrollment: proving a person is who they claim to be (FICAM's Enrollment step, measured by IAL). Authentication is a real-time decision, repeated at each access attempt during a session or workday: verifying an identity claim before granting access. If an exam question is about onboarding a new employee and capturing biometric data, it is proofing; if it is about checking the badge at each door, it is authentication.

Exam pitfall

CSP vs verifier vs relying party (RP)

In the NIST SP 800-63 model, do not confuse the three actors. The CSP (credential service provider) enrolls the applicant, performs proofing, and issues the credential. The verifier checks the claimant's credentials with the CSP at access time. The relying party (RP) is the one that consumes the assurance and runs the real work of the session with the subscriber. Trust passes from the CSP, through the verifier, to the RP: the RP does not redo proofing, it relies on the assertion. A question asking -who originally establishes identity- points to the CSP; -who runs the application session- points to the RP.

Checkpoint : Identity, identity store and credential management

  1. At which Identity Assurance Level (IAL) do organizations like Facebook, LinkedIn, or Gmail function when they let users create an account?

    • A IAL1 and IAL2
    • B IAL3
    • C IAL1
    • D IAL2
    Answer and rationale

    Answer : C. IAL1

    IAL1 corresponds to self-assertion: the user need not present anything confirming their real identity. IAL2 would require verifying attributes remotely or in person (e.g., proof for a military or student discount). IAL3 requires in-person proofing by a CSP (e.g., opening a bank account with a passport or license plus proof of residence). These networks do not require IAL2 for simple account creation.

  2. In the FICAM five-step enrollment process, in which step does identity proofing (possible capture of biographic and biometric data) occur?

    • A Step 4: Issuance
    • B Step 1: Sponsorship
    • C Step 3: Credential Production
    • D Step 2: Enrollment
    Answer and rationale

    Answer : D. Step 2: Enrollment

    Identity proofing is part of step 2, Enrollment, where the sponsored claimant enrolls for the credential; this step may include capturing biographic and biometric data. Sponsorship (step 1) only authorizes the process. Credential Production (step 3) builds smart cards, keys, or certificates. Issuance (step 4) delivers the credential.

  3. Which statement correctly distinguishes identity proofing from authentication?

    • A Proofing approves the requested action (checking what you may do); authentication measures the asset value exposed at each access
    • B Proofing is the real-time decision repeated at each access; authentication is the single decision made once at registration
    • C Both are synonyms (proving who you are); the terms are interchangeable in NIST SP 800-63 and repeated at each access
    • D Proofing is the initial decision (proving who you are at enrollment); authentication is the real-time decision repeated at each access
    Answer and rationale

    Answer : D. Proofing is the initial decision (proving who you are at enrollment); authentication is the real-time decision repeated at each access

    Proofing is a single, initial decision at enrollment, measured by IAL: it establishes that the person is who they claim to be. Authentication is a real-time decision, replayed at each access attempt during the session. The reversed, synonymous, or authorization/asset-value options are wrong.

  4. What is a credential in identity-management terms?

    • A The user's password alone, stored as a salted hash
    • B The authorization policy applied to a protected resource
    • C The identifier alone (user, service or system name)
    • D The binding between an authenticator and an identifier
    Answer and rationale

    Answer : D. The binding between an authenticator and an identifier

    A credential is the binding between an authenticator (what proves) and an identifier (user, service, or system). It is neither the authenticator alone (the password), nor the identifier alone, nor an authorization policy. A CMS issues and manages these credentials, often via a PKI.

  5. The identity store (identity directory) primarily serves to:

    • A Generate the TLS session keys used by each subject's authenticated session
    • B Encrypt network communications between subjects and the applications
    • C Store and centralize subjects' identities, attributes and credentials
    • D Filter inbound traffic according to each subject's identity and attributes
    Answer and rationale

    Answer : C. Store and centralize subjects' identities, attributes and credentials

    The identity store (often an LDAP/AD directory) centralizes identities, attributes and credential references. Encryption, filtering and TLS keys belong to other components.

  6. A Credential Management System (CMS) frequently relies on a PKI to:

    • A Route internal traffic according to the certificate presented by each host
    • B Issue and manage certificate-based identities (e.g. 2FA, smartcards)
    • C Speed up server boot by caching the trusted root certificates locally
    • D Compress and sign the audit logs with the directory's own certificate
    Answer and rationale

    Answer : B. Issue and manage certificate-based identities (e.g. 2FA, smartcards)

    A PKI-backed CMS issues certificate-based credentials (X.509 smartcards, 2FA). The other options are unrelated to credential lifecycle management.

  7. In FICAM, the roadmap and implementation guidance defines an enrollment process. What is the FIRST step of that process?

    • A Sponsorship (a sponsor presents the applicant to the CSP)
    • B Credential issuance (the credential is handed to the applicant)
    • C Credential production (the physical card is personalized)
    • D Credential lifecycle management (renewal, revocation)
    Answer and rationale

    Answer : A. Sponsorship (a sponsor presents the applicant to the CSP)

    The FICAM process is ordered: Sponsorship -> Enrollment (with identity proofing) -> Credential Production -> Issuance -> Lifecycle Management. Sponsorship comes first; issuance and production come later.

  8. In NIST SP 800-63's digital identity model, the actor who performs identity proofing and issues credentials is:

    • A The Verifier (checks the authenticator)
    • B The Credential Service Provider (CSP)
    • C The Relying Party (RP), the consumer
    • D The Subscriber (the enrolled user)
    Answer and rationale

    Answer : B. The Credential Service Provider (CSP)

    The CSP enrolls the applicant, performs identity proofing and issues credentials. The verifier checks the authenticator, the RP consumes the assertion, the subscriber is the enrolled user.

  9. In the NIST 800-63 model, a person who has completed enrollment and holds valid credentials is called:

    • A Relying Party
    • B Subscriber
    • C Verifier
    • D Applicant
    Answer and rationale

    Answer : B. Subscriber

    After successful enrollment, the applicant becomes a subscriber. The applicant is the pre-enrollment candidate; verifier and RP are verification/consumption roles, not the user.

  10. NIST SP 800-63's three scales - IAL, AAL, FAL - measure the strength of, respectively:

    • A Identity proofing, authentication, federated assertion
    • B Network segmentation, application hardening, data labeling
    • C Authorization policy, audit trail, accounting records
    • D Encryption strength, hash length, signature algorithm
    Answer and rationale

    Answer : A. Identity proofing, authentication, federated assertion

    IAL = Identity Assurance Level (proofing), AAL = Authenticator Assurance Level (auth strength), FAL = Federation Assurance Level (federated assertion strength). The other triplets do not match 800-63.

  11. Identity proofing consists of:

    • A Renewing a person's expired certificate after confirming the old one still matches
    • B Establishing and verifying, at enrollment, that a person really is who they claim to be
    • C Logging each successful access of a person so their later actions can be attributed to them
    • D Checking that a person's password is complex enough before accepting it at enrollment
    Answer and rationale

    Answer : B. Establishing and verifying, at enrollment, that a person really is who they claim to be

    Identity proofing is the initial enrollment step validating the real-world identity (documents, checks). It is not password checking, auditing or certificate renewal.

  12. A service requires IAL2 to open an account. Concretely this mandates:

    • A No verification of declared attributes, only a self-assertion
    • B Mandatory in-person verification by the CSP, no remote option
    • C Verification of identity attributes remotely or in person
    • D The presence of a FIDO2 hardware token tied to the new account
    Answer and rationale

    Answer : C. Verification of identity attributes remotely or in person

    IAL2 requires attributes to be verified remotely OR in person. IAL1 verifies nothing (self-asserted); IAL3 mandates physical presence at a CSP. IAL concerns proofing, not the authenticator type (which is AAL).

  13. A service mandates AAL3. This concerns:

    • A The biometric reader throughput (e.g. at least sixty verified matches per minute at the gate)
    • B The strength of the federated assertion (e.g. a signed and encrypted assertion bound to the key)
    • C The rigor of identity proofing (e.g. in-person verification of two government-issued documents)
    • D The strength of authentication (e.g. a phishing-resistant hardware cryptographic authenticator)
    Answer and rationale

    Answer : D. The strength of authentication (e.g. a phishing-resistant hardware cryptographic authenticator)

    AAL (Authenticator Assurance Level) measures authentication strength; AAL3, the highest, requires a phishing-resistant hardware cryptographic authenticator. Proofing is IAL, the federated assertion is FAL.

  14. In the NIST 800-63 model, the 'Verifier' is responsible for:

    • A Verifying that the claimant actually holds the authenticator bound to their identity
    • B Issuing the physical badges that the subscriber presents at the building's entrance
    • C Hosting the protected resources that the subscriber reaches after authentication
    • D Performing the initial identity proofing before any authenticator is bound to the identity
    Answer and rationale

    Answer : A. Verifying that the claimant actually holds the authenticator bound to their identity

    The Verifier validates, at authentication time, that the claimant holds the authenticator bound to their identity. Initial proofing is done by the CSP; resource hosting and badges are other functions.

  15. The 'claimant' concept in the NIST 800-63 model refers to:

    • A The CSP which, at enrollment, binds the authenticator to the subscriber's proofed identity
    • B The attacker who, during a replay attempt, presents a captured authenticator output to the verifier
    • C The resource server which, after federation, consumes the assertion issued by the identity provider
    • D The subscriber who, at authentication time, must prove possession of their authenticator
    Answer and rationale

    Answer : D. The subscriber who, at authentication time, must prove possession of their authenticator

    The claimant is the subscriber asserting their identity during authentication, who must prove to the verifier that they hold the authenticator. It is not an attacker, the resource server, or the CSP (which enrolls/issues).

  16. An e-commerce site lets customers log in with their Google or Facebook account instead of creating a dedicated identifier. Which trust relationship does this social login establish?

    • A Transitive trust: the site trusts the OSM, which trusts the user
    • B In-person proofing: the site verifies the user's identity documents
    • C Data sovereignty: the user owns and controls their identity data
    • D Decentralized administration: each site manages its own accounts
    Answer and rationale

    Answer : A. Transitive trust: the site trusts the OSM, which trusts the user

    Second-era social login relies on transitive trust: the site relies on the social network (OSM), which relies on the user. Data sovereignty is the demand driving the third era (owning one's data), not the mechanism behind social login. A social account is self-asserted: the site performs no in-person identity proofing. Decentralized administration is a way of distributing IAM administration, unrelated to the trust placed in an external identity provider.

  17. A government launches a citizen digital identity program so that individuals own the data about their habits and transactions instead of leaving it to large social platforms. Which era of digital identity does this project belong to, and which need drives it?

    • A No particular era: it is just a centralized LDAP directory
    • B The second era, driven by social login and transitive trust
    • C The third era, driven by the demand for data sovereignty
    • D The first era, driven by one identity file per organization
    Answer and rationale

    Answer : C. The third era, driven by the demand for data sovereignty

    Sovereign digital identities backed by states belong to the third era, born from the demand for data sovereignty: the individual wants to own their data instead of leaving it to social network aggregators. The first era was characterized by a separate identity file per company or agency, with no ownership by the individual. The second era is that of social login and transitive trust, precisely the model this program seeks to move beyond. An LDAP directory is a technical building block, not an identity era or a sovereignty program.

  18. An organization passes credentials between its central identity store and its applications using home-grown scripts, as in the early days of federation. What is the MAIN risk of this approach?

    • A Interception of credentials in transit followed by spoofing, with poor scalability
    • B Inability to use Kerberos on Linux hosts, since the scripts only run under Windows
    • C Excessive latency of LDAP queries, since each script re-reads the whole directory tree
    • D Prohibitive SAML licensing costs, since each script must embed a licensed assertion library
    Answer and rationale

    Answer : A. Interception of credentials in transit followed by spoofing, with poor scalability

    The course describes the scripting of early federation systems as simple to implement but hard to scale and vulnerable to credential interception followed by spoofing: that is the main risk. LDAP latency is not the issue raised and does not depend on scripting. Kerberos runs natively on Linux and is not prevented by this approach. SAML is an open standard whose licensing cost is not the issue; it is in fact one of the protocols that replaced scripting.

  19. An auditor claims that a Credential Management System (CMS) is nothing more than a password vault. Which answer from the security manager is MOST accurate?

    • A Wrong: the CMS only manages physical smart cards, from printing (often via PIV) to their return
    • B Correct: the CMS only stores memorized secrets, from their creation (via hashing) to their expiry
    • C Wrong: the CMS drives the whole credential life cycle, from production (often via PKI) to revocation
    • D Correct: CMS and identity store are synonyms, both holding identities and their attributes (via LDAP)
    Answer and rationale

    Answer : C. Wrong: the CMS drives the whole credential life cycle, from production (often via PKI) to revocation

    The course insists that the CMS is not a mere password vault: it issues and manages credentials across their whole life cycle, often backed by a PKI, and can issue 2FA identities. Saying it only stores memorized secrets reduces the credential to the password, a classic mistake. Limiting it to smart cards forgets the cryptographic keys and digital certificates it also manages. The identity store holds identities and attributes; it is not a synonym for the CMS, which manages credentials.

  20. An employee loses their smart card; it is revoked and a new card is reissued. Which step of the FICAM enrollment process do these activities belong to?

    • A Credential Life Cycle Management
    • B Sponsorship (claimant presented)
    • C Issuance (first-time delivery)
    • D Credential Production (making)
    Answer and rationale

    Answer : A. Credential Life Cycle Management

    Revocation and reissuance are explicitly listed among the activities of the fifth step, Credential Life Cycle Management, alongside reenrollment, expiration, suspension and reinstatement. Sponsorship is the first step, where an authorized entity presents the claimant to the CSP. Credential Production is the initial manufacturing of the medium (smart card, keys, certificate). Issuance is the initial delivery of the credential to the claimant, not its replacement after a loss.

  21. A relying party receives an authentication assertion issued by a partner IdP and must assess how much to trust it. Which NIST SP 800-63 assurance level applies to this assessment?

    • A AAL, because it measures the strength of the authenticator used at the IdP
    • B FAL, because it measures the strength of the federated assertion sent to the RP
    • C IAL, because it measures the rigor of the identity proofing done by the IdP
    • D CER, because it measures the error rate of the sensor used by the partner IdP
    Answer and rationale

    Answer : B. FAL, because it measures the strength of the federated assertion sent to the RP

    The Federation Assurance Level (FAL) specifically addresses the strength of the assertion used in a federated environment to convey authentication and attributes to a relying party. IAL covers the proofing performed at enrollment, before any assertion exists. AAL covers the strength of the authentication process itself, not how its result is conveyed between domains. CER is a biometric metric (the point where FAR and FRR are equal), unrelated to NIST assurance levels.

Key takeaways

  • Three eras of digital identity: multiple accounts per organization, then OSM/social login via transitive trust, then data sovereignty and sovereign IDs (blockchain, Estonia, Canada, EU), accelerated by COVID-19.
  • Separate identity stores are expensive; script-based federation is fragile (scale, interception, spoofing).
  • Identity-store repositories: Kerberos, RADIUS, LDAP, OAuth/OAuth2.0, SAML, OpenID, OpenID Connect, FIDO (U2F/UAF/FIDO2), WebAuthn.
  • Credential = binding authenticator + identifier; a CMS issues and manages it in software, often via a PKI, and can produce 2FA identities.
  • Credential examples: smart cards, private/public cryptographic keys, digital certificates; collected by a CSP.
  • FICAM/ICAM (2009): five-step enrollment - Sponsorship, Enrollment (with identity proofing), Credential Production, Issuance, Credential Life Cycle Management.
  • The NIST SP 800-63 model (Fig 5.2) is the real-time implementation of the identity life cycle: applicant, CSP, claimant, verifier, subscriber, RP; trust passes from the CSP to the RP through the verifier.
  • Identity proofing = initial decision at enrollment; authentication = real-time decision at each access.
  • IAL1 self-asserted, IAL2 verified remote/in-person, IAL3 in-person by the CSP; Facebook/LinkedIn/Gmail = IAL1 at account creation, a bank = IAL3.
  • IAL (proofing), AAL (strength of authentication), and FAL (strength of the federated assertion) answer three distinct questions.
Module 3 Objective B 100 min Intermediate

IAAA in detail: authentication, authorization, accounting, and session management

Prerequisites : Module M2 (digital identity model, enrollment, identity proofing) completed.

The core of IAM is summarized by the acronym IAAA : identification, authentication, authorization and accounting. The subset authentication, authorization, accounting is also called the triple A (AAA) and has long been recognized as the cornerstone of security. Without it, no control would know which activities to authorize and which to prohibit. This module dissects these functions one by one, then adds two modern operational building blocks : self-service identity management, password-less authentication and session management.

The pedagogical challenge is discrimination. The exam constantly contrasts authentication (proving that an identity is valid) with authorization (deciding what it is allowed to do), then accounting (tracing what it actually did). It also contrasts identity proofing (initial decision, outside real time) with authentication (real-time decision). Confusing these functions costs points even for experienced practitioners.

By the end of the module, you will know how to situate each function in the access cycle, explain why authentication never approves an action, connect accounting to non-repudiation and e-discovery, and secure a session against a session replay thanks to the nonce, the inactivity timeout and anomaly detection.

Learning objectives

  • Define authentication as the real-time verification of an identity claim, and distinguish it from identity proofing
  • Explain the two meanings of authorization (initial grant decision and real-time confirmation of a request)
  • Describe self-service identity management and explain why all its operations are access requests
  • Explain accounting's role in non-repudiation, e-discovery, monitoring, and trigger events
  • Justify password-less authentication from the failures of passwords and cite its forms (push, biometrics)
  • Master session management: session ID as a nonce, tracking, timeout, anomalies, and session replay

Success criteria

  • State, for an exam item, whether the described function is authentication, authorization, or accounting
  • Choose authentication over identity proofing for a decision made in real time at each login
  • Recognize that a self-service operation (changing a PIN, requesting access) is an access request
  • Cite three uses of accounting data: non-repudiation, admissible evidence, monitoring
  • Explain why a session ID must be a long, random, single-use value (nonce)
  • List at least two session anomalies that trigger a forced termination

3.1 Authentication: verifying an identity claim, without approving the action

IAAA cycle linking identification, authentication, authorization, and accounting
Figure 3.1 · The IAAA cycle: authentication verifies identity, authorization decides rights, accounting records actions.

Authentication is the function that verifies an identity claim. When a subject presents an identifier, the system must validate three things : that the ID is indeed on file (an identity issued by the system), that it is correctly associated with the bearer who presents it, and that it is not suspended or revoked. This verification is a real-time decision : it occurs at each access attempt and can therefore happen several times during a single session, for example during a re-authentication before a sensitive operation.

The major exam point : authentication does NOT approve the requested action. It only answers the question "is this identity valid and indeed borne by the one who presents it?". Deciding whether the identity has the right to do what it requests falls under authorization, a distinct function that intervenes afterward. Proving who you are says nothing about what you are allowed to do.

Authentication must also be distinguished from identity proofing. Identity proofing is the initial decision, made during enrollment, that a user's identity claim can be validated by acceptable evidence or third-party attestation. Authentication is the real-time decision that an identity issued by the system and claiming access rights is (a) a valid identity issued by the system and (b) used or presented by the subject to whom it was delivered. One is done once, cold ; the other is replayed at each access.

Key terms Authentication Identity claim On file Identity proofing Real-time decision Re-authentication
Key points
  • Authentication validates: ID on file, correctly bound to bearer, not suspended
  • Real-time decision, can occur several times per session
  • Authentication does NOT approve the action: that belongs to authorization
  • Identity proofing = initial decision; authentication = real-time decision

3.2 Authorization and self-service identity management

IAAA cycle highlighting the authorization step after authentication
Figure 3.2 · Authorization follows authentication: it grants then verifies a subject's permissions in real time.

Authorization has two meanings that must be separated. The first is the initial decision to grant certain permissions to an identity, concerning the actions it will be able to undertake in the future on particular objects : it is the granting of rights, set in advance. The second is the real-time confirmation that a request for an action, by a subject on a given object, is indeed permitted by the privileges defined for that subject, that object and any other criteria. The first meaning defines rights ; the second verifies them at the moment of use.

Self-service identity management gives users the ability to request modifications to their identity and associated permissions themselves. Common uses include : changing a password, passphrase or PIN or any other challenge parameter ; updating a physical address, phone numbers or other data ; requesting access to resources on a server, system, extranet or document repository ; requesting or attempting to use an application that requires the creation of a separate application identity.

The key to reading this : all these operations are in reality access requests. The user attempts to access services, which are objects, to modify values stored in other objects, such as the identity store. Seen from this angle, a PIN change is not a separate operation : it is a request for access to the identity store, which must therefore be governed by permissions, exactly like any other access attempt toward an object.

Key terms Authorization Permissions Self-service identity management Access request Identity store Challenge parameter
Key points
  • Authorization meaning 1: initial decision to grant permissions
  • Authorization meaning 2: real-time confirmation that a request is allowed
  • Self-service: change password/PIN/address, request access, create an app identity
  • Every self-service operation is an access request governed by permissions

3.3 Accounting: traceability, non-repudiation, and trigger events

IAAA cycle emphasizing the accounting step that records actions
Figure 3.3 · Accounting closes the IAAA cycle: it records every action, grounds non-repudiation, and feeds audit.

Accounting is the identity management function that keeps track of every action involving every identity defined in the system. It is what, for example, provides the user with the date and time of their last successful or failed login. By capturing information on every attempt to access the system or its resources, and by recording whether it succeeded with access granted or the reasons for denial, accounting provides the details needed to assess, review and audit the security of a system.

In doing so, accounting implements non-repudiation : it establishes the proof that prevents a user from denying having performed or attempted a particular action. This data plays a role in many investigations, from simply troubleshooting an account problem all the way to cases of resource misuse. It can and should be treated as a source of evidence admissible in court, and is often the object of digital discovery (e-discovery) requests. It is also part of the data sets used in routine security monitoring : a basic user normally has no right to install software ; installation attempts may signal inappropriate behavior or the presence of a malware installer, and even if a blocking tool prevents the installation, accounting must keep a record of it.

Finally, accounting feeds trigger events : occurrences of actions that may require a human decision to be resolved. A typical example is an attempt to go beyond the limits set by an identity's privileges, that is, an authentication or authorization failure. These triggers can raise real-time alarms or feed routine status reporting produced by the accounting functions of the access control system.

Key terms Accounting Non-repudiation Admissible evidence E-discovery Trigger event Last login
Key points
  • Accounting records every action by every identity (incl. last login)
  • It implements non-repudiation: a logged action cannot be denied
  • Data = admissible evidence, subject to e-discovery, basis for monitoring
  • Trigger events = actions requiring a human decision, real-time alarms

3.4 Password-less authentication

Authentication factors know, have, are and their combinations
Figure 3.4 · Password-less swaps a fragile know factor for a have (device) or are (biometric) factor.

Many breaches are caused by weak, reused or stolen passwords. Password-less authentication consists of verifying a user's identity by something other than a password. While some debate the benefits of this approach, the common denominator remains the problems that have always plagued passwords : they are easily compromised, costly and burdensome to manage, and offer a poor user experience.

Password-less authentication can take many forms depending on the use case. Two typical examples are push notifications, where the user approves a connection from a trusted device already enrolled, and biometric authentication, such as the fingerprint. The goal is to remove the memorized secret from the equation, and therefore to remove the target that attackers are best at stealing or guessing.

From an exam standpoint, password-less does not eliminate the need for authentication : it only changes the factor. It must be placed back within the logic of authentication factors (something you know, have, are) that the next module details : replacing a fragile know factor with a have factor (trusted device) or an are factor (biometrics) that is harder to compromise remotely.

Key terms Password-less authentication Push notification Biometric authentication Reused password Poor user experience
Key points
  • Many breaches stem from weak, reused, or stolen passwords
  • Password-less = verify identity without a memorized password
  • Drivers: easy compromise, management cost, poor UX
  • Forms: push notifications, biometrics (e.g., fingerprint)

3.5 Session management: from nonce to session replay

Session timeline: login, nonce session ID, cookie, tracking, timeout/anomaly, termination
Figure 3.5 · Session lifecycle: a nonce session ID stored in a cookie, tracked then terminated on timeout or anomaly; a replayed cookie = replay attack.

Sessions are created, managed, supported and then terminated by various protocols of the session layer, or Layer 5 of the 7-layer OSI model. From an IAM standpoint, authenticated session management is the set of activities that ensure the system maintains an uninterrupted protection path for resources throughout the session ; in most cases, this relies on x.509 certificates. Session management consists of tracking and securing multiple requests to a service coming from a single subject : first identifying it as a legitimate user, then tracing the when (date and time), the logical where (IP or MAC address) and the physical where (which door, which turnstile), and finally tracing the end of the session and the actions performed.

The number 2 threat in the OWASP Top 10 is broken authentication and session management. RFC 2965 shows how to maintain a session with cookies : the state of the interactions is kept in a session cookie, and each new connection is tied to this cookie, which provides non-repudiation through the audit trail. The submission of authentication provides a session identifier (session ID). These session IDs are long, random values, infeasible to guess, and single-use : hence the term nonce, a value that can be used only once. With most bank transfers, for example, a 30-digit number is created at initiation and then makes it possible to verify who, when and where the transfer began ; likewise, a login into a Kerberos realm generates event ID 4768, followed by the request and generation of an authentication ticket whose event codes ensure auditing.

An organization must track all session IDs and be ready to forcibly terminate sessions, either after an inactivity timeout (as in online banking), or when an anomaly arises. These anomalies include a sudden change of source, such as a change of IP address, multiple detected logins (typical of account sharing), or an access token reused twice without a prior logout. The major risk comes from the fact that the session ID is often stored in the cookie : if an attacker captures the session cookie, or if its transmission is delayed, they can simply replay the cookie to the system and connect with stolen credentials. This is session replay, or a replay attack. The countermeasures combine a single-use nonce, timeout, anomaly detection and cookie protection (HttpOnly and Secure attributes).

Key terms Session layer (Layer 5) Session ID Nonce Broken authentication Session replay Inactivity timeout Session anomaly x.509 certificate
Key points
  • Sessions handled by OSI Layer 5 (session) protocols; often via x.509
  • OWASP Top 10 number 2: broken authentication and session management; RFC 2965 (cookies)
  • Session ID = long, random, single-use value = nonce
  • Track all session IDs; forcibly terminate on timeout or anomaly
  • Anomalies: IP change, multiple logins, reused token
  • Session replay: captured/delayed cookie then replayed = stolen credentials

Case studies

Case · Applied scenario

The stolen session cookie of the banking portal

Context : On NorthBank's internet banking portal, a customer logs in from a cafe over unencrypted public Wi-Fi. Their session cookie, which holds the session ID, travels in clear text. An attacker on the same network captures the request and delays its transmission. A few minutes later, from their own machine and a different IP address, the attacker replays the cookie to the portal and lands inside the customer's session, without ever knowing the password. The portal uses 24-character session IDs but never invalidates them after use, enforces no inactivity timeout, and does not compare the source IP address during the session. The cookies carry neither the HttpOnly nor the Secure attribute.

Question : Which attack is underway, and which session-management countermeasures would have prevented it?

Topics covered session replaynonce session IDinactivity timeoutanomaly detectionHttpOnly/Secure cookies
Show analysis and answer

The attack is a session replay (replay attack). Since the session cookie was captured and then replayed, the attacker connects with what are, in effect, stolen credentials - without ever breaking the password. This is exactly the scenario described by OWASP at number 2 in its Top 10 (broken authentication and session management) and made possible here by storing the session ID in a cookie transmitted in clear text.

The first countermeasure is to make the session ID a true nonce : a long, random and above all single-use value, invalidated as soon as a session ends, so that a replayed cookie no longer corresponds to any active session. The second is the inactivity timeout : in online banking, the session must be forcibly terminated after a short period without activity, reducing the replay window. The third is anomaly detection : the change of source IP address between the client's login and the attacker's request, or multiple logins, must trigger a forced termination.

Finally, protecting the cookie itself : the Secure attribute prevents its transmission outside HTTPS (and therefore in clear text over public Wi-Fi), and the HttpOnly attribute keeps it away from JavaScript, reducing theft by script. Combined, these measures - single-use nonce, timeout, anomaly detection, HttpOnly and Secure - close the replay surface.

Takeaway : A session ID stored in a cookie is a replay surface: only a single-use nonce, plus timeout, anomaly detection, and HttpOnly/Secure cookies, neutralizes the replay.

Key learning points
  • A replay attack needs no knowledge of the password: the cookie is enough
  • The single-use nonce invalidates the replayed cookie
  • IP change and multiple logins are anomalies to handle via forced termination
Exam pitfall

Authentication vs authorization vs accounting

The exam pits these three AAA functions against one another in the same question. Authentication verifies that a claim of identity is valid and indeed carried by the one presenting it : it proves WHO you are, but approves no action. Authorization decides what that identity has the right to do (initial grant then real-time confirmation of a request). Accounting traces what the identity actually did, providing the basis for non-repudiation. Mnemonic rule : authentication = who, authorization = what (is allowed), accounting = what (was done). If the question is about approving or denying an action, it is authorization, never authentication.

Exam pitfall

Identity proofing vs authentication

Do not confuse the initial decision with the real-time decision. Identity proofing happens only once, at enrollment : the identity claim is validated against acceptable evidence or third-party attestation, off-line. Authentication is replayed at each access attempt, in real time : it verifies that the identity issued by the system is valid and presented by its holder. Exam clue : "at each login", "in real time", "multiple times per session" point to authentication ; "during registration", "third-party proof", "initial decision" point to identity proofing.

Exam pitfall

The session ID in the cookie: a replay surface

A recurring trap : believing that a long, random session ID is enough. Its robustness against guessing does not protect it from replay. Since the session ID is often stored in the cookie, an attacker who captures that cookie (unencrypted Wi-Fi, delayed transmission) can replay it to connect with what are effectively stolen credentials : this is session replay. Protection does not come from length alone but from single use (nonce invalidated after the session), timeout, anomaly detection (IP change, double login, reused token) and the HttpOnly/Secure attributes on the cookie.

Checkpoint : IAAA in detail: authentication, authorization, accounting, and session management

  1. A system successfully confirms that a user presents a valid identity issued to them. The user then tries to delete a file they have no rights to, and the action is denied. Which function performed this denial?

    • A Authentication
    • B Identity proofing
    • C Authorization
    • D Accounting
    Answer and rationale

    Answer : C. Authorization

    Authentication already succeeded (the identity is validated) but it approves no action. Deciding whether a request on an object is allowed is authorization, in its real-time confirmation meaning. Identity proofing is the initial enrollment decision; accounting merely records.

  2. An employee denies having initiated a fraudulent transfer. Which IAM function provides the evidence that prevents this denial?

    • A Authentication
    • B Self-service identity management
    • C Authorization
    • D Accounting (non-repudiation)
    Answer and rationale

    Answer : D. Accounting (non-repudiation)

    Accounting records every action by every identity and thereby implements non-repudiation: it establishes the evidence preventing a user from denying a performed action. This data is admissible in court and subject to e-discovery. Authentication and authorization decide; they do not keep the evidentiary trail.

  3. Why must a session ID be a long, random, single-use value?

    • A To shrink the cookie and save bandwidth (compact ID)
    • B To be human-readable in the URL and easy to bookmark (token)
    • C To speed up session encryption with a fresh symmetric key
    • D To be infeasible to guess and impossible to replay (nonce)
    Answer and rationale

    Answer : D. To be infeasible to guess and impossible to replay (nonce)

    Long and random makes the session ID infeasible to guess; single use makes it a nonce (number used once), so a captured value cannot be reused. This closes both guessing and, combined with invalidation, replay. The other options are not the security objective.

  4. During an active session, the source IP address changes abruptly and a second simultaneous login is detected on the same account. What should the system do?

    • A Ignore it: an IP change is normal
    • B Treat these as anomalies and forcibly terminate the session
    • C Automatically extend the inactivity timeout
    • D Ask the user to re-enroll their identity (identity proofing)
    Answer and rationale

    Answer : B. Treat these as anomalies and forcibly terminate the session

    A sudden change of source (IP) and multiple logins are exactly the session anomalies that should trigger a forced termination. The organization tracks all session IDs to be able to terminate them. Extending the timeout would worsen exposure; identity proofing is unrelated to an ongoing session.

  5. A passkey (FIDO2/WebAuthn) relies on:

    • A An asymmetric key pair: the private key never leaves the device
    • B A server-side password hash: the salted digest is kept on the server
    • C A shared secret sent to the server: both sides keep a copy of the key
    • D An OTP code sent by SMS: the six digits are valid for one login only
    Answer and rationale

    Answer : A. An asymmetric key pair: the private key never leaves the device

    Passkeys use public-key cryptography: the private key stays on the authenticator, only the signature is verified. No shared secret is transmitted, unlike passwords or SMS OTP.

  6. FIDO2/WebAuthn's specific resistance to phishing comes from the fact that:

    • A The user must memorize a long password that a phishing site cannot capture whole
    • B An OTP is emailed to the user, so a spoofed site never sees the typed password
    • C The key is bound to the origin (domain) and will not activate on a spoofed site
    • D The server stores the private key, so a spoofed site has nothing to intercept
    Answer and rationale

    Answer : C. The key is bound to the origin (domain) and will not activate on a spoofed site

    FIDO2 binds the authenticator to the origin (domain). A phishing site on a different domain cannot trigger the signature, even if the user is fooled. The other options are false or counterproductive.

  7. A web session is tracked via a Session ID (often a nonce) stored in a cookie. An attacker replaying this cookie corresponds to:

    • A A Kerberoasting (ticket cracking)
    • B A dictionary attack (word list)
    • C A session replay / session hijacking
    • D A failure to enroll (biometrics)
    Answer and rationale

    Answer : C. A session replay / session hijacking

    Replaying a stolen session cookie = session replay/hijacking: the attacker impersonates the user without authenticating. Defenses: HttpOnly/Secure cookies, IP/fingerprint binding, timeout, ID regeneration. It is neither dictionary nor Kerberoasting.

  8. A session inactivity timeout contributes to security by:

    • A Extending cookie validity indefinitely, so the session never has to be re-opened
    • B Automatically closing a session left open, reducing the hijacking window
    • C Disabling MFA on a session left open, so the owner can resume it quickly
    • D Preventing encryption of a session left open, so the IDS can inspect it
    Answer and rationale

    Answer : B. Automatically closing a session left open, reducing the hijacking window

    An inactivity timeout closes abandoned sessions (unlocked workstation, forgotten cookie), limiting the exploitation window. It does not extend cookies, affect MFA or encryption.

  9. Non-repudiation in IAM is primarily ensured by:

    • A Unique named accounts combined with reliable logging (accountability)
    • B A short password renewed every week combined with strict lockout rules
    • C The absence of logs combined with encryption of each transaction
    • D Shared accounts combined with an acceptable-use charter signed by all
    Answer and rationale

    Answer : A. Unique named accounts combined with reliable logging (accountability)

    Non-repudiation requires being able to attribute an action to a specific individual: unique named accounts + reliable logs (ideally signatures). Shared accounts and missing logs destroy it; password length is irrelevant.

  10. A key advantage of passkeys/FIDO2 over passwords, from the server's viewpoint, is:

    • A The server stores only a PUBLIC key: a database leak reveals no usable secret
    • B The server stores a reusable shared secret: a leak is revoked in one step
    • C The server no longer needs TLS: the challenge-response encrypts the exchange
    • D The server can derive the PRIVATE key: a lost device is recoverable
    Answer and rationale

    Answer : A. The server stores only a PUBLIC key: a database leak reveals no usable secret

    With FIDO2, the server holds only the public key; even if stolen, it cannot be used to authenticate. This removes the value of stolen credential databases (no hashes to crack, no stuffing). TLS is still recommended.

  11. A former contractor presents an identifier that does exist in the identity store, with the correct password, but the account was suspended the day before. What must the authentication function conclude?

    • A Access is validated: the identity is on file and the secret is correct, so the suspension is overridden
    • B Authentication fails: a suspended or revoked identity is not valid, even if the secret is correct
    • C Authentication succeeds: the identifier is on file and the secret matches; only authorization must refuse
    • D Accounting must decide case by case: the suspension date is compared with the last recorded login
    Answer and rationale

    Answer : B. Authentication fails: a suspended or revoked identity is not valid, even if the secret is correct

    Authentication validates three things: the identifier is on file, it is correctly associated with the bearer, and it is neither suspended nor revoked; the suspension therefore makes authentication fail. Treating access as validated because the identity exists and the secret is right skips the third check. Pushing the refusal to authorization confuses the functions: authorization decides what a valid identity may do, it does not step in for an invalid identity. Accounting records the attempt; it makes no access decision.

  12. A customer already logged in to online banking must re-enter their password before confirming a large transfer. How should this requirement be described?

    • A Re-authentication, a real-time decision repeated during the session
    • B Identity proofing, an initial decision repeated for sensitive steps
    • C A session management anomaly, a double login on the same session
    • D An initial authorization, the up-front grant of the transfer right
    Answer and rationale

    Answer : A. Re-authentication, a real-time decision repeated during the session

    Authentication is a real-time decision that can occur several times within one session, typically as re-authentication before a sensitive operation. Identity proofing is the initial decision made once at enrollment. Initial authorization is the up-front granting of permissions, not an identity check during the session. A session management anomaly would be an IP change or a double login; here the mechanism is intended and legitimate.

  13. An administrator grants a new analyst the right to read financial reports. Three months later, the analyst opens a report and the system checks that this read is permitted. In order, which two meanings of authorization are illustrated?

    • A Real-time authentication of the analyst, then provisioning of the report in their workspace
    • B Identity proofing of the analyst at hiring, then authentication at each opening of a report
    • C Initial decision to grant permissions, then real-time confirmation that an action is permitted
    • D Accounting of the granted right, then non-repudiation of the read action by the audit trail
    Answer and rationale

    Answer : C. Initial decision to grant permissions, then real-time confirmation that an action is permitted

    The course separates two meanings of authorization: the initial granting of rights over objects (here, the read right granted) and the real-time confirmation that a specific request is permitted by those privileges (here, opening the report). Identity proofing and authentication verify who the person is, not what they may do. Accounting and non-repudiation record and prove actions without authorizing them. Real-time authentication is not about rights, and provisioning creates the account; it is not the check at time of use.

  14. Through a self-service portal, an employee changes their login PIN. From an access control standpoint, how should this operation be characterized?

    • A An administrative operation outside the IAM scope, to be handled by the help desk as a service request
    • B A personal setting with no impact on the identity store, stored only in the portal's profile
    • C An implicit authentication that waives MFA, since the user proves possession of the old PIN
    • D An access request to the identity store, to be governed by permissions like any other access
    Answer and rationale

    Answer : D. An access request to the identity store, to be governed by permissions like any other access

    The course reads every self-service identity management operation as an access request: the user accesses a service (an object) to change values in another object, the identity store, so the request must be governed by permissions. Placing it outside the IAM scope contradicts that reading. A PIN change does modify a challenge parameter stored in the identity store. Finally, changing a secret authenticates nothing by itself and waives no additional control.

  15. At each login, a system shows the user the date and time of their last successful login and their last failed attempt. Which IAM function provides this information?

    • A Identification
    • B Accounting
    • C Authorization
    • D Identity proofing
    Answer and rationale

    Answer : B. Accounting

    Accounting keeps track of every action involving every identity, and the course cites the date and time of the last successful or failed login as an example of what it provides. Authorization decides whether an action is permitted; it does not log. Identification is the mere presentation of an identifier. Identity proofing is the initial identity verification at enrollment, unrelated to login history.

  16. A standard user attempts to install software; a blocking tool prevents the installation. What is the RIGHT position for the security manager regarding this attempt?

    • A Purge the record after 24 hours, since the block already proved that the control is effective
    • B Keep it in accounting, since it may signal inappropriate behavior or a malware installer
    • C Ignore it, since the block worked and the user holds no privileged account on the workstation
    • D Grant the installation through a self-service exception, to reduce the support workload
    Answer and rationale

    Answer : B. Keep it in accounting, since it may signal inappropriate behavior or a malware installer

    The course states that even when a blocking tool prevents the installation, accounting must keep a record: the attempt may reveal inappropriate behavior or a malware installer, and feeds security monitoring. Ignoring the event deprives the organization of a useful signal. Purging the record destroys potentially admissible evidence. Granting the installation would reverse the least privilege policy instead of handling the signal.

  17. A repeated authorization failure on an account must lead to a human decision rather than a mere log entry. Which course term designates this occurrence fed by accounting?

    • A Nonce
    • B Challenge parameter
    • C Trigger event
    • D Session replay
    Answer and rationale

    Answer : C. Trigger event

    Trigger events are occurrences of actions that may require a human decision, the typical example being an attempt to go beyond an identity's privileges, that is an authentication or authorization failure; they can raise alarms or feed reporting. A nonce is a single-use value serving as session ID. Session replay is an attack replaying a session cookie. A challenge parameter is an authentication element (PIN, passphrase) changeable through self-service, not a supervision event.

  18. A company replaces passwords with approval of a push notification on an already enrolled smartphone. Which statement BEST describes this change?

    • A The know factor is strengthened, since the push code is rotated more often than the old password
    • B The smartphone becomes an are factor, since the device recognizes its owner on every approval
    • C Authentication disappears in favor of authorization alone, since no secret is checked any more
    • D A fragile know factor is replaced by a have factor that is harder to compromise remotely
    Answer and rationale

    Answer : D. A fragile know factor is replaced by a have factor that is harder to compromise remotely

    Password-less does not remove authentication, it changes the factor: the memorized secret (know), the attackers' favorite target, is replaced by an enrolled trusted device (have). Saying authentication disappears confuses removing the password with removing identity verification. More frequent rotation would keep the password, the opposite of the goal. The smartphone is a possessed object; it only becomes an are factor if biometrics are actually used.

  19. The CISO wants the protection path for resources to remain uninterrupted for the whole duration of an authenticated session. Which mechanism does authenticated session management most often rely on?

    • A x.509 certificates
    • B Sharing one account between users
    • C Cookies without the Secure attribute
    • D Deliberate clock desynchronization
    Answer and rationale

    Answer : A. x.509 certificates

    The course states that authenticated session management, which maintains an uninterrupted protection path during the session, relies in most cases on x.509 certificates. Cookies without the Secure attribute weaken the session by exposing the session ID. Account sharing produces multiple logins, cited as a session anomaly. Clock desynchronization is a cause of authentication failure (Kerberos), not a protection mechanism.

  20. A web application stores the session ID in a cookie. Which combination of countermeasures BEST reduces the risk of session replay?

    • A Session logs disabled, IP-based blocking and a cookie limited to the first login only
    • B Short, reusable session ID, no inactivity timeout, and a cookie scoped to the whole domain
    • C Session ID passed in the URL, long absolute timeout and a cookie flagged SameSite only
    • D Single-use nonce, inactivity timeout, anomaly detection and HttpOnly plus Secure cookie
    Answer and rationale

    Answer : D. Single-use nonce, inactivity timeout, anomaly detection and HttpOnly plus Secure cookie

    The course lists exactly these combined countermeasures: single-use nonce, timeout, anomaly detection and cookie protection with the HttpOnly and Secure attributes. A short, reusable session ID with no timeout is the opposite of a nonce and widens the replay window. Disabling logs removes the audit trail underpinning non-repudiation without preventing replay. Putting the session ID in the URL exposes it in history, referers and proxy logs, which makes capture easier.

Key takeaways

  • IAAA = identification, authentication, authorization, accounting; the AAA core is the cornerstone of security.
  • Authentication verifies an identity is on file, correctly bound to the bearer, and not suspended; it is a real-time decision, possibly repeated within the session.
  • Authentication does NOT approve the action: deciding the right belongs to authorization.
  • Identity proofing = initial decision at enrollment; authentication = real-time decision at each access.
  • Authorization has two meanings: initial grant of permissions, then real-time confirmation that a request is allowed.
  • Every self-service operation (change password/PIN/address, request access, create an app identity) is an access request.
  • Accounting records every action by every identity, implements non-repudiation, provides admissible and e-discovery evidence, and feeds monitoring and trigger events.
  • Password-less authentication answers weak/reused/stolen passwords; forms: push notifications, biometrics.
  • The session ID is a nonce (long, random, single-use value); OWASP Top 10 number 2 = broken authentication and session management.
  • A session cookie captured then replayed = session replay; countermeasures: nonce, inactivity timeout, anomaly detection (IP, multiple logins, reused token), HttpOnly/Secure.
Module 4 Objective B 110 min Intermediate

Authentication factors, MFA, tokens, and biometrics (FAR/FRR/CER)

Prerequisites : Module M3 (session management and the digital identity lifecycle) recommended: subject, object, identification, and authentication are assumed.

To authenticate is to present proof that an already-identified entity has the right to cross a control point. The strength of that proof depends on the number and nature of the factors required. This module distinguishes single-factor authentication (SFA) from multi-factor authentication (MFA), then details the three classic factors (know, have, are or do) and two emerging factors (location, node).

We then go down into the technologies : access control tokens (physical and logical) and biometrics, with their strengths and limits. Biometrics introduces an unavoidable reality : no sensor is perfect. Hence the module's central section on access control errors, the False Rejection Rate (FRR, Type 1) and False Acceptance Rate (FAR, Type 2), and their trade-off via the crossover error rate (CER).

The exam loves these fine distinctions : Type 1 versus Type 2, two methods of the same factor not making an MFA, and the myth of the CER as the ideal setting. By the end of the module, you will know how to choose a biometric threshold based on real business risk, not on a ready-made rule.

Learning objectives

  • Distinguish SFA from MFA, and explain why two methods of the same factor remain SFA
  • List the authentication factors (know, have, are or do, location, node) and give an example of each
  • Differentiate physical security tokens from logical access tokens, their mechanisms and uses
  • Describe the role of biometrics within MFA and its characteristics (uniqueness, enrollment, hashing)
  • Define FRR/Type 1 and FAR/Type 2, their respective business impacts, and which carries the higher risk
  • Read the FAR/FRR curve, locate the CER, and justify a threshold by risk rather than by the CER alone

Success criteria

  • Classify an authentication scenario as SFA or MFA by counting distinct factors, not methods
  • Match each factor (know, have, are or do, location, node) to a concrete example
  • Identify whether a described token is physical or logical and name its read mechanism
  • Map without error Type 1 = false rejection = FRR and Type 2 = false acceptance = FAR
  • Designate FAR (Type 2) as the higher-risk error and justify it
  • Select an appropriate biometric threshold (vault vs cafeteria) and explain the quantified FAR/FRR trade-off

4.1 SFA vs MFA: count the factors, not the methods

Five authentication factor boxes with the SFA vs MFA rule
Figure 4.1 · The five factors (know, have, are, location, node) and the rule: MFA requires different factors, not two methods of the same one.

To authenticate is to present proof that an identified entity should be allowed to cross a control point. The standard proofs fall into three primary factors : something you know (password, PIN, answers to challenge questions), something you have (token, smart card) and something you are or do (biometrics, fingerprint). Single-factor authentication (SFA) consists of providing a single type of proof. A crucial point for the exam : a single factor can be proven by several methods. A password AND a PIN are two methods of the same factor (something you know) - so still an SFA, not an MFA.

Multi-factor authentication (MFA) requires more than one factor of proof : for example a password (know) plus an iris scan (are). Each factor adds an obstacle for an attacker ; as the factors stack up, the layers of defense in depth grow. The price to pay : an MFA can increase the management complexity of the system and reduce or disrupt the productivity of the user seeking to connect.

Two emerging factors complete the picture. Location authentication uses geolocation to allow or deny a connection depending on the geographic area : SPs like Netflix and Amazon use it to protect their content against intellectual property leaks. Node authentication recognizes the device type (a specific smartphone, laptop or desktop) as a means of authentication. From a risk standpoint, an SFA of the what-you-know type has proven inadequate : users choose passwords easy to remember and therefore easy to crack. 2FA is safer, and the most widespread 2FA mechanism is the one-time password (OTP) sent by SMS or generated by an application.

Key terms SFA MFA Something you know Something you have Something you are or do Location authentication Node authentication OTP
Key points
  • SFA = 1 type of proof; MFA = more than one DIFFERENT factor
  • Password + PIN = two methods of the same factor (know) = still SFA
  • Each factor = one more hurdle, a layer of defense in depth
  • MFA can increase management overhead and reduce productivity
  • Emerging factors: location (geolocation) and node (device type)

4.2 Physical security tokens: something you have

Lifecycle of a credential or token, from initialization to activation
Figure 4.2 · The provider initializes token and account; the token generates a new value at each activation (button, swipe, insertion, NFC).

Access control devices (systems or logical components) add a layer of protection to data access : hardware and software tokens, keys, cards. Combined with other identification methods, they provide an MFA. Access control tokens come in two distinct forms with distinct uses. The first, the physical security token, addresses the something-you-have part of an MFA challenge.

Many of these tokens today use cryptographic hash and pseudorandom number (PRNG) technologies that generate a new value each time the user activates the token. They are activated by pressing a button, by swiping or inserting the token into a suitable reader, or via near-field communication (NFC) technologies that scan them. The device works like a cryptographic one-time pad : the provider must initialize both the token (delivered as a key fob, smart card or other format) and the user's account data on its systems.

Access control applications can also be installed on users' smartphones or other endpoints, turning them into a bulkier but often more capable physical token. This is the principle behind authenticator apps : the phone becomes the have factor. Remember for the exam that reading the credentials of a physical token can be done by swipe (magnetic stripe), by insertion (chip), or by placing it on or near a reader (contactless chip) : depending on how the token stores the information, these three modes are all valid.

Key terms Physical security token Pseudorandom number One-time pad Key fob NFC Authenticator app
Key points
  • A physical token covers the something you have factor
  • Hash and PRNG produce a new value at each activation
  • Read by button, swipe, insertion, or NFC near a reader
  • One-time pad: token and account initialized together by the provider
  • A smartphone with an authenticator app becomes a physical token

4.3 Logical access tokens: the privilege package

Session timeline with logical token propagated and expiration
Figure 4.3 · The logical access token, generated after authentication, carries identity and privileges and expires quickly to limit replay.

The second form of token is the logical access token. These are data packets generated by an access control system for an already-authenticated user ID. They contain information about that identity, the privileges granted to it and other metadata. Not to be confused with the physical token : the logical token is not an object you carry, it is a data structure internal to the system.

These tokens are then passed to various application programs or server systems, or embedded in the handshakes that establish sessions on the organization's networks. They almost invariably carry an expiration date and time, which can come down to a few minutes if security needs require it. This is the mechanism that limits the exploitation window of a stolen token : a short-lived access token reduces the value of a replay.

The exam distinction is clear : the physical token proves who you are at the moment of authentication (have factor) ; the logical token, for its part, carries what you have the right to do after authentication (identity plus privileges). One is a presented proof, the other a propagated authorization.

Key terms Logical access token Authenticated user ID Privileges Expiration Handshake
Key points
  • Logical token = data generated for an authenticated user ID
  • Carries identity, privileges, and other metadata
  • Propagated to applications and session handshakes
  • Often short expiry to limit replay
  • Physical token = proof presented; logical token = authorization propagated

4.4 Biometrics: who are you?

Biometric something you are factor among authentication factors
Figure 4.4 · Biometrics fills the are factor; rarely alone, it combines with have (card) and know within MFA.

Biometric devices measure physiological characteristics of the user : retinas, capillary patterns, geometry of the hands or face, fingerprints, even voice recording. These characteristics offer varying measures of uniqueness : out of billions of people, very few share the same fingerprints, and only a handful would have nearly identical retinal scans. This is what makes them something-you-are factors.

Each biometric technology has a different susceptibility to errors and measurement bias. For this reason, few systems rely on a single biometric technique as a sole authentication factor. Integrated into an MFA, however, biometrics strongly reduce the system's vulnerability to an intrusion. Enrollment is the step that establishes the baseline : the reference measurement to which future presentations will be compared is captured.

For the protection of biometric data, the reference is not stored in clear text : it can be hashed and kept on a smart card the user carries, rather than in a central database. This combines the are factor (the measurement) and the have factor (the card). Remember the exam trap : biometrics are rarely a sole factor ; their true value is within an MFA, and the quality of a sensor is judged by its error rates, the subject of the next lesson.

Key terms Biometrics Retina Capillary patterns Uniqueness Enrollment Hashed on smart card
Key points
  • Biometrics = something you are factor, based on uniqueness
  • Retina, capillaries, hand/face geometry, fingerprints, voice
  • Rarely a single factor; its value lies within MFA
  • Enrollment = capture of the reference baseline
  • Reference often hashed on a smart card (are + have)

4.5 Access control errors: FRR, FAR, CER

Descending FRR and rising FAR curves crossing at the CER point
Figure 4.5 · Figure 5.5: spending lowers FAR and raises FRR; the crossing is the CER. Security on the left, risk on the right; the CER is not always optimal.

Whatever technologies are used, there will be errors : noise, sensor degradation or failure, miscalibration, misuse. Access control systems classify these errors into two broad types. The False Rejection Rate (FRR or Type 1) occurs when the system fails to recognize a legitimate identity attempting access ; it can occur during authentication as well as authorization. The False Acceptance Rate (FAR or Type 2) occurs when the system grants access (or authorizes an action) to an identity that is not and should not be approved. Although often discussed for biometric sensors, these rates apply to any event-detection system, not just biometrics.

Their impacts differ radically. A false rejection blocks legitimate and necessary work : a user who cannot connect, an update that is not run, a workstation that does not join the network, with a re-authentication cost. A false acceptance grants access to an impostor : it is an intrusion, potentially the entry point of an advanced persistent threat (APT). For the exam, FAR (Type 2) carries the highest risk, because it opens the door to an illegitimate actor.

Figure 5.5 shows the trade space. Increasing spending on access control technologies (full life-cycle cost, including labor) can lower the FAR while raising the FRR. The point where the curves cross is the crossover error rate (CER). The horizontal axis shows increasing risk toward the right and its logical inverse, security, increasing toward the left. Beware the myth : believing that the minimum of the CER is the sweet spot where costs and risks are best balanced is a widespread but false belief. The organization's real risk climate, its business imperatives and the risk tolerance of its customers and stakeholders may dictate a completely different mix of Type 1 and Type 2 errors.

Key terms FRR (Type 1) FAR (Type 2) CER Trade space Event detection Risk tolerance
Key points
  • Type 1 = FRR = false rejection of a legitimate identity
  • Type 2 = FAR = false acceptance of an illegitimate identity
  • FAR (Type 2) = highest risk: intrusion, possible APT
  • Applies to any detector, not just biometrics
  • Spending lowers FAR but raises FRR; CER = crossover
  • The CER minimum is NOT always the right setting

Case studies

Case · Applied scenario

Reading the CER curve: bank vault vs cafeteria

Context : A bank deploys the same fingerprint reader in two places. Site A: the vault room, where an admitted impostor could cause a massive loss and trigger an APT. Site B: the staff cafeteria, where the scan only authorizes meal payment. At the sensor's measured CER threshold, FAR = FRR = 1%. Moving the threshold toward more security drops FAR to 0.1% but raises FRR to 5%. Moving it toward less friction raises FAR to 4% but drops FRR to 0.2%.

Question : For each site, should you stay at the CER or pick another threshold? Justify with the numbers.

Topics covered Reading the FAR/FRR curveRisk-driven threshold choiceCER mythDifferentiated business impact
Show analysis and answer

The sweet-spot myth would say : set both sites to the CER (1%/1%), the balance point. This is wrong, because the impact of an error is not the same across sites. The right threshold depends on real business risk, not on the crossing of the curves.

Site A, the vault : a false acceptance is catastrophic (intrusion, theft, APT) ; a false rejection only costs an employee a re-authentication. So we accept raising the FRR in order to crush the FAR. Setting toward more security : FAR 0.1%, FRR 5%. We divide the risk of admitting an impostor by ten compared to the CER, at the cost of five times more legitimate rejections - an acceptable trade-off here, because the impact of a FAR dominates.

Site B, the cafeteria : a false acceptance at worst charges the wrong cafeteria account ; a false rejection blocks a hungry employee in the line and harms productivity and experience. So we favor convenience : FAR 4%, FRR 0.2%. The FAR multiplied by four remains without serious consequence, while we cut legitimate rejections by five. Conclusion : the same sensor, two opposite thresholds, dictated by business impact and risk tolerance, not by the CER.

Key learning points
  • The right threshold depends on the impact of an error, not the curve crossing
  • High stakes (vault): minimize FAR even if FRR climbs
  • Low stakes, high frequency (cafeteria): minimize FRR for productivity
Exam pitfall

Type 1 = FRR, Type 2 = FAR, and which is worse

Never confuse the two types. Type 1 = False Rejection Rate (FRR): the system rejects a LEGITIMATE identity; impact = blocked work, re-authentication cost. Type 2 = False Acceptance Rate (FAR): the system accepts an ILLEGITIMATE identity; impact = intrusion, possible APT. If a question asks for the higher-risk error, answer Type 2 (FAR): granting access to an impostor is far worse than making an employee wait. Tip: Type 1 rejects the legitimate one first; Type 2 goes one step too far by accepting an intruder.

Exam pitfall

Two methods of the same factor are not MFA

Password + PIN, or password + a selection of passcode digits, remains SFA: all of it is something you know, a single factor, even if several secrets are requested. MFA requires DIFFERENT factors, e.g. know + have (token) or know + are (biometrics). If a question describes two proofs of the same type, answer SFA, never MFA. And do not fall for the OTP trap: if the underlying secret stays constant across logins, it is not a true one-time password.

Exam pitfall

The CER is not always the optimal setting

A common but false belief: the CER minimum is the sweet spot where costs and risks are best balanced. In reality, the actual risk climate, business imperatives, and stakeholders' risk tolerance can mandate a very different mix of false rejections and false acceptances. If a question frames the CER as the universal ideal setting, be wary: the right threshold is chosen by the business impact of each error, not by the mere crossing of the curves.

Checkpoint : Authentication factors, MFA, tokens, and biometrics (FAR/FRR/CER)

  1. In a biometric implementation, which error type represents a false rejection?

    • A Type 1
    • B Type 4
    • C Type 2
    • D Type 3
    Answer and rationale

    Answer : A. Type 1

    A Type 1 error is a false rejection of a valid assertion (FRR). Type 2 is a false acceptance of an invalid assertion (FAR). There is no Type 3 or Type 4.

  2. Which error type presents an organization with the higher risk impact?

    • A Type 1
    • B Type 2
    • C Type 3
    • D All of them, equally
    Answer and rationale

    Answer : B. Type 2

    A Type 2 (FAR) error is a false acceptance: it wrongly identifies an impostor as legitimate and grants access, opening the door to intrusion or even an APT. A Type 1 (FRR) merely denies a legitimate user. There is no Type 3, and one choice does carry higher risk than the others.

  3. With physical access control tokens, how are the user's credentials read so they can be transmitted to the logical access control system?

    • A Swiped (magnetic strip)
    • B Inserted (chip)
    • C Placed on or near a reader
    • D All of the above
    Answer and rationale

    Answer : D. All of the above

    All three are valid processes: swiping reads the magnetic strip, insertion reads the chip, and placing on or near a reader reads a contactless chip (NFC). The method depends on how the token stores the information, so the answer is all of the above.

  4. Your bank asks you to register a passcode and a password. At login, the platform requests your password plus a random selection of digits from the passcode, which changes each login. Which authentication approach is represented here?

    • A Single-Factor Authentication (SFA)
    • B Multi-Factor Authentication (MFA)
    • C Strong Authentication
    • D One-Time Password (OTP)
    Answer and rationale

    Answer : A. Single-Factor Authentication (SFA)

    This is SFA, not MFA: passcode and password are both something you know, hence a single factor. It is not MFA since no have or are factor is used. It is not strong authentication (usually password-less). And it is not a true OTP: the underlying passcode stays constant across logins, and the same digits may be requested again.

  5. On the figure 5.5 curve, you move the sensor threshold to the left (Greater Security). What effect should you expect on the error rates?

    • A FAR increases and FRR decreases
    • B FAR decreases and FRR increases
    • C Both FAR and FRR decrease
    • D You necessarily reach the optimal setting at the CER
    Answer and rationale

    Answer : B. FAR decreases and FRR increases

    Toward the left (more security), the sensor tightens: it accepts fewer impostors (FAR drops) but rejects more legitimate users (FRR rises). You cannot lower both at once, which is the whole trade-off. And the CER is not necessarily optimal: the right threshold depends on actual business risk, not the curve crossing.

  6. Device geolocation used as an access criterion corresponds to the factor:

    • A Something you have
    • B Something you do
    • C Somewhere you are
    • D Something you know
    Answer and rationale

    Answer : C. Somewhere you are

    Location = 'somewhere you are'. 'Know' = secret, 'have' = possession, 'do' = behavior (signature, gait). Geographic position fits none of the three classic categories.

  7. Handwritten signature dynamics (speed, stroke pressure) is a factor of type:

    • A Something you are (static biometric)
    • B Somewhere you are (location factor)
    • C Something you do (behavioral biometric)
    • D Something you know (memorized secret, PIN)
    Answer and rationale

    Answer : C. Something you do (behavioral biometric)

    How you sign is a behavior = 'something you do' (behavioral biometric). Static 'are' biometrics cover physical traits (fingerprint, iris); it is not a secret or a location.

  8. SFA (Single-Factor Authentication) is deemed insufficient for sensitive access because:

    • A Compromising a single element (e.g. stolen password) is enough to impersonate the identity
    • B It does not work with LDAP: a directory bind cannot validate a single password on its own
    • C It uses too much bandwidth: the password must be transmitted again for every request
    • D It is too slow: each login requires a full password check before any session can be opened
    Answer and rationale

    Answer : A. Compromising a single element (e.g. stolen password) is enough to impersonate the identity

    With a single factor, one stolen secret grants full access. MFA forces the attacker to compromise multiple categories. Speed, LDAP and bandwidth are not the issue.

  9. The main difference between TOTP and HOTP is:

    • A TOTP generates time-based codes (time window), HOTP on an event counter
    • B TOTP generates codes from an event counter, HOTP from a time window
    • C There is no difference: both derive the code from the same 30-second window
    • D TOTP relies on an asymmetric key pair, HOTP on a symmetric shared secret
    Answer and rationale

    Answer : A. TOTP generates time-based codes (time window), HOTP on an event counter

    TOTP (Time-based) derives the code from the clock (time-limited codes). HOTP (HMAC/counter-based) increments a counter per use. Giving the counter to TOTP and the time window to HOTP swaps them. Both rely on a shared symmetric secret, neither on an asymmetric key pair.

  10. A software token (soft token) differs from a hardware token in that it:

    • A Is always more secure: its secret is sealed in a tamper-resistant chip of the device
    • B Never generates an OTP: it only forwards a push notification that the server validates itself
    • C Requires no secret: the code is derived from the device's serial number and the current time
    • D Is an app/key stored on a multipurpose device (smartphone), with no dedicated physical object
    Answer and rationale

    Answer : D. Is an app/key stored on a multipurpose device (smartphone), with no dedicated physical object

    A soft token is software (an authenticator app on a shared device). It is not inherently safer (the device can be compromised), does generate OTPs and relies on a secret.

  11. For access to a bank vault room, the priority is to minimize ABOVE ALL:

    • A FRR, even tolerating a higher FAR (a few impostors accepted)
    • B Throughput, even if the matching threshold has to be relaxed
    • C The enrollment rate, even if the template quality is lower
    • D FAR, even tolerating a higher FRR (more legitimate rejections)
    Answer and rationale

    Answer : D. FAR, even tolerating a higher FRR (more legitimate rejections)

    In a highly sensitive context, the threshold is set to minimize FAR (no impostor), even if legitimates are sometimes rejected (higher FRR, a mere nuisance). Prioritizing FRR would let intruders in; throughput and enrollment are secondary.

  12. The Crossover Error Rate (CER), also called Equal Error Rate (EER), is the point where:

    • A FAR is maximal (impostors pass)
    • B FAR = FRR (the two curves cross)
    • C Throughput reaches its peak rate
    • D Enrollment fails (no template)
    Answer and rationale

    Answer : B. FAR = FRR (the two curves cross)

    CER = EER = the intersection where FAR equals FRR. It is the comparison metric between systems: the lower the CER, the more accurate. It is neither a FAR maximum nor throughput.

  13. Comparing three biometric readers: reader 1 (CER 0.8%), reader 2 (CER 1.5%), reader 3 (CER 3%). Which is the MOST accurate?

    • A Reader 3, because its CER is the highest
    • B Impossible to tell without throughput
    • C Reader 2, with the middle value
    • D Reader 1, because its CER is the lowest
    Answer and rationale

    Answer : D. Reader 1, because its CER is the lowest

    CER objectively compares accuracy: the LOWER, the better. Reader 1 (0.8%) is therefore the most accurate. Reader 3, with the highest CER, is the least accurate; throughput measures speed, not accuracy.

  14. Out of 10,000 impostor attempts, a system wrongly accepts 5. Its FAR is:

    • A 5%
    • B 0.005%
    • C 0.5%
    • D 0.05%
    Answer and rationale

    Answer : D. 0.05%

    FAR = false accepts / impostor attempts = 5 / 10,000 = 0.0005 = 0.05%. The other answers come from a misplaced decimal.

  15. Retina scan and iris scan differ in that:

    • A Iris requires physical contact with the sensor, retina is captured at a distance with a camera
    • B Retina reads the eye color around the pupil, iris reads the blood-vessel pattern at the back of the eye
    • C Retina reads the blood-vessel pattern at the back of the eye, iris reads the colored pattern around the pupil
    • D They measure exactly the same eye pattern, only the sensor's distance from the eye and its light differ
    Answer and rationale

    Answer : C. Retina reads the blood-vessel pattern at the back of the eye, iris reads the colored pattern around the pupil

    Retina = back-of-eye vessels, very accurate but intrusive (close light). Iris = visible colored pattern, scannable at distance, less intrusive. Giving the color to the retina and the vessels to the iris swaps them. The two scans do not measure the same pattern, and iris needs no contact with the sensor.

  16. The main inherent drawback of biometrics as an authentication factor is:

    • A It never works with MFA, since a trait cannot be combined with a secret
    • B A compromised biometric trait cannot be 'changed' like a password
    • C It requires no dedicated hardware, so any device can spoof the sensor
    • D A biometric trait is too easy to guess, unlike a random password
    Answer and rationale

    Answer : B. A compromised biometric trait cannot be 'changed' like a password

    Unlike a password, you cannot reset a fingerprint or iris once the data is compromised. Biometrics is not 'guessable', integrates well into MFA and does require hardware (a sensor).

  17. A user presents a smartcard (have) AND a PIN (know). This combination is:

    • A Neither SFA nor MFA, since the PIN only unlocks the card
    • B MFA, since two distinct factor categories are combined
    • C MFA only if the smartcard also embeds a fingerprint sensor
    • D SFA, since the smartcard alone already proves the identity
    Answer and rationale

    Answer : B. MFA, since two distinct factor categories are combined

    Smartcard (possession) + PIN (knowledge) = two different CATEGORIES: this is genuine MFA. No biometrics needed. The smartcard alone would be SFA. Contrast with password + PIN (two 'know' = SFA).

  18. A bank sends an SMS code after the password. Although this is MFA, SMS is deemed weak because it is vulnerable to:

    • A Biometric throughput and FAR drift
    • B Password salting and hash reuse
    • C SIM swapping and SS7 interception
    • D NTP synchronization and clock skew
    Answer and rationale

    Answer : C. SIM swapping and SS7 interception

    SMS OTP can be hijacked via SIM swapping (fraudulent number transfer) or SS7 interception. NIST discourages it in favor of OTP apps or FIDO2. Salting, NTP and throughput are unrelated.

  19. Among these biometrics, which is BEHAVIORAL (not physiological)?

    • A Hand geometry scan
    • B Keystroke dynamics
    • C Iris texture pattern
    • D Fingerprint ridges
    Answer and rationale

    Answer : B. Keystroke dynamics

    Keystroke dynamics is behavioral ('something you do'). Fingerprint, hand geometry and iris are physiological ('something you are'). Behavioral biometrics also include voice, signature and gait.

  20. MFA (Multi-Factor Authentication) requires at minimum:

    • A At least two factors from DIFFERENT categories (e.g. know + have)
    • B Three security questions answered correctly (e.g. birthplace + pet)
    • C Two different passwords checked in sequence (e.g. PIN + passphrase)
    • D A single factor of at least 16 characters (e.g. a long passphrase)
    Answer and rationale

    Answer : A. At least two factors from DIFFERENT categories (e.g. know + have)

    MFA combines at least two distinct CATEGORIES (know, have, are...). Two passwords or several questions stay 'know' (one factor), and a single 'long' factor stays SFA.

  21. A system requires a badge + iris scan + PIN. How many authentication factors?

    • A 2
    • B 1
    • C 3
    • D 4
    Answer and rationale

    Answer : C. 3

    Badge = have, iris = are, PIN = know. 3 factors of different types = true 3-factor MFA.

  22. A user presents an X.509 certificate stored on their smartcard. Which factor?

    • A Something you have
    • B Somewhere you are
    • C Something you know
    • D Something you are
    Answer and rationale

    Answer : A. Something you have

    The smartcard is a physical object = something you have (Type 2). The X.509 certificate is the content, the card is the factor.

Key takeaways

  • SFA = a single factor; MFA = more than one DIFFERENT factor; password + PIN remain SFA (same know factor).
  • Factors: something you know, have, are or do, plus location (geolocation) and node (device type).
  • Each factor adds a defense in depth layer, but MFA can increase management overhead and reduce productivity; OTP via SMS or app is the most common 2FA mechanism.
  • Physical security token (have): hash/PRNG, new value at each activation, read by button, swipe, insertion, or NFC; a smartphone with an authenticator app is one.
  • Logical access token: a data package generated for an authenticated user ID (identity + privileges), propagated to apps and sessions, often with short expiry.
  • Biometrics (are): retina, capillaries, geometry, fingerprints, voice; rarely a single factor, its value lies in MFA; reference is enrolled then hashed, often on a smart card.
  • Type 1 = FRR = false rejection (legitimate blocked); Type 2 = FAR = false acceptance (impostor admitted); these rates apply to any detector, not only biometrics.
  • FAR (Type 2) carries the higher risk: intrusion, possible APT; FRR mostly costs re-authentications.
  • On the curve, spending lowers FAR but raises FRR; their crossing is the CER (crossover error rate).
  • The CER minimum is NOT always the right setting: the threshold is chosen by actual risk, business imperatives, and risk tolerance.
Module 5 Objective B Objective C 100 min Intermediate

SSO, federation (FIM), JIT identity, and third-party services

Prerequisites : Module M2 (identity store, credentials, identity proofing): you must know what an identity store is and how an identity claim is proven before tackling cross-domain sharing.

A modern organization never lives alone : its users access applications hosted at partners, in the cloud, at SaaS providers. This module covers the mechanisms that allow an identity to be shared and reused beyond the boundaries of a single system : Single Sign-On (SSO), Federated Identity Management (FIM), Just-in-Time identity and federation with a third-party service (IDaaS).

The common thread is trust. An authentication server must trust the credentials presented to it, but according to the principle "Trust, but verify". When these credentials come from another organization - your Facebook identifier used to connect to LinkedIn - verification becomes a problem of trust between security domains, solved by federation.

The exam tests mostly fine distinctions : SSO (a unified login experience) is not FIM (a trust relationship between domains), even though the two are often confused. The SP, and not the IdP, makes the final access decision. And due care as well as due diligence are never outsourced, even when the identity is managed by a third party.

Learning objectives

  • Define Federated Identity Management and name its three components (principal, SP/RP, IdP)
  • Describe the seven steps of a FIM flow and locate the IdP's brokering role
  • Distinguish SSO from FIM, and explain the SSO single point of failure risk and its mitigation
  • Explain Just-in-Time identity (escalation/de-escalation, real-time provisioning) and its PAM use cases
  • Compare the on-premises, cloud, and hybrid models of a third-party IDaaS solution
  • Justify why due care and due diligence always remain with the organization, even when outsourcing

Success criteria

  • Correctly assign the IdP and SP roles in a given federation scenario
  • Identify that the SP (authorization server) makes the final accept/reject decision
  • Explain in one sentence why SSO and FIM are not synonyms
  • Cite at least two mitigations of the SSO single point of failure (2FA, time/geo limitation)
  • Choose one benefit and one risk for each of the on-premises, cloud, and hybrid models
  • Answer an exam question on outsourcing by placing due care responsibility with the client organization

5.1 Federated Identity Management (FIM): trust across domains

Seven-step FIM flow between user Sue, the Any Bank SP, the IdP, and the identity database
Figure 5.1 · The seven federation steps: Sue's request goes through the SP, which delegates verification to the IdP, which asserts before the SP grants access.

An identity federation applies when one or more systems allow users to connect by authenticating against one of the systems participating in the federation. The need arises when different organizations must share common information : think of platforms like LinkedIn and Twitter, with distinct business models but a shared customer base. FIM creates a trust relationship between distinct security (trust) domains, so that your Facebook credentials can be used to connect to LinkedIn.

Federation relies on three components : the client or principal (the user), the SP or RP (service provider / relying party) and the IdP (identity provider). The IdP is a brokering service : its role is to provide the assertion that the principal is indeed who or what they claim to be. The SP maintains an authorization server and remains responsible for the final accept/reject decision. We speak of a resident IdP (or local, incumbent) when its role is limited to attesting identities of its own trust domain ; it becomes a federated IdP when it attests the validity of credentials belonging to another security domain.

Figure 5.3 illustrates the seven steps for Sue, a customer of Any Bank Inc. : 1) Sue clicks "Login" and generates an access request to the bank (SP). 2) Any Bank sends a verification request to the IdP. 3) The IdP presents a login to Sue. 4) Sue provides her credentials, sent to the IdP's identity database. 5) The database returns the verification to the IdP. 6) The IdP notifies the bank that the person is indeed Sue. 7) The bank authorizes the connection. FIM relies on two widely adopted standards, SAML and OAuth, which produce human-readable and machine-processable statements about identity, authentication and authorization. OpenID Connect is built on one of them, and the Open Authentication organization promotes a reference architecture named OATH to move away from proprietary services. Major players like Microsoft and Apple no longer seek to monetize identity-as-a-service but see the opportunities created by a reliable and ubiquitous digital identity.

Key terms Federation Principal Identity Provider (IdP) Service Provider (SP/RP) Resident vs federated IdP Trust, but verify SAML / OAuth
Key points
  • FIM = trust relationship between distinct security domains
  • Three components: principal, SP/RP, IdP
  • The IdP asserts (brokers); the SP decides accept/reject
  • Resident IdP = own domain; federated IdP = another domain
  • Standards: SAML and OAuth; OpenID Connect built on one of them; OATH

5.2 Single Sign-On (SSO): one login for all resources

SSO architecture: a central server with a credential store linking the user to several application servers
Figure 5.2 · The SSO server authenticates the user once (steps 1-2) then negotiates access to App Servers via back-end exchanges (steps 3-6); it concentrates the risk (single point of failure).

The idea of Single Sign-On is that a user authenticates only once with a single authorization provider, then is granted access to all the resources for which they have privileges : information assets, files, systems. SSO is sometimes called reduced sign-on, or confused with federated ID management. Classic SSO systems provide a central repository of user credentials (identifiers and passwords) associated with a suite of applications. The SSO client opens the appropriate application and sends it the right keystrokes, thus simulating the user typing their own ID and password.

Figure 5.4 shows how it works : the initial login request is authenticated by the SSO server (steps 1 and 2). Each attempt to access another server (web service, application platform) triggers a back-end authentication exchange between the SSO server and the applications server (steps 3 to 6). The SSO server packages the authenticated user's identity and a current application password drawn from its internal database, transmitted to the applications server. Access tokens can replace application passwords, depending on the applications' authentication needs. Technologies like SAML are used to implement SSO.

SSO has limits. Legacy systems do not always support it, and it is sometimes difficult to find experts able to work on it. Above all, the single point of failure : some experts see it as "all the eggs in the same basket". If an attacker obtains a single set of credentials in an SSO organization, they gain access to all of that user's resources ; and the SSO database itself becomes a coveted asset. This risk is mitigated by additional mechanisms such as 2FA and access limitation by time/geolocation. Finally, password synchronization is necessary : any password change must propagate to all integrated systems for the mechanism to work.

Key terms Single Sign-On (SSO) Reduced sign-on Central credential repository Single point of failure Access token Password synchronization
Key points
  • A single login grants access to all authorized resources
  • The SSO client simulates ID/password keystrokes to each application
  • Steps 1-2 = auth to SSO server; 3-6 = back-end exchanges
  • Single point of failure mitigated by 2FA and time/geo limitation
  • Legacy systems and password synchronization are constraints

5.3 Just-in-Time (JIT) identity: privilege on demand

JIT flow: request from a user or process, policy engine, temporary elevated privilege, action, then automatic de-escalation
Figure 5.3 · Privilege is granted on demand with a short TTL then automatically withdrawn; use cases: PAM, privileged session, endpoint, remote help desk.

Just-in-Time identity (JIT identity, not to be confused with JITI) provides the on-demand creation and provisioning, in real time or near real time, of human and non-human user identities, their privilege escalation and de-escalation, then their deprovisioning, suspension or termination in each system. It is a full identity life cycle service on demand. Non-human users count : apart from input peripherals and removable media, everything a human does goes through software - agents, processes, mobile code - and organizational or functional identities, including robots that "learn" via the internet.

The most frequent and most demanding case is escalation and de-escalation : providing momentary privileges. Instead of privileges "on" 24/7 as in static PAM, JIT PAM caps privileges and grants only role-based subsets, temporarily elevated for a specific process ID, with a short TTL. Everything must execute on-demand, in real time, which imposes a triage model : the majority of cases is handled in a fully automated way, and exceptions are blocked with a notice to contact an administrator. JIT identity typically uses SAML and is found on world-class platforms : Azure, Amazon Web Services, OKTA, Salesforce, with integration to social IdPs (Windows Live, Facebook, Google, Yahoo, Twitter, LinkedIn).

The use cases serve to enforce least privilege, separation of duties and vulnerability management. PAM (privileged account management) is the most familiar : privileges become active only at the moment the identity requests the resource. Privileged session management is not reserved for administrators : even a humble read is the first step of a legitimate workflow or a reconnaissance, and JIT allows fine-grained attribution of privileges to session activities. Endpoint privilege management prevents running processes with the wrong privileges on an endpoint or pivoting to other nodes. Finally, the remote help desk relies on a trusted agent and a generic help desk ID, which requires a high degree of mutual trust : the user must trust the support, and the organization must ensure that the endpoint does not trap reusable credentials.

Key terms Just-in-Time identity Escalation / de-escalation Full identity life cycle service PAM Endpoint privilege management Nonhuman users
Key points
  • JIT = real-time provisioning + escalation/de-escalation + deprovisioning
  • Covers human and nonhuman users (agents, robots)
  • JIT PAM caps privileges instead of leaving them 'on' 24/7
  • Use cases: PAM, privileged session, endpoint, remote help desk
  • Implemented via SAML on Azure, AWS, OKTA, Salesforce

5.4 Federation with a third-party service: IDaaS (5.3)

Comparison of on-premises, cloud, and hybrid IDaaS models with their benefits and risks
Figure 5.4 · Three IDaaS deployment models; whatever the choice, due care and due diligence responsibility stays with the client organization.

Federation based on mutual trust relationships between organizations can be implemented through third-party services. Infrastructure, platform, and software as-a-service providers almost always offer identity-as-a-service (IDaaS) with provisioning and administration, multi-factor authentication, Single Sign-On, and other capabilities. But IDaaS is not without risk: service outage, leakage, or disclosure of critical identity data. Third-party services can cover risk management, security assessment and testing, incident response, BC/DR planning, and identity management itself.

The central exam point: regardless of outsourcing, offboarding, or vendor relationships, the ultimate burden of due care and due diligence ALWAYS remains with your organization. You can delegate execution, never responsibility. Integrated IAM must always be considered in the context of the organization's overall information security requirements.

Three models exist. On-premises: management within your own infrastructure, offering customization and increased control, better security and compliance with internal policies; but you must weigh the CapEx vs OpEx trade-off, long setup and deployment times, the need for skilled IT resources, and limited on-demand scalability. Cloud: no initial acquisition cost or time, scalability, support for growth, access from anywhere; but with risks tied to multitenancy, outages, and the fact that sensitive identity data is held by an external provider. Hybrid: many on-premises IAM systems have not evolved, and cloud-only solutions do not always cover specific business needs; for a mixed infrastructure, solutions that integrate on-premises and cloud are beneficial.

Key terms IDaaS Due care / due diligence On-premises Cloud Hybrid Multitenancy
Key points
  • IDaaS = identity managed by a third party (MFA, SSO, provisioning)
  • Due care and due diligence are never outsourced
  • On-premises: control and customization, CapEx, long setup
  • Cloud: scalable and accessible anywhere, but multitenancy/outage
  • Hybrid: integrates on-premises and cloud for mixed needs

5.5 SSO or FIM? Sorting the building blocks of shared access

Diagram recalling SSO architecture to distinguish it from a cross-domain federation
Figure 5.5 · SSO concentrates access behind a single login; federation instead extends trust beyond the domain via an IdP and an SP.

SSO, FIM, JIT identity, and IDaaS are often discussed together, but they answer different questions, and the exam requires keeping them clearly separate. SSO answers "how do I offer a unified login experience within a perimeter": a single login, a central credential repository, back-end exchanges. FIM answers "how do I trust an identity coming from another security domain": a trust relationship between organizations, carried by SAML or OAuth, with an IdP that attests and an SP that decides.

The two overlap in practice - a federation often produces an SSO experience across several SPs - but they are not equivalent. You can have a purely internal SSO with no federation at all, and a federation that does not offer a complete SSO experience. JIT identity layers on top of this: it provisions identity and privileges at the moment of need, and the user often triggers it without knowing through their SSO capabilities. IDaaS, finally, is the delivery mode: a third party provides all or part of these capabilities as a service.

A good way to memorize this: SSO is an experience (user side), FIM is a trust (between domains), JIT is a timing (at the moment of need), IDaaS is a delivery model (who operates it). On an exam question, first identify which of these four angles is being tested before choosing the answer.

Key terms SSO vs FIM Security domain Brokering Delivery model
Key points
  • SSO = experience; FIM = trust; JIT = timing; IDaaS = delivery
  • An SSO can be purely internal, without federation
  • A federation relies on SAML/OAuth between security domains
  • Identify the angle being tested before answering on the exam

Case studies

Case · Guided activity

Activity 5.2: FIM at Aeros 3

Context : Aeros 3 manages systems both on-site and in the cloud, and has implemented Federated Identity Management to enable smooth and secure identity authentication across environments. Tamika is planning a review and updates to FIM standards; a knowledge gap appears among IT juniors, and a SETA session is scheduled before the changes are published. The session draws on the example in Figure 5.3 (Sue, Any Bank, IdP, identity database). Provenance: activity taken from the official D5 course (section 5.2).

Question : Who can play the IdP and SP roles? Why is the three-step process necessary and beneficial? What kinds of errors (false positive / false negative) occur, and which is worse for the bank or the customer?

Topics covered IdP and SP rolesSSO across service providersFalse positive vs false negativeRisk impact on the customer
Show analysis and answer

Roles: the SP is any organization providing a service to the customer - a bank, an online retailer, a travel agency. The IdP is more subtle: it is a third party providing identity verification services on behalf of the SP; examples are Facebook or Google, which accept their credentials at login and serve as the identity provider.

Necessity and benefit: the process is not always essential to the business, but it enables SSO across several service providers, so the customer has fewer credentials to memorize. It is beneficial because it provides an additional level of assurance that the requestor is indeed who or what they claim to be.

Errors: false positives and false negatives can occur. A false positive wrongly identifies an invalid user as valid; a false negative denies access to a valid user. With SSO, several accounts can be compromised simultaneously. In both cases, the outcome is likely worse for the customer: either a malicious actor accesses the account and steals their money, or the customer is denied access to their own account. These errors arise from credential sharing, credential theft at the IdP, or slow or broken network connections.

Takeaway : In a federation, the SP provides the service and the IdP asserts identity; the process brings SSO and assurance, but its errors (false positive/negative) fall mostly on the customer.

Key learning points
  • The IdP is often a third party (Facebook, Google) asserting for the SP
  • SSO reduces credential count but concentrates compromise risk
  • A false positive lets in an imposter; a false negative blocks a legitimate user
Case · Case study

Dropbox 2012: a stolen employee password

Context : The 2012 Dropbox data breach exposed vulnerabilities in the cloud storage service, affecting millions of users. Attackers exploited a Dropbox employee's stolen password to gain unauthorized access to a document containing user email addresses. Dropbox claimed that no account had been directly compromised, but the incident highlighted the risks of cloud services and the importance of strengthened security measures. Following the breach, Dropbox deployed practices such as two-factor authentication to reinforce protection and restore trust. The Waxbill Part 1 case sheds light on the context: several organizations (MLZ, Schneider-Antman, GTI) collaborate on a sensitive project. To store identities, Novell Directory Service (NDS) and Microsoft Active Directory (AD) were considered; since both use LDAP to query X.500 directories, choosing a central X.500 repository queried via LDAP yields a common directory service and reduces overhead - which is precisely what makes FIM necessary between partners. Provenance: case study and scenario taken from the official D5 course (section 5.3).

Question : What lessons does the Dropbox incident teach about MFA and about integrating third-party identification services with an IDaaS?

Topics covered MFA against credential theftThird-party integration with IDaaSIdentity stores NDS/AD/LDAP/X.500Need for FIM between partners
Show analysis and answer

The root cause is a single compromised factor: a stolen employee password was enough to access data. Multi-factor authentication requires two or more factors (for example a password plus a biometric), which strongly reduces the risk of unauthorized access even if one factor is compromised. This is precisely the measure Dropbox adopted afterward.

The incident also prompted a reassessment of integrating third-party identity services. When integrating such services with an IDaaS, the organization must assess the third party's security and compliance standards, ensure clean integration with existing systems, encrypt identity data in transmission and at storage, and regularly monitor and audit the third-party service. The Waxbill scenario is a reminder that as soon as several organizations share identities, you need a common repository and protocol (X.500 via LDAP) and a federation to verify each party's credentials, regardless of their employer.

Governance lesson: entrusting identity storage or verification to a third party does not transfer responsibility. Due care and due diligence remain with the organization, which must therefore govern the third party through controls, audits, and MFA.

Takeaway : A single stolen factor is enough to breach a cloud service; MFA and strict third-party oversight (assessment, encryption, audit) are essential, without ever delegating responsibility.

Key learning points
  • MFA could have contained the impact of a stolen password
  • Integrating a third-party IDaaS requires assessment, encryption, and regular audit
  • Multiple organizations sharing identities need a common store (X.500/LDAP) and FIM
Exam pitfall

SSO is not FIM

The course sometimes calls SSO 'reduced sign-on' or even 'federated ID management,' which fuels confusion. For the exam, keep the distinction: SSO is a login experience (a single login grants access to all authorized resources within a perimeter), whereas FIM is a trust relationship between distinct security domains, carried by SAML or OAuth. A federation often produces an SSO experience, but the converse is not true: you can have a purely internal SSO without any federation. If the question is about trust between different organizations, it is FIM; if it is about one login to multiple applications within one perimeter, it is SSO.

Exam pitfall

Resident IdP vs federated IdP, and who decides

Two traps stack around the IdP. First terminology: a resident IdP (local, incumbent) is limited to asserting identities in its own security domain, whereas a federated IdP asserts the validity of credentials belonging to another security domain; do not swap them. Second the final decision: the IdP is only a brokering service that provides the assertion that the principal is who they claim to be; it is the SP (via its authorization server) that makes the accept/reject decision. A trick question will present the IdP as 'the one that authorizes': that is wrong, it asserts, it does not authorize.

Exam pitfall

Due care/diligence is never outsourced

When you hand identity to a third party (IDaaS), it is tempting to believe responsibility leaves with the service. Wrong. The course is explicit: regardless of outsourcing, offboarding, or vendor relationship, the ultimate burden of due care and due diligence always stays with your organization. You delegate the execution of a task, never the responsibility to ensure it is done well. On an exam question, if an answer suggests that picking a reputable provider relieves the organization of its legal responsibility, discard it: the organization must always assess, monitor, and audit the third party.

Checkpoint : SSO, federation (FIM), JIT identity, and third-party services

  1. In the federated trust model, what are the three components that consume the common digital identities?

    • A The SSO server, the legacy system, and the token
    • B CapEx, OpEx, and multitenancy
    • C The user, the firewall, and the database
    • D The client/principal, the SP/RP, and the IdP
    Answer and rationale

    Answer : D. The client/principal, the SP/RP, and the IdP

    Federation rests on three components: the client or principal, the SP or RP, and the IdP. The other options mix SSO architecture elements, economic constraints, or technical components unrelated to the federated trust model.

  2. An SSO is described as 'all eggs in one basket.' Which mitigation of the single point of failure is expected?

    • A Add 2FA and time/geolocation access limitation
    • B Disable password synchronization to the apps
    • C Remove the central credential repository entirely
    • D Replace SAML assertions with plaintext tokens
    Answer and rationale

    Answer : A. Add 2FA and time/geolocation access limitation

    The risk that a single set of credentials opens all resources is mitigated by additional mechanisms such as 2FA and time/geolocation limitation. Removing the repository would break SSO, and disabling synchronization would prevent it from working.

  3. An organization considers a cloud-based IDaaS. Which benefit/risk pair matches this model?

    • A Benefit: scalability and access anywhere; risk: multitenancy and identity data held by the provider
    • B Benefit: no external provider involved; risk: high CapEx and long deployment before any value is seen
    • C Benefit: full on-premises control of identity data; risk: instant setup leaving no time for testing
    • D Benefit: removal of due diligence obligations; risk: none, since the provider is contractually liable
    Answer and rationale

    Answer : A. Benefit: scalability and access anywhere; risk: multitenancy and identity data held by the provider

    The cloud removes upfront cost and time, brings scalability and access from anywhere; its risks stem from multitenancy, outages, and sensitive identity data held by an external provider. The other options describe on-premises or are false (due diligence never disappears).

  4. In a federation flow, who makes the final accept/reject access decision?

    • A The IdP, because it asserts identity
    • B The principal themselves
    • C The SP, via its authorization server
    • D The identity database
    Answer and rationale

    Answer : C. The SP, via its authorization server

    The IdP is a brokering service: it provides the assertion that the principal is who they claim to be, but it is the SP that maintains the authorization server and remains responsible for the final accept/reject decision. Confusing the two roles is a classic trap.

  5. The main benefit of SSO (Single Sign-On) is:

    • A Removing all need for authentication once the workstation is joined to the domain
    • B One authentication granting access to multiple systems, reducing password fatigue
    • C Making MFA unnecessary, since the portal already validates the identity once per day
    • D Encrypting all databases with a single key derived from the portal password
    Answer and rationale

    Answer : B. One authentication granting access to multiple systems, reducing password fatigue

    SSO allows a single authentication to access multiple applications, reducing the number of passwords and the associated fatigue. It does not remove authentication or the need for MFA, and does not encrypt databases.

  6. The main RISK of SSO is:

    • A A single point of compromise: if the SSO identity is stolen, all linked services are exposed
    • B Too many passwords to memorize: each linked service still demands its own secret at login
    • C Zero licensing cost: vendors stop supporting the services once a free SSO exists
    • D Incompatibility with encryption: the assertion must travel in cleartext between the services
    Answer and rationale

    Answer : A. A single point of compromise: if the SSO identity is stolen, all linked services are exposed

    SSO concentrates access: compromising the SSO identity opens all federated services. Hence the need for MFA and monitoring on the SSO portal. SSO actually reduces the number of passwords.

  7. Identity federation (FIM) enables:

    • A Removing the need for trust between organizations, each SP verifying the user itself
    • B Storing the user's password on the partner SP so they can log in there without the IdP
    • C Disabling authentication on the partner SP for any user coming from the IdP's network
    • D An IdP-authenticated user to access a partner SP's resources without a new account
    Answer and rationale

    Answer : D. An IdP-authenticated user to access a partner SP's resources without a new account

    FIM establishes a trust relationship: the user authenticates with their IdP, which issues an assertion accepted by the partner SP. The SP does not store the password; inter-organization trust is in fact essential.

  8. In a federation exchange, the Identity Provider (IdP) and Service Provider (SP) respectively play the roles of:

    • A Consumer (relying party) of the identity assertion / issuer of that assertion
    • B Two identical directories replicating the same user entries to each other
    • C Issuer of the identity assertion / consumer (relying party) of that assertion
    • D Two firewalls filtering the assertion traffic at each organization's border
    Answer and rationale

    Answer : C. Issuer of the identity assertion / consumer (relying party) of that assertion

    The IdP authenticates the user and ISSUES the assertion; the SP (relying party) CONSUMES it and grants access. Making the IdP the consumer and the SP the issuer swaps the roles. They are neither identical directories nor firewalls.

  9. Just-In-Time (JIT) provisioning in federation creates an account on the SP:

    • A Automatically on the first federated login, from attributes supplied by the IdP
    • B Several days before first login, from a user list exported by the IdP admin
    • C Never: access is anonymous and the SP keeps no record of the federated user
    • D Only after a 30-day manual review of the attributes supplied by the IdP to the SP
    Answer and rationale

    Answer : A. Automatically on the first federated login, from attributes supplied by the IdP

    JIT provisioning creates/activates the account at the moment of the first federated login, using the attributes carried in the assertion. This avoids pre-creating accounts. The other options describe the opposite of JIT.

  10. An IDaaS (Identity as a Service) solution is typically:

    • A An encryption protocol securing the exchange of assertions between IdP and SP
    • B A directory installed on-premise only, with no synchronization to any cloud service
    • C A type of hardware token distributed by the cloud provider to each directory user
    • D A cloud-delivered identity management service (often hybrid with the local directory)
    Answer and rationale

    Answer : D. A cloud-delivered identity management service (often hybrid with the local directory)

    IDaaS delivers IAM (SSO, MFA, provisioning) as a cloud service, often synchronized with the local AD (hybrid). It is neither a purely on-prem directory, nor an encryption protocol, nor a token.

  11. A user clicks 'Sign in with the company' on a SaaS, is redirected to their internal IdP, authenticates, then returns with an assertion. Which protocol/architecture is described?

    • A Intra-domain Kerberos, with a TGT from the KDC and a service ticket for the SaaS
    • B A biometric scan (e.g. face), with capture on the device and template match on the SaaS
    • C Pass-the-hash (e.g. NTLM), with the hash relayed from the workstation to the SaaS
    • D Federated SSO (e.g. SAML), with redirect to the IdP and assertion return to the SP
    Answer and rationale

    Answer : D. Federated SSO (e.g. SAML), with redirect to the IdP and assertion return to the SP

    The flow 'redirect to the IdP, authenticate, return an assertion to the SP' describes federated web SSO (typically SAML, or OIDC). Kerberos is intra-domain without web redirect; pass-the-hash and biometrics are irrelevant.

  12. Just-In-Time (JIT) access in PAM consists of:

    • A Granting permanent elevated privileges, but only to administrators who passed a review
    • B Sharing one admin account across the whole team, with a password rotated every quarter
    • C Granting elevated privilege only on demand, for a limited time, then revoking it
    • D Deleting all admin accounts and recreating them each morning from a golden template
    Answer and rationale

    Answer : C. Granting elevated privilege only on demand, for a limited time, then revoking it

    JIT removes 'standing privileges': the elevated right is granted temporarily after approval, then automatically revoked, reducing the exposure window. Permanent privileges and shared accounts are exactly what it fights.

  13. The 'standing privileges' that JIT seeks to eliminate refers to:

    • A Privileges granted temporarily on request and revoked after the task
    • B Permanent elevated privileges, continuously available even when unused
    • C Encrypted privileges, stored in a vault and unusable without the key
    • D Biometric privileges, granted for as long as the template remains enrolled
    Answer and rationale

    Answer : B. Permanent elevated privileges, continuously available even when unused

    Standing privileges are permanent elevated rights: a constant target for attackers even when unused. JIT replaces them with temporary on-demand privileges. The other definitions are wrong.

  14. In a hybrid IAM deployment, the main benefit of syncing the on-prem directory with the cloud IDaaS is:

    • A Disabling periodic access reviews, since the IDaaS now certifies every synced account
    • B Removing the need for authentication on cloud resources already trusted by the directory
    • C Giving each user a second, cloud-only password that is rotated independently
    • D Providing a unified identity and consistent SSO across local and cloud resources
    Answer and rationale

    Answer : D. Providing a unified identity and consistent SSO across local and cloud resources

    Hybrid synchronization yields a single identity usable on-prem and in the cloud, with consistent SSO and centralized management. It does not remove authentication, multiply passwords or abolish access reviews.

  15. A cloud identity management service (IDaaS) like Okta or Azure AD is an example of:

    • A Identity as a Service
    • B DaaS (Data as a Service)
    • C IaaS
    • D PaaS
    Answer and rationale

    Answer : A. Identity as a Service

    IDaaS = Identity as a Service. SSO, MFA, provisioning in cloud mode. Examples: Okta, Azure AD (Entra ID), OneLogin, Ping Identity.

  16. A university IdP vouches for its own students' identities to campus applications. It then starts validating credentials belonging to a partner university. How should this evolution be described?

    • A It becomes a service provider
    • B It moves from resident IdP to federated IdP
    • C It becomes a credential service provider
    • D It moves from federated IdP to resident IdP
    Answer and rationale

    Answer : B. It moves from resident IdP to federated IdP

    A resident IdP (local, incumbent) only vouches for identities of its own trust domain; it becomes a federated IdP as soon as it vouches for credentials belonging to another security domain, which is the case here. The reverse direction contradicts the scenario. A service provider consumes assertions and decides on access; it does not issue them. A credential service provider performs proofing and issues credentials at enrollment, a role distinct from vouching in a federation.

  17. In a federation, which precise role does the Identity Provider play, described as a brokering service?

    • A Store the business data the user consults once the assertion is accepted
    • B Make the final accept/reject access decision on behalf of the SP
    • C Provide the assertion that the principal is who or what it claims to be
    • D Host the authorization server that enforces the service's access policy
    Answer and rationale

    Answer : C. Provide the assertion that the principal is who or what it claims to be

    The IdP is a brokering service whose role is to provide the assertion that the principal is who or what it claims to be. The final accept/reject decision belongs to the SP, which maintains its authorization server: neither of those is the IdP's role. Business data is hosted by the service provider or its resources, not by the identity provider.

  18. After deploying a classic SSO with a central credential repository, users who changed their password find themselves locked out of some integrated applications. Which SSO requirement was neglected?

    • A Password synchronization to all integrated systems
    • B Migration of legacy systems to SAML assertions
    • C Access restriction by geolocation on the portal
    • D 2FA on the SSO portal at every password change
    Answer and rationale

    Answer : A. Password synchronization to all integrated systems

    The course notes that password synchronization is required for SSO: any password change must propagate to all integrated systems, otherwise the mechanism replaying credentials fails. Geolocation restriction and 2FA are mitigations of the single point of failure, unrelated to lockouts after a password change. Migrating legacy systems to SAML concerns compatibility, not password propagation.

  19. A JIT PAM platform handles the vast majority of elevation requests fully automatically and blocks exceptions with a message asking to contact an administrator. Which JIT design principle does this behavior illustrate?

    • A The single point of failure created by the central platform
    • B The triage model imposed by on-demand, real-time execution
    • C Transitive trust extended to the administrator who is contacted
    • D Password synchronization between the vault and the targets
    Answer and rationale

    Answer : B. The triage model imposed by on-demand, real-time execution

    Because everything must run on-demand and in real time, JIT identity imposes a triage model: most cases are handled automatically and exceptions are blocked with a notice to contact an administrator. The single point of failure is an SSO limitation, not a design principle. Password synchronization is a requirement of classic SSO. Transitive trust describes social login trust, unrelated to handling elevation requests.

  20. An organization fully outsources its IAM to an IDaaS provider. After an identity data leak at that provider, management asks who bears ultimate responsibility. What is the RIGHT answer?

    • A No one, because multitenancy dilutes responsibility among all the tenants
    • B The social IdP used by employees, since it issued the compromised identities
    • C The organization: execution can be delegated, due care and due diligence never
    • D The provider, because the contract transfers responsibility along with execution
    Answer and rationale

    Answer : C. The organization: execution can be delegated, due care and due diligence never

    The course's central exam point: regardless of outsourcing and vendor relationships, the burden of due care and due diligence always remains with the organization; execution is delegated, responsibility never. A contract may allocate obligations but does not transfer this ultimate responsibility. Multitenancy is a risk of the cloud model, not a ground for exemption. A social IdP plays no part in the enterprise identity management entrusted to the IDaaS.

  21. An SMB compares an on-premises IAM with a cloud IDaaS. Which pair CORRECTLY characterizes the on-premises model?

    • A No upfront cost and fast deployment, but multitenancy risks and dependence on the provider
    • B Greater customization and control, but CapEx, long deployment and need for skilled IT staff
    • C Access from anywhere and automatic updates, but identity data held by a third party
    • D Unlimited on-demand scalability and OpEx billing, but loss of control over identity data
    Answer and rationale

    Answer : B. Greater customization and control, but CapEx, long deployment and need for skilled IT staff

    The on-premises model offers customization, greater control and compliance with internal policies, at the price of a CapEx trade-off, long setup times, skilled IT staff and limited scalability. No upfront cost and multitenancy risks describe the cloud. Unlimited on-demand scalability is precisely what on-premises lacks. Access from anywhere with data held by a third party is again a feature of the cloud model.

Key takeaways

  • FIM = trust relationship between security domains; three components: principal, SP/RP, IdP.
  • The IdP is a brokering service that asserts; the SP (authorization server) decides accept/reject.
  • A resident IdP asserts its own domain; a federated IdP asserts another domain.
  • SSO = one login to all authorized resources; the client simulates ID/password keystrokes.
  • The SSO single point of failure ('all eggs in one basket') is mitigated by 2FA and time/geo limitation.
  • SSO is not FIM: login experience vs cross-domain trust; SAML and OAuth carry the federation.
  • JIT identity provisions identity and privileges on demand, with escalation/de-escalation (PAM, session, endpoint, help desk).
  • IDaaS = identity delivered as a service by a third party; models on-premises (control/CapEx), cloud (scalable/multitenancy), hybrid (integration).
  • Due care and due diligence always remain with the organization, even when outsourcing.
  • Dropbox 2012: one stolen employee password is enough; MFA and strict third-party oversight are essential.
Module 6 Objective D 110 min Advanced

Authorization models and mechanisms

Prerequisites : Module M1 (subjects, objects, and operations) and module M3 (authorization and access decisions).

Authorization is not just about ticking "access granted": it rests on formal models that translate a security policy into reproducible permit/deny decisions. This module first distinguishes two families of models that the exam often conflates. Security models (Biba, Bell-LaPadula, Clark-Wilson, reviewed in Domain 3) govern what a subject is allowed to do to an object, particularly to protect integrity. Access control models, by contrast, translate these concepts into concrete functions that authorize or deny an operation.

We then walk through the design decision tree. The first structuring choice opposes MAC, DAC, and NDAC: should the policy be imposed centrally on everyone, or left to the discretion of local owners and managers? From there branch RBAC (roles by business function), RuBAC (when/where/if rule lists), ABAC (subject/resource/environment attributes), and risk-based access control (dynamic thresholds based on current risk).

By the end of the module, you will be able to connect a business requirement to the right model, distinguish RBAC from RuBAC, understand why RuBAC is an implementation of DAC and NDAC a mandatory application of RBAC, and describe the chain of policy enforcement (PDP, PEP, context handler) per NIST SP 800-162.

Learning objectives

  • Distinguish security models (e.g., Biba for integrity) from access control models (translating policy into permit/deny)
  • Enumerate the atomic operations (read, write, modify, create, delete, execute) managed by an AC system
  • Characterize MAC, DAC, and NDAC by Policy Decisions, Security Planning, and Models Supported (Fig 5.6)
  • Compare RBAC, RuBAC, and ABAC and identify the model suited to a given need
  • Explain risk-based access control and its dynamic thresholds against non-static risk
  • Describe the policy enforcement chain PDP, PEP, and context handler (NIST SP 800-162)

Success criteria

  • Classify a given scenario as MAC, DAC, or NDAC based on who makes the policy decision
  • Differentiate RBAC (by role) from RuBAC (by rule) on an exam trap question
  • Recognize the four RBAC usage levels: None, Limited, Hybrid, Full
  • Identify ABAC when environment attributes (location, time, threat) enter the decision
  • Spot an impostor such as Domain Access Control that is not an access control type

6.1 Two model families: security models and access control models

Comparison of access control models DAC, MAC, RBAC, and ABAC
Figure 6.1 · Overview of the main access control models and their decision logic.

Two types of models underpin access control implementations. Security models focus on the actions a subject can perform within a system, or must be restricted from performing. They are linked to the information-handling procedures of Domain 2 and were reviewed in Domain 3: Biba, for instance, protects integrity. Access control models, in turn, translate the concepts of a chosen set of security models into concrete functions that permit or deny an action. They provide formal, conceptual frameworks addressing a system's security needs.

A library example blends the two. A library keeps an extensive collection of digital documents, all already published in print. Their content is not confidential, but it must not be changed by anyone other than properly trained and authorized archivists. Confidentiality is not at stake here; data integrity is paramount: a security model such as Biba is relevant. A librarian may handle collection management, user access, cataloging, and quality, but only the last two functions require the ability to modify a document's content.

To strictly enforce these controls under a no-exceptions policy, one turns to mandatory access control. A role-based access control can then force the librarian to change roles, via a separate login, to obtain the permissions needed for document alterations. This example shows how an access control model translates the integrity policy of a security model into operational access decisions.

Key terms Security model Access control model Biba Integrity Mandatory access control
Key points
  • Security models govern what a subject can do (Biba protects integrity)
  • Access control models translate policy into permit/deny decisions
  • Library example: integrity > confidentiality, hence Biba + mandatory RBAC
  • Switching roles (separate login) to gain modification rights

6.2 Atomic operations and the NIST definition of AC models

Lattice of classification levels for mandatory access control
Figure 6.2 · MAC lattice: labels and levels structure read/write decisions between subjects and objects.

NIST SP 800-192 defines access control models as the "formal presentations of the security policies enforced by access control systems," useful for proving the theoretical limitations of systems. These models bridge the abstraction gap between policy and mechanism. Domain 5 addresses DAC, MAC, NDAC (nondiscretionary access control), RBAC (role-based), RuBAC (rule-based), and ABAC (attribute-based); NIST SP 800-192 provides the definition of each.

Each model offers a different strategy to control which subjects can perform basic functions on objects. These fundamental or atomic operations usually include reading (read), writing or modifying (write/modify), creating (create), deleting (delete), and loading for execution as a program (execute). Complex system functions, such as mounting or dismounting a virtual disk, are nothing more than sequences of these atomic operations.

Other fundamental operations managed by AC systems include the ability to read, define, or change the security parameters associated with an object, or to affect how those properties are inherited by other objects or subjects that use it. Understanding this atomic foundation is essential: an access control model only ever permits or denies a combination of these elementary operations.

Key terms NIST SP 800-192 Atomic operations Policy vs mechanism Security parameters
Key points
  • NIST SP 800-192: AC model = formal presentation of the enforced policy
  • Atomic operations: read, write/modify, create, delete, execute
  • Complex functions are sequences of atomic operations
  • Six models covered: DAC, MAC, NDAC, RBAC, RuBAC, ABAC

6.3 The first choice: MAC, DAC, or NDAC

Table comparing MAC, DAC, and NDAC by Policy Decisions, Security Planning, and Models Supported
Figure 6.3 · Figure 5.6: summary of MAC, DAC, and NDAC (who decides policy, planning, supported models).

The systems security designers' first decision reflects a large-scale access control strategy. Choosing between MAC, DAC, and NDAC means deciding whether policies must be centrally set and enforced on all users, or whether circumstances let users or local managers make those choices. Figure 5.6 summarizes these three options by Policy Decisions, Security Planning, and Models Supported.

In MAC (Mandatory Access Control), policy decisions are made by a central authority, not by the individual owner of an object, and the user cannot change access rights. Military example: a data owner does not decide who holds a top-secret clearance, nor can the owner reclassify an object from top-secret to secret. Planning is centralized top-down, and any security model is supported.

DAC (Discretionary Access Control) leaves some control to the discretion of the object's owner, or anyone authorized to manage its access. The owner determines who gets which rights. DAC offers the greatest flexibility but is also the most vulnerable form: the owner can pass on weaknesses contributing to access and privilege aggregation. Windows and Android use forms of DAC so purchasers can tailor controls. NDAC (Nondiscretionary Access Control) applies role-based access control in a mandatory fashion, with a central authority deciding policy; users and line-level managers cannot change rights. NDAC highlights that RBAC, RuBAC, and ABAC can all be implemented in a mandatory or discretionary fashion.

Key terms MAC DAC NDAC Privilege aggregation Top-down planning
Key points
  • MAC: central authority, user cannot change (e.g., military top-secret)
  • DAC: owner discretion, most flexible BUT most vulnerable (Windows, Android)
  • NDAC: mandatory RBAC, central authority, line-level managers excluded
  • RBAC, RuBAC, ABAC: can be implemented as mandatory or discretionary

6.4 Role-Based Access Control (RBAC) and its None/Limited/Hybrid/Full usage

Four RBAC usage levels: None, Limited, Hybrid, and Full
Figure 6.4 · Figures 5.7 to 5.9: from None (individual privileges) to Full (every application requires a role).

RBAC is an access policy that restricts system access to authorized users through roles defined by job function. The organization creates roles based on job functions and associates the authorizations (privileges) needed for operations. Access can be granted by the owner as in DAC and applied per policy as in MAC: RBAC comes in varying amounts (Figures 5.7, 5.8, 5.9).

RBAC is deployed in four usage levels. None: no access is role-protected; individual privileges must be defined and managed one by one (for example, accounts payable staff are blocked per user ID from running Visual Studio). Limited: some apps are RBAC-protected (the accounts payable role can run QuickBooks, the developer role tests other apps), others are not (office productivity apps and browsers like Firefox or Chrome stay open). Hybrid: any combination of features; an individual may hold one or more roles, each permitting one or more applications, with Role A's rights differing from Role B's even for the same application.

Full: every app, including office apps and browsers, requires role-based permission. Point-of-sale example: salesclerk and sales supervisor roles exist, but only the supervisor can run price override or transaction void. HR example: an HR manager signs in with their HR role to access personnel files, then signs out and signs back in with their office role for routine correspondence. The key principle: to change permissions, the user changes roles.

Key terms RBAC None Limited Hybrid Full
Key points
  • RBAC: roles by job function, privileges attached to the role
  • Four usage levels: None, Limited, Hybrid, Full
  • Limited: QuickBooks for accounts payable, office apps open
  • Full: point-of-sale supervisor (price override) vs salesclerk; HR switches roles

6.5 Rule-Based (RuBAC) and Attribute-Based Access Control (ABAC)

Multi-attribute ABAC decision Who/When/Where/Role/Resource/Threat leading to PASS or FAIL
Figure 6.5 · Figure 5.10: an access attempt tested across several attributes in parallel, decision PASS or FAIL.

RuBAC (Rule-Based Access Control) is a predefined list of rules that determine access with added granularity: when, where, and if the system will allow read, write, or execute under special conditions. It is managed by the system owner and represents an implementation of DAC. The rules are often expressed in Boolean logic and can be complex. Example: a CFO normally has broad permissions to view finance and authorize very large payments; RuBAC can restrict the use of these privileges over remote access to a narrow set of IP addresses, to specific days and times. If the CFO travels to risky areas, this protects the organization in case of kidnapping or a stolen smartphone.

ABAC (Attribute-Based Access Control) grants rights through policies that combine attributes: user, resource, and environment attributes. It is a simpler form of RuBAC. Figure 5.10 shows an access attempt tested in parallel across several attributes (Who, When, Where, Role, Resource, Threat, Recent actions), leading to PASS (access approved) or FAIL (deny, further challenge, or alert). The decision depends not only on the usual subject and object attributes but also on environmental variables.

Thus the same data on an archive server may require different restrictions than on the production system. Remotely connecting users may be restricted by their exact geographic location at the time of the request, which helps spot connections through VPNs like TOR that mask the IP by constant hopping: a user does not change countries packet by packet. PayPal and many banks use this kind of control.

Key terms RuBAC Boolean logic ABAC Environmental variables Go/No-Go decisions
Key points
  • RuBAC: predefined when/where/if rules, managed by the system owner = a DAC implementation
  • CFO example: IP, days, and times restrictions, protection during risky travel
  • ABAC: user/resource/environment attributes, a simpler form of RuBAC
  • ABAC adds environment: archive vs production, geolocation, TOR/VPN detection (PayPal, banks)

6.6 Risk-Based Access Control and policy enforcement (PDP/PEP)

Policy enforcement chain linking decision point, enforcement point, and context handler
Figure 6.6 · The access mechanism chains PDP (decision), PEP (enforcement), and context handler (attributes).

A recurring criticism of most AC models is that they assume risks are relatively static over weeks or months. This lets the rule bases or parameter sets driving RuBAC, RBAC, or ABAC be built, tested, then validated, and changed only as new subjects and objects are created. Risk-based access control breaks with this assumption: it gives administrators parameters to dynamically raise or lower the thresholds for filtering access requests.

In low-risk, stable circumstances, the system may settle for dual-factor authentication with two layers of challenge. When administrators see external risk conditions increasing, they turn on additional challenges or filters that users must clear. Example: international wire transfers. Under routine risk, a client may submit requests up to a cap with no restriction; risk-based AC requires extra verification if the transfer targets a group of countries showing high fraud levels. Likewise, challenges are tightened during peak online shopping seasons, which are also card-fraud seasons, then loosened afterward. Emerging approaches use behavior modeling via internal feedback loops, and even smart contracts to bind user behavior to risk management.

Every access policy must be enforced by a mechanism. Per NIST SP 800-162, this mechanism assembles authorization information: the protected object, the requesting subject, the governing policies, and any needed context. By evaluating each element, it relies on a policy decision point (PDP) to render the decision, a policy enforcement point (PEP) to enforce it, and a context handler (workflow coordinator) to manage the collection of attributes required to decide.

Key terms Risk-Based Access Control Behavior modeling NIST SP 800-162 PDP PEP Context handler
Key points
  • Most models assume static risk; risk-based AC adjusts thresholds dynamically
  • Low risk: 2FA; rising external risk: additional challenges/filters
  • Examples: international wire transfers, fraud seasons, behavior modeling, smart contracts
  • NIST SP 800-162: PDP decides, PEP enforces, context handler collects attributes

Case studies

Case · Guided activity

Activity 5.4: modernizing Aeros 3's Limited RBAC

Context : Aeros 3 has implemented Limited Role Based Access Control for several years. Tamika wants to keep this implementation, but the policies and enforcement mechanisms need significant updates after recent reports of unauthorized access. During review, Tamika reaches out to trusted colleagues in sectors beyond aviation to discuss the access control model and its policies.

Question : How can RBAC be used effectively as an authorization mechanism in an enterprise? What are its advantages and potential challenges in the context of Aeros 3 managing access to critical assets?

Topics covered Limited RBACRBAC advantages and challengesNone/Limited/Full/Hybrid usageStatus-triggered role reviewLeast privilege
Show analysis and answer

RBAC assigns permissions based on business roles, which streamlines access management and ensures that everyone only accesses the resources they need - a direct application of least privilege. There are several ways to implement it: None (no role-based access), Limited (some apps protected by role), Full (every app requires a role), and Hybrid (a combination), where administrators define roles with specific permissions.

The advantage for Aeros 3 is readability: rights follow the function, not the individual, which simplifies auditing and revocation. The central challenge, highlighted by the observed unauthorized access, is drift: obsolete or overly broad roles accumulate privileges. Regular reviews and role updates are necessary to maintain their relevance and security.

The key discipline: every change in employment status, function, or responsibility must trigger a review of the associated permissions. For Aeros 3, this means coupling Limited RBAC with a review process triggered by HR events (joiner, mover, leaver), and tightening enforcement mechanisms to close the detected unauthorized access paths.

Takeaway : RBAC is only effective if it stays alive: every status change triggers a role review, otherwise privileges drift and open unauthorized access.

Key learning points
  • RBAC aligns permissions with job function and eases auditing
  • Without regular review, roles drift and cause unauthorized access
  • Every change in employment or responsibilities triggers a permissions review
Exam pitfall

RBAC vs RuBAC: role versus rule

The acronyms look alike but the models differ. RBAC (Role-Based) grants access by the user's job role: you change roles to change permissions. RuBAC (Rule-Based) grants access by a predefined list of Boolean-logic rules with when/where/if granularity (IP, days, times), managed by the system owner. Remember the extra R: RuBAC = Rule. On the exam, if the decision depends on the person's function, it is RBAC; if it depends on time, geographic, or logical conditions, it is RuBAC.

Exam pitfall

RuBAC = a DAC implementation; NDAC = mandatory RBAC; ABAC = enriched RuBAC

Three relationships trap candidates. RuBAC, managed by the system owner, is an implementation of DAC, not inherently mandatory. NDAC applies RBAC in a mandatory fashion via a central authority - so NDAC is not the opposite of RBAC but a way to enforce it. ABAC is a simpler form of RuBAC, yet richer in its decision since it adds environment attributes (location, time, threat) to subject and object attributes. Do not say these models exclude one another: they compose.

Exam pitfall

Domain Access Control does not exist

The access control types covered are DAC, MAC, NDAC, RBAC, RuBAC, and ABAC. Domain Access Control is not an access control type: it is an exam distractor. When a question asks you to spot the impostor in a list of models, beware of plausible but invented labels. RuBAC, MAC, and DAC are real; Domain AC is not.

Checkpoint : Authorization models and mechanisms

  1. In modern access control implementations, which model maps users to applications and then to roles?

    • A RuBAC (rules)
    • B Limited RBAC
    • C DAC (owner)
    • D RBAC (plain)
    Answer and rationale

    Answer : B. Limited RBAC

    In Limited RBAC, the user is first granted access permission to an application, then a given role within that application: they may reach a financial application but only as a user, not a developer. Plain RBAC places users into groups by function without this app-then-role mapping. RuBAC relies on rules, DAC on the owner's discretion.

  2. Which of the following is NOT an access control type?

    • A Discretionary Access Control (DAC)
    • B Mandatory Access Control (MAC)
    • C Domain Access Control
    • D Rule-Based Access Control (RuBAC)
    Answer and rationale

    Answer : C. Domain Access Control

    Domain Access Control is not an access control type, it is a distractor. RuBAC relies on a predefined list of rules giving fine granularity. MAC has a central authority decide, not individual owners. DAC leaves some discretion to the object's owner or their delegate.

  3. In a military environment, a data owner can neither grant a top-secret clearance nor reclassify an object. Which model is applied?

    • A ABAC (Attribute-Based Access Control)
    • B DAC (Discretionary Access Control)
    • C MAC (Mandatory Access Control)
    • D RuBAC (Rule-Based Access Control)
    Answer and rationale

    Answer : C. MAC (Mandatory Access Control)

    In MAC, policy decisions are made by a central authority and the user cannot change rights or an object's classification: exactly the military case described. DAC would leave that discretion to the owner. RuBAC and ABAC rely on rules and attributes respectively, not on this strict ban on owner reclassification.

  4. Which access control model offers the greatest flexibility but is the most vulnerable form?

    • A RBAC (Role-Based Access Control)
    • B DAC (Discretionary Access Control)
    • C MAC (Mandatory Access Control)
    • D NDAC (Nondiscretionary Access Control)
    Answer and rationale

    Answer : B. DAC (Discretionary Access Control)

    DAC lets the owner decide access, offering the greatest flexibility but also the greatest vulnerability: the owner can pass on weaknesses and enable privilege aggregation (Windows, Android). MAC and NDAC centralize the decision, hence less flexible but more robust; RBAC structures by role.

  5. A bank denies a transfer based on connection location, time, and the destination country's fraud level, combining environment attributes. Which model is at play?

    • A MAC (Mandatory Access Control)
    • B NDAC (Nondiscretionary Access Control)
    • C RBAC (Role-Based Access Control)
    • D ABAC (Attribute-Based Access Control)
    Answer and rationale

    Answer : D. ABAC (Attribute-Based Access Control)

    ABAC grants access by combining user, resource, and environment attributes (location, time, threat), exactly the banking scenario described. RBAC would decide by job role, without environmental variables. MAC and NDAC centralize the decision but do not rely on this combination of contextual attributes.

  6. In the DAC model, who decides who accesses a resource?

    • A The operating system alone
    • B The ABAC attribute engine
    • C The resource owner
    • D A central authority via labels
    Answer and rationale

    Answer : C. The resource owner

    DAC (Discretionary Access Control) = the owner decides, at their discretion, via ACLs. Central labels are MAC; attributes are ABAC; the OS enforces but does not 'set' the policy in DAC.

  7. The MAC (Mandatory Access Control) model is characterized by:

    • A Firewall rules applied identically to all subjects, whatever the object
    • B Centrally imposed classification labels the user cannot change
    • C The owner freely choosing who may access each of their objects
    • D Assignment by organizational role, the user inheriting its rights
    Answer and rationale

    Answer : B. Centrally imposed classification labels the user cannot change

    MAC relies on labels (Top Secret, Secret...) imposed by an authority; neither owner nor user can change them. Free choice is DAC, rules are Rule-BAC, roles are RBAC.

  8. The 'Nondiscretionary Access Control' (NDAC) category covers models where:

    • A Encryption replaces access control, each object being readable only with its key
    • B Decisions are made by a central authority/rule, not at the owner's discretion
    • C No access control is enforced on objects, only the audit trail records the accesses
    • D Each owner manages the ACLs of their own objects and grants rights as they see fit
    Answer and rationale

    Answer : B. Decisions are made by a central authority/rule, not at the owner's discretion

    NDAC = NON-discretionary control: policy is defined centrally (RBAC, Rule-BAC, MAC), not left to owners. Owner-based management is precisely DAC, which contrasts with NDAC.

  9. RBAC (Role-Based Access Control) assigns permissions:

    • A To roles, the user inheriting permissions through their role
    • B Directly to each individual user, one entry per person
    • C By classification labels imposed centrally on each object
    • D By dynamic contextual attributes evaluated on each request
    Answer and rationale

    Answer : A. To roles, the user inheriting permissions through their role

    In RBAC, permissions attach to roles; you assign the user to a role and they inherit the rights. Per-user assignment is heavy; attributes are ABAC, labels are MAC.

  10. 'Role explosion' is a typical RBAC drawback that occurs when:

    • A Biometric throughput is too low to assign roles to users within the expected delay
    • B There are not enough users in the directory to justify maintaining one role per team
    • C An unmanageable number of very specific roles is created to cover each special case
    • D MAC labels change too often for the roles to stay aligned with the classification
    Answer and rationale

    Answer : C. An unmanageable number of very specific roles is created to cover each special case

    When each exception needs a new role, their number explodes and becomes unmanageable: that is role explosion. ABAC, being more granular, often avoids it. The other options are unrelated to RBAC.

  11. Rule-Based Access Control (Rule-BAC) applies:

    • A Organizational roles carrying permission sets (e.g. Accountant, HR)
    • B The owner's discretion for each object (e.g. owner-set NTFS permissions)
    • C Global rules identical for all (e.g. router ACL, firewall rules)
    • D Classification labels matched to clearances (e.g. Secret, Top Secret)
    Answer and rationale

    Answer : C. Global rules identical for all (e.g. router ACL, firewall rules)

    Rule-BAC applies uniform rules to all subjects (e.g. 'block traffic on weekends'). Not to be confused with RBAC (roles). Labels are MAC, discretion is DAC.

  12. ABAC (Attribute-Based Access Control) makes decisions by evaluating:

    • A Attributes of the subject, object, action and environment, on each request
    • B Only the classification label of the object compared to the user's clearance
    • C Only the identity of the resource owner and the rights they have granted
    • D Only the user's role, as assigned once in the directory, on each request
    Answer and rationale

    Answer : A. Attributes of the subject, object, action and environment, on each request

    ABAC evaluates a set of attributes (who, what, when, where, how) on each request: the most granular model, ideal for Zero Trust/conditional access. Limiting to role would be RBAC.

  13. 'Risk-based' access control adjusts the authentication requirement based on:

    • A The interface color chosen by the user in their profile (dark theme signals a managed device)
    • B The number of roles in the directory (more roles assigned to the user means a stronger challenge)
    • C The day of the week only (stronger authentication on weekends, when the service desk is closed)
    • D The risk level assessed in real time (unknown device, unusual location, abnormal behavior)
    Answer and rationale

    Answer : D. The risk level assessed in real time (unknown device, unusual location, abnormal behavior)

    Risk-based control (adaptive authentication) raises the requirement (e.g. MFA, block) when risk increases: new device, unusual IP, suspicious behavior. It is a dynamic form close to ABAC.

  14. In an access control architecture, the PDP (Policy Decision Point):

    • A Generates the TLS keys used to protect the access request in transit
    • B Enforces the decision at the access point and blocks/allows traffic
    • C Stores the passwords and attributes that the policy refers to
    • D Evaluates the policy and renders the access decision (permit/deny)
    Answer and rationale

    Answer : D. Evaluates the policy and renders the access decision (permit/deny)

    The PDP DECIDES (evaluates the policy and answers permit/deny). The PEP (Policy Enforcement Point) ENFORCES the decision at the access point. Secret storage and TLS keys are other functions.

  15. The PEP (Policy Enforcement Point) is responsible for:

    • A Intercepting the access request and enforcing the decision made by the PDP
    • B Issuing the certificates the subject presents when requesting access
    • C Deciding the policy and returning the permit/deny verdict to the PIP
    • D Performing identity proofing before the subject's first access request
    Answer and rationale

    Answer : A. Intercepting the access request and enforcing the decision made by the PDP

    The PEP is the enforcement point: it intercepts the request, asks the PDP and applies the verdict. The decision itself belongs to the PDP; proofing and certificate issuance are enrollment/PKI roles.

  16. ABAC is BETTER suited than RBAC for:

    • A Simple environments with few roles and a stable, small user population
    • B Access decisions based on dynamic attributes (time, location, risk)
    • C Air-gapped systems without a network where no central policy server exists
    • D Local file storage where the owner alone sets the permissions (ACL)
    Answer and rationale

    Answer : B. Access decisions based on dynamic attributes (time, location, risk)

    ABAC evaluates (subject, object, action, environment) on each request. Ideal for Zero Trust and conditional access. More granular than RBAC.

  17. The Biba model protects:

    • A Non-repudiation (signed, logged actions)
    • B Confidentiality (no read up/write down)
    • C Availability (redundancy, no SPOF)
    • D Integrity (no read down, no write up)
    Answer and rationale

    Answer : D. Integrity (no read down, no write up)

    Biba = integrity. Simple Integrity (no read down) + Star Integrity (no write up). Exact inverse of Bell-LaPadula.

  18. A digital library holds documents that are already published: confidentiality is not at stake, but only trained archivists may modify them. Which security model is MOST relevant to guide access control?

    • A Bell-LaPadula, focused on confidentiality
    • B Brewer-Nash, focused on conflicts of interest
    • C DAC, focused on owner discretion
    • D Biba, focused on integrity
    Answer and rationale

    Answer : D. Biba, focused on integrity

    The course's library example shows that when data integrity is what matters, a security model such as Biba is relevant, then strictly enforced through mandatory access control. Bell-LaPadula protects confidentiality, irrelevant for already public documents. Brewer-Nash addresses conflicts of interest between competing clients. DAC is not a security model but an access control model, and its owner-driven flexibility is the opposite of the no-exception policy sought.

  19. An administrator mounts a virtual disk on a server. How should such a complex function be analyzed from the access control models' standpoint?

    • A As a security parameter automatically inherited by every object stored on the mounted disk
    • B As a sequence of atomic operations (read, write, create, delete, execute), each allowed or denied
    • C As a PEP decision made without a PDP, since mounting is a kernel operation outside any access policy
    • D As a special operation that escapes access control, reserved to the administrator by the OS itself
    Answer and rationale

    Answer : B. As a sequence of atomic operations (read, write, create, delete, execute), each allowed or denied

    The course states that complex functions, such as mounting or unmounting a virtual disk, are nothing more than sequences of atomic operations, and that an access control model only allows or denies these elementary combinations. No operation escapes access control in this framework. Security parameters are properties of an object that can be read or changed, not the nature of a complex function. The PEP enforces a decision rendered by the PDP; it does not decide alone.

  20. In a point-of-sale system, the salesclerk and sales supervisor roles exist, but only the supervisor can launch the price override. Staff can however freely launch office tools and browsers without any particular role. Which RBAC usage is described?

    • A Limited usage of RBAC
    • B None, no usage of RBAC
    • C Hybrid usage of RBAC
    • D Full usage of RBAC
    Answer and rationale

    Answer : A. Limited usage of RBAC

    The Limited usage protects some applications with roles while others (office tools, browsers) remain free: exactly the case described. None would mean no access is protected by roles and every privilege is managed individually. Hybrid combines several roles per individual with different rights per application. Full would require a role-based permission for every application, including office tools and browsers.

  21. A CFO holds broad payment approval rights. To protect them while traveling, IT restricts the remote use of those rights to a few IP addresses and certain time windows, through Boolean rules managed by the system owner. Which model is applied?

    • A RuBAC, a DAC implementation based on predefined rules
    • B Risk-based access control, with dynamic thresholds
    • C RBAC in Full usage, with a role protecting every application
    • D MAC, with classification labels set by a central authority
    Answer and rationale

    Answer : A. RuBAC, a DAC implementation based on predefined rules

    This is the course's own RuBAC example: a predefined list of rules (when, where, if), often in Boolean logic, managed by the system owner, restricting the CFO's remote use of privileges; the course presents it as a DAC implementation. MAC relies on centrally imposed classification labels, absent here. Full RBAC would require a role for every application, not IP and time conditions. Risk-based access control dynamically adjusts thresholds according to risk, whereas here the rules are fixed.

  22. During online shopping peaks, a bank adds extra challenges to logins, then relaxes them once the season is over. Which criticism of classic AC models does risk-based access control address here?

    • A The assumption of relatively static risks over weeks or months
    • B The absence of atomic operations in the login decision
    • C The impossibility of applying Biba to banking transactions
    • D The lack of business roles for customers connecting remotely
    Answer and rationale

    Answer : A. The assumption of relatively static risks over weeks or months

    The course faults most AC models for assuming static risks over weeks or months; risk-based access control breaks with that assumption by letting thresholds be raised or lowered dynamically, for instance during fraud seasons. Atomic operations underpin all models and are lacking in none. Biba is an integrity security model, unrelated to this criticism. A lack of roles is an RBAC concern, not the reason risk-based access control exists.

Key takeaways

  • Two families: security models (Biba, integrity, Domain 3) and access control models (translate policy into permit/deny).
  • NIST SP 800-192: an AC model is a formal presentation of the enforced policy, bridging the policy/mechanism gap.
  • Atomic operations managed by an AC system: read, write/modify, create, delete, execute.
  • First MAC/DAC/NDAC choice: central authority or local discretion (Fig 5.6: Policy Decisions, Security Planning, Models Supported).
  • MAC: central authority, user changes nothing (military). DAC: most flexible but most vulnerable (Windows, Android).
  • NDAC: RBAC applied in a mandatory fashion; RBAC, RuBAC, and ABAC can be mandatory or discretionary.
  • RBAC: roles by job function, None/Limited/Hybrid/Full usage; to change rights, you change roles.
  • RuBAC: list of when/where/if rules, managed by the system owner, an implementation of DAC.
  • ABAC: a simpler yet richer form of RuBAC; adds environment attributes (PayPal, banks, TOR detection).
  • Risk-based AC: dynamic thresholds by risk; NIST SP 800-162: PDP decides, PEP enforces, context handler collects attributes.
Module 7 Objective E 100 min Intermediate

Identity life cycle and provisioning (JML)

Prerequisites : Completion of M2 (identity concept and identity proofing) and M6 (MAC/DAC/RBAC/ABAC authorization models).

In an organization, every identity should hold the exact set of permissions its assigned duties require - no more and no less. The rule looks obvious, yet maintaining it over time is an ongoing process: people join and leave projects, project stages, or even positions. Managing that flow is the purpose of the identity life cycle, often summarized by the acronym JML (Joiner, Mover, Leaver).

Two counterintuitive ideas frame this module. First, identities are not just for humans: a network interface card has a MAC address, a CPU a serial number, installed software a unique identifying key, a running process a process ID. Second, they are not just for the permanent party of staff: guests and visitors access part of the premises or systems, and the organization must be able to differentiate today's visitors on the parking-lot Wi-Fi from yesterday's onsite guests.

Permissions are not static: they must follow changes in job, tasks, and responsibilities. Periodic AND event-driven reviews are therefore essential to avoid privilege creep, the unwanted accumulation of privileges beyond what the assigned duties require. By the end of the module, you will be able to run the provisioning -> management -> offboarding cycle, map each step to the right role (data owner vs data custodian), and design an account access review that surfaces inactive accounts, excessive permissions, and accounts without permissions.

Learning objectives

  • Explain the exact-permission principle - no more and no less - and why it applies to human AND nonhuman users
  • Run the identity life cycle: provisioning, management, offboarding around a central store (Fig 5.11)
  • Map each provisioning step to the right role: hiring manager, requester, data owner, data custodian
  • Distinguish periodic from event-driven reviews and link status changes to triggering a permissions review
  • Define privilege creep and permission aggregation and explain how need to know and separation of duties contain them
  • Differentiate disable from delete, and design an account access review covering user, system, and service accounts

Success criteria

  • For an access request, identify who approves (data owner) and who implements (data custodian)
  • Correctly order the onboarding steps (Creation, Allocation, Defining) and recognize that all are required
  • Cite 3 circumstances detectable by a user behavior review (off-hours use, rogue device, guest exceeding rights)
  • Explain why an accounting clerk turned CFO should no longer be able to originate a payment (separation of duties)
  • Justify disable rather than delete at offboarding and the link to data retention and APT investigations
  • List 3 anomalies revealed by an account access review (inactive accounts, excessive permissions, accounts without permissions)

7.1 The identity life cycle: provisioning, management, offboarding

Identity life cycle: provisioning, management, and offboarding around a central store
Figure 7.1 · The three life-cycle phases (provisioning, management, offboarding) revolving around the central store of identities and privileges.

An identity is a label and data construct that every subject and object in a system must have to be referred to clearly and unambiguously. Traditionally, IAM focused on humans: access privileges are associated with an identity so that run-time enforcement of security policies is possible. But identities are neither limited to humans nor to permanent staff. At the hardware level, a network interface card has a MAC address and a CPU a serial number, burned into firmware (resettable or spoofable). Installed software receives a unique identifying key; each instance spawned as a process receives a process ID. Guests and visitors also need identities, and the organization must differentiate today's parking-lot visitors from yesterday's onsite guests.

Providing an identity to each human or nonhuman user and attaching privileges to it requires a cycle of provisioning, management (review), and offboarding, shown in Figure 5.11. This cycle revolves around a central store holding information about identities and their privileges, and which also tracks how each one behaves. Every identity starts its life at the provisioning stage and ends when it is disabled and then deprovisioned.

The tempo, however, differs from one identity to another. A pattern of inappropriate or suspicious activity by one user may trigger frequent, urgent reviews to decide on corrective action, while another may rarely require one. Some change role or function infrequently; others initiate many self-service changes. The guiding principle stays constant: the exact set of permissions, neither excessive nor insufficient, so as not to expose the organization and its assets.

Key terms Identity life cycle JML Central store Nonhuman identity Provisioning Deprovisioning
Key points
  • Every identity starts at provisioning and ends deprovisioned, but review tempo varies
  • Identities cover humans AND nonhumans (MAC, CPU serial, software key, process ID)
  • Guests and visitors have identities to differentiate day by day
  • The central store keeps identities, privileges, and behavior

7.2 Provisioning: who requests, who approves, who implements

Data roles: data owner approves, data custodian implements, data processor processes
Figure 7.2 · The provisioning authorization chain: the data owner (accountable) approves, the data custodian (responsible) implements, the data processor handles the data.

Provisioning follows a precise chain of responsibility. The access request usually originates with the hiring manager or work-unit supervisor, who then engages IT security and administrators to validate and implement. The requester provides supporting evidence of identity (government-issued documents or digital ID); identity proofing authenticates them to ensure the person is uniquely and unambiguously who they claim to be, and not an impostor.

Next comes the authorization decision. The data owner (or asset owner, or responsible functional-area manager) reviews the request and passes an approval or rejection to the data custodian. This is the key exam point: the data owner is accountable - they decide and set the granularity of permissions, whether in very broad terms (for example all operational environments, but not development ones) or finely detailed per security procedures. The data custodian is responsible: they create the account with the appropriate permissions. Depending on the system, environment, and privileges, this may require creating multiple accounts with distinct credentials, and pushing (populating) those account IDs into various application platforms, other systems, or other infrastructure domains.

Finally the data custodian notifies the user and the data owner of the account creation. The user then begins accessing systems and resources within the granted permissions. Do not confuse this trio with the data processor: the processor handles data on behalf of the data controller; it is responsible but not accountable for the access decision.

Key terms Hiring manager Identity proofing Data owner Data custodian Data processor Multiple accounts
Key points
  • The request starts with the hiring manager; the requester provides evidence (identity proofing)
  • The data owner approves and sets granularity; they are accountable
  • The data custodian creates the account (sometimes multiple) and pushes it to platforms
  • User and data owner are notified at creation

7.3 User Behavior Review: detecting behavioral deviations

IAAA cycle whose accounting tracks identity behavior
Figure 7.3 · The IAAA accounting function provides the logs feeding the user behavior review.

Once the account is active, the management phase begins with defining patterns of acceptable and expected behavior in most circumstances. These patterns derive from job and task descriptions, which identify the access to protected assets the user needs. By definition, all other access attempts should be prohibited. As with any control, the first decision is administrative: policy directives set the boundaries, then technical and physical controls are implemented on a cost-benefit basis.

Most compliance regimes mandate a periodic review of all accounts to determine whether abuse of privileges was attempted or succeeded, or whether an action taken within the bounds of permissions resulted in a security violation. A user behavior review can reveal several circumstances requiring intervention: inappropriate use of resources (not necessarily endangering information); visitor or guest identities repeatedly attempting to exceed permissions; rogue devices trying to connect or to masquerade as approved devices (for example fake Wi-Fi access points); attempts to circumvent configuration management and control systems, or to sidestep allowed/blocked lists; frequent misuse of applications (invalid or incomplete input data); use of allowed resources but at times of day, days of the week, or circumstances abnormal for that class of identity.

Each of these signals may indicate either an employee needing reorientation to proper procedures, or a concerted attacker probing, fingerprinting, or penetrating the system via a purloined identity. The latter may require more sophisticated behavioral modeling, especially with remote and mobile work. A review and adjudication process may be needed to protect both the organization and the employee from wrongful accusation, particularly if other signals (interactions with coworkers or supervisors) suggest a risk of becoming an insider threat.

Key terms User behavior review Job/task description Rogue device Allowed/blocked list Off-hours use Insider threat
Key points
  • Acceptable patterns come from job/task descriptions; the rest is prohibited
  • Periodic review is mandated by compliance
  • Signals: inappropriate use, guest exceeding rights, rogue device, bypass, abnormal hours
  • Deviant behavior may signal an insider threat or a purloined identity

7.4 Job or Duties Review: containing privilege creep

Separation of duties in banking: payment initiation and approval split to block privilege creep
Figure 7.4 · Separation of duties applied to a bank payment: the accumulated rights (privilege creep) of the clerk turned CFO must be removed to preserve control.

Changes in business needs, threats, risk assessments, and the activity profiles of specific identities - whether people, virtual constructs, or devices - are all triggers for modifying permissions. Privilege creep occurs when an identity collects the permissions needed for new tasks but does not relinquish those no longer required. Left uncontrolled, it exposes the organization: an over-entitled user may, wittingly or not, disrupt operations or expose assets.

Identities change functions, jobs, duties, or responsibilities as the organization assigns them. These changes alter the assets the user must access, which should drive adjustments to their permissions. Completing a major project, for instance, is grounds for downgrading the access and modification rights tied to that project. Increased management responsibility may require access to higher-level supervisory information while curtailing access to the detailed operational data of the earlier role. The canonical example: an accounting clerk whose career grows into the CFO position should no longer hold the permissions needed to originate a payment.

All of this illustrates the combined application of need to know and separation of duties as design imperatives. Concretely, each change in employment status, assigned jobs, duties, or responsibilities should trigger an associated permissions review. That is precisely what prevents privilege creep: not an isolated calendar review, but an event-driven review attached to every transition of the identity.

Key terms Privilege creep Job/duties review Need to know Separation of duties Event-driven review Downgrade
Key points
  • Privilege creep = rights accumulated and not relinquished across role changes
  • Every status/role change must trigger a permissions review
  • Clerk turned CFO: remove the right to originate a payment (separation of duties)
  • Need to know + separation of duties guide permission changes

7.5 Disable and Deprovision: disable, do not delete

Deprovisioning phase in the joiner-mover-leaver lifecycle
Figure 7.5 · At end of cycle (leaver), the account is first disabled then deprovisioned; it is archived, not immediately deleted.

All identities come to an end. Human and nonhuman users may become redundant or move to other organizations and environments. A human who leaves employment or changes association should no longer have an active system identity (death likewise leads to disablement then deprovisioning). Nonhuman users may be decommissioned and removed from active use. Management decisions may also mandate temporary disablement, for example for an employee about to be separated or believed to be under stress, duress, or impairment. Security professionals must work with HR to ensure procedures support prompt account disablement when needed.

Deprovisioning propagates the deactivation of permissions across all systems. A major exam point: accounts are not deleted but disabled. The data custodian or IAM administrators perform these tasks. Disabling is reversible and preserves traces; deletion destroys the history.

Data retention and archiving are a crucial part of this stage. Legal and regulatory regimes may dictate both minimum AND maximum retention periods for data about an individual. Investigation of ongoing events, after an identity has been disabled and the person has left, may require digging into the archives. Advanced persistent threats (APTs) have shown their tendency to intrude, install reconnaissance and command-and-control capabilities, then lie dormant until needed: archive data is sometimes the only way to detect such a presence. This is why disable rather than delete directly serves investigative capability.

Key terms Disable Deprovision Data retention Archiving APT HR coordination
Key points
  • Disable, do not delete: reversible, traces preserved
  • Temporary disable for a stressed or departing employee; work with HR
  • Deprovisioning propagates deactivation to all systems
  • Legal min/max retention; archives useful against dormant APTs

7.6 Account Access Review: inactive, excessive, permissionless accounts

Data owner and custodian roles during account access review
Figure 7.6 · Account access review checks real permissions against roles, under data owner and custodian responsibility.

Account access review - regular, structured, and systematic - is an imperative part of the provisioning life cycle. It is generally organized by groups of accounts, for example all system administrators of a domain or business unit. These are planned reviews, not to be confused with the event-triggered reviews of an individual account discussed earlier. They identify discrepancies between roles and permissions of users, devices, processes, and systems, and reveal irregular activities that, though permitted, warrant further review.

Three families of anomalies typically surface. Inactive accounts not revoked: an employee terminated voluntarily or involuntarily, or who went on extended leave and then left, whose account stays active. Accounts with excessive permissions: when an employee changes positions and gets new rights without revoking the old ones - this is permission aggregation, a cousin of privilege creep. And, more surprisingly, accounts without permissions: because if an individual needs rights for their role but they are not allocated, they will find a way to do their job, sometimes by borrowing another user's credentials, which destroys our ability to use non-repudiation.

These reviews must be conducted on an ongoing basis to catch suspicious activity in time; scheduled and regular, they reveal vulnerabilities calling for revocation, disablement, or deletion of permissions, or even of an entire account. It is vital to include privileged accounts - system accounts such as administrator, sudo, or root - highly desirable to attackers seeking to elevate their capabilities. The review thus covers three natures of accounts: user, system, and service.

Key terms Account access review Planned vs event-triggered Inactive account Permission aggregation Account without permissions Privileged/service account
Key points
  • Planned group review, distinct from the individual event-triggered review
  • Detects unrevoked inactive accounts and permission aggregation
  • Accounts without permissions = risk: borrowed credentials, lost non-repudiation
  • Include privileged and service accounts (administrator, sudo, root)

Case studies

Case · Guided activity

Activity 5.5: describing the key life-cycle stages at Aeros 3

Context : After the discussions on access control models and policies, Tamika revisits the identity life cycle to ensure that Aeros 3's IAM processes align with best practices. She must describe the key stages of the access provisioning life cycle and their significance for maintaining security.

Question : What are the key stages of the identity and access life cycle, and why is each significant for security?

Topics covered Onboarding and provisioningRole changes and privilege creepOffboarding and disablePeriodic reviews
Show analysis and answer

The cycle includes stages such as onboarding, role changes, and offboarding. Onboarding ensures new users get the necessary access - no more and no less - through provisioning driven by the data owner and executed by the data custodian.

Role changes adapt permissions to evolving responsibilities: each status change should trigger a review to avoid privilege creep and permission aggregation, applying need to know and separation of duties.

Offboarding promptly revokes access for departed employees, minimizing the risk of unauthorized access; accounts are disabled rather than deleted to preserve archives. Finally, regular reviews and audits (user behavior review and account access review) keep the cycle effective over time.

Takeaway : Onboarding, role changes, and offboarding, supported by regular reviews, form a cycle that keeps each identity at the exact level of rights required.

Key learning points
  • Each stage serves a distinct security goal (right access, adaptation, revocation)
  • Regular reviews are what keep the cycle effective over time
Case · Applied scenario

Profile 5.5: account access review after high turnover

Context : Aeros 3 experienced significant employee turnover over the past year. Tamika discovers that, during that period, the organization conducted no account access review separate from event-triggered reviews. She must define how to conduct and manage these reviews, focusing on user, system, and service accounts.

Question : How can Tamika conduct and manage account access reviews at Aeros 3, covering user, system, and service accounts? What frequency, processes, and key considerations ensure ongoing compliance and security?

Topics covered Planned account access reviewUser, system, service accountsPermission aggregationHR coordination
Show analysis and answer

Tamika should establish planned reviews, structured by groups of accounts (for example all administrators of a business unit), distinct from individual event-triggered reviews. Given the high turnover, the priority is to detect unrevoked inactive accounts of departed employees, excessive permissions from permission aggregation during role changes, and accounts without permissions that push users to borrow credentials and destroy non-repudiation.

Frequency should combine a regular cadence (aligned with compliance regimes) and ongoing triggering to catch suspicious activity in time. The process reconciles roles with effective permissions, then recommends revocation, disablement, or deletion of rights, or of an entire account.

A vital point: include privileged accounts - system accounts such as administrator, sudo, or root - highly desirable to attackers, plus nonhuman service accounts, often overlooked. Coordination with HR ensures departures trigger prompt disablement.

Takeaway : After high turnover, a planned, group-based account access review covering user, system, and service accounts is essential to eliminate orphaned accounts and residual rights.

Key learning points
  • Planned group reviews complement, not replace, event-triggered reviews
  • Privileged and service accounts must be included, not only user accounts
Exam pitfall

Data owner vs data custodian vs data processor

Classic trap question: who approves an access request? The correct answer is the data owner, because they are accountable and decide; they also set the granularity of rights. The data custodian is only responsible: they implement the decision by creating the account. The data processor handles data on behalf of the data controller and does not decide access. If an option says only senior managers, it is wrong: a data owner may be a senior manager, but not always.

Exam pitfall

Disable vs delete

At offboarding, the exam expects disable, not delete. Disabling is reversible and preserves traces; deletion destroys history. This nuance directly serves data retention (legal min AND max periods) and future investigations, notably against dormant APTs whose presence only archives may reveal. A temporary disable also fits an employee under stress or about to depart. Never answer delete the account immediately to an offboarding question.

Exam pitfall

Privilege creep, permission aggregation, and accounts without permissions

Privilege creep and permission aggregation describe the same ailment: rights accumulated across role changes without revoking the old ones; the cure is a review triggered at every status change, guided by need to know and separation of duties. A subtler trap: an account WITHOUT permissions is also a risk. Deprived of the needed rights, the user borrows a colleague's credentials to do their job, which destroys non-repudiation. The exam may ask why lacking permissions is dangerous: the answer is credential borrowing and loss of accountability.

Checkpoint : Identity life cycle and provisioning (JML)

  1. Which of the following steps are required in the onboarding process when managing identities?

    • A Defining only, before any Creation step
    • B Allocation only, Defining being implicit
    • C Creation, Defining and Allocation together
    • D Creation only, then Allocation on demand
    Answer and rationale

    Answer : C. Creation, Defining and Allocation together

    Identity management always starts with account creation (Creation), manual or self-provisioning. Then the role and necessary rules are set (Defining), and finally access to resources is allocated per that definition (Allocation). No single step suffices: all three are required.

  2. In the identity management process flow, an individual requests access to resources such as data. Who is responsible for approving that request?

    • A The data custodian
    • B The data owner
    • C Only senior managers
    • D The data processor
    Answer and rationale

    Answer : B. The data owner

    Access is always approved by the data owner: this role is accountable and therefore decides on access. They may be a senior manager, but not necessarily. The request is then passed to the data custodian, who is responsible for implementation but does not decide. The data processor handles data for the controller, without deciding access.

  3. An accountant promoted to CFO keeps the old right to originate payments while gaining new supervisory rights. What is this accumulation called and how is it prevented?

    • A Deprovisioning; via immediate deletion of the old account and creation of a new one
    • B Identity proofing; via a review of the identity documents at each promotion
    • C Privilege creep; via a permissions review triggered at every status change
    • D Single sign-on; via centralization of the accounts in one credential repository
    Answer and rationale

    Answer : C. Privilege creep; via a permissions review triggered at every status change

    Rights accumulated and not relinquished across role changes is privilege creep (here also permission aggregation). The cure is a job or duties review triggered at each status change, applying separation of duties: the CFO must no longer be able to originate a payment.

  4. When offboarding an employee leaving the organization, what action is recommended for their account?

    • A Disable the account without deleting it, and propagate deprovisioning
    • B Leave the account active for 90 days in case the employee returns
    • C Delete the account immediately, and archive the mailbox only
    • D Transfer the credentials to a colleague, and keep the account active afterwards
    Answer and rationale

    Answer : A. Disable the account without deleting it, and propagate deprovisioning

    Accounts are disabled, not deleted: disabling is reversible and preserves the traces needed for data retention and investigations (including against dormant APTs). Deprovisioning then propagates the deactivation across all systems. Transferring credentials would destroy non-repudiation.

  5. An account access review reveals that an employee who changed positions gained new rights without the old ones being revoked. What is this anomaly called?

    • A Inactive account
    • B Account without permissions
    • C Permission aggregation
    • D Identity proofing
    Answer and rationale

    Answer : C. Permission aggregation

    Accumulating new rights without revoking the old ones at a position change is permission aggregation (a form of privilege creep). Distinct from an inactive account (a departed user's unrevoked account) and an account without permissions (which prompts credential borrowing and destroys non-repudiation).

  6. The 'need to know' principle differs from 'least privilege' in that it concerns:

    • A Encryption of data at rest according to its classification
    • B Access to the specific data/information needed for the task
    • C Physical separation of premises and secure work areas
    • D System privileges (execute, install) granted to a given account
    Answer and rationale

    Answer : B. Access to the specific data/information needed for the task

    Need to know = limit access to the INFORMATION strictly required. Least privilege = limit RIGHTS/actions. They complement each other; the other options describe neither.

  7. A company requires that issuing AND approving a payment can never be done by the same person. Which principle is applied?

    • A Least privilege access
    • B Separation of duties
    • C Defense in depth model
    • D Zero Trust verification
    Answer and rationale

    Answer : B. Separation of duties

    Separation of duties (SoD) splits a sensitive operation across people to prevent fraud. Least privilege limits rights but does not mandate splitting a task; defense in depth and Zero Trust are broader strategies.

  8. The JML identity lifecycle covers:

    • A Scan (weaknesses), Patch (fixes), Reboot (activation)
    • B Backup (daily), Restore (request), Archive (end of life)
    • C Encryption (at rest), Hashing (in transit), Signing (at use)
    • D Joiner (onboarding), Mover (role change), Leaver (offboarding)
    Answer and rationale

    Answer : D. Joiner (onboarding), Mover (role change), Leaver (offboarding)

    JML = Joiner (provisioning), Mover (rights adjustment), Leaver (deprovisioning). The Mover, often neglected, causes privilege creep. The other triplets belong to other areas.

  9. During onboarding (Joiner), the logical sequence to grant a new employee access is:

    • A Deletion (purge the old account) -> Creation (create the new one) -> Allocation (assign resources)
    • B Creation (create the account) -> Allocation (assign resources) -> Defining (define precise rights)
    • C Allocation (assign resources) -> Defining (define precise rights) -> Creation (create the account)
    • D Defining (define precise rights) -> Allocation (assign resources) -> Creation (create the account)
    Answer and rationale

    Answer : B. Creation (create the account) -> Allocation (assign resources) -> Defining (define precise rights)

    Identity management ALWAYS starts with account creation, then resource allocation, then defining precise rights. You cannot allocate or define rights on an account that does not yet exist.

  10. An 'orphan' account is a risk because:

    • A It uses too much memory on the directory server, slowing down every other logon
    • B It has too long a password, which the owner wrote down somewhere before leaving
    • C It is encrypted with a key nobody holds anymore, so its data can never be recovered
    • D Its owner left the organization but the account stays active and exploitable
    Answer and rationale

    Answer : D. Its owner left the organization but the account stays active and exploitable

    An orphan account (owner gone, account not disabled) can be hijacked unnoticed for months. They are detected via access reviews and automated offboarding (HR trigger). Memory, password length or encryption are not the issue.

  11. An account access review primarily serves to:

    • A Periodically recertify that each right is still justified and detect privilege creep
    • B Periodically install the patches each account's workstation is missing and reboot it
    • C Periodically train each account holder about phishing and record their quiz score
    • D Periodically test that each account's backups can be restored within the agreed RTO
    Answer and rationale

    Answer : A. Periodically recertify that each right is still justified and detect privilege creep

    An access review has each right periodically validated by the manager/data owner, revoking the unneeded and spotting privilege creep and orphan accounts. Patching, training and backups are other processes.

  12. The 'separation of duties' concept can be circumvented by:

    • A Collusion between several people who combine their rights
    • B A session timeout that expires before the second approver acts
    • C Encryption of the transaction with a key only the issuer holds
    • D A long password changed before each sensitive operation
    Answer and rationale

    Answer : A. Collusion between several people who combine their rights

    SoD relies on no single person holding all rights; collusion (several accomplices combining their access) circumvents it. Hence complementary controls (rotation, dual approval, audit). Encryption, timeout and passwords have no effect here.

  13. The best moment to trigger account deprovisioning is:

    • A Never, to keep the history active and the mailbox readable by the team
    • B Immediately, via an automated HR trigger synced with employee status
    • C Several weeks after departure, once the manager confirms the handover
    • D Only at the next annual review, when all rights are recertified at once
    Answer and rationale

    Answer : B. Immediately, via an automated HR trigger synced with employee status

    An automated HR trigger disables the account as soon as the status changes, closing the orphan-account window. Waiting weeks, never acting or waiting for the annual review leaves exploitable access.

  14. A well-applied 'least privilege' policy for a new employee (Joiner) consists of:

    • A Granting only the rights of the role matching their function, validated by the data owner
    • B Granting local admin rights by default, then removing them at the first quarterly access review
    • C Cloning the rights of a colleague in the same team, validated by the hiring manager 'to be quick'
    • D Granting no access during the first month and waiting for the employee to request each right
    Answer and rationale

    Answer : A. Granting only the rights of the role matching their function, validated by the data owner

    Least privilege at Joiner = grant only what is necessary per role/function, with data owner approval. 'Role cloning' propagates privilege creep; default admin violates the principle; blocking all access harms productivity without justification.

  15. During an identity inventory, an auditor only considers permanent employees' accounts. Which gap does this approach reveal?

    • A Devices are identified solely by their IP address, which the inventory should list per subnet
    • B Nonhuman identities (process ID, MAC address, software), guests and visitors need one too
    • C Only administrators really need an identity, since standard employees act through applications
    • D Visitor identities need not be distinguished from one day to the next, a shared guest account suffices
    Answer and rationale

    Answer : B. Nonhuman identities (process ID, MAC address, software), guests and visitors need one too

    The course notes that identities are neither reserved for humans nor for permanent staff: network cards (MAC address), CPUs, software instances (process ID), guests and visitors need one. Limiting identity to administrators contradicts the principle of an identity for every subject and object. The course in fact requires distinguishing today's visitors from yesterday's. Devices carry burned-in identifiers (MAC, serial number), not just an IP address.

  16. The data owner has approved a new analyst's access. According to the provisioning chain, who creates the account with the intended permissions and then notifies the user and the data owner?

    • A The data processor, responsible for the processing
    • B The relying party, responsible for the assertion
    • C The hiring manager, responsible for the request
    • D The data custodian, responsible for implementation
    Answer and rationale

    Answer : D. The data custodian, responsible for implementation

    The data custodian is responsible: it creates the account with the right permissions, pushes the IDs to the relevant platforms, then notifies the user and the data owner. The hiring manager originates the request, not its implementation. The data processor processes data on behalf of the data controller and does not implement accounts. The relying party is a NIST federation role, unrelated to internal provisioning.

  17. A consultant claims that the data processor decides on access to the data it processes on behalf of the data controller. What correction should be made?

    • A Processor and custodian designate the same function, so the access decision (accountable) is shared between them
    • B Correct: the processor is accountable for the access decision, since the controller delegated the processing to it
    • C The processor is responsible for processing, but the access decision (accountable) belongs to the data owner
    • D The processor replaces the hiring manager in the access request, since it knows the data better than the business
    Answer and rationale

    Answer : C. The processor is responsible for processing, but the access decision (accountable) belongs to the data owner

    The course warns against this confusion: the data processor processes data on behalf of the data controller; it is responsible but not accountable for the access decision, which belongs to the data owner. Calling it accountable reverses the roles. The custodian creates accounts according to the owner's approval, a function distinct from the processor. The hiring manager remains the originator of the access request; the processor does not replace them.

  18. A user behavior review reveals that a visitor account repeatedly tries to exceed its permissions and that a fake Wi-Fi access point tries to pass as an approved device. How should these signals be interpreted?

    • A Simple privilege creep to be corrected at the annual review, since the visitor merely accumulated unneeded rights
    • B Incidents unrelated to IAM, to be handed to the network team since a Wi-Fi access point is a physical device
    • C Deviations signaling an employee to redirect or an attacker probing the system with a stolen identity
    • D An identity proofing failure at enrollment, to be fixed by re-verifying the visitor's documents and the device
    Answer and rationale

    Answer : C. Deviations signaling an employee to redirect or an attacker probing the system with a stolen identity

    The course specifically lists guest identities exceeding their permissions and rogue devices (fake access points) among the circumstances revealed by a user behavior review, each possibly indicating an employee to redirect or a concerted attempt by an attacker using a stolen identity. These signals fully belong to the IAM management phase. Privilege creep is an accumulation of legitimate rights, not an attempt to exceed them nor a rogue device. Identity proofing concerns the initial verification of the person, not their behavior once the account is active.

  19. A major project ends. According to the job or duties review logic, what should this event trigger for the team members?

    • A An event-driven downgrade of the access and modification rights tied to the project
    • B Nothing until the next calendar review, which will downgrade the rights in due course
    • C Immediate deletion of their accounts, with the data archived under the sponsor
    • D A permanent elevation of rights to ease knowledge capture by the whole team
    Answer and rationale

    Answer : A. An event-driven downgrade of the access and modification rights tied to the project

    The course cites the completion of a major project as grounds for downgrading the rights tied to that project, and insists that what prevents privilege creep is not an isolated calendar review but an event-driven review attached to each transition. Waiting for the next calendar review lets unnecessary rights persist. Deleting the accounts is disproportionate: the members remain employed, and accounts are disabled, not deleted. Permanently elevating rights is the exact opposite of need to know.

  20. A manager reports that a departing employee appears to be under strong personal pressure. Which decision is acceptable, and with whom must it be coordinated?

    • A Permanent deletion of the account, decided by the manager alone and at once
    • B A privilege elevation to speed up the handover, decided by the manager with IT
    • C No action as long as the contract runs, as agreed with the legal department
    • D A temporary account disablement, decided by management in coordination with HR
    Answer and rationale

    Answer : D. A temporary account disablement, decided by management in coordination with HR

    The course provides that management decisions may impose a temporary disablement, for instance for a departing employee or one believed to be under stress, duress or impairment, and requires working with HR for prompt disablement procedures. Permanent deletion destroys the history and is never the recommended answer, let alone by a manager alone. Elevating privileges increases exposure at the riskiest moment. Waiting for the contract to end ignores the explicit possibility of early disablement.

  21. During an account access review, it is found that an employee whose role requires certain rights does not have them and borrows a colleague's credentials to work. Which security property is destroyed, and which family of anomaly does this case belong to?

    • A Availability; permission aggregation
    • B Confidentiality; inactive account not revoked
    • C Integrity; privileged account
    • D Non-repudiation; account without permissions
    Answer and rationale

    Answer : D. Non-repudiation; account without permissions

    The course describes the third family of anomaly, the account without permissions: lacking allocated rights, the individual finds a way to work, sometimes by borrowing another user's credentials, which destroys the ability to ensure non-repudiation. The inactive account not revoked concerns a holder who has left, not a current employee. Permission aggregation is the accumulation of excessive rights, the opposite of this case. Sharing credentials does not make the account privileged, and the property hit is accountability, not integrity.

  22. What is the distinction between a planned review and an event-triggered review of accounts?

    • A Planned: groups of accounts at regular intervals; event-triggered: one specific account after a transition
    • B Planned: decided by the data owner; event-triggered: triggered only by an HR report of a departure
    • C There is no practical difference between the two: both review every account of the domain at the same interval
    • D Planned: reserved for service accounts at fixed dates; event-triggered: reserved for user accounts
    Answer and rationale

    Answer : A. Planned: groups of accounts at regular intervals; event-triggered: one specific account after a transition

    The course contrasts planned reviews, regular and organized by groups of accounts (for example all administrators of a domain), with event-triggered reviews of an individual account prompted by a change of status, job or duties. The planned review covers user, system and service accounts, not only service accounts. The event-triggered review stems from any identity transition, not only an HR report. The two differ in scope and trigger; the distinction is not empty.

Key takeaways

  • The guiding principle: each identity holds the exact set of rights needed - no more and no less.
  • Identities cover humans AND nonhumans (MAC address, CPU serial, software key, process ID) and include guests/visitors to differentiate day by day.
  • The life cycle runs from provisioning to management to offboarding, around a central store (Fig 5.11).
  • At provisioning: the hiring manager requests, the requester proves (identity proofing), the data owner approves (accountable), the data custodian creates the account (responsible).
  • Permissions are not static: periodic AND event-driven reviews, triggered at every status change.
  • Privilege creep and permission aggregation = rights accumulated without revocation; need to know and separation of duties contain them (clerk turned CFO can no longer originate a payment).
  • At offboarding you disable, you do not delete: reversible, traces preserved, min/max data retention, archives useful against dormant APTs.
  • The account access review is planned, by groups, distinct from event-triggered reviews; it covers user, system, and service accounts.
  • Key anomalies: unrevoked inactive accounts, excessive permissions, and accounts without permissions (which prompt credential borrowing and destroy non-repudiation).
  • A user behavior review detects off-hours use, rogue devices, guests exceeding rights, and flags a possible insider threat.
Module 8 Objective E 90 min Advanced

Privileged accounts (PAM), escalation and service accounts

Prerequisites : Module M7 (account access review and periodic permission review).

Account review does not stop at ordinary users. It must imperatively cover privileged accounts - system accounts such as administrator, sudo, or root - because they are precisely the ones attackers covet most. Obtaining one of these accounts is the attacker's "holy grail": once in hand, they can roam the network, read, copy, alter, or destroy data, configuration files, and processes.

This module connects three topics the exam likes to test together: protecting privileged accounts (renaming, obscuring attributes and SIDs, MFA), the mechanics of privilege escalation (vertical vs horizontal) and its prevention, then the place of IAAA in the extended CIANA+PS model. It ends on service accounts, those non-human accounts often oversized that must be brought back to least privilege.

By the end of the module, you will be able to distinguish a vertical escalation (level elevation) from a horizontal escalation (lateral movement), explain why security by obscurity alone is not enough, and apply least privilege to service accounts.

Learning objectives

  • Bring privileged accounts (administrator, sudo, root) into the access review and explain why they are so coveted
  • Apply security by obscurity correctly: rename the account AND obscure attributes like the static numeric SID
  • Define privilege escalation and distinguish vertical (privilege elevation) from horizontal (lateral movement)
  • List the controls that prevent escalation (awareness, 2FA, patch/vuln mgmt, IDS/IPS/SIEM)
  • Explain how IAAA implements CIANA+PS, in particular integrity and non-repudiation
  • Identify the risk of service accounts and apply the principle of least privilege to them

Success criteria

  • Recognize that a legitimate holder seeking higher permissions = vertical escalation
  • Pick "Vertical" as the valid escalation type against distractors like Domain, Root, or Admin
  • Explain why renaming a privileged account is not enough if the static SID stays visible
  • Cite at least four controls that prevent privilege escalation
  • Justify reducing a service account's privileges to the strict minimum

8.1 Privileged accounts in the access review and security by obscurity

Joiner-mover-leaver identity life cycle including privileged accounts
Figure 8.1 · The periodic access review of the JML life cycle must explicitly include system accounts and privileged accounts.

When we talk about account review, it is vital to include privileged accounts: system accounts such as administrator, sudo, or root. These accounts are highly desirable to attackers, who seek them out precisely to elevate their ability to act within the organization's network. Reducing their visibility is therefore the first line of defense.

It is advisable to avoid tying the account name to its function, as this increases the chances of it being targeted. Changing the name of a privileged account is thus the first layer of defense. But security by obscurity here requires more than renaming a user or system account: other attributes, such as the static numeric identifier assigned by the system (the SID under Windows), can reveal the true nature of an account to the attacker. These attributes must therefore be changed as well.

On Microsoft Windows systems, several built-in account security identifiers (SIDs) can and should be obscured: Administrator (the only account with full control of the system by default), Default Account (a neutral account introduced with Windows 10 and Windows Server 2016 to run multi-user or agnostic processes), Guest (a passwordless account for people without an individual account, disabled by default), and Domain Administrators (a global group whose members administer the domain and are the default owners of any created object). Remember the exam principle: obscurity is never a sufficient control on its own; it complements, but does not replace, fundamental controls.

Key terms Privileged account System account Security by obscurity SID Domain Administrators Default Account
Key points
  • The access review MUST cover privileged accounts, not just ordinary users
  • Renaming an account is the first layer; do not link the name to the function
  • Obscure attributes too (the static SID), otherwise obscurity is illusory
  • Windows SIDs to obscure: Administrator, Default Account, Guest, Domain Administrators

8.2 Privilege escalation: the attacker's holy grail

Diagram of vertical escalation toward root/admin and horizontal escalation from server to server
Figure 8.2 · Vertical escalation (level rise toward root/admin) contrasted with horizontal escalation (lateral movement across resources), with key mitigations.

Privilege escalation is the act of raising one's access permissions to protected resources by exploiting a bug, a design flaw, or a configuration oversight in an OS or application. An escalation attack occurs when an attacker obtains a regular user account, bypasses the normal authorization channel, and ends up granting themselves elevated permissions.

Obtaining elevated privileges is the attacker's "holy grail." If they succeed in seizing a privileged account, they can then access various parts of the organization, then examine, copy, alter, or simply delete important data, configuration files, or processes. If the organization realizes it has been compromised, it is vital to determine which permissions the attacker managed to obtain, and which processes and resources may have been impacted and how.

Many organizations add extra protections on users considered privileged, such as domain admins and database administrators, by adding multi-factor authentication (MFA) to reduce the risk of these accounts being used in an escalation attack. Beware the trap: because users can aggregate permissions over the course of their employment (permission aggregation), and because they are considered "regular," the reinforced access controls may not be applied to them. These accounts with aggregated permissions can then be exploited by an attacker while escaping the controls reserved for privileged accounts.

Key terms Privilege escalation Holy grail MFA Permission aggregation Domain admin Database administrator
Key points
  • Escalation exploits a bug, design flaw, or configuration oversight
  • Obtaining a privileged account = holy grail; ability to read/alter/destroy
  • MFA on domain admins and DBAs reduces escalation risk
  • Trap: a regular user with aggregated permissions bypasses hardened controls

8.3 Vertical vs horizontal, and how to prevent escalation

Comparison of upward vertical escalation and sideways horizontal escalation with preventive controls
Figure 8.3 · Vertical (toward root/admin) vs horizontal (server A to server B), and mitigations: MFA, least privilege, patch, IDS/SIEM, account renaming.

There are two approaches to carrying out an escalation attack. Vertical privilege escalation (also called privilege elevation) occurs when the attacker uses an account they already have access to (or have obtained unauthorized use of) to run applications or services at higher permission levels. This happens when developers made poor assumptions about the use cases of privileged functions, or when the application allows the injection of commands or exploits. Phishing attacks that push the victim to enter their credentials frequently serve as a stepping stone to vertical escalation.

Horizontal privilege escalation (also called lateral movement within a system) occurs when the attacker uses an account they have access to in order to discover, fingerprint, and access other resources. For example, a user of applications and data on a server may jump to another server and access its data or resources. These attacks require elevating the privileges associated with the abused accounts and generally demand a higher degree of technical sophistication.

Preventing escalation requires acting on human, system, and process vulnerabilities. On the human side: security awareness training and phishing simulations. To this are added access controls such as two-factor authentication (2FA), continuous patch and vulnerability management, and detection-response through IDS, IPS, and SIEM. These layers combine to break the chain phishing -> regular account -> elevation -> lateral movement.

Key terms Vertical privilege escalation Horizontal privilege escalation Lateral movement Command injection Phishing simulation SIEM
Key points
  • Vertical = level rise (privilege elevation), often via phishing/injection
  • Horizontal = lateral movement, jumping across resources, more technical sophistication
  • Phishing is a classic stepping stone to vertical escalation
  • Prevention: awareness, phishing simulations, 2FA, patch/vuln mgmt, IDS/IPS/SIEM

8.4 IAAA implements CIANA+PS

IAAA flow linking identity, authentication, authorization and accounting to the CIANA+PS objectives
Figure 8.4 · The four IAAA functions taken together materialize the CIANA+PS objectives, with accounting providing the non-repudiation evidence.

The previous domains identified the critical capabilities that security programs and controls must address, summarized by the acronym CIANA: confidentiality, integrity, availability, non-repudiation, and authenticity, plus privacy and safety. Correctly implemented, an IAM system meets these needs through its integrated functions of identity, authentication, authorization, and accounting (IAAA).

Take integrity as an example. It requires high confidence that only trusted processes, invoked by trusted subjects (human or non-human users), modify information assets. Providing this confidence rests on three pillars: identity management solutions that create and prove identities then manage the associated privileges; authentication controls that restrict access to valid identities only; and authorization controls that allow authenticated and trusted identities to use only trusted tools to perform only the actions permitted by their permissions.

Safety and privacy often add requirements for strong non-repudiation and authenticity. The accounting controls of an IAAA system provide the auditable proof that non-repudiation requires. And ensuring that commands modifying sensitive information can only be authentic - issued by a competent authority - results from the combination of IAAA functions. In other words, it is IAAA taken as a whole that materializes CIANA+PS in the system.

Key terms CIANA+PS IAAA Trusted subject Accounting controls Authenticity Authorization controls
Key points
  • IAAA (identity, authentication, authorization, accounting) implements CIANA+PS
  • Integrity requires that only trusted processes modify assets
  • Non-repudiation relies on accounting (auditable evidence)
  • Authenticity = command issued by competent authority

8.5 Service accounts and applying least privilege

Illustration of separation of duties and least privilege applied to accounts
Figure 8.5 · Least privilege and separation of duties limit what any account, including a service account, can do on its own.

Some system accounts are predefined as service accounts. These non-human accounts can hold extensive privileges within a computer system and behave like the system itself within the network. They often have unabated access and control over most objects in the system.

In some cases, these accounts are active without requiring any authentication method and are not associated with any logged-in user account, which poses a significant risk: no identifiable human owner, no interactive session, hence an ideal attack surface for anyone who wants to "behave like the system." This is precisely the link an escalation seeks to reach.

Yet many service accounts do not need the elevated privilege levels granted to them by the default configuration: they are oversized. When this is the case, reducing privileges to the lowest possible level is an appropriate application of the principle of least privilege. In practice: inventory service accounts during the access review, remove unused rights, require strong authentication where possible, and trace their activity. Least privilege turns an account that acts "like the system" into one that has "just what it needs for its service."

Key terms Service account Unabated access Least privilege Oversized account Non-interactive account
Key points
  • Service accounts have extensive privileges and behave as the system
  • Risk: sometimes active without authentication, not tied to a logged-on user
  • Often oversized by default configuration
  • Remedy: apply least privilege and reduce to the strictly necessary level

Case studies

Case · Applied scenario

From phishing to domain admin: anatomy of an escalation

Context : At a regional distributor, an accountant receives an email impersonating the HR portal and enters credentials on a fake page. The attacker thus obtains a regular user account. From that workstation, they discover that an internal application runs under a service account "svc-backup" whose default privileges grant near-total control over the file servers, with no MFA and no human owner. They abuse this service account to run commands at a higher level, then hop from one file server to another. The organization notices only three weeks later, during a belated access review.

Question : Identify the escalation phases at play and list the missing controls that would have broken the attack chain.

Topics covered Vertical privilege escalationLateral movementService account least privilegeMFA and SIEMRegular access review
Show analysis and answer

The chain follows a classic exam pattern. Phishing serves as the stepping stone: it provides a regular account. Abusing the oversized service account to run commands at a higher permission level is vertical privilege escalation (privilege elevation). The subsequent hop from one file server to another to discover and access other resources is horizontal privilege escalation, that is, lateral movement.

Several missing controls made the attack possible. On the human side, the absence of security awareness training and phishing simulations let the initial email through; 2FA would have prevented direct reuse of the stolen credentials. On the account side, the "svc-backup" service account was oversized: least privilege should have reduced its rights to the strict minimum, and strong authentication should have been imposed on it rather than operation with no authentication and no owner. On the detection side, a SIEM correlating abnormal logins and inter-server hops would have alerted well before three weeks.

Finally, security by obscurity of the privileged accounts (renaming and masking attributes such as the SID) would have made spotting the service account harder, while never constituting a sufficient control on its own. The governance lesson: regular access reviews, not only event-triggered ones, would have detected both the oversized service account and the exploited aggregated permissions.

Takeaway : A real escalation combines vertical elevation and lateral movement; each link (phishing, oversized service account, missing SIEM) is a control that could have stopped it.

Key learning points
  • Phishing is a stepping stone to vertical escalation; 2FA breaks credential reuse
  • An oversized service account becomes the elevation vector; apply least privilege
  • Lateral movement is detected by a SIEM correlating cross-server hops
  • Regular (not just event-triggered) access reviews would have revealed the oversized account
Exam pitfall

Vertical vs horizontal

The exam often contrasts the two escalation types. Vertical privilege escalation (privilege elevation) is a level rise: running at a higher permission level, for example moving from a regular user to root or admin. Horizontal privilege escalation is lateral movement: moving across same-level resources, hopping from server to server to discover and access other data. If the stem says "higher level of permissions," it is vertical; if it says "jumping to other resources/servers," it is horizontal.

Exam pitfall

Security by obscurity is never enough on its own

Renaming the "Administrator" account is the first layer, but the exam expects you to know it is not enough: the static numeric ID (the Windows SID) remains an attribute that betrays the account's real function. You must therefore obscure those attributes as well. More broadly, security by obscurity is never a sufficient control on its own: it complements least privilege, MFA, and detection, it does not replace them. An answer offering "rename the account" as the only measure is incomplete.

Exam pitfall

Aggregated permissions bypass hardened controls

Subtle trap: domain admins and DBAs are protected by MFA, but a "regular" user may have accumulated permissions over the years (permission aggregation). Because they remain classified as "regular," the hardened access controls reserved for privileged accounts are not applied to them. An attacker who seizes that account inherits broad power while escaping the protections. The right answer stresses regular access reviews to spot and revoke these aggregated permissions.

Checkpoint : Privileged accounts (PAM), escalation and service accounts

  1. Which type of escalation attack occurs when a legitimate user (account holder) attempts to gain higher permission levels?

    • A Privilege spoofing
    • B Horizontal escalation
    • C Vertical escalation
    • D Privilege manipulation
    Answer and rationale

    Answer : C. Vertical escalation

    Vertical escalation (privilege elevation) occurs when an actor uses an account they already have (or have gained use of) to run applications or services at higher permission levels. Spoofing means pretending to be someone else, not raising one's own rights. Horizontal escalation is lateral movement toward other same-level resources. "Privilege manipulation" is a generic term, not this specific type.

  2. Which of the following is a type of privilege escalation attack?

    • A Sysadmin
    • B AD domain
    • C Root user
    • D Vertical
    Answer and rationale

    Answer : D. Vertical

    Vertical is the valid type: an actor elevates a regular user's credentials to a higher level such as root or admin. "Domain" is a collection of objects (users, machines), not an escalation type. "Root" and "Admin" are accounts already at the highest level: there is no point escalating on them.

  3. An attacker who took an account on one server uses it to discover, fingerprint, and access other servers at the same privilege level. What is this technique called?

    • A Horizontal escalation (lateral movement)
    • B Security by obscurity
    • C Permission aggregation
    • D Vertical escalation (privilege elevation)
    Answer and rationale

    Answer : A. Horizontal escalation (lateral movement)

    Discovering, fingerprinting, and accessing other resources by hopping server to server defines horizontal privilege escalation, also called lateral movement. Vertical escalation would instead target a higher permission level. Permission aggregation is the buildup of rights over time. Security by obscurity is a defensive measure, not an attack technique.

  4. An access review finds a service account whose default configuration grants near-total control over all file servers, far beyond its real need. What is the most appropriate measure?

    • A Reduce its privileges to the strictly necessary level (least privilege)
    • B Leave it as is because service accounts must act as the system
    • C Grant it more permissions to avoid blockers
    • D Rename it to apply security by obscurity
    Answer and rationale

    Answer : A. Reduce its privileges to the strictly necessary level (least privilege)

    Many service accounts are oversized by their default config. When that is the case, reducing privileges to the lowest possible level is the appropriate application of least privilege. Renaming (obscurity) does not reduce excessive rights. Leaving the account untouched perpetuates the risk. Adding permissions worsens the exact problem.

  5. The most direct countermeasure against Kerberoasting is:

    • A Using long/random passwords for service accounts (or gMSA) and limiting SPNs
    • B Reducing the session timeout so service tickets expire before they can be cracked
    • C Blocking port 443 on the domain controllers so no service ticket can be requested
    • D Disabling Kerberos entirely on the domain and falling back to NTLM for all services
    Answer and rationale

    Answer : A. Using long/random passwords for service accounts (or gMSA) and limiting SPNs

    Since the attack cracks the service account hash offline, a long random secret (ideally an auto-managed gMSA) makes cracking infeasible. Disabling Kerberos is unrealistic; timeout and port 443 are irrelevant.

  6. PAM (Privileged Access Management) primarily aims to secure:

    • A Read-only accounts (auditors, analysts, reporting viewers)
    • B Guest accounts (visitors, contractors, temporary interns)
    • C Standard email accounts (employees, shared mailboxes, aliases)
    • D High-privilege accounts (admin, root, DBA, service accounts)
    Answer and rationale

    Answer : D. High-privilege accounts (admin, root, DBA, service accounts)

    PAM targets the most powerful accounts (admin, root, DBA, service) which are attackers' #1 target. Vault, MFA, session recording and secret rotation are its pillars. Standard/guest/read-only accounts are not the priority.

  7. A service account poses the following risk if poorly managed:

    • A It can never be attacked, since no human knows its password and MFA is enforced: a false comfort
    • B Rarely changed password, often over-privileged and shared across systems: a prime target
    • C It uses too much bandwidth, polling every system it serves at short intervals: a capacity issue
    • D It prevents SSO, since a non-human identity cannot receive a federated assertion: a usability issue
    Answer and rationale

    Answer : B. Rarely changed password, often over-privileged and shared across systems: a prime target

    Service accounts often have static secrets, excessive privileges and no MFA, making them a target (Kerberoasting, pivoting). Best practices: least privilege, rotation, gMSA, vaulting. They absolutely can be attacked.

  8. The 'sudo' command on Linux illustrates a good security principle because it:

    • A Deletes the root account after installation, so no one can ever open a session with full rights
    • B Disables logging for privileged commands, so an attacker cannot learn which tools the admins use
    • C Grants temporary, logged elevation for a specific command, rather than a permanent root session
    • D Permanently grants root to every member of the wheel group, so no password is ever asked again
    Answer and rationale

    Answer : C. Grants temporary, logged elevation for a specific command, rather than a permanent root session

    sudo enforces least privilege and accountability: a one-off, logged elevation for a given command, instead of opening a permanent root session. It does not grant root to all, does not disable logs (it enriches them) and does not delete root.

  9. Pass-the-hash lets an attacker:

    • A Break TLS encryption on the session by reusing the stolen hash as the session key
    • B Authenticate by directly replaying the stolen hash, without knowing the password
    • C Change the system clock so the stolen hash stays valid beyond its expiry
    • D Guess the plaintext password offline from the stolen hash, using a dictionary
    Answer and rationale

    Answer : B. Authenticate by directly replaying the stolen hash, without knowing the password

    Pass-the-hash replays the NTLM hash as-is to authenticate, without cracking it. Defenses: Kerberos, Credential Guard, limiting local admins, unique accounts. It does not guess the password or break TLS.

  10. Phishing, as an identity-compromise vector, is best countered by:

    • A Increasing biometric throughput so logins are faster than any link
    • B Phishing-resistant MFA (FIDO2/WebAuthn) plus user awareness
    • C Disabling encryption on the mail gateway so links can be inspected
    • D A more complex password only (16 chars, four classes, rotation)
    Answer and rationale

    Answer : B. Phishing-resistant MFA (FIDO2/WebAuthn) plus user awareness

    Phishing captures secrets: phishing-resistant MFA (origin-bound FIDO2) prevents using the stolen secret, and awareness reduces clicks. A complex password is still phishable; encryption and throughput are irrelevant.

  11. Why separate a named admin account from the same administrator's daily user account?

    • A To disable MFA on the admin account, since it is used only from the console
    • B To increase throughput: two accounts allow two parallel sessions on the server
    • C To limit exposure: daily browsing/email does not run with elevated privileges
    • D To share admin privileges with a colleague without handing over the named daily account
    Answer and rationale

    Answer : C. To limit exposure: daily browsing/email does not run with elevated privileges

    Using a separate admin account prevents malware received via email/browsing from running with elevated rights: least privilege in action. It has nothing to do with throughput, and is not for disabling MFA or sharing privileges.

  12. To limit pass-the-hash and lateral movement of admin accounts, a good practice is:

    • A Unique local admin passwords per machine (e.g. LAPS), admin tiering and limiting privileged accounts
    • B Disabling authentication logs on workstations so that captured hashes cannot be correlated by the attacker
    • C Granting domain admin to all technicians so that no local admin account needs to exist on any workstation
    • D Reusing the same local admin password everywhere, but rotating it every 30 days through a central GPO
    Answer and rationale

    Answer : A. Unique local admin passwords per machine (e.g. LAPS), admin tiering and limiting privileged accounts

    Unique per-machine local passwords (LAPS), an admin tiering model and fewer privileged accounts prevent a stolen hash from working everywhere. Reusing the password or handing out domain admin drastically worsens lateral movement.

  13. An organization wants to stop a privileged account from using static secrets stored in scripts. The best approach is:

    • A Hard-coding the password in each script, but obfuscating it with Base64 encoding
    • B Centralizing secrets in a PAM vault with dynamic retrieval and automatic rotation
    • C Sharing an encrypted text file of passwords with the operations team, rotated quarterly
    • D Disabling authentication for scripts that run from an allow-listed IP address
    Answer and rationale

    Answer : B. Centralizing secrets in a PAM vault with dynamic retrieval and automatic rotation

    A PAM vault stores secrets centrally, provides them dynamically at runtime and rotates them automatically, eliminating hard-coded secrets. Hard-coding, sharing a file or removing auth drastically worsens the risk.

  14. An administrator renames the built-in Windows Administrator account to "svc_print" to make it less noticeable. A pentester nevertheless finds it immediately. Which attribute gave the account away?

    • A Its membership in the Guest group, left by default
    • B Its password, identical to the one set during install
    • C Its creation date, identical to the domain's own
    • D Its static security identifier (SID), left unchanged
    Answer and rationale

    Answer : D. Its static security identifier (SID), left unchanged

    The course explains that security by obscurity requires more than renaming: the static numeric identifier assigned by the system, the SID on Windows, reveals to the attacker the true nature of a built-in account and must be obscured as well. The password is not visible and does not reveal the account's nature. The creation date does not reliably identify a built-in account. Guest is a separate account, disabled by default, not a group Administrator would belong to.

  15. A CISO proposes renaming all privileged accounts and considering their protection settled. What is the RIGHT exam position?

    • A Default names must be kept for supportability, since vendor tooling and scripts depend on them
    • B Deleting the Guest account is sufficient, since it is the only built-in account attackers enumerate in practice
    • C Renaming is enough, since the attacker can no longer target the account by its name or its static SID
    • D Obscurity is a useful first layer, but never replaces substantive controls (MFA, least privilege)
    Answer and rationale

    Answer : D. Obscurity is a useful first layer, but never replaces substantive controls (MFA, least privilege)

    The course is explicit: reducing the visibility of privileged accounts (renaming, SID) is the first layer of defense, but obscurity is never a sufficient control on its own; it complements substantive controls without replacing them. Believing that renaming prevents all targeting ignores the other revealing attributes. Keeping default names goes against the advice to avoid tying the name to the function. The Guest account is already disabled by default and deleting it does not protect privileged accounts.

  16. An organization realizes it has been compromised through a privilege escalation attack. Which question is VITAL to investigate first?

    • A Which permissions the attacker obtained, and which processes and resources may have been impacted and how
    • B What the CER value of the biometric readers is, and whether a lower threshold would have blocked the attacker
    • C Which antivirus to deploy on workstations, and which signature set would have detected the initial foothold
    • D How many RBAC roles exist in the directory, and which of them should be merged to simplify future reviews
    Answer and rationale

    Answer : A. Which permissions the attacker obtained, and which processes and resources may have been impacted and how

    The course states that when an organization realizes it has been compromised, it is vital to determine which permissions the attacker managed to obtain and which processes and resources may have been impacted: this is what sizes the response. Choosing an antivirus is a generic prevention measure, not a qualification of the incident. The number of RBAC roles and the biometric CER are design parameters unrelated to the scope of an escalation that has already occurred.

  17. Stronger controls (MFA, monitoring) are applied to domain admins and database administrators, but not to users considered "regular". Which trap does this approach contain?

    • A Domain admins do not actually need MFA, since their accounts are already protected by admin tiering
    • B MFA alone prevents any privilege escalation, so monitoring the admins is redundant and should be dropped
    • C Regular users who have aggregated permissions over time escape these controls and become exploitable
    • D Database administrators are never targeted by attackers, who focus on domain admins and service accounts
    Answer and rationale

    Answer : C. Regular users who have aggregated permissions over time escape these controls and become exploitable

    The course warns that because users aggregate permissions over the course of their employment (permission aggregation) while still being considered regular, the stronger controls reserved for privileged accounts are not applied to them, and these accounts can be exploited while escaping monitoring. MFA on domain admins is in fact recommended. MFA reduces the risk but does not prevent every escalation, notably through aggregated accounts. DBAs are cited among prime targets, not as spared.

  18. A security manager wants to break the chain "phishing, regular account, elevation, lateral movement". Which combination of measures is recommended to prevent escalation?

    • A Awareness training and phishing simulations, 2FA, patch and vulnerability management, IDS, IPS and SIEM
    • B Deletion of service accounts, renaming of built-in accounts, firewall hardening and secret rotation
    • C Lengthening of the session timeout, disabling of local admin accounts, email DLP and full-disk encryption
    • D Renaming of privileged accounts only, a strong password policy and an annual review of the domain admins
    Answer and rationale

    Answer : A. Awareness training and phishing simulations, 2FA, patch and vulnerability management, IDS, IPS and SIEM

    Preventing escalation means acting on human, system and process vulnerabilities: security awareness and phishing simulations, 2FA, patch and vulnerability management, and detection and response through IDS, IPS and SIEM. Renaming alone is obscurity, insufficient on its own. Deleting all service accounts would break services without addressing the attack chain. Lengthening the session timeout widens the exploitation window instead of narrowing it.

  19. To guarantee integrity, an organization requires that only trusted processes invoked by trusted subjects modify information assets. Which IAAA pillars does this trust rest on?

    • A Biometric authentication alone, since inherence cannot be delegated to an untrusted process
    • B Identity management, authentication controls and authorization controls combined
    • C Encryption at rest alone, since a ciphered asset cannot be modified unnoticed
    • D Accounting controls taken in isolation, since the audit trail proves every modification
    Answer and rationale

    Answer : B. Identity management, authentication controls and authorization controls combined

    The course describes three pillars for integrity: identity management solutions that create and prove identities and manage their privileges, authentication controls that restrict access to valid identities, and authorization controls that allow trusted identities only the permitted actions with trusted tools. Encryption at rest protects confidentiality and does not decide who may modify. Accounting provides auditable evidence after the fact; it does not prevent modification. Biometrics is only an authentication factor, not a complete modification control.

  20. Which statement CORRECTLY summarizes the relationship between IAAA and CIANA+PS?

    • A Only the authentication function implements CIANA+PS, the other three functions being supporting services
    • B CIANA+PS replaces IAAA in modern systems, since it covers privacy and safety which IAAA never addressed
    • C IAAA only concerns confidentiality, the integrity and availability needs being met by other controls
    • D It is IAAA taken as a whole, not any single function, that materializes CIANA+PS in the system
    Answer and rationale

    Answer : D. It is IAAA taken as a whole, not any single function, that materializes CIANA+PS in the system

    The course concludes that guaranteeing authentic commands, non-repudiation, integrity and the other CIANA+PS needs results from combining the IAAA functions: the whole is what materializes CIANA+PS. Isolating authentication forgets identity management, authorization and accounting, each carrying part of the needs. CIANA+PS is the set of capabilities to achieve, not a substitute for the IAAA that implements them. Reducing IAAA to confidentiality ignores the course's own integrity example, as well as non-repudiation, authenticity, privacy and safety.

  21. A review finds an active service account that requires no authentication method and is associated with no logged-in user. Why is this account a significant risk?

    • A It prevents SSO from working: an account without authentication cannot receive a federated assertion
    • B It necessarily belongs to the Domain Administrators group: every service account is created there by default
    • C No identifiable human owner and no interactive session: an ideal surface for behaving like the system
    • D It needlessly consumes licenses and CPU cycles: an idle account still counts against the directory quota
    Answer and rationale

    Answer : C. No identifiable human owner and no interactive session: an ideal surface for behaving like the system

    The course explains that such accounts, active without authentication and with no associated user, have no identifiable human owner and no interactive session, and often hold unabated access: the ideal surface for anyone wanting to behave like the system, precisely the link an escalation targets. License consumption is not a security issue raised. A service account does not interfere with SSO. Its membership in Domain Administrators is not automatic; the risk stems from its often oversized privileges, not from a given group.

Key takeaways

  • The access review must include privileged accounts (administrator, sudo, root), highly coveted as the attacker's holy grail.
  • Security by obscurity requires renaming the account AND obscuring attributes; otherwise the static SID betrays the function.
  • Windows SIDs to obscure: Administrator, Default Account, Guest, Domain Administrators.
  • Vertical escalation (privilege elevation) = running at a higher permission level; frequent stepping stone: phishing.
  • Horizontal escalation = lateral movement: discovering and accessing other resources, more technical sophistication.
  • Prevention: awareness training, phishing simulations, 2FA, ongoing patch/vuln mgmt, IDS/IPS/SIEM.
  • Trap: a regular user with aggregated permissions escapes the hardened controls reserved for privileged accounts.
  • IAAA (identity, authentication, authorization, accounting) implements CIANA+PS; accounting underpins non-repudiation.
  • Integrity requires that only trusted processes, invoked by trusted subjects, modify assets.
  • Service accounts are often oversized and sometimes unauthenticated: apply least privilege.
Module 9 Objective F 120 min Advanced

Authentication systems: Kerberos, SAML, OAuth/OIDC, RADIUS/TACACS+, LDAP/AD

Prerequisites : M2 (identity store and identity proofing) and M5 (single sign-on and federation).

Access controls have been implemented in many ways. Some originated from proprietary vendor designs that later went open source or were licensed; others started from open-source implementations based on published standards. What the systems that have lasted have in common is their ability to adapt and improve in the face of an evolving threat landscape. Whatever the approach, they all deliver the same basic functions expected of an integrated identity management and access control system, and all are closely tied to the notion of session.

This module reviews the authentication methods in use, from the simple username/password pair to MFA and modern centralized methods. Linux- or Unix-based infrastructures often combine Kerberos and LDAP; Microsoft infrastructures rely almost invariably on Active Directory. Most of these products are platform-agnostic and OS-agnostic, and almost all use the X.500 Directory Access Protocol or a variant of it.

By the end of the module, you will be able to situate each protocol on the authentication vs authorization axes, distinguish RADIUS from TACACS+, explain the Kerberos ticket flow (TGT then ST), describe the SAML and OAuth/OIDC roles, and reason about the responsibility model of an IDaaS offering.

Learning objectives

  • Distinguish RADIUS (UDP, combined AAA, lightweight, EAP, roaming) from TACACS+ (TCP, separated AAA, encrypted packets)
  • Explain LDAP (X.500, DN, attributes, bind) and the role of Active Directory (AD DS, domain controller, AD FS)
  • Differentiate OAuth 2.0 (authorization) from OpenID Connect (authentication) and name the claims of an ID token
  • Describe the Kerberos flow: KDC = AS + TGS, TGT then ST, symmetric encryption, time sensitivity (NTP)
  • Present the 3 roles and 4 components of SAML and the web SSO sequence
  • Analyze an IDaaS offering through in-house vs third-party and on-premises vs cloud vs hybrid

Success criteria

  • Match a given protocol to the correct pair (transport, AAA separation) without error
  • Identify OAuth as an authorization protocol and OIDC as an authentication layer
  • Reconstruct the Kerberos order AS → TGT → TGS → ST → resource for a given access
  • Name at least four claims of an OIDC ID token (sub, iss, aud, iat, exp)
  • Choose the protocol suited to federating existing accounts (CIAM self-provisioning)
  • Explain that the ultimate responsibility for IDaaS stays with the client organization

9.1 Early concepts: from password to MFA, Linux vs Microsoft

Access lifecycle Identification, Authentication, Authorization, Accountability
Figure 9.1 · Authentication systems implement the IAAA lifecycle; each protocol in this module covers one or more of its phases.

Several authentication methods coexist today, from a simple username/password pair to MFA, up to the most complex modern centralized methods. Some, like RADIUS, may look legacy but remain very much in use in the marketplace. The choice of stack largely depends on the ecosystem: Linux- or Unix-based infrastructures often combine Kerberos and LDAP, while Microsoft-centric infrastructures almost invariably rely on Active Directory.

Most of these products are, to varying degrees, platform-agnostic and OS-agnostic: they support almost any device or network system able to speak their protocol. A structuring point for the exam: nearly all of them use the ITU-T X.500 Directory Access Protocol, or a variation of it. LDAP is its lightweight heir adapted to the IP suite, and Active Directory builds on LDAP.

This module therefore covers a coherent family: directories (LDAP, AD), network AAA protocols (RADIUS, TACACS+), ticket-based authentication (Kerberos), and modern federation/delegation (SAML, OAuth, OIDC). All are bound to the session concept seen in M3.

Key terms X.500 MFA Platform-agnostic Kerberos + LDAP Active Directory
Key points
  • Methods from simple username/password to MFA and centralized systems
  • Linux/Unix = Kerberos + LDAP; Microsoft = Active Directory
  • Nearly all systems derive from the X.500 Directory Access Protocol
  • These products are largely platform-agnostic and OS-agnostic

9.2 RADIUS and TACACS+: network AAA protocols

Diagram of authentication, authorization and accounting phases
Figure 9.2 · RADIUS combines the AAA functions while TACACS+ separates them into distinct authentication, authorization, and accounting.

RADIUS (Remote Authentication Dial-In User Service) originated in the early 1990s to authenticate dial-up customers and long served classical remote access. When queried by a client supplying candidate credentials, a RADIUS server replies with an Access-Accept, Access-Reject, or Access-Challenge message. This lightweight structure allows fast, simple authentications when possible, or a move to MFA and challenge-response dialogs when required. RADIUS supports extensions such as EAP (Extensible Authentication Protocol) and its many variations, and it provides support for roaming users and devices.

TACACS (Terminal Access Controller Access Control System) grew out of the need to automate authentication of remote users at the Department of Defense. By 1984 it saw widespread use on Unix servers; in 1990 Cisco developed a proprietary version, Extended TACACS (XTACACS). Neither TACACS nor XTACACS were open standards, and they are largely replaced today, though you may still see them on older systems.

TACACS+ is an entirely new protocol based on some concepts of TACACS, also developed by the DoD then enhanced and marketed by Cisco. It splits authentication, authorization, and accounting into separate functions, giving administrators greater control and visibility over each. It uses TCP for a higher-quality connection and encrypts its packets to and from the TACACS+ server. It defines policies based on user type, role, location, device type, or time of day, integrates well with Active Directory and LDAP (useful for SSO), and offers stronger command logging and central management to meet the network's AAA needs.

Key terms RADIUS Access-Challenge EAP XTACACS TACACS+ Command logging
Key points
  • RADIUS: lightweight, Access-Accept/Reject/Challenge, EAP, roaming, 1990s
  • TACACS/XTACACS: DoD then Cisco, proprietary, largely replaced
  • TACACS+: new protocol, splits A/A/A, TCP, encrypted packets
  • TACACS+: policies by type/role/location/time, integrates AD/LDAP

9.3 LDAP and Active Directory: directory services

Diagram of a directory authenticating and authorizing subjects
Figure 9.3 · LDAP and Active Directory authenticate (bind, credentials) then authorize actions, covering the first phases of the IAAA lifecycle.

LDAP (Lightweight Directory Access Protocol) is a directory service based on the ITU-T X.500 Directory Access Protocol standard, designed to leverage the IP suite that evolved after X.500 was adopted. It is often compared to an old-fashioned telephone directory: an LDAP server holds information about users in a directory tree, and clients query it for details. Large enterprises maintain replicated LDAP servers at various points of the network for quick response.

Each entry in the LDAP tree is a collection of information about an object, pointed to by a unique identifier called a Distinguished Name (DN): the DN represents the complete path in the tree to the desired entry. Named component parts called attributes hold the entry's data (phone numbers, physical, postal, and email addresses). LDAP can also authenticate credentials via the bind command: in the simplest case, bind checks the candidate password against the user's password attribute and returns a success code or the error invalid credentials.

Microsoft's Active Directory, developed for Windows domain networks, uses LDAP versions 2 and 3. It is a proprietary directory service. A server running Active Directory Domain Services (AD DS), called a domain controller, authenticates users and authorizes actions, verifies their credentials and defines their access rights. AD DS provides structured hierarchical data storage for users, printers, and services. On a larger, multinetwork or multienterprise scale, Active Directory Federation Services (AD FS) can share information between trusted partners and provide SSO to federated partners, just as other FIM systems do.

Key terms Distinguished Name bind Attributes AD DS Domain controller AD FS
Key points
  • LDAP derives from X.500; replicated tree directory, client queries
  • DN = full path; attributes = data; bind authenticates a password
  • Proprietary Active Directory uses LDAP v2/v3, authenticates and authorizes
  • AD FS brings federated SSO to trusted partners

9.4 OAuth 2.0 and OpenID Connect: authorization and authentication

OAuth 2.0 flow and OIDC layer with ID token and claims
Figure 9.4 · OAuth 2.0 delegates access via an authorization token; OIDC adds an authentication layer delivering an ID token carrying claims.

OAuth 2.0 is itself an authorization protocol. With it, a client application can request access to a protected resource from the entity that owns it. The request goes to an authorization server, which must authenticate the owner, validate the request, obtain authorization from the resource owner, then relay an authorization token to the resource server hosting the protected resource. Its four components are the resource owner (the user), the client application, the authorization server, and the resource server.

OpenID Connect (OIDC) is an implementation on top of the OAuth 2.0 authorization framework: it is an authentication layer. The RP (relying party) is an OAuth 2.0 application requesting an ID token from an OpenID Connect Provider (OP). The token's fields contain data called claims about the user (the subject, or sub, identified by a locally unique identifier) and about the timing of the authentication event: issued at time (iat) and expiration time (exp). The token also contains the issuer identifier (iss) of the OP and the client identifier (audience, or aud) registered for the RP at the issuer. Claims can carry more information, such as first_name, last_name, and so on.

One way to view this extension of OAuth 2.0: OpenID Connect effectively allows an application to request authorization to authenticate a user. Where SAML specifically relays requests from a website, OIDC can effect authentication with either a website or a mobile application as the requester. This is the key exam discrimination: OAuth = authorization (delegate access), OIDC = authentication (prove who the user is).

Key terms OAuth 2.0 Authorization server Resource owner OIDC ID token Claims
Key points
  • OAuth 2.0 = authorization; 4 components, the user = resource owner
  • Authorization server authenticates the owner and relays a token to the resource server
  • OIDC = authentication layer over OAuth; RP requests an ID token from an OP
  • Key claims: sub, iss, aud, iat, exp (plus first_name/last_name)
  • OIDC works with website OR mobile; SAML relays from a website

9.5 Kerberos: KDC, TGT and service ticket

Kerberos ticket exchange between principal, KDC (AS and TGS) and resource
Figure 9.5 · Figure 5.12: the AS authenticates the principal and issues a TGT, the TGS exchanges the TGT for an ST, and the resource grants access after decrypting the ST.

The name Kerberos comes from Greek mythology: it is the three-headed dog that guarded the entrance to Hades. The Kerberos system guards a network with three elements: authentication, authorization, and auditing. It is essentially a network authentication protocol designed to provide strong authentication for client/server applications using secret key cryptography (symmetric encryption). It relies on the interaction of three systems: the requesting system (the principal), the destination endpoint server (where the application or resource resides), and the Key Distribution Center (KDC). A principal is any entity interacting with the Kerberos server (workstation, application, service). The KDC serves two functions, authentication server (AS) and ticket-granting server (TGS), and maintains a database of secret keys for all principals.

Principals have a preregistered account with a secret key in the KDC. When a principal is added to the realm, it is provided a realm key for initial trusted communications; for a user, Kerberos commonly uses a hash of the password as the user key. Once incorporated, the user is authenticated by the AS, which returns an authentication ticket (TGT) passed blindly to the TGS. Possession of the TGT proves the client completed authentication and has the right to request a service/session ticket (ST). The TGT is encrypted with a key shared only by AS and TGS. The TGS decrypts it, then creates an ST encrypted with a different key. STs are valid longer, typically eight to ten hours, after which the user must reauthenticate. Once the TGT is issued, no further password use occurs: when a resource needs access, it requests a copy of the ST, encrypted with a key known only to the TGS and the resource; if the resource decrypts the ST, access is granted.

Key ticket points and limits: the analogy is the passport (the TGT certifies you are a legal citizen but does not grant entry to another country). Tickets are stored in the Kerb Tray, a non-pageable memory area. Kerberos is extremely time-sensitive and often requires NTP daemons: desynchronization causes authentication failures, an attractive DoS vector. Its primary goal is private communications between systems; however, Kerberos provides no secure mechanism for transmitting data, which would require IPSec or MACSec. Its drawbacks: the KDC is a single point of failure (mitigated by multiple KDCs; in AD DS, all domain controllers are KDCs, removing the SPOF), the KDC must be physically secured, key length is critical (too short = brute force, too long = overload), and the Achilles' heel remains that encryption is ultimately based on passwords, hence vulnerable to password-guessing.

Key terms KDC TGT Service ticket Principal Realm key NTP Single point of failure
Key points
  • Kerberos: 3 elements (authentication, authorization, auditing), symmetric encryption
  • KDC = AS + TGS and secret-key database; principal, endpoint server
  • AS issues the TGT (right to request); TGS issues the ST (access), valid 8 to 10 h
  • Highly time-sensitive (NTP); desync = auth failure = DoS vector
  • Kerberos does not transmit data securely: needs IPSec/MACSec
  • Drawbacks: KDC = SPOF (mitigated by multiple KDCs/AD), key length, password-guessing

9.6 SAML and IDaaS: XML federation and identity as-a-service

SAML web SSO flow in eight steps between SP, user agent and IdP
Figure 9.6 · Figure 5.13: SAML web browser SSO, where the service provider redirects the user agent to the IdP, which authenticates then returns an assertion opening access to the resource.

SAML (Security Assertion Markup Language) defines an XML-based framework to describe and exchange security information between online business relationships. This information is carried by SAML assertions that work across trust domain boundaries. SAML has three roles: the IdP (identity provider), the SP/RP (service provider or relying party), and the user agent. It rests on four components: Assertions (how attribute, authentication, and authorization request-response messages are exchanged), Bindings (how assertions and message exchanges are conducted as request-response pairs), Protocols (which protocols are used, including SOAP and HTTP), and Profiles (the use cases combining assertions, bindings, and protocols for a specific functional need). Figure 5.13 illustrates web browser SSO support in eight numbered steps between the service provider, the user agent, and the identity provider.

On the audit and compliance reporting side, identity-as-a-service (IDaaS) became widespread: Gartner and others defined it as a predominantly cloud-based service, multi-tenant or dedicated hosted, mixing identity management, provisioning, governance, and administration. Functions fall into three families: Identity governance and administration (IGA) - provisioning identity into cloud systems, managing privileges, password reset; Access - real-time authentication of users and devices (SSO), authorization, federation support via SAML or OAuth; Intelligence - logging, monitoring, reporting, and alerting, which is the accounting of AC systems.

More and more security services are delivered as-a-service. To clarify often muddled terminology, focus on two determinants. First, who employs (and hires/fires) the administrators doing the IAM tasks: in-house management (direct employees) or third-party management (via SLA and contract with an outside organization). Second, where the systems and AAA databases are physically hosted: on-premises (at your facilities), cloud-hosted (public, private, or hybrid cloud), or hybrid (a mix of on-premises and cloud, quite common). Vendors are not always precise in naming their services; remember the essential: the bottom-line responsibility for the correct use of these services remains with your organization's leadership, whether the people are in-house or third-party, on-premises or in the cloud. Do not lose sight of this.

Key terms SAML Assertions User agent IDaaS IGA Intelligence
Key points
  • SAML: XML framework, 3 roles (IdP, SP/RP, user agent), assertions across trust domains
  • 4 SAML components: Assertions, Bindings, Protocols (SOAP/HTTP), Profiles
  • SAML web SSO in 8 steps (Figure 5.13)
  • IDaaS: IGA, Access, Intelligence (=accounting), predominantly cloud
  • Two determinants: in-house vs third-party (SLA), on-premises vs cloud vs hybrid
  • Bottom-line responsibility stays with your organization

Case studies

Case · Guided activity

Activity 5.6: OAuth vs OpenID Connect

Context : During a discussion about the suitability of different protocols within Aeros 3, Tamika's team raises a few clarifying questions about OAuth versus OpenID Connect. The group wants to understand each actor's role and know when to prefer one over the other.

Question : Considering the four components of OAuth, what part does the user play? Give examples of OAuth use, then OpenID Connect use. What opportunities and challenges arise for organizations transitioning to OpenID or OAuth?

Topics covered Resource ownerOAuth vs OIDCToken managementFederated sign-in
Show analysis and answer

First, the user is the resource owner. When an application tries to access a protected resource, it is the user who decides to allow or deny access. This is the point that anchors OAuth as an authorization protocol: access is delegated on behalf of the resource owner.

Second, the examples. OAuth: automatically sourcing contacts from a phone's contact list or via social media apps, or using a third-party mobile application to connect to multiple bank accounts. OpenID Connect: signing into TripAdvisor (or a similar site) using Gmail credentials. The nuance is clear: OAuth delegates access to data, OIDC proves identity for a sign-in.

Third, opportunities and challenges. In short, they lie in security and usability. Both OpenID Connect and OAuth use tokens, so token management can become an issue. And if authentication fails, it can be difficult to identify which component failed, which complicates diagnosis.

Takeaway : The user is the resource owner; OAuth delegates access, OIDC authenticates; both rely on tokens whose management and failure diagnosis are the real challenges.

Key learning points
  • In OAuth, the user is the resource owner who allows or denies
  • OAuth = access delegation (contacts, third-party bank accounts)
  • OIDC = federated authentication (TripAdvisor sign-in via Gmail)
  • Token management and failure diagnosis are the main challenges
Exam pitfall

OAuth (authorization) vs OIDC (authentication)

The most frequent 5.6 trap: OAuth 2.0 is an authorization protocol, it delegates access to a resource on behalf of the resource owner. OpenID Connect is an authentication layer over OAuth that issues an ID token proving who the user is. If the question is about proving identity or sign-in (logging into a site with your Google account), the answer is OIDC; if it is about granting an application access to data (contacts, bank accounts), the answer is OAuth. Memory hook: OIDC lets an application request authorization to authenticate a user.

Exam pitfall

TGT vs ST: passport vs visa

In Kerberos, do not confuse the TGT and the ST. The TGT (authentication ticket) only proves you completed authentication and grants you the right to request a service/session ticket; it is the passport analogy, certifying your citizenship but not letting you enter another country. The ST (service/session ticket) is what opens actual access to a resource, after the resource decrypts the ST, and it is typically valid eight to ten hours. On the exam: who issues what? The AS issues the TGT, the TGS issues the ST, and both live in the same KDC.

Exam pitfall

RADIUS vs TACACS+ and Kerberos time sensitivity

Two classic discriminations. First RADIUS vs TACACS+: RADIUS is lightweight, combines the AAA functions, and replies with Access-Accept/Reject/Challenge; TACACS+ uses TCP, separates authentication, authorization, and accounting into distinct functions, and encrypts its entire packets (RADIUS historically encrypts only the password). If the question stresses AAA separation, fine command logging, or packet encryption, it is TACACS+. Then Kerberos: it is extremely time-sensitive and relies on NTP; a clock desynchronization causes authentication failures, making it an attractive DoS vector. Remember too that Kerberos does not secure transmitted data (you need IPSec or MACSec) and that its KDC is a single point of failure mitigated by multiple KDCs.

Checkpoint : Authentication systems: Kerberos, SAML, OAuth/OIDC, RADIUS/TACACS+, LDAP/AD

  1. An online retailer wants CIAM enabling self-provisioning and simple enrollment, letting customers reuse existing accounts. Which protocol fits best?

    • A SAML to integrate a self-enrollment web-service with Active Directory
    • B OAuth to federate existing accounts
    • C A separate LDAP implementation for customers
    • D A helpdesk supporting each user through enrollment
    Answer and rationale

    Answer : B. OAuth to federate existing accounts

    OAuth is commonly used to let users reuse existing credentials (for example authorizing access via a social media account), which serves CIAM self-provisioning perfectly. A dedicated LDAP would work but is not optimal; SAML to AD could work but stays non-optimal; a dedicated helpdesk supports neither the targeted simplicity nor self-provisioning (Check 5.6).

  2. In the OAuth 2.0 flow, which role authenticates the owner, validates the request, and relays a token to the resource server?

    • A Service provider (SP)
    • B Key distribution center
    • C Relying party (RP)
    • D Authorization server
    Answer and rationale

    Answer : D. Authorization server

    It is the authorization server that authenticates the owner, validates the request, obtains authorization, and relays the token to the resource server. Relying party and service provider are SAML roles (and RP is also on the OIDC side), and the KDC belongs to Kerberos (Quiz Q9).

  3. In Kerberos, what are the two functions performed by the KDC?

    • A Authentication server (AS) and ticket-granting server (TGS)
    • B Domain controller (DC) and federation service (ADFS)
    • C Identity provider (IdP) and SAML service provider (SP)
    • D Resource owner (RO) and protected resource server (RS)
    Answer and rationale

    Answer : A. Authentication server (AS) and ticket-granting server (TGS)

    The KDC performs two functions: authentication server (AS), which authenticates the principal and issues the TGT, and ticket-granting server (TGS), which exchanges the TGT for an ST. The other pairs belong to SAML, OAuth, or Active Directory.

  4. A Kerberos user holds a valid TGT but has no ST yet for the target server. What does this situation mean?

    • A His authentication failed and he must restart the exchange with the AS
    • B He may request access to the resource, but actual access is not yet granted
    • C He already has access to all resources in the realm, the ST being optional
    • D The KDC is down, so the TGS could not issue the target's service ticket
    Answer and rationale

    Answer : B. He may request access to the resource, but actual access is not yet granted

    The TGT alone does not grant access: it only allows requesting an ST, like a passport certifying citizenship without granting entry to another country. Actual access comes only with an ST decrypted by the resource.

  5. Which statement correctly distinguishes OAuth 2.0 from OpenID Connect?

    • A Both are equivalent authentication protocols, differing only in their token format
    • B OAuth is an authentication layer; OIDC is an authorization protocol built on top of SAML
    • C OAuth is an authorization protocol; OIDC is an authentication layer on top of OAuth
    • D OAuth issues ID tokens with claims; OIDC issues authorization tokens with scopes
    Answer and rationale

    Answer : C. OAuth is an authorization protocol; OIDC is an authentication layer on top of OAuth

    OAuth 2.0 is an authorization protocol (delegating access); OIDC is an authentication layer built on top of OAuth that issues an ID token carrying claims. The ID token (sub, iss, aud, iat, exp) belongs to OIDC, not to OAuth.

  6. Kerberos is particularly sensitive to clock skew because:

    • A Tickets are timestamped; too large a skew (beyond the ~5 min tolerance) gets them rejected
    • B It encrypts using the current date as the session key; a wrong clock derives a different key
    • C NTP replaces the password; a client whose clock is not NTP-synced cannot prove its identity
    • D The clock acts as the principal's identifier; a wrong time maps the user to another entry
    Answer and rationale

    Answer : A. Tickets are timestamped; too large a skew (beyond the ~5 min tolerance) gets them rejected

    Kerberos uses timestamps to counter replay and tolerates a limited skew (~5 min by default). Without NTP, valid tickets are rejected or expired tickets wrongly accepted. The date is neither a key nor a password.

  7. A Kerberos realm is:

    • A A network protocol carrying tickets between KDCs
    • B An encryption type negotiated for each ticket
    • C A file server hosting the tickets of the domain
    • D An authentication domain managed by a single KDC
    Answer and rationale

    Answer : D. An authentication domain managed by a single KDC

    A realm = Kerberos logical domain. Cross-realm trust enables authentication between different realms.

  8. Kerberoasting specifically targets:

    • A Expired X.509 certificates still trusted by the domain, replayed to obtain a session
    • B NTLM hashes in memory on a workstation, dumped with LSASS and replayed on the network
    • C Kerberos service tickets encrypted with a service account's hash, cracked offline
    • D Web session cookies of domain users, stolen from the browser and replayed on the server
    Answer and rationale

    Answer : C. Kerberos service tickets encrypted with a service account's hash, cracked offline

    Kerberoasting requests service tickets (encrypted with the service account's hash) then cracks that hash OFFLINE to recover the service account password. It is not in-memory NTLM, cookie theft or a certificate issue.

  9. The 'Golden Ticket' in an Active Directory attack consists of:

    • A Forging an arbitrary Kerberos TGT using the compromised krbtgt account hash
    • B Stealing the web session cookie of an administrator logged into the AD console
    • C Intercepting an SMS OTP using a SIM swap on the domain administrator's number
    • D Guessing the domain administrator's password by dictionary against the KDC
    Answer and rationale

    Answer : A. Forging an arbitrary Kerberos TGT using the compromised krbtgt account hash

    With the krbtgt account hash (obtained by compromising a DC), the attacker forges valid TGTs for any user/duration: full domain control. Defense: double krbtgt reset, DC protection. It is not cookie, dictionary or OTP.

  10. SAML exchanges its identity assertions in the format:

    • A JSON Web Token (JWT)
    • B XML
    • C CSV
    • D Proprietary binary
    Answer and rationale

    Answer : B. XML

    SAML (Security Assertion Markup Language) relies on XML assertions, oriented toward enterprise web SSO. JWT is used by OIDC/OAuth, not SAML. CSV and proprietary binary are not SAML formats.

  11. The three roles defined by SAML are:

    • A Client (browser), reverse proxy (gateway), application server
    • B Authentication Service (AS), Ticket Granting Service (TGS), client
    • C Principal (user), Identity Provider (IdP), Service Provider (SP)
    • D Resource Owner (user), Client (app), Authorization Server
    Answer and rationale

    Answer : C. Principal (user), Identity Provider (IdP), Service Provider (SP)

    SAML defines the Principal (the user), the IdP (which authenticates/issues the assertion) and the SP (which consumes). AS/TGS are Kerberos; Resource Owner/Authorization Server are OAuth roles.

  12. Which statement correctly distinguishes SAML and OAuth 2.0?

    • A They are strictly interchangeable; both carry XML assertions for authentication and SSO
    • B SAML is mainly authentication/SSO; OAuth 2.0 is authorization (access delegation)
    • C SAML is an encryption protocol for assertions; OAuth 2.0 is a directory access protocol
    • D Both only do authorization; SAML delegates access via assertions, OAuth 2.0 via tokens
    Answer and rationale

    Answer : B. SAML is mainly authentication/SSO; OAuth 2.0 is authorization (access delegation)

    SAML carries authentication and web SSO (XML assertions); OAuth 2.0 delegates authorization (access tokens) without authenticating per se. They are neither encryption, nor interchangeable, and OAuth alone does not authenticate.

  13. In an OIDC ID token, the 'claims' refer to:

    • A Firewall rules carried in the token (e.g. src=source, dst=destination, port=allowed port)
    • B Audit log entries carried in the token (e.g. ts=timestamp, src=source IP, act=action)
    • C Private keys embedded in the token (e.g. kid=key identifier, k=secret value, alg=cipher)
    • D Assertions about the user and the token (e.g. sub=identifier, iss=issuer, exp=expiry)
    Answer and rationale

    Answer : D. Assertions about the user and the token (e.g. sub=identifier, iss=issuer, exp=expiry)

    Claims are JWT fields describing the user and context: sub (subject), iss (issuer), aud (audience), iat/exp (issued/expiry). They are neither firewall rules, nor keys, nor logs.

  14. In the OAuth 2.0 flow, the 'Resource Owner' is:

    • A The third-party application requesting access to the protected resource
    • B The server issuing the tokens after the user has given consent
    • C The server hosting the resource and validating the received access token
    • D The user who owns the resource and consents to delegate access to it
    Answer and rationale

    Answer : D. The user who owns the resource and consents to delegate access to it

    The Resource Owner is the end user who owns the data and grants (or denies) consent. The Client is the third-party app, the Resource Server hosts, the Authorization Server issues the tokens.

  15. RADIUS, as an AAA protocol, has the following characteristic:

    • A It encrypts only the password (originally UDP) and combines authentication and authorization
    • B It is Cisco-proprietary (originally TCP) and requires a Cisco NAS to perform the accounting
    • C It encrypts the entire packet (originally TCP) and separates authentication and authorization
    • D It works only locally, without a network: the NAS validates the credentials in its own database
    Answer and rationale

    Answer : A. It encrypts only the password (originally UDP) and combines authentication and authorization

    RADIUS (standard, originally UDP) encrypts only the password and combines authentication+authorization. It is TACACS+ (Cisco, TCP) that encrypts the whole payload and separates the three A's. RADIUS is not proprietary.

  16. Compared to RADIUS, TACACS+ stands out by:

    • A Using TCP, encrypting the whole payload and separating Authentication, Authorization and Accounting
    • B Being limited to wireless authentication, with 802.1X as the only transport it can carry over
    • C Not supporting accounting, so a separate syslog server must record the sessions it authorizes
    • D Using UDP, encrypting only the password and combining Authentication and Authorization in one exchange
    Answer and rationale

    Answer : A. Using TCP, encrypting the whole payload and separating Authentication, Authorization and Accounting

    TACACS+ (Cisco) uses TCP, encrypts the entire payload and separates the three A's (per-command granularity), making it favored for network device administration. Encrypting only the password is RADIUS's behavior.

  17. LDAP is primarily used to:

    • A Query and modify a hierarchical identity directory (e.g. Active Directory)
    • B Generate OTPs from a seed stored in the identity directory (e.g. Active Directory)
    • C Route IP packets between the segments of a hierarchical network (e.g. OSPF areas)
    • D Encrypt web traffic between the browser and the directory (e.g. Active Directory)
    Answer and rationale

    Answer : A. Query and modify a hierarchical identity directory (e.g. Active Directory)

    LDAP (Lightweight Directory Access Protocol) is used to query/update a hierarchical identity directory such as Active Directory. It does not encrypt the web, route IP or generate OTPs.

  18. In an LDAP directory, the Distinguished Name (DN) is:

    • A The user's password stored in the entry (e.g. userPassword={SSHA}base64 digest)
    • B The unique path identifying an entry in the tree (e.g. cn=Sue,ou=HR,dc=corp,dc=com)
    • C A Kerberos ticket issued for the entry (e.g. krbtgt/CORP.COM@CORP.COM, 10h validity)
    • D A firewall rule attached to the entry (e.g. allow tcp/389 from 10.0.0.0/8 to the DC)
    Answer and rationale

    Answer : B. The unique path identifying an entry in the tree (e.g. cn=Sue,ou=HR,dc=corp,dc=com)

    The DN uniquely identifies an entry by its full path in the tree (cn, ou, dc...). It is neither a password, a rule, nor a ticket. The DN is used notably during bind.

  19. The LDAP 'bind' operation consists of:

    • A Deleting an entry from the directory (removing the DN and its attributes, often after offboarding)
    • B Replicating a domain controller (copying the tree to a second server, often over LDAPS)
    • C Encrypting a directory database (protecting the attributes at rest, often with AES-256 and an HSM key)
    • D Authenticating to the directory (establishing a session with an identity, often DN + password)
    Answer and rationale

    Answer : D. Authenticating to the directory (establishing a session with an identity, often DN + password)

    Bind authenticates the client to the LDAP directory (simple bind = DN + password, or anonymous). It is not a deletion, encryption or replication. Anonymous bind should be restricted for security.

  20. ADFS (Active Directory Federation Services) is used to:

    • A Replace the perimeter firewall with identity-based filtering at the AD border (TCP/UDP/ICMP)
    • B Scan AD for vulnerabilities and misconfigurations via its own agents (LDAP/Kerberos/SMB)
    • C Extend AD identity to external applications via federation (SAML/WS-Federation/OIDC)
    • D Generate backups of the AD database and restore it in case of corruption (NTDS/SYSVOL)
    Answer and rationale

    Answer : C. Extend AD identity to external applications via federation (SAML/WS-Federation/OIDC)

    ADFS acts as an IdP that federates Active Directory identity to external SPs (SaaS) via SAML, WS-Federation or OIDC, enabling SSO. It does not replace a firewall, back up or scan.

  21. In Active Directory, a compromised domain controller is critical because it:

    • A Serves only as a print and file server, but hosts the team shared folders
    • B Has no link to Kerberos, so the attacker must still compromise the KDC separately
    • C Holds the domain's identity store and authentication secrets (e.g. hashes)
    • D Holds no sensitive data itself, but relays every logon request to the cloud IdP
    Answer and rationale

    Answer : C. Holds the domain's identity store and authentication secrets (e.g. hashes)

    The DC hosts the directory and secrets (including the krbtgt account, basis of Kerberos): compromising it allows forging tickets and taking over the whole domain. It is anything but trivial and is central to Kerberos.

Key takeaways

  • Linux/Unix = Kerberos + LDAP; Microsoft = Active Directory; nearly everything derives from X.500.
  • RADIUS: lightweight, combined AAA, Access-Accept/Reject/Challenge, EAP, roaming; TACACS+: TCP, separated AAA, encrypted packets, command logging.
  • LDAP: DN = full path, attributes, bind authenticates a password; AD DS on a domain controller, AD FS = federated SSO.
  • OAuth 2.0 = authorization, user = resource owner, authorization server relays a token; OIDC = authentication, RP requests an ID token from an OP.
  • OIDC claims: sub, iss, aud, iat, exp (plus first_name/last_name); OIDC works with a website or mobile.
  • Kerberos: KDC = AS + TGS, symmetric encryption; AS issues the TGT (right to request), TGS issues the ST (access), valid 8 to 10 h.
  • Kerberos is highly time-sensitive (NTP); does not secure transmitted data (IPSec/MACSec); KDC = SPOF mitigated by multiple KDCs.
  • SAML: XML framework, 3 roles (IdP, SP/RP, user agent), 4 components (Assertions, Bindings, Protocols SOAP/HTTP, Profiles).
  • IDaaS: IGA, Access, Intelligence (=accounting); in-house vs third-party (SLA), on-premises vs cloud vs hybrid.
  • The bottom-line responsibility for IDaaS stays with your organization, whatever the actors and hosting.

Domain summary

IAM sits at the heart of maintaining information security: it is a critical component of an organization's overall security posture. Effective IAM practices ensure that only authorized individuals can access sensitive information and resources, while preventing unauthorized access and ensuring that access is granted through organizationally determined policies and procedures. IAM rests on four key components: identification (identifying users and their associated roles and privileges), authentication (verifying identity through passwords, biometrics or other methods), authorization (granting access based on role and level of privilege) and accountability (tracking and monitoring access to ensure it remains appropriate).

Several technologies and processes are used to implement IAM: access controls restrict access based on user identity and level of privilege; identity and access management systems manage the entire process (user provisioning, access management, monitoring); single sign-on (SSO) solutions let users reach multiple systems with a single set of credentials, improving efficiency and reducing the risk of unauthorized access. IAM also involves policies and procedures that support the organization's overall security posture: the creation and management of access control policies, and procedures for managing user access and removing access when necessary.

Finally, IAM carries legal and regulatory considerations, such as the General Data Protection Regulation (GDPR) and the Health Insurance Portability and Accountability Act (HIPAA), which require organizations to protect the privacy and security of personal information. To protect information, physical and logical access controls are implemented so that access to assets is managed and secure. The essential elements of an access provisioning life cycle include the full range of system management related to people, devices and resources; identification, authentication and authorization ensure that the right users access the system and that resource usage remains correct.

Glossary (Terms & Definitions)

The key Domain 5 terms, to master in English for the exam.

TermDefinition
Access Control SystemMeans to ensure that access to assets is authorized and restricted based on business and security requirements for logical and physical systems.
Access Control TokensCredentials (hardware or software); the system grants or denies access based on token validity at the read point (time, date, day, condition). Supports MFA.
AccountingAccess control process that records information about all access attempts by all identities to system resources. See authentication, authorization.
AuthenticationProcess that validates a claimed identity by comparing one or more identification factors (something you are, have, know). SFA uses one; MFA two or more.
AuthorizationProcess of defining the specific resources a user needs and determining the type of access to those resources the user may have.
IdentificationClaiming a unique identity (username, ID) to the system; the first step before authentication.
IAAAAccess control model: Identification, Authentication, Authorization, Accounting (sometimes Auditing/Accountability).
Crossover Error Rate (CER)Point where FAR (Type 2) equals FRR (Type 1) for a given sensor; FAR and FRR vary inversely with sensitivity, CER measures biometric quality (lower is better).
False Acceptance Rate (FAR / Type 2)Incorrectly authenticating a claimed identity as legitimate and granting access on that basis. The more security-critical error.
False Rejection Rate (FRR / Type 1)Incorrectly denying authentication to a legitimate identity, thus denying it access. Affects usability.
Type 1 Authentication Factor (something you know)Knowledge factor: password, PIN, passphrase, answers to challenge questions.
Type 2 Authentication Factor (something you have)Possession factor: hardware token, smart card, smartphone, OTP, FIDO key.
Type 3 Authentication Factor (something you are)Inherence factor: a biometric characteristic (fingerprint, iris, face, voice).
BiometricsAuthentication via physiological or behavioral traits; subject to FAR/FRR/CER and enrollment. Additional factors: something you do, somewhere you are, some time you are.
Fingerprint BiometricReads fingerprint minutiae; common and low-cost, vulnerable to spoofing.
Iris vs Retina ScanIris: colored patterns, highly accurate, low CER, contactless. Retina: ocular blood vessels, accurate but intrusive and reveals health data.
Facial RecognitionAnalyzes facial geometry; contactless but sensitive to lighting and changes.
Vein / Voice BiometricVein: reads vein patterns via infrared, hard to spoof. Voice: voiceprint, vulnerable to noise and replay.
Data CustodianIndividual who manages permissions and access day-to-day per the data owner's instructions; protects the asset in their custody.
Data Owner / Data ControllerIndividual or entity responsible to classify, categorize, and permit access to data; most familiar with its importance.
Discretionary Access Control (DAC)Access control in which the system (or resource) owner decides who gets access.
Mandatory Access Control (MAC)Access control where the system itself enforces access per security policies (labels/clearances).
Non-Discretionary Access Control (NDAC)Access control managed centrally by an authority rather than the owner; encompasses RBAC and RuBAC.
RBAC (Role-Based Access Control)Permissions assigned to roles, which are assigned to users; simplifies large-scale administration.
RuBAC (Rule-Based Access Control)Access governed by global rules (e.g., firewall ACLs, time windows) applied to all regardless of identity.
ABAC (Attribute-Based Access Control)Access decision computed from attributes of subject, object, action, and context (dynamic policies).
Least PrivilegeGrant each identity exactly the permissions needed for its duties, no more and no less.
Separation of Duties (SoD)Split a sensitive task across multiple people so none can act alone; prevents fraud and errors.
Need-to-KnowRestrict access to only the information required for one's mission, even when clearance would allow more.
EntitlementThe set of rights and privileges actually granted to an identity over resources.
Privilege CreepUnnecessary accumulation of access privileges, typically by failing to remove no-longer-needed rights.
Access Review / RecertificationPeriodic review of permissions to revoke, disable, or delete superfluous rights and detect anomalies.
Identity LifecycleIdentity life cycle: provisioning, management/changes, review, then disablement and deprovisioning.
ProvisioningCreation and activation of an identity and its access at the start of the life cycle.
DeprovisioningDisablement and removal of an identity and its access at the end of the life cycle (offboarding, change).
JIT Provisioning (Just-in-Time)On-demand, real-time creation of an identity and its access at the moment of need (reduces standing accounts).
SCIM (System for Cross-domain Identity Management)REST/JSON standard automating provisioning and deprovisioning of identities across providers and applications.
Identity ProofingCollecting and verifying a person's information to prove they are who they claim and establish a trusted link to the credential.
IAL (Identity Assurance Level)Confidence level in identity proofing (NIST SP 800-63A): IAL1 self-asserted, IAL2 remote, IAL3 in-person.
AAL (Authenticator Assurance Level)Strength of the authentication process (NIST SP 800-63B): AAL1 SFA, AAL2 MFA, AAL3 hardware crypto MFA.
FAL (Federation Assurance Level)Strength of federated assertions (NIST SP 800-63C): FAL1 to FAL3 per assertion protection and encryption.
Identity as-a-Service (IDaaS)Cloud-based services that broker IAM functions to target systems on-premises, in the cloud, or both.
Self-Service Identity ManagementLife cycle elements the end user can initiate alone (password reset, address update, challenge questions).
Logical Access Control SystemAutomated systems that authorize or deny access to an information system and its assets by verifying the presented identity matches the approved one.
Single-Factor Authentication (SFA)Use of only one of the three available factors to carry out authentication.
Multi-Factor Authentication (MFA)Authentication combining two or more factors of different categories; more factors, more trust.
Mutual AuthenticationTwo-way authentication where both client and server prove their identity (e.g., mutual TLS).
Password PolicyRules for length, complexity, history, expiration, and lockout governing passwords.
SaltingAdding a unique random value to a password before hashing to defeat rainbow tables and collisions.
Credential ManagementSecure life cycle of authenticators: issuance, storage, rotation, recovery, and revocation.
Certificate-Based AuthenticationAuthentication via an X.509 digital certificate proving possession of the matching private key (PKI).
Smart CardChip card storing credentials/certificates; a possession factor, often paired with a PIN.
FIDO2 / WebAuthn / PasskeyStrong passwordless authentication standards using origin-bound public-key cryptography, phishing-resistant.
SSO (Single Sign-On)Mechanism letting a user authenticate once to access multiple systems; reduces the number of credentials.
FIM (Federated Identity Management)Creates trust relationships among distinct security domains using common digital identities (client, SP/RP, IdP).
Federation TrustTrust relationship established between IdP and SP/RP enabling acceptance of cross-domain identity assertions.
Identity Provider (IdP)Entity that authenticates the user and issues identity assertions/tokens to service providers.
Service Provider (SP) / Relying Party (RP)Application or service consuming the IdP's identity assertion to grant access; RP is the OAuth/OIDC term.
Subjects and ObjectsSubject: active entity requesting access (user, process); object: passive resource accessed (file, table).
Open Authorization (OAuth)OAuth 2.0 authorization framework letting a third-party app obtain limited access to an HTTP service on behalf of the resource owner or on its own behalf.
OpenID Connect (OIDC)Identity layer atop OAuth 2.0 adding authentication via a signed ID Token (JWT) from the IdP.
SAMLSecurity Assertion Markup Language: XML standard exchanging authentication and authorization assertions for federated web SSO.
JWT (JSON Web Token)Compact signed (optionally encrypted) JSON token carrying identity claims; used by OIDC and APIs.
Token (Bearer / Access / Refresh)Access token: short-lived resource access; refresh token: renews the access token; bearer: usable by any holder (must be protected).
KerberosTicket-based network authentication protocol using a KDC and symmetric cryptography; no passwords sent over the network.
KDC (Key Distribution Center)Central Kerberos component (AS + TGS) that authenticates principals and issues tickets.
TGT (Ticket-Granting Ticket)Ticket issued by the KDC after initial authentication, used to obtain service tickets without re-authenticating.
LDAPLightweight Directory Access Protocol: protocol to query and modify hierarchical identity directories.
Active DirectoryMicrosoft directory service built on LDAP, Kerberos, and DNS; manages identities, GPOs, and authentication in a Windows domain.
RADIUSRemote Authentication Dial-In User Service: centralized AAA protocol (UDP) that encrypts only the password; common for network access.
TACACS+Cisco AAA protocol (TCP) that encrypts the whole payload and separates authentication, authorization, and accounting.
DiameterSuccessor to RADIUS, a more robust and extensible AAA protocol (reliable transport, security), used in mobile/IMS.
Session ManagementSecure creation, maintenance, and termination of sessions: unpredictable session IDs, expiration/timeout, invalidation on logout.
Privileged AccountHigh-privilege account (administrator, root) requiring heightened monitoring and controls.
Service AccountNon-human account used by an application or service; often privileged, must be monitored and rotated.
Shared AccountAccount used by multiple people; breaks accountability, generally discouraged.
PAM (Privileged Access Management)Set of controls managing privileged accounts: secrets vault, JIT access, controlled elevation, session recording.
Zero Trust"Never trust, always verify" model: no implicit trust, continuous verification of each request by identity, device, and context.
Centralized vs Decentralized vs Hybrid Access ControlThree methods of managing physical/logical access: centralized (single authority), decentralized (local), or hybrid.
CIANA+PSProtection types to provide: Confidentiality, Integrity, Availability, Non-Repudiation, Authenticity, Privacy, Safety.

Domain key takeaways

What you must remember

  • IAM is about managing the life cycle of user accounts, from creation (provisioning) to deletion (deprovisioning).
  • Identification, authentication and authorization are the three key components of access control; accountability complements them with tracking and logging.
  • Authentication mechanisms include passwords, tokens, biometrics and multi-factor authentication; the more factors combined, the greater the trust in authenticity.
  • Authorization mechanisms include access control lists (ACL), role-based access control (RBAC) and mandatory access control (MAC), alongside DAC, RuBAC and ABAC.
  • Privileged accounts (administrator accounts) require special attention and dedicated management (PAM) to prevent misuse.
  • Single sign-on (SSO) and federated identity management (FIM) simplify access control and reduce the number of accounts and passwords users manage; FIM relies on three roles: client/principal, service provider (RP) and identity provider (IdP).
  • Access control monitoring and logging are essential to detect and prevent unauthorized access and to provide an audit trail usable in forensic analysis.
  • Identities are labels and data constructs that every subject and object must have to be referred to clearly and unambiguously.
  • Any change in employment status or assigned responsibilities should trigger a permissions review to prevent privilege creep.
  • Permissions access reviews must be conducted on an ongoing, scheduled basis to reveal vulnerabilities requiring revocation, disablement or deletion of an access or an entire account.
  • Outsourcing or offboarding security functions never transfers responsibility: the ultimate burden of due care and due diligence stays with the organization.

Going further