Lesson 62 — Do We Isolate the Device Now?
The endpoint evidence was getting worse.
PowerShell had executed.
A suspicious process had connected externally.
Credential-access behaviour was under investigation.
The same account had appeared on another device.
The analyst's mouse was already hovering over the isolation action.
“We should isolate it now.”
Agent Foskett looked at the hostname.
“Maybe. What does this device actually do?”
Contain now — or investigate longer?
Balance active threat, evidence confidence, lateral-movement risk and business impact before isolating an endpoint.
Case briefing
Investigation objective
Make an evidence-based endpoint isolation decision by evaluating threat activity, confidence, lateral-movement risk, device criticality, evidence-preservation needs and organisational authority.
Investigator's rule
Do not ask only, “Can we isolate it?” Ask, “What happens if we isolate it — and what happens if we do not?”
Stage 1 — define the containment decision
Isolation is containment
The purpose is to reduce the endpoint's ability to communicate and participate in the attack while response continues. It does not automatically prove the device is clean or the incident is contained.
Isolation does not end the investigation
Other identities, sessions, endpoints, applications and cloud workloads may remain compromised. Treat device isolation as one response action inside the larger incident.
Stage 2 — determine whether malicious activity is active
DeviceProcessEvents
| where Timestamp > ago(2h)
| where DeviceName =~ "FIN-WS-044"
| project Timestamp,
DeviceName,
AccountName,
FileName,
ProcessCommandLine,
InitiatingProcessFileName
| order by Timestamp ascActive behaviour raises urgency
If suspicious processes are still spawning, commands are executing or new connections continue to appear, every minute of delay may create additional risk.
Historical evidence changes the equation
If the suspicious activity ended hours ago, the immediate containment pressure may be different. That does not mean isolation is unnecessary; it means the decision can incorporate more context.
Stage 3 — examine network activity
DeviceNetworkEvents
| where Timestamp > ago(2h)
| where DeviceName =~ "FIN-WS-044"
| project Timestamp,
DeviceName,
InitiatingProcessFileName,
RemoteIP,
RemotePort,
RemoteUrl,
ActionType
| order by Timestamp ascAsk what the device can still reach
Connections to internal resources, remote administration services, identity infrastructure or suspicious external destinations can materially change the containment priority.
One external connection is context, not a verdict
Correlate network activity with process ancestry, destination reputation, timing and other evidence. Do not isolate a critical system merely because one IP address looked unfamiliar.
Stage 4 — assess lateral-movement risk
Contain the launch point
A workstation with evidence of credential theft and movement toward other systems presents a different risk from an isolated suspicious file that never executed.
Scope in parallel
While the isolation decision is being made, other analysts can search for the same account, IP, process, hash or related activity across the environment.
Stage 5 — identify the device's business role
| Device type | Containment consideration |
|---|---|
| Standard user workstation | Isolation may have limited operational impact. |
| Executive workstation | Business impact may be visible, but security risk still requires action. |
| Shared clinical / operational terminal | Loss of connectivity may affect essential operations. |
| Production server | Isolation could interrupt critical services or dependencies. |
| Domain / identity infrastructure | Response requires immediate specialist coordination. |
| Unknown asset | Determine ownership and function quickly; uncertainty itself is relevant. |
Business impact does not cancel security risk
A critical device may still need immediate containment. Its importance changes how the response is coordinated, not whether confirmed malicious activity should be ignored.
Know before you click
Asset ownership, service dependencies, criticality and available failover can help responders choose the safest containment path under pressure.
Stage 6 — preserve what matters
Preservation and containment compete for time
In a high-confidence active compromise, immediate risk reduction may outweigh collecting every possible artefact first. Follow approved procedures for evidence capture and emergency response.
Document what you could not collect
If urgent isolation prevented additional evidence collection, record that limitation. An explicit evidence gap is better than pretending the evidence never existed.
Stage 7 — weigh confidence against consequence
| Evidence | Containment pressure |
|---|---|
| Single weak anomaly | Investigate further unless other context raises risk. |
| Suspicious process chain plus external connection | Strong reason to prepare containment. |
| Confirmed malicious execution | High containment pressure. |
| Credential access plus lateral movement | Very high containment pressure. |
| Active destructive behaviour | Emergency containment according to procedure. |
| Critical production asset with ambiguous evidence | Rapid specialist and business coordination may be required. |
Confidence matters
The greater the operational consequence of isolation, the more important it is to understand the evidence supporting the decision — unless immediate destructive risk makes delay unacceptable.
Risk is two-sided
Analysts often focus only on the risk of isolating the device. The risk of not isolating it must be stated just as clearly.
Stage 8 — decide who has authority
Know the playbook beforehand
Response procedures should define which endpoints analysts can isolate directly, which require approval and what emergency authority exists when malicious activity is actively causing harm.
Escalate the decision, not just the alert
If approval is required, state the evidence, active risk, business impact and recommended action clearly: “We recommend isolating FIN-WS-044 now because...”
Stage 9 — make the decision
The decision should be explainable
A reviewer should be able to see why isolation was reasonable based on what was known at the time — even if later evidence changes the final incident conclusion.
Do not judge yesterday's decision with tomorrow's evidence
Incident decisions should be assessed against the information available when they were made. Good documentation preserves that context.
Stage 10 — verify what happened after isolation
Containment is something you verify
Confirm the endpoint reached the expected containment state according to your platform and procedures. Do not assume the action succeeded simply because it was requested.
Watch for activity elsewhere
If the same identity, application or attacker infrastructure remains active after device isolation, the incident has additional access paths that must be investigated and contained.
Example containment decision note
Lesson 62 key takeaways
- Endpoint isolation is a risk decision, not simply a technical action.
- Ask what happens if you isolate the device and what happens if you do not.
- Active malicious execution increases containment urgency.
- Credential access and lateral-movement evidence can sharply increase the cost of delay.
- Understand the device's business role and dependencies before containment when circumstances allow.
- Business criticality changes coordination requirements; it does not erase security risk.
- Preserve important evidence before isolation when doing so does not create unacceptable delay.
- Do not allow perfect evidence collection to keep an active attacker connected.
- Use organisational procedures and defined authority for containment actions.
- Document the evidence, recommendation, decision, business context and timestamp.
- Verify that containment actually took effect.
- Continue scoping after isolation because the endpoint may be only one part of the incident.
Module 7 — Incident Response: Containment, Evidence & Escalation
Lesson 62 made the endpoint containment decision. Lesson 63 moves to identity containment and asks another deceptively simple question with potentially enormous consequences.
Continue your SOC Analyst training
🔎 SOC Analyst Academy — Module 7: Incident Response: Containment, Evidence & Escalation
When should a SOC analyst isolate a compromised device?
Lesson 62 of the Agent Foskett SOC Analyst Academy teaches analysts how to decide whether to isolate a suspicious endpoint by balancing active threat, lateral-movement risk, evidence confidence, business impact and evidence preservation.
Endpoint containment decisions with Microsoft Defender XDR
Learn how to investigate recent process and network activity with Microsoft Defender XDR Advanced Hunting, assess device criticality, document containment decisions, verify isolation and continue incident scoping after containment.
