Respond to alerts and incidents in Microsoft Defender for Endpoint
Unlock the complete study guide + 25 practice exams totaling 1,498 questions.
Bundled into the existing Microsoft Certified: Security Operations Analyst Associate premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Where endpoint evidence lives
- Working the device timeline
- Interpreting timeline evidence
- Collecting an investigation package
- Reading investigation package artifacts
- Live response prerequisites
- Running live response commands
- Live response constraints
- Investigating a file entity
- Investigating other evidence entities
- Investigating an internet-facing device
- File response actions
- Two containment models
- Isolating a device
- Device actions beyond isolation
- Peer-enforced containment actions
- Investigating an attack disruption incident
- Hunting containment effects with KQL
- Why a response action is missing or skipped
- Practice: choosing Defender for Endpoint investigation tools and response actions
Containment actions that block communication: Isolate device vs Contain device vs Contain IP vs Contain user
| Question | Isolate device | Contain device | Contain IP | Contain user |
|---|---|---|---|---|
| What is targeted | A compromised onboarded device | An unmanaged device (discovered, not onboarded) | The IP address of an undiscovered or non-onboarded device | A compromised user identity |
| Who enforces the block | The isolated device itself | Every supported onboarded device | Every supported onboarded device | Every supported onboarded device |
| How it starts | Manually, or by attack disruption (preview, workstations only) | Manually, or by attack disruption | Only by attack disruption | Automatically by attack disruption or predictive shielding (a related preview feature that applies protections before an attack escalates) |
| What gets blocked | The device's network traffic, except the Defender for Endpoint service and any selective isolation exclusions | Incoming and outgoing communication with the contained device | Incoming and outgoing traffic with devices using that IP address | Incoming network logons, RPC, SMB, and RDP from the user; attack disruption ends existing remote sessions, while predictive shielding prevents new sessions |
| How it ends | Release from isolation (or a force-release script if the device is unresponsive), or automatically after seven days (automatic isolation: after a defined time window) | Release from containment | Undo on the Contain IP action in the Action center | Undo in the Action center or user pane; when applied by attack disruption, automatically within five days |
| Watch out for | A full-tunnel VPN or web proxy can break the device's path back | Peers can take up to 5 minutes to receive the policy; check BFE on enforcing devices | No device-local action exists for the source; peers do all the blocking | The account is not disabled in the identity provider |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- https://learn.microsoft.com/en-us/defender-endpoint/investigate-alerts
- https://learn.microsoft.com/en-us/defender-endpoint/investigate-machines
- https://learn.microsoft.com/en-us/defender-endpoint/respond-machine-alerts
- https://learn.microsoft.com/en-us/defender-endpoint/investigate-files
- https://learn.microsoft.com/en-us/defender-endpoint/investigate-ip
- https://learn.microsoft.com/en-us/defender-xdr/incidents-overview
- https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-overview
- https://learn.microsoft.com/en-us/defender-endpoint/machine-groups
- https://learn.microsoft.com/en-us/defender-endpoint/live-response
- https://learn.microsoft.com/en-us/defender-endpoint/advanced-features
- https://learn.microsoft.com/en-us/defender-endpoint/user-roles
- https://learn.microsoft.com/en-us/defender-xdr/custom-permissions-details
- https://learn.microsoft.com/en-us/defender-xdr/m365d-action-center
- https://learn.microsoft.com/en-us/defender-endpoint/restrict-response-actions-high-value-assets
- https://learn.microsoft.com/en-us/defender-endpoint/investigate-user
- https://learn.microsoft.com/en-us/defender-endpoint/investigate-domain
- https://learn.microsoft.com/en-us/defender-endpoint/respond-file-alerts
- https://learn.microsoft.com/en-us/defender-xdr/automatic-attack-disruption
- https://learn.microsoft.com/en-us/defender-endpoint/network-isolation-exclusions
- https://learn.microsoft.com/en-us/defender-xdr/autoad-results
- https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-disruptionandresponseevents-table
- https://learn.microsoft.com/en-us/defender-xdr/automatic-attack-disruption-exclusions