Breach response fails when teams focus only on employees and ignore service accounts, APIs, cloud workloads, and other machine identities that attackers often abuse. These identities can hold credentials, access critical data, and move across systems quietly. Including them in planning improves detection, containment, and offboarding, especially when credential theft is part of the attack path.
Why breach response has to include machine identities, not just people
Breach response teams need a complete identity inventory because attackers rarely stop at stolen employee accounts. Service accounts, API keys, cloud workloads, certificates, and automation often hold the access needed to pivot quietly, extract data, or preserve persistence. If those identities are absent from response plans, teams can declare containment too early and miss the attacker’s real path.
That gap is not theoretical: NHIMG’s Ultimate Guide to NHIs reports that only 5.7% of organisations have full visibility into their service accounts, and 80% of identity breaches involved compromised non-human identities such as service accounts and API keys.
What machine identities change during investigation and containment
Machine identities change the shape of the incident. They are often embedded in applications, pipelines, and cloud control planes, so they may authenticate outside normal user workflows and avoid the signals teams rely on for human accounts. That means investigators have to trace not just who logged in, but which identities were used by software, where credentials were stored, and whether those credentials can still be replayed.
They also affect containment sequencing. Rotating an employee password does little if the attacker already has a long-lived token, a workload certificate, or a shared secret that still authorizes access elsewhere. The right question is whether the compromised identity can still authenticate, move laterally, or be used by another system after the initial account is closed.
For practitioners looking at workload and service identity architecture, the SPIFFE workload identity specification is a useful reference point for how machine identity can be represented and attested in a more structured way.
Why offboarding and credential rotation must cover both populations
Response teams often think of offboarding as disabling a user account, but in a breach it must also include revoking application tokens, rotating secrets, expiring certificates, and checking downstream dependencies that may still trust the old identity. That work is especially important when cloud workloads, CI/CD systems, or third-party integrations share the same secret material or re-use the same service principal across environments.
NHIMG’s Guide to NHI Rotation Challenges is relevant here because rotation at scale is rarely a one-step action. It has to account for dependency mapping, expiry timing, and the fact that some systems will fail open or break production if credentials are changed without a plan.
That is why many teams now treat non-human offboarding as a parallel workstream in incident response, not a back-office hygiene task. If a machine identity still has valid access, the compromise is not fully contained, even if every employee password has been reset.
Risk and Threat Considerations
Machine identities expand the attacker’s options because they often carry broad privileges, long-lived credentials, and weak ownership. When response teams miss them, attackers can preserve access, hide in automation, and keep using trusted paths after human accounts are locked down.
Failure mechanism: The team resets visible user accounts, but an exposed secret, token, or certificate still authenticates a workload or API that the attacker can continue to use. Because these identities are embedded in infrastructure and tooling, the compromise can survive normal account closure and reappear during recovery.
Impact: Containment is incomplete, attacker dwell time increases, and the organisation may lose confidence in the integrity of recovery actions. In the worst case, the team spends time remediating the wrong identity class while the real access path remains live.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Improper Offboarding | Breach response must revoke non-human access, not only user access. |
| NHI-02 — Secret Leakage | Compromised secrets often let attackers persist after user resets. | |
| NHI-05 — Overprivileged NHI | Excessive machine privileges increase lateral movement and blast radius. | |
| Recommendation — Revoke machine credentials and dependent access paths during containment. Locate and rotate exposed secrets before declaring containment complete. Reduce non-human privilege to the minimum required for recovery. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Incident response depends on revoking and rotating authenticators and secrets. |
| IA-9 — Service Identification and Authentication | Service and workload identities are part of the active compromise path. | |
| AC-6 — Least Privilege | Overprivileged machine identities widen the attacker's usable access. | |
| Recommendation — Rotate and invalidate compromised authenticators during breach response. Treat service and workload identities as first-class incident-response targets. Constrain non-human privileges to reduce containment scope. | ||
| CIS Controls v8 | CIS-5 — Account Management | Response teams need inventory and control of all accounts, including machine identities. |
| Recommendation — Inventory and disable compromised accounts across human and machine populations. | ||
| MITRE ATT&CK | T1078 — Valid Accounts | Attackers commonly abuse legitimate human and machine accounts after compromise. |
| T1552 — Unsecured Credentials | Stolen secrets and tokens often sustain access after initial compromise. | |
| T1098 — Account Manipulation | Adversaries alter accounts and trust settings to preserve access. | |
| Recommendation — Hunt for abuse of valid accounts and trusted credentials in response. Search for exposed credentials and rotate them immediately. Check for manipulated accounts, keys, and trust relationships during containment. | ||
Practitioner Guidance
What to prioritise: Build incident playbooks around identity class, not just around user versus non-user. The first question should be which credentials, tokens, certificates, and service principals could still be valid after the initial compromise is contained.
What to verify: Confirm that response evidence includes machine identity logs, secret inventories, token issuance records, and ownership data for shared services. If you cannot prove which non-human identities were active, you cannot prove the breach is closed.
Decision rule: If an identity can authenticate to production or reach sensitive data without human interaction, treat it as part of the active attack surface and rotate or revoke it with the same urgency as a compromised admin account.
Practitioner takeaway: Effective breach response is measured by whether every trust path is cut, not whether every person has been reset. If machine identities remain trusted, the incident is still in progress.