Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

Protecting privileged access

After Riley's mailbox, the attacker at Cedar Inc. asked for an administrator. This lesson looks at the accounts that can change everything from the defender's side: holding less administrative access for less time, asking more of an administrator's sign-in, keeping emergency accounts usable and watched, never losing the last administrator, and recording what administrators do.

Accounts that can change everything

At 10:05 on the morning Riley's account was taken over, a caller posing as an IT contractor asked Cedar Inc.'s help desk to reset MFA on an administrator's account. Rowan called back the number in Cedar's directory, found that the administrator had asked for nothing, and refused, as Attacks on recovery and the help desk describes. The attacker already had Riley's mailbox. What they asked for next was an administrator.

An administrator account is worth more than any one person's data because it can change the rules for everyone else. It can reset other people's sign-in methods, create accounts, assign roles, change the sign-in policy, approve applications for the whole organization, add a trusted identity provider and, in some systems, read or switch off the records that would show any of this. Privileged access is access like this, which reaches beyond one person's own work to other accounts, configuration and security controls.

Privilege is broader than the job title "administrator". Help desk staff who can reset other people's sign-in methods hold privileged access, and so do people who own powerful integrations, people who can approve applications for everyone, and the emergency accounts kept for outages. Privileged access management listed where privilege lives in an organization. Each of these accounts needs protection in proportion to what it can change, starting with how much of that access exists at any moment.

Fewer administrators, for less time

An account that holds administrative rights all the time is one stolen session away from an attacker using them. This is standing access: the role is active whether or not its holder is doing administrative work. Most administrators spend most of the week on email, documents and meetings like everyone else, with their administrative role active in the background the whole time.

Just-in-time access turns the role into something an administrator activates when they need it. The account is eligible for the role but does not hold it. To activate it, the administrator gives a reason, signs in again with a strong method and, for the most powerful roles, waits for a second person to approve. The role stays active for a fixed window and then expires on its own. Temporary, privileged, and emergency access followed this process from the request to the review afterward. The table follows one fictional Cedar identity administrator through a week under each model.

One fictional administrator's week under standing and just-in-time access
DayAdministrative workStanding access: role activeJust-in-time: role active
MondayUpdate a sign-in policy24 hours1 hour, approved by a second administrator
TuesdayNone24 hoursNot active
WednesdayUnlock an employee's account named in a ticket24 hours30 minutes
ThursdayNone24 hoursNot active
FridayReview a new application's requested permissions24 hours1 hour
SaturdayNone24 hoursNot active
SundayNone24 hoursNot active
Whole weekAbout 2.5 hours of work168 hours2.5 hours

Suppose this administrator's session is stolen on Tuesday afternoon. With standing access, the attacker holds every administrative permission as soon as they replay it. With just-in-time access, they hold an ordinary account, and activating the role needs a fresh strong sign-in they cannot complete and an approval someone else has to give. The figure puts the two Tuesdays side by side.

Standing access

Stolen
Tuesday afternoon
Role on Tuesday
Active, 24 hours
Attacker holds
Every administrative permission
Still needed
Nothing

Administration at once

Just-in-time access

Stolen
Tuesday afternoon
Role on Tuesday
Not active, eligible
Attacker holds
An ordinary account
Still needed
A fresh strong sign-in and an approval

Activation is refused and visible

The same session stolen on Tuesday afternoon, under standing access and under just-in-time access. Only the standing role hands the attacker administration at once.

Activation requests are visible too. One made at an odd hour, for an unusual role or with a vague reason is easy to question. Fewer administrators matter as much as fewer hours. Roles scoped to one task, such as resetting methods for ordinary employees or unlocking accounts, mean that most administrative work never needs the most powerful roles at all, and the handful of people who hold those roles are easier to protect and to watch.

Stronger sign-in for stronger access

An administrator who reads email with the same account they use to run the organization brings every phishing message and malicious link to the account with the most power. A separate administrative account, used only for administration, keeps that power off the everyday account, which faces the most attacks. Because the administrative account never reads mail or browses the web, a phishing message has far fewer ways to reach it.

Riley's takeover shows why the sign-in method matters. Riley's password and authenticator app code passed straight through a relay page, and the attacker kept the session that Cedar's real identity provider issued. A passkey or security key would have failed at the relay, because the browser ties the credential to the real site's address, as Phishing and relayed sign-ins explains. Administrative accounts are where phishing-resistant methods should start, set through the kind of policy described in Authentication policy and SSO. A policy like that can first run in a report-only mode, which counts the sign-ins it would have refused without refusing them, so an organization sees who still signs in the old way before it switches the requirement on.

Freshness matters as well, but a recent sign-in check cannot stop a stolen session that is itself recent, as Limiting what stolen access can do explains. For privileged actions, the service asks for a phishing-resistant method at the moment of the action. Administrative sessions can also be shorter and limited to the managed devices from Device trust and posture, so that a copied session is useful for less time and from fewer places.

Recovery has to match. An administrator whose MFA can be reset after a convincing phone call is only as well protected as that call. Resets for privileged accounts need more than an ordinary reset: a callback to a number already on record, a second person's confirmation, or proofing the person again, the checks Rowan's help desk uses for the most valuable accounts.

Emergency access

Strong protections can also lock out the people they protect. If the identity provider's MFA service has an outage, a new sign-in policy is misconfigured, or the administrators cannot reach their security keys, someone still needs to get in and fix it. Emergency access accounts, often called break-glass accounts, exist for that moment.

Because they must work when other things have failed, emergency accounts are often exempt from rules that ordinary administrators follow, such as depending on single sign-on. That makes them valuable to an attacker, so they are protected differently. There are very few of them. Their credentials, long random passwords or security keys, are kept in separate secure places, and access to those places is itself controlled and recorded. They are never used for everyday work, so any sign-in is either an emergency someone already knows about or a sign that something is wrong. Every sign-in alerts several people, and the credentials are replaced after each use, including each test.

An emergency account also has to work on the day it is needed. Credentials get misplaced, the PIN for a stored security key is forgotten, a policy change quietly starts applying to the account, or the person who knew the procedure leaves. Testing it on a schedule, by signing in, confirming that the alert reaches the people who should hear it, checking that the account still has the access it needs and then replacing its credentials, replaces an assumption with something known. A test that signs in successfully but raises no alert has found half a failure.

Never losing the last administrator

An organization can lose control of itself without any attacker. If the only administrator who can manage roles removes their own role, or leaves and has their account disabled, nobody remains who can assign that role again. The system refuses any change that would leave no one with authority to manage roles: removing the last such assignment, disabling the last such account, or deleting the role itself.

The check also has to hold when two administrators remove each other's roles at the same moment. Each request would see the other administrator still in place, so the service has to make the check and the change one step, as Administering roles safely explains.

An attacker who gains administrative access may try something similar on purpose, removing the other administrators so that defenders cannot undo their changes. The last-administrator rule alone does not stop that, because one administrator, the attacker, remains. Alerts on administrator removals, approval before privileged roles are removed, and emergency accounts that sit outside ordinary role management give defenders a way back. Each refused removal is recorded with its reason.

Watching what administrators do

Privileged actions are rare compared with ordinary activity, which makes them worth recording in full and watching closely. Each record needs the administrator who acted, the account or setting affected, what changed from and to, the outcome, and a request ID, an identifier the service gives each request, which connects the record to the other events that request caused. Recording identity activity goes further into what makes records like these useful.

Some changes deserve an alert the moment they happen: a new administrator assignment, a change to the sign-in policy, a new trusted identity provider, an emergency account sign-in, and a help desk reset of an administrator's methods. Refused requests matter as well. The refused MFA reset for Cedar's administrator told Quinn, investigating the next day, that someone was reaching for more than the account they already had.

Administrators should not be able to edit or erase the records of their own actions, and the people who review those records should not be the people being reviewed. Elevation requests, approvals and activations from just-in-time access belong in the same history, so a reviewer can see who held which role, when, and for what stated reason.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

A Cedar administrator uses the same account to read email and to change the organization's sign-in policy. What is the risk? 1 of 4

Choose one answer.

In its quarterly test, Cedar signs in with an emergency access account. The sign-in works, but no alert reaches the security team. What should Cedar conclude? 2 of 4

Choose one answer.

A Cedar administrator is eligible for the identity administrator role but has not activated it this week. Their session is stolen on Tuesday afternoon. What does the attacker hold? 3 of 4

Choose one answer.

Cedar has two administrators who can manage roles. Each removes the other's role at the same moment, and each request sees the other administrator still in place. What should the service do? 4 of 4

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity