Home › Studies › SC-200 › Incident Response › Endpoint Response & Live Response

Endpoint Response & Live Response

Device timeline · response actions · isolation and containment · live response · investigation package · file actions · automatic attack disruption

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Device investigation and timeline

Response actions on a device

ActionWhat it doesRemember
Isolate deviceDisconnects the device from the network but keeps the Defender for Endpoint service connectionNeeds at least Active remediation actions; selective isolation can allow Outlook and Teams; lifted automatically after seven days; offline devices retried up to three days
Contain deviceAll onboarded devices block traffic to and from the contained deviceFor unmanaged devices; recommended maximum 100 at a time
Contain userOnboarded devices block attack-related traffic from the user; account is not disabled in the identity providerApplied automatically by attack disruption; undoing needs Global Administrator
Restrict app executionCode integrity policy allows only Microsoft-signed filesReversible with Remove app restrictions
Run antivirus scanQuick or full scanResult appears in the Action center and device timeline
Collect investigation packageZip of the device stateDownload from the Action center if needed
Stop and quarantine fileStops processes, quarantines the file, removes persistent dataMaximum 1000 devices; use an indicator to block on more

Defender for Endpoint Plan 1 includes only: Run antivirus scan, Isolate device, Stop and quarantine a file, and Add an indicator to block or allow a file. Plan 2 is needed for all other response actions.

Live response

CommandLevelPlatforms
getfile, fileinfo, findfile, dir, processesBasicWindows, macOS and Linux
services, registry, persistence, scheduledtasks, drivers, connectionsBasicWindows only
remediate, putfile, run, libraryAdvancedWindows, macOS and Linux
analyze, undoAdvancedWindows only
collect, scanAdvancedmacOS and Linux, not Windows
isolate, releaseAdvancedmacOS only

Investigation package and file actions

Windows package folderUse
AutorunsRegistry auto-start entry points: attacker persistence
Installed programsWhat is installed
Network connectionsC2 and lateral movement clues
Prefetch filesTraces of recently run or deleted applications
SMB sessionsData exfiltration or lateral movement
Temp directoriesFiles an attacker dropped
CollectionSummaryReport.xlsWhich data points were collected and any errors

Automatic attack disruption and the Action center

Attack disruption works at the incident level with high-confidence signals; containment actions keep a confidence level of 99% or higher. All actions can be undone. Release only after investigation.

ActionProduct
Contain device, Contain IP, Isolate device, Contain userDefender for Endpoint
Disable userDefender for Identity
Revoke user session, Suspend user in EntraMicrosoft Entra ID
OAuth app compromiseDefender for Cloud Apps

CLI and PowerShell

TaskAzure CLIPowerShell
Find devices where containment blocked user activityDeviceEvents | where ActionType contains "ContainedUser"-
Find devices where containment blocked device activityDeviceEvents | where ActionType contains "ContainedDevice"-
List attack disruption actions (30 days)DisruptionAndResponseEvents | where Timestamp > ago(30d) | project Timestamp, ActionType, AttackDisruptionCategory, DeviceName, AccountUpn, RemoteIP | order by Timestamp desc-
Download a file in the background (live response)getfile "C:\windows\some_file.exe" &-
Remediate a file automatically (live response)remediate file <file path> -auto-
Check the Sense agent version (Contain user needs v10.8470)-Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Advanced Threat Protection\Status' -Name "MsSenseDllVersion"

Exam Tips

Tick each tip once you can answer it without looking.

“Live response session cannot start” → Enable live response in Advanced features (Manage Portal Settings). Trap: Unsigned script setting is separate and optional.

“Run an unsigned PowerShell script” → Upload to library, enable unsigned script execution, then run. Trap: Bash scripts are not subject to signature verification; library upload is still required.

“Analyst can start a session but cannot run library scripts” → Needs advanced live response commands. Trap: Basic is read-only and excludes file copy and execution.

“Linux device, need a forensics package or quick scan from live response” → collect and scan. Trap: They are not available on Windows; analyze and undo are Windows only.

“Large file download blocks the console” → getfile path &, then fg command ID. Trap: Ctrl + C cancels only in the portal.

“Where to download a collected investigation package” → Action center: Package collection package available. Trap: The zip can also download right after you confirm the action.

“Find attacker persistence in the package” → Autoruns folder. Trap: Prefetch shows traces of run apps; Temp lists dropped files.

“Isolate but keep Outlook and Teams” → Selective isolation. Trap: Full isolation still keeps the Defender for Endpoint service connection.

“Compromised unmanaged device” → Contain device (all onboarded devices block it); keep to about 100 devices. Trap: 1000 is the stop-and-quarantine limit; 10 is the AIR expansion approval threshold.

“Contain a user manually from the portal” → Not offered: Contain user comes automatically from attack disruption. Trap: Contain user does not disable the account in the identity provider.

“Which attack disruption actions are Entra ID actions” → Revoke user session and Suspend user in Entra. Trap: Disable user is listed under Defender for Identity.

“Org-wide list of disruption actions in hunting” → DisruptionAndResponseEvents. Trap: DeviceEvents shows only blocks caused by containment.

“Keep a lab device from being isolated automatically” → Tag it and exclude Isolate device in a policy application (Preview). Trap: The action then shows Skipped in the Action center.

“Current status of a disruption policy” → Activities tab Policy status (Preview). Trap: Action center History logs past actions only.

“Download file versus Collect file” → Download uses the cloud-backed quarantine copy; Collect reads the device path. Trap: Collect is disabled if the file has not been seen in the organization in the past 30 days.

“Block a PE file across many devices” → Add a block indicator. Trap: Stop and quarantine is limited to 1000 devices and 3 days offline.

“Pending AIR actions waiting for approval” → Approve or reject in the Action center Pending tab; they time out after seven days. Trap: A timeout acts like a rejection.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Incidents & Case ManagementAudit, eDiscovery & Graph Logs →