Lesson 3 of 3 Access Control and Identity Strategy

Identity Proofing, Sessions and Credentials

Strong authentication depends on trustworthy registration, protected sessions and well-managed credentials. This lesson covers identity proofing, session management, groups and roles, credential management systems, single sign-on and just-in-time access.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain identity proofing and assurance levels.
  • Describe secure session management.
  • Explain credential management systems, SSO and just-in-time access.

Registration and identity proofing

Registration collects identity information, and identity proofing verifies that the person is who they claim to be, by validating evidence such as government identity documents and confirming that the person presenting it is its owner, in person or remotely. NIST SP 800-63A defines identity assurance levels (IAL1 to IAL3) of increasing rigour. Once proofed, the identity is established in the directory and bound to authenticators.

Weak proofing undermines every later control, because a fraudulently registered identity receives legitimate credentials. Credential reset processes at the help desk need the same rigour, since attackers often target them through social engineering.

The level of proofing should match the risk of what the identity will be able to do. Registering for a public newsletter needs no proofing at all, which corresponds to IAL1, where attributes are self-asserted. Opening an online bank account requires the person to provide identity evidence that is validated and verified as belonging to them, for example by matching a live photograph to the photograph on a passport, which corresponds to IAL2. Issuing credentials for highly sensitive government systems may require in-person or supervised remote proofing by a trained official, IAL3. Employee onboarding usually relies on the HR process, which checks identity documents before the first day.

Proofing is separate from authentication strength, and both are needed. A user with a phishing-resistant security key is only as trustworthy as the process that verified who they were when the key was issued, and a thoroughly proofed user with only a weak password can still be impersonated by anyone who guesses it.

The following diagram compares weak reset verification with proofing comparable to registration.

Identity proofing for credential resets. Verification based on facts such as an employee number or a manager's name can be defeated by anyone who finds them on social media. Proofing comparable to the original registration, such as an existing registered authenticator, a call-back to a number on file or a verified manager's approval, stops social engineering, with extra care for privileged users.
Help desk resets are a common social engineering target.
Sort into groups

Which assurance level?

Exam skills 5.2.4

Match each registration scenario with the NIST SP 800-63A identity assurance level it needs.

Log in to try this activity Interactive activities are free with an account.

Session management

After authentication, a session token represents the user. Tokens must be long and random, sent only over encrypted connections, stored in cookies with the Secure, HttpOnly and SameSite attributes, regenerated after login to prevent session fixation, and invalidated on the server at logout. Idle and absolute timeouts limit how long a stolen token works, and re-authentication is required before sensitive actions such as changing payment details.

The session token is effectively a temporary password, so stealing it is as good as stealing the credentials and often better, because it bypasses MFA. Each cookie attribute blocks a specific theft route. Secure stops the browser sending the cookie over unencrypted connections. HttpOnly stops scripts on the page reading it, so a cross-site scripting flaw cannot simply copy it. SameSite limits when the browser sends the cookie with requests started by other sites, which reduces cross-site request forgery.

Session fixation shows why tokens are regenerated at login. An attacker obtains a valid but unauthenticated session identifier from the site and tricks the victim into using it, for example through a crafted link. If the site keeps the same identifier after the victim logs in, the attacker's copy is now an authenticated session. Issuing a new identifier at login makes the attacker's copy worthless. The two timeouts address different situations: an idle timeout ends a session left open on an unattended computer, while an absolute timeout ends even an active session after a fixed period, limiting the value of a stolen token.

Match the pairs

Session controls

Exam skills 5.2.3

Match each session control with the threat it addresses.

Log in to try this activity Interactive activities are free with an account.

Groups, credentials, SSO and just-in-time access

Permissions are assigned to groups and roles rather than individuals, which makes access consistent and easier to review. Credential management systems store and rotate secrets: password managers help users keep unique, strong passwords, privileged access vaults check out administrator credentials for a session and rotate them afterwards, and secrets managers give applications keys at runtime instead of hardcoding them.

Single sign-on (SSO) lets users authenticate once and access many systems, which improves usability and centralises policy and logging, but also makes one credential very valuable, so SSO is paired with strong MFA. Just-in-time (JIT) access grants elevated privileges only when needed, for a limited time and often with approval, then removes them automatically, which shrinks the number of standing privileged accounts attackers can target.

Scenario questions

Credentials and SSO

Exam skills 5.2.6 · 5.2.7 · 5.2.8

Choose the credential approach that fits each case.

Log in to try this activity Interactive activities are free with an account.
Worked example

A help desk reset

An attacker calls the help desk pretending to be a senior executive travelling abroad and asks for an urgent password reset and MFA re-enrolment. The help desk verifies the request using the employee number and manager's name, both available on social media. What should change?

The verification relies on public information, so it does not prove identity. The help desk process should require proofing comparable to the original registration, such as verification through an existing registered authenticator, a call-back to a number on file, or approval by a verified manager, and urgent requests for privileged users should receive extra scrutiny rather than less.

Check yourself

Why should the session ID be regenerated after login?

Show answer

To prevent session fixation, where an attacker sets a known session ID before the user logs in.

Exam Tips

Remember for the exam

  • Strong authentication fails if proofing or reset processes are weak.
  • Regenerate session IDs after login; time out idle sessions.
  • SSO concentrates risk; pair it with MFA.
  • JIT access removes standing privileges.