The first response is to stop further abuse by revoking live credentials, invalidating active sessions, and disabling any compromised accounts or service principals that were used in the intrusion. Then preserve logs, isolate affected hosts or workloads, and reset exposed secrets before the attacker can reuse tokens, keys, or cached authentication material.
Why the first move is containment, not diagnosis
After fresh exploitation, the priority is to stop the intruder from continuing to operate with whatever access they already gained. That means cutting off live credentials, invalidating sessions, and disabling the specific accounts or service principals that were used. If you wait to confirm every detail before acting, the attacker may keep reusing the same authenticated path.
Use the response to preserve control of the environment, not to prove the full scope in the first minute. If the compromise involved tokens, API keys, certificates, or cached authentication material, assume those secrets can still be replayed until they are revoked or rotated.
When the abuse path is identity-based, the practical question is which access paths are still trusted by the attacker. Zero-Day and Exploited Vulnerabilities Guide is useful here because it frames emergency response around active exploitation, fast mitigation, and post-patch hunting rather than slow, routine remediation.
What to preserve and isolate before the trail goes cold
Once the active access path is cut, preserve evidence before making broader changes that could destroy forensic value. Keep logs from identity providers, endpoint tools, cloud control planes, VPNs, and application audit sources, then isolate affected hosts or workloads so the attacker cannot pivot or erase their own activity.
Isolation should be targeted. A full shutdown can help in some incidents, but in many cases a controlled network quarantine or workload segmentation is better because it limits spread while keeping memory, disk, and telemetry available for review. If the intrusion touched multiple systems, treat them as a connected chain until you can separate what was directly used from what was merely reachable.
Use an incident record that ties together authentication events, administrative actions, and any unusual token use. MITRE ATT&CK T1211 Exploitation for Stealth is a good reference point when the attacker may have tried to hide by suppressing logs, bypassing telemetry, or interfering with security tooling.
Which secrets and permissions need immediate review
The first wave of review should focus on anything that can still authenticate or authorize action: passwords, session tokens, refresh tokens, SSH keys, service account secrets, cloud access keys, signing keys, and delegated admin grants. If a compromised principal had privilege to create other access, rotate those downstream secrets as well, because the initial compromise may have created secondary footholds.
Do not limit the review to human users. Service principals, automation identities, and integration accounts often keep working long after a human login has been revoked, which is why they are so often the fastest route to re-entry. If the attacker used cached authentication material, reset it before restoring normal access.
For prioritisation, it helps to separate the credential that opened the door from the credential that could expand the blast radius. SSVC Guide supports that kind of decision-making by focusing on exploitation status, system exposure, and track-to-act response choices.
Risk and Threat Considerations
Fresh exploitation is dangerous because the attacker has already crossed the trust boundary and may still possess valid access. The biggest failure mode is treating the event as a patching problem first, when the real issue is active misuse of authenticated access, which can continue even after the original weakness is fixed.
Failure mechanism: Stolen or abused credentials, sessions, and service principal secrets let the attacker reuse legitimate access paths, bypassing normal detection and extending dwell time while logs are altered or additional footholds are created.
Impact: Continued data access, privilege expansion, lateral movement, destructive action, or repeat exploitation can follow unless the compromised access material is revoked and the affected environment is isolated quickly.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses 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 |
|---|---|---|
| MITRE ATT&CK | T1078 — Valid Accounts | Fresh exploitation often continues through abused legitimate accounts and sessions. |
| T1003 — OS Credential Dumping | Credential theft can turn an initial foothold into repeated authenticated access. | |
| Recommendation — Hunt for valid-account abuse and revoke the access paths the attacker used. Check for dumped credentials and rotate any material that may have been exposed. | ||
| NIST SP 800-53 Rev 5 | IR-4 — Incident Handling | The response sequence is an incident-handling decision: contain, preserve evidence, then eradicate. |
| IA-5 — Authenticator Management | Revoking sessions and resetting exposed secrets is authenticator lifecycle control. | |
| AC-2 — Account Management | Disabling compromised accounts or service principals is direct account-management action. | |
| Recommendation — Contain the incident first, then preserve evidence before deeper remediation. Rotate exposed authenticators and invalidate compromised sessions immediately. Disable compromised accounts and remove unnecessary access without delay. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | The answer depends on preserving logs and verifying attacker activity. |
| CIS-5 — Account Management | Immediate disabling of compromised users and service principals is account hygiene under incident pressure. | |
| Recommendation — Centralise and preserve logs so you can reconstruct the intrusion path. Disable or remove compromised accounts and service principals right away. | ||
Practitioner Guidance
What to prioritise: Revoke the access that is already confirmed or strongly suspected to be in the attacker’s hands before you spend time on root-cause analysis. If a secret, token, or session could still authenticate, treat it as live until proven otherwise.
What to verify: Confirm which principals were used in the intrusion, whether any delegated access remains active, and whether there are compensating sessions, API tokens, or service credentials that were not covered by the first revocation step. The goal is to close every practical reuse path, not just the obvious login.
Practitioner takeaway: After exploitation, the first success criterion is loss of attacker access, not completion of investigation. If you preserve evidence while simultaneously cutting off the attacker’s ability to reuse credentials, you buy the time needed to understand scope without worsening it.
Related resources from NHI Mgmt Group
- What should security teams do first after discovering on premises Exchange exploitation attempts like HAFNIUM activity?
- What should security teams do in the first 24 to 72 hours after a malicious package advisory?
- What should teams do first after confirming active exploitation of a public-facing identity-linked server?
- How do organisations keep identity security improvements from stalling after the first rollout?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org