An NHI management platform holds a connector into every cloud account, SaaS tenant, vault and code repository it governs, plus a complete map of your machine identities and their weaknesses, so an attacker inside it starts with both the keys and the target list. If remediation is enabled, the platform can also rotate, disable or delete credentials across the estate, which an attacker can use to cause an outage or to cover tracks. This playbook covers a compromise of the platform itself: its console and administrators, its connector identities, the findings and secret material it stores, its remediation engine and any self-hosted collectors. It sets out how the incident shows up, triage questions, containment in priority order, rotation order, when to rebuild, the evidence to keep and when notification rules apply. It is vendor-neutral and written for identity security teams and incident responders. Hardening before an incident is covered in Securing the NHI management platform itself; this page is about response.
Key takeaways
- Treat it as a multi-environment incident from the first hour. Every system the platform connects to is in scope until its connector logs show otherwise.
- Stop remediation before anything else. An attacker who can trigger automated rotation or disablement can take down production or destroy evidence with an approved-looking audit trail.
- Connector credentials outrank human passwords. Resetting administrator passwords does nothing to cloud role trusts, OAuth clients and API keys the platform holds, and those keep working.
- Findings are a list of live secrets. If the attacker read the inventory or secret scanning results, every unrotated credential the platform had flagged is now in their hands.
- Rotate everything that was reachable, including the "unused". Rotation programmes fail on the credentials someone believed were idle, so verify each old credential fails rather than assuming it.
How the incident shows up
The first sign often appears in a connected system rather than in the platform: an unusual call from a connector identity in a cloud audit log, a secret read from a vault by a discovery role, or a provider notifying customers. Initial access tends to be a stolen administrator session or credential (MITRE ATT&CK T1078 Valid Accounts), a stolen connector or API token (T1528 Steal Application Access Token), compromise of the vendor or a managed service partner (T1199 Trusted Relationship), or an exploited self-hosted component (T1190 Exploit Public-Facing Application).
| Signal | Where it appears | What it suggests |
|---|---|---|
| Connector identity calls an API outside its normal read pattern, or from an address outside the platform's documented egress | Cloud, SaaS and IdP audit logs | Connector credential used outside the platform (T1550.001 Application Access Token) |
| Discovery role reads secret values from a vault, or assumes roles it never used before | Vault and cloud audit logs | Platform or its credentials used for collection (T1555 Credentials from Password Stores) |
| New connector added, or an existing connector's scope widened | Platform audit log, target IAM change logs | Persistence or expansion through the platform (T1098.001 Additional Cloud Credentials, T1098.003 Additional Cloud Roles) |
| Bulk export of inventory, findings or reports; API reads by an unfamiliar key | Platform audit and API logs | Collection of the NHI map and findings (T1213 Data from Information Repositories) |
| Remediation actions nobody requested: keys rotated, accounts disabled, grants revoked | Platform remediation history, target change logs | Disruption or lock-out (T1531 Account Access Removal) |
| Findings suppressed, policies relaxed, alert routes or log forwarding changed | Platform configuration history | Hiding activity (T1685 Disable or Modify Tools) |
| New platform administrators, SSO settings changed, local accounts enabled | Platform audit log, IdP logs | Persistence in the console (T1136 Create Account) |
Two live incidents show the shape of this risk. In the CircleCI Breach 2023, a stolen, MFA-backed SSO session gave an attacker access to a platform holding many customers' tokens and keys; encryption at rest did not help because keys were taken from a running process, and customers were told to treat every stored secret as accessed. In the Cloudflare Thanksgiving Breach 2023, one service token and three service accounts exposed in an earlier incident were not rotated because they were believed to be unused, and an attacker used them weeks later.
Triage questions
- Which identity was used? A console administrator, an API key used by SOAR or ticketing, a connector identity, a self-hosted collector, or the vendor's own operations staff. Each points to a different containment path.
- What did the connectors allow? List every connector with its target, credential type and permission. Separate read-only discovery from anything with write, rotate or delete rights.
- Was remediation enabled, and what ran? Pull the full remediation history for the exposure window and compare it with approved requests.
- Did the platform hold secret values? Establish whether secret scanning stored matched values or only fingerprints, whether validity checks ran, and whether vault connectors could read values.
- What did the attacker read? Inventory, owner lists, permission graphs, findings with locations of live secrets, exports and reports.
- Is the response visible to the attacker? The joint advisory on Scattered Spider (CISA AA23-320A) reports actors searching messaging and email for signs of the response and joining remediation calls. If the platform pushes findings into chat or ticketing, assume those channels are watched.
- Is the vendor involved? For a SaaS platform, open the vendor's security incident route at once and agree which logs each side holds and for how long.
Containment priorities
- Move coordination out of band: run the response from a channel and case record not integrated with the platform. See the Out-of-Band Communications Plan Template.
- Freeze remediation: turn off automatic remediation and revoke the platform's remediation identities at the targets (not only in the console), so a compromised console cannot act. Accept that findings will queue.
- Preserve logs: export the platform's audit, API, remediation and connector logs, and pull connector activity from each target's own logs, before changing configuration. SaaS log retention can be short.
- Suspend console access: disable suspect administrators at the IdP, revoke their sessions, remove local accounts that bypass SSO, and revoke inbound API keys used by other tools.
- Cut write-capable connectors at the target: remove role trusts, disable service principals and revoke OAuth clients for any connector that can change identities, starting with cloud organisation roots, the IdP and vaults. Disabling the connector inside the platform is not enough if the credential still works.
- Cut read-only discovery connectors: then disable discovery connectors. They are lower impact but still expose the permission graph and logs.
- Isolate self-hosted collectors: stop on-premises or in-cluster scanners and collectors and snapshot them for forensics before rotation.
Credential rotation order
Rotate from the most powerful downstream credential to the least, and confirm each old credential fails. RFC 7009 requires servers to support refresh token revocation but makes cascading to access tokens from the same grant a SHOULD that applies only where access token revocation is supported, so test each target rather than assume. RFC 9700 recommends audience-restricted, least-privilege, sender-constrained tokens; apply it when you reissue.
| Order | Credential | Action and check |
|---|---|---|
| 1 | Remediation identities with rotate, disable or delete rights | Revoke at the target; reissue only after rebuild, with approval gates and action caps |
| 2 | Connectors into the IdP, cloud organisation roots and vaults | Remove trusts and secrets; for role assumption, change the external identifier; confirm old sessions and tokens fail |
| 3 | Live secrets listed in findings the attacker could read | Rotate at source, highest privilege first, then close the finding; track each to closure |
| 4 | Remaining discovery connectors (SaaS, code, CI/CD, collaboration) | Revoke app installs and tokens; reissue read-only with narrower scope |
| 5 | Platform administrators and break-glass accounts | Reset, re-enrol phishing-resistant MFA, remove standing admin rights |
| 6 | Inbound API keys from SOAR, ticketing and reporting tools | Rotate, one key per integration, with expiry |
| 7 | Credentials held by self-hosted collectors | Rotate and re-register on rebuilt hosts |
Administrators sit fifth because their sessions are already revoked in containment; the connector credentials are what keep working. Track every item in a register with owner, target, action, verification and date. See the Secrets Rotation Runbook Template, Credential Rotation at Scale and the OAuth Token Introspection and Revocation Guide.
Eradication and rebuild
- Configuration review: compare connectors, roles, policies, suppression rules, alert routes, log forwarding, webhooks and remediation playbooks against the last known good export. Look for added connectors, widened scopes, suppressed finding classes and redirected notifications.
- Target-side persistence: in each connected environment, hunt for what the attacker may have created using the connector: new access keys, new role trusts, new OAuth applications, added admin roles and new service accounts. This is where persistence outlives the platform clean-up.
- Collector hosts: rebuild self-hosted collectors from known good images rather than cleaning them.
- Vendor-side cause: where the root cause was at the vendor, get a written account of what was accessed, how it was fixed and what changed, before reconnecting.
Rebuild or clean in place
| Situation | Choice | Why |
|---|---|---|
| Stolen admin session, no evidence of configuration change, connectors rotated | Clean in place | Configuration is trustworthy once compared with a known good export |
| Connectors added or widened, policies or suppressions changed, unknown remediation playbooks | Rebuild tenant configuration from documented baseline | Hidden changes are hard to rule out one by one |
| Self-hosted collector or on-premises component compromised | Rebuild hosts, re-register collectors | Host integrity cannot be proven |
| Vendor platform compromise affecting many customers | Reconnect only after vendor confirmation, with new credentials and narrower scope | Root cause is outside your control; reduce standing access |
Smaller organisations with a handful of connectors can often rebuild the connector set in a day and should prefer rebuild. Large estates with hundreds of connectors may need a staged rebuild: IdP, cloud roots and vaults first, then by business unit.
Recovery
- Reconnect read-only first: restore discovery with new, least-privilege connector identities, one per environment, and confirm in each target's logs that only the new identity is calling.
- Re-baseline the inventory: compare the new inventory with the pre-incident export to find identities created during the incident. See NHI Inventory Reconciliation.
- Restore remediation last: re-enable in report-only mode, then with approval gates and caps, and only after a period with no suspicious activity.
- Restore integrations: reconnect SOAR, ticketing and chat with new keys.
- Roll back if needed: if a reconnection shows unexpected activity, disconnect that connector again; the staged order means one rollback does not undo the rest.
Detection and measurement
During and after the incident, watch for use of any revoked credential (a failed call with an old key is evidence the attacker still holds it), connector calls from outside the platform's egress, and new identities created in any connected environment. Track:
- Time from detection to remediation freeze (target: within the first hour).
- Percentage of in-scope connector credentials revoked and verified failing.
- Percentage of secrets listed in exposed findings rotated at source.
- Number of attacker-created identities found in connected environments, and time to remove each.
- Calls made with revoked credentials after rotation (should fall to zero).
Evidence to preserve
| Evidence | Source | Why it matters |
|---|---|---|
| Platform audit, login and API logs | Platform console or vendor | Who did what in the console, and with which key |
| Remediation history and approvals | Platform | Separates attacker actions from legitimate changes |
| Connector activity in each target | Cloud, IdP, SaaS, vault and repository audit logs | Shows what the attacker reached beyond the platform |
| Configuration exports before and after | Platform | Proves what changed |
| Inventory and findings exports | Platform | Defines which secrets and identities were exposed |
| Collector host images and memory | Self-hosted components | Host-level forensics |
| Vendor incident statements | Vendor | Root cause and scope outside your control |
Notification triggers
- Personal data: the platform usually holds owner names and email addresses, and connectors may have reached personal data in targets. Under UK GDPR, the ICO says notifiable breaches must be reported without undue delay and within 72 hours of becoming aware, unless unlikely to result in a risk to individuals, and all breaches must be recorded (Article 33(5)). Processors must tell the controller without undue delay (Article 33(2)).
- Customers and partners: if connectors reached systems holding customer data or customer-facing credentials, contracts may require notice; check them early.
- Sector and listing rules: regulated sectors and listed companies may have shorter or additional deadlines; involve legal counsel on day one.
Common failure patterns
- Disabling connectors in the console only: the credential still works at the target, so the attacker keeps using it from elsewhere.
- Skipping "unused" credentials: the Cloudflare incident above turned on credentials believed to be idle.
- Leaving remediation running: automated actions continue during investigation and either disrupt production or overwrite evidence.
- Ignoring the findings: responders rotate the platform's own credentials but not the live secrets the platform had already found and listed.
- Reconnecting with the old scopes: the rebuild restores the same broad roles that made the incident severe.
- Running the response in an integrated chat channel: the platform's alerts flow there, and so may the attacker's visibility.
Framework mapping
| Playbook phase | NIST CSF 2.0 | NIST SP 800-53 Rev. 5 | OWASP NHI Top 10 2025 |
|---|---|---|---|
| Detection and triage | DE.CM-03, RS.AN-03 | SI-4, AU-6, IR-5 | NHI3:2025 Vulnerable Third-Party NHI |
| Containment | RS.MI-01 | IR-4, AC-2 | NHI5:2025 Overprivileged NHI |
| Rotation and eradication | RS.MI-02 | IA-5, SC-12 | NHI7:2025 Long-Lived Secrets, NHI2:2025 Secret Leakage |
| Recovery and rebuild | RC.RP-01, RC.RP-03 | CM-8, AC-6 | NHI9:2025 NHI Reuse |
| Notification | RS.CO-02 | IR-6 | NHI3:2025 Vulnerable Third-Party NHI (where the vendor is the source) |
| Supplier oversight | GV.SC-07 | SA-9 | NHI3:2025 Vulnerable Third-Party NHI |
NIST SP 800-61 Rev. 3 (April 2025) frames incident response as part of risk management under the CSF 2.0 functions; use it to place this playbook in your wider plan. See the Incident Response Guide.
Practitioner checklist
- Keep an out-of-band channel and contact list ready for this platform before an incident.
- Document how to turn off automatic remediation and revoke remediation identities at each target.
- Keep a current export of connectors with target, credential type and permission.
- Rehearse revoking each connector at the target, not only in the console.
- Store regular configuration exports outside the platform as a known good baseline.
- Know whether the platform stores secret values or fingerprints, and who can read findings.
- Agree log access and incident contacts with the vendor in the contract.
- Rotate every reachable credential after an incident and verify the old one fails.
Standards and references
- NIST: SP 800-61 Rev. 3 Incident Response Recommendations and Considerations for Cybersecurity Risk Management
- IETF: RFC 7009 OAuth 2.0 Token Revocation
- IETF: RFC 9700 Best Current Practice for OAuth 2.0 Security
- OWASP: Non-Human Identities Top 10 2025
- CISA: Scattered Spider advisory AA23-320A
- ICO: Personal data breaches, a guide
- MITRE ATT&CK: Steal Application Access Token
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
Related NHI Mgmt Group resources: NHI management platform health check · Identity Provider Tenant Compromise Playbook · Incomplete rotation breaches · Break-Glass Account Guide