Join our Newsletter — 33% off our NHI Course
Home› Guides› If your privileged access management (PAM) vault is…
Guide Privileged Access (PAM)

If your privileged access management (PAM) vault is compromised: contain, rotate every exposed credential and rebuild trust

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 13 November 2026 13 min read
On this page

When the privileged access management (PAM) vault is compromised, the attacker may hold the keys to every system the vault was built to protect, and the normal way to fix that, rotating through the vault, may hand the new passwords straight back to them. A vault stores domain, cloud, database, network and application credentials, runs rotation with some of the most powerful service accounts in the estate, and brokers privileged sessions. A response therefore has to answer three questions fast: which credentials could have been read, whether the vault itself can still be trusted to rotate them, and what the attacker did with them in target systems. This vendor-neutral playbook covers how the incident shows up, triage, containment, scoping exposure, rotation in the right order and outside the vault where needed, rebuild, evidence and notification. It is for incident responders, PAM engineers and identity leads, and assumes the controls in Securing the PAM Vault Itself.

Key takeaways

  • Decide early whether the vault can rotate for you. If the attacker reached the vault's internals, its storage, keys or rotation engine, every new password it generates may be visible to them, so rotate tier 0 credentials from a clean path outside the vault.
  • Exposure is wider than checkout history. Retrieval logs show what a user or application checked out; database, backup or master key access exposes everything stored, whether or not anyone checked it out.
  • Target systems tell the truth. The vault's audit trail and session recordings may have been altered; confirm attacker activity from directory, cloud, database and host logs.
  • Rotation order follows reach, not count. Start with credentials that control identity infrastructure and the vault's own rotation accounts, then work down by tier.
  • Plan for operating without the vault. Administrators still need emergency access while it is offline, so a sealed break-glass path that does not depend on the vault is a precondition, not an afterthought.

What a PAM vault compromise looks like

The NCSC's guidance on administration tiers notes that a PAM solution can itself be classed as Tier 0, the root of trust that all other administration relies on. MITRE ATT&CK describes the attacker goal as T1555 Credentials from Password Stores, with T1555.005 Password Managers as the closest sub-technique. Response depth depends on which component was reached.

Compromise pointWhat the attacker can doExposure assumption
A user's vault account (stolen password or session)Check out credentials and open sessions that user is entitled toCredentials in that user's safes or folders
Vault administrator roleGrant itself access to any safe, change policies, disable rotation or recording, create API clientsEverything the role could grant, which is usually everything
Application or API client credentialRetrieve the secrets that client is permitted to fetch, from anywhere it can reachThe client's permitted secrets, confirmed from retrieval logs
Rotation or connector service accountsAct directly on targets with rights to reset any managed accountEvery target those accounts can reach
Session gateway or proxy hostObserve or inject into live privileged sessions, collect injected credentialsCredentials used through that gateway in the window
Vault database, backups or master key materialDecrypt stored credentials offlineEvery credential stored, including ones never checked out
Vendor-side service or support channel (hosted vaults)Varies with the vendor's accessAs stated by the vendor; verify from your own logs

The last row is real. In the US Treasury remote support incident in December 2024, a stolen API key for a hosted remote support service reportedly allowed password resets of local application accounts, and the department took the affected service offline. A privileged access service is only as trustworthy as the credentials that administer it, including those held on the provider side.

Triggers and first-hour triage

Invoke this playbook for: an administrator role granted outside the change process; a safe or folder permission added for an unexpected identity; a burst of checkouts, or checkouts of accounts the user has never used; rotation disabled or a managed account's policy changed; session recording or audit forwarding switched off; an API client created or used from an unfamiliar host; a rotation service account used from a host other than the vault's components; or a target owner reporting privileged logons that do not match a brokered session.

  1. Preserve evidence before changing anything: export the vault audit log, retrieval and checkout history, policy and permission configuration, API client list and session metadata, and confirm that the copy already in your SIEM is intact.
  2. Identify the entry point and capability: which user, role, client or component was used, and what it could reach. This sets the exposure assumption from the table above.
  3. Decide on vault integrity: was there any access to the host operating system, database, backups, key store or rotation engine? If yes, or if you cannot tell, treat the vault as untrusted for rotation.
  4. Set the window: from earliest possible access to now, extended back to the last configuration export you can prove is clean.
  5. Classify: critical if tier 0 credentials, rotation accounts or vault internals were reached; high for administrator role misuse without internal access; medium for a single user's scope with no tier 0 entitlements.

Containment in the right order

  1. Move responders out of band. Use communications and admin workstations that do not depend on the directory or the vault. See the Privileged Access Workstations Guide.
  2. Open the break-glass path. Confirm the sealed emergency accounts for the directory, cloud tenants and the vault itself work and were not stored in the compromised vault. See the Break-Glass Account Guide.
  3. Cut the attacker's vault access: disable the compromised accounts, revoke their sessions and tokens, remove unapproved administrators and API clients, and restrict vault administration to named responders.
  4. Stop credential release where trust is lost: if internals were reached, block checkout of tier 0 credentials, or take the vault offline, and switch to the emergency path. If only a user scope was reached, keep the vault running and lock that scope.
  5. Disable rotation accounts at the target if they may be exposed, and replace them with responder-held accounts for the duration. Disabling them in the vault alone does not stop direct use.
  6. Terminate live privileged sessions on in-scope targets and isolate any compromised gateway host.

Expect friction: switching off a vault stops planned rotation and session brokering across the business. Agree in advance which teams get emergency credentials and how those are logged, so the containment decision is not delayed by that negotiation.

Deciding which credentials are exposed

EvidenceWhat it provesLimit
Vault checkout and retrieval logsWhich credentials were displayed, copied or retrieved by which identityCan be altered by an administrator; useless if storage or keys were reached
Permission historyWhich safes the attacker could have read during the windowPermission granted and removed quickly may not show in a point-in-time export
Database, backup and key store access logsWhether bulk offline decryption was possibleIf possible at all, assume every stored credential is exposed
Session metadata and recordingsWhat was done in brokered sessionsRecordings stored on a compromised host may be edited or deleted
Target-side authentication logsWhere exposed credentials were actually used, including outside the vaultOnly as good as target log retention

Build one exposure list: every credential in scope, its tier, the evidence for exposure and whether target logs show use. Credentials used from unknown sources become their own investigations in the target system, using T1078 Valid Accounts as the working assumption. Check also for persistence the attacker planted with those credentials, such as new administrative accounts (T1098 Account Manipulation) or added SSH keys (T1098.004 SSH Authorized Keys), because rotation alone does not remove them.

Rotating in the right order

OrderCredentialsHow
1Vault's own rotation and connector service accounts; vault administrator and break-glass accountsReset at the target from a clean workstation; reduce rights before reuse
2Directory and identity tier 0: domain and enterprise administrators, directory sync accounts, the Kerberos ticket-granting account, cloud global and root administratorsManual reset outside the vault. Reset the ticket-granting account twice, with replication between resets, to invalidate forged tickets (T1558.001 Golden Ticket). See the Active Directory Domain Compromise Response Playbook
3Hypervisor, backup, network device and security tool administratorsManual or scripted from a clean path; backup and hypervisor access first, because ransomware actors target them
4Application-to-application secrets, API keys, database and service accountsRotate with application owners; coordinate restarts
5SSH keys and certificates held in the vaultReplace key pairs, remove old public keys from targets, revoke certificates
6Remaining local administrator and lower-tier accountsThrough the vault once it is rebuilt or proven clean

Where the vault is untrusted, hold the new tier 0 values in a temporary store that the attacker could not reach, such as an offline sealed process with dual control, until the rebuilt vault is ready to take them. See Dual control and four-eyes approval for privileged and agent actions. For large estates, rotate tier 0 and tier 1 manually and accept a planned, risk-ranked rotation for the long tail, documented and time-bound. Never accept "rotate on next checkout" for anything in scope.

Eradication: rebuild or clean in place

SituationRecommended path
User or API client scope only, no internal accessClean in place: remove attacker access, rotate in-scope credentials through the vault, review policy changes
Administrator role misuse, no host, storage or key accessClean in place with full configuration diff against a verified export; rotate everything the role could reach
Host, database, backup or key store reachedRebuild on clean infrastructure with new master key material; restore configuration from a verified export, not data from the window; re-onboard credentials newly issued in the rotation
Hosted vault with a provider-side incidentFollow the provider's advisory, verify from your own logs, and rotate according to the provider's stated exposure as a minimum

NIST CSF 2.0 RC.RP-03 asks that the integrity of backups and other restoration assets is verified before use. For a vault, that means a backup taken inside the window, or one encrypted with key material the attacker may have read, is not a clean restoration asset. Before reconnecting, re-apply the hardening in Securing the PAM Vault Itself, especially separation of administrative roles and scoping of rotation accounts.

Evidence to preserve

  • Vault: audit logs, checkout and retrieval history, configuration and permission exports as found, API client list, session metadata and recordings, and host images of vault components if internal access is suspected.
  • Identity: identity provider sign-in logs for vault users and administrators, and MFA logs.
  • Targets: authentication and account change logs for every in-scope credential and every rotation account, covering the whole window.
  • Chain of custody: who exported what, when and with which account. Keep copies outside any system the vault administers.

Notification triggers

  • Personal data: a vault rarely stores personal data itself, but credentials used against databases or business systems may have reached it; legal assesses each confirmed access. See the Cyber Incident Reporting Requirements Map.
  • Regulated or critical services: sector incident reporting rules may apply where privileged access to an in-scope service was possible, even before data access is confirmed.
  • Auditors: privileged access controls, session reviews and rotation evidence from the window may have been relied on for financial or certification audits; tell internal and external audit which evidence is affected.
  • Providers and customers: where the vault held credentials for customer environments or third-party services, notify them with the list of credentials rotated.

Detection and measurement

For at least 90 days after recovery, keep high-priority alerting on: vault administrator and safe permission changes; checkouts of tier 0 accounts; rotation or recording disabled; new API clients; rotation accounts used from hosts other than vault components; and privileged logons on tier 0 targets with no matching brokered session.

  • Exposed tier 0 credentials rotated and verified at the target, as a percentage of the exposure list, which should reach 100% before the vault is trusted again.
  • Time from detection to tier 0 rotation complete, measured in hours.
  • In-scope credentials with target-side use reviewed for the whole window.
  • Persistence items found and removed, such as new accounts and keys, against the reconciliation list.
  • Privileged logons on tier 0 targets matched to a brokered session after recovery.

Common failure patterns

  • Rotating through a compromised vault: the new passwords are generated and stored where the attacker can read them.
  • Trusting checkout history after a database or key compromise: offline decryption leaves no checkout record.
  • Break-glass credentials stored only in the vault: the emergency path disappears when the vault goes offline.
  • Disabling rotation accounts in the vault only: the accounts remain valid on targets and usable from attacker infrastructure.
  • Rotating but not reconciling: attacker-created administrators and added SSH keys survive every password change.
  • Restoring from a backup in the window: attacker configuration, permissions and API clients come back with it.

Framework mapping

FrameworkReferenceWhere it applies
NIST CSF 2.0RS.AN-03, RS.MI-01, RS.MI-02, RC.RP-03, RS.CO-02Analysis, containment, eradication, verified restoration, stakeholder notification
NIST SP 800-53 Rev. 5IR-4, IR-6, IA-5, AC-2, AU-9, SC-12, CP-10Incident handling and reporting, authenticator and account management, audit protection, key management, reconstitution
MITRE ATT&CK v20T1555, T1555.005, T1078, T1098, T1098.004, T1558.001Credential theft from the store, use of valid accounts, persistence, forged Kerberos tickets
NCSC secure system administrationTier 0, break glassPAM as a Tier 0 system with an emergency path independent of it

Practitioner checklist

  • Keep sealed break-glass credentials for the directory, cloud tenants and the vault outside the vault, and test them twice a year.
  • Document how to rotate every tier 0 credential manually, without the vault.
  • Forward vault audit and retrieval logs to a SIEM the PAM team cannot change.
  • Keep a verified configuration export and a record of which backups are encrypted with which key material.
  • Maintain a list of rotation accounts with their target rights and the hosts they should be used from, and alert on any other source.
  • Agree with business owners in advance who receives emergency credentials if the vault goes offline.
  • Run a tabletop where the vault database and master key are assumed stolen.
  • Track the tier 0 rotation time from your last exercise and set a target.

Standards and references

Related NHI Mgmt Group resources: Securing the PAM Vault Itself · Privileged Access Management Guide · Recovering IAM and PAM After Ransomware or Domain Compromise · If your secrets manager is compromised · Identity Incident Response Playbook

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.