Accountability usually spans endpoint security, IAM, and incident response because the device compromise and the identity abuse are linked. Endpoint teams detect and contain the malware, while identity teams revoke sessions, reset risky credentials, and review access paths that may have been abused. The control boundary must be shared, not siloed.
Why This Matters for Security Teams
When a stolen session is reused after malware has landed, accountability is not a single-team question. The compromise usually starts on the endpoint, but the blast radius is often expressed through identity: active sessions, cached tokens, API keys, and privileged browser state. That means endpoint security, IAM, and incident response each own a piece of the response, and none can close the case alone.
This is especially important because session theft often survives credential resets. Attackers reuse what is already trusted, which makes the incident look like legitimate activity unless telemetry from device, identity, and network layers is correlated quickly. NHI Management Group has documented how identity abuse frequently follows secret exposure and session compromise in real-world incidents, including the 52 NHI Breaches Analysis and the Ultimate Guide to NHIs — Why NHI Security Matters Now.
Security teams often assume malware containment ends the problem, but session reuse turns containment into an identity investigation. In practice, many organisations discover the shared control boundary only after an attacker has already pivoted through valid sessions and accessed systems that were never meant to be reachable from the infected device.
How It Works in Practice
Accountability should follow the control plane that failed at each stage of the incident. Endpoint teams are responsible for detecting malware, isolating the host, and preserving evidence. IAM teams are responsible for revoking active sessions, invalidating refresh tokens where possible, and reviewing whether the compromised device had access to privileged applications or sensitive non-human identities. Incident response coordinates the timeline, determines whether the session reuse was opportunistic or targeted, and validates whether additional lateral movement occurred.
The practical challenge is that session abuse often persists even after a password reset. Current guidance from standards bodies such as NIST SP 800-53 Rev 5 Security and Privacy Controls and CIS Controls v8 treats continuous monitoring, session management, and access revocation as shared capabilities, not isolated tasks. That matters because stolen sessions can be replayed from a clean machine, from a proxy, or through an automation path that still trusts the token.
- Endpoint containment confirms whether the malware created the foothold.
- Identity revocation removes the attacker’s ability to reuse trust already established.
- IR validates whether the session was used to access data, change permissions, or mint new tokens.
- Audit teams reconstruct who approved access, who owned the account, and who had authority to revoke it.
Where NHI exposure is part of the incident, session misuse can also be tied to leaked service credentials or developer tooling, as seen in the JetBrains GitHub plugin token exposure and the CircleCI Breach. These cases reinforce that the boundary between endpoint compromise and identity abuse is operational, not organisational. These controls tend to break down when long-lived sessions are allowed on unmanaged devices because revocation is delayed and trust is inherited beyond the original malware event.
Common Variations and Edge Cases
Tighter session control often increases help desk load and can interrupt legitimate users, so organisations have to balance response speed against operational friction. That tradeoff is real, especially in environments with remote work, contractor access, or hybrid device fleets.
There is no universal standard for how much blame or remediation responsibility should sit with each team after a stolen session incident. Current guidance suggests the cleanest model is shared accountability with clearly assigned actions: endpoint for containment, IAM for revocation, and IR for forensics and notification. When the compromised identity is a service account or automation token, the same pattern applies, but the owner may sit in engineering rather than corporate IT.
One common edge case is when the malware never touches a human password at all and instead reuses browser cookies, device-bound tokens, or cloud console sessions. Another is when the attacker uses a valid session to create new access paths before detection. In those cases, the incident should be treated as both a device compromise and an identity compromise, because the attacker has already crossed from the endpoint into the control plane.
Best practice is evolving, but the practical lesson is stable: if the session can outlive the device compromise, accountability must outlive the endpoint team alone. Many organisations only discover that after the attacker has already reused the session to move laterally, not during the initial malware alert.
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 CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AA-05 | Session reuse after malware is an identity assurance and revocation problem. |
| NIST SP 800-53 Rev 5 | AC-12 | Session termination is central when attackers reuse stolen sessions. |
| OWASP Non-Human Identity Top 10 | NHI-06 | Stolen sessions and tokens are core NHI exposure paths. |
| CSA MAESTRO | IAM-03 | Agent and workload identity controls map to session trust and revocation. |
| NIST AI RMF | GOVERN | Cross-functional accountability is a governance issue in identity incidents. |
Assign decision owners for containment, revocation, and post-incident review before an event occurs.
Related resources from NHI Mgmt Group
- Who is accountable when a stolen SaaS session is reused after phishing?
- Who is accountable when stolen tokens are used after a device code phishing incident?
- Who is accountable when stolen developer credentials are reused to spread malware?
- What should teams do immediately after a package-based secret theft incident?