Lesson 65 — The Attack Was Still Active
The SOC had confirmed the compromise.
Evidence was being preserved.
Containment actions were being coordinated.
Then another event appeared.
And another.
The suspicious account touched a second device.
A new external connection appeared.
Another cloud action followed.
Agent Foskett looked at the timeline.
“We're not investigating what happened anymore. We're watching it happen.”

The incident is still moving.
Recognise continuing attacker activity, shorten the decision cycle and contain the paths that can cause the next piece of harm.
Case briefing
Investigation objective
Recognise evidence that malicious activity is continuing, identify the attacker's remaining access paths and prioritise containment actions while investigation and scoping continue in parallel.
Investigator's rule
When the attack is active, every unanswered question does not have equal priority. First answer the questions that change what you must contain now.
Stage 1 — prove the incident is still moving
Use timestamps, not feelings
“The attacker is still active” should be supported by recent evidence: new process execution, connections, authentication, cloud actions, persistence or activity on additional entities.
Define what “active” means
Be specific. Is a malicious process still executing? Is the identity still producing cloud activity? Is a second endpoint now involved? The answer determines the containment priority.
Stage 2 — watch endpoint activity as it develops
DeviceProcessEvents
| where Timestamp > ago(1h)
| where DeviceName in~ ("FIN-WS-044", "FIN-WS-061")
| project Timestamp, DeviceName, AccountName,
FileName, ProcessCommandLine,
InitiatingProcessFileName
| order by Timestamp ascLook for new execution after response begins
If suspicious execution continues on another endpoint after the first device is isolated, the incident scope has changed. The original device was not the attacker's only path.
Do not stare only at the first device
An active attacker may move faster than an analyst who keeps investigating the original endpoint. Scope indicators and identities across the environment while the detailed investigation continues.
Stage 3 — identify continuing network access
DeviceNetworkEvents
| where Timestamp > ago(1h)
| where DeviceName in~ ("FIN-WS-044", "FIN-WS-061")
| project Timestamp, DeviceName,
InitiatingProcessFileName,
RemoteIP, RemotePort, RemoteUrl, ActionType
| order by Timestamp ascAsk what capability remains
A continuing connection may represent command-and-control, data access or ordinary traffic. Correlate it with the initiating process, timing and other evidence before deciding what it means.
Block the path, not merely the indicator
Blocking one destination may reduce risk, but an attacker with valid credentials or another compromised endpoint may simply use another route. Containment should address the access path revealed by the evidence.
Stage 4 — check whether identity activity continues
CloudAppEvents
| where Timestamp > ago(1h)
| where AccountId =~ "mia@contoso.com"
| project Timestamp, AccountId, Application,
ActionType, IPAddress, UserAgent
| order by Timestamp ascEndpoint containment may leave cloud access alive
If cloud activity continues after a device action, investigate sessions, credentials, applications and other devices rather than assuming the endpoint action failed.
Multiple access paths can coexist
An attacker may have endpoint execution, stolen credentials and cloud persistence at the same time. The SOC may need coordinated containment across several control planes.
Stage 5 — prioritise by potential next harm
| Observed activity | Immediate concern |
|---|---|
| New suspicious process execution | Further execution, payloads or persistence. |
| Credential-access behaviour | Additional identities may become compromised. |
| Activity on another endpoint | Lateral movement and expanding scope. |
| Privileged account activity | Security-control changes and broad tenant impact. |
| Sensitive file access | Potential exposure or exfiltration. |
| Mailbox manipulation | Persistence, fraud, impersonation or concealment. |
Ask: what can happen next?
During an active incident, the best next action often comes from identifying the attacker's most dangerous remaining capability rather than finishing the most interesting investigative thread.
Impact and probability both matter
A low-probability but catastrophic action may demand urgent protection, while a high-frequency low-impact event may be less important. Use organisational response priorities and incident severity criteria.
Stage 6 — shorten the decision loop
Do not wait for perfect attribution
You may not know who the attacker is, exactly how initial access occurred or the full impact yet. Those unknowns do not prevent proportionate containment when ongoing malicious activity is supported by evidence.
Containment decisions still need discipline
Urgency does not mean improvisation. Use approved playbooks, defined authority and coordinated response actions, particularly for critical systems and privileged identities.
Stage 7 — contain in parallel
Parallel response beats serial response
If the evidence supports several active access paths, waiting for one team to finish before another begins may give the attacker unnecessary time. Coordinate actions so containment closes paths together where appropriate.
Coordination prevents self-inflicted confusion
Every response action changes telemetry. Record who is doing what and when so analysts can distinguish attacker behaviour from defender activity.
Stage 8 — preserve evidence without protecting the attacker
Evidence collection has a risk budget
The more dangerous the continuing activity, the less time responders can reasonably spend collecting optional evidence before containment. Preserve material evidence and document unavoidable gaps.
Watching an attacker requires exceptional justification
Do not casually delay containment merely to observe additional behaviour. Any deliberate monitoring of continuing malicious activity should follow explicit organisational authority, risk acceptance and specialist procedures.
Stage 9 — record the live response timeline
Record decision timestamps precisely
During a fast-moving incident, five minutes can matter. Precise timestamps help establish whether suspicious activity occurred before, during or after a containment action.
Keep one shared operational picture
Teams should work from a common incident timeline so that scope, actions, owners, evidence and unresolved risks do not fragment across separate conversations.
Stage 10 — verify attacker capability is shrinking
Silence is evidence — cautiously
A sustained absence of previously observed malicious activity after containment supports the conclusion that attacker options have been reduced. It does not prove eradication or complete scope.
Move from emergency containment to reassessment
Once active harm appears to have stopped, return to broader scoping, persistence review, impact analysis, evidence preservation and recovery planning.
Example active-incident update
Lesson 65 key takeaways
- Recent malicious events can prove that an incident is still active.
- Define exactly what activity is continuing rather than using vague labels.
- An active incident requires a faster observe-assess-contain-verify cycle.
- Prioritise questions that change immediate containment decisions.
- Do not focus only on the first compromised endpoint when scope is expanding.
- Endpoint, identity, cloud and messaging access paths may remain active simultaneously.
- Prioritise containment according to the attacker's potential next harm.
- Investigation and containment should often proceed in parallel.
- Record defender actions because they change the evidence timeline.
- Do not delay necessary containment merely to collect optional evidence.
- Verify that attacker capability is shrinking after response actions.
- The absence of new activity supports containment but does not prove the incident is over.
Module 7 — Incident Response: Containment, Evidence & Escalation
Lesson 65 forced the SOC to respond while the attacker was still moving. Lesson 66 introduces the coordination problem that follows when identity, endpoint, messaging, cloud and business teams all become part of the same incident.
Continue your SOC Analyst training
🔎 SOC Analyst Academy — Module 7: Incident Response: Containment, Evidence & Escalation
How should a SOC respond when a cyber attack is still active?
Lesson 65 of the Agent Foskett SOC Analyst Academy teaches analysts how to recognise continuing malicious activity, prioritise immediate containment and coordinate response while an incident is still developing.
Active incident response with Microsoft Defender XDR
Learn how to use endpoint, network and cloud evidence to identify continuing attacker activity, track expanding scope, shorten the response decision cycle and verify whether containment is reducing attacker capability.
