Isolate Machine [FIX-9007]
This remediation isolates a device from the network using the Microsoft Defender API. The isolation type (Full or Selective) is taken from the Defender Machine Isolation Type configuration. It is a containment action used to cut a compromised or suspicious device off from the network while keeping it connected to Microsoft Defender for investigation and remediation.
Isolation is reversible. The device stays manageable from the Defender portal throughout, and connectivity is restored with the Release from isolation action once the device is safe to bring back online.
Rationale
When a device is compromised, isolating it from the network is the fastest way to stop an active attack from spreading. Network isolation severs the device's ability to communicate with other hosts and with attacker command-and-control infrastructure, which contains lateral movement, data exfiltration, and ransomware propagation, while preserving the device for forensic analysis rather than wiping or shutting it down.
Microsoft Defender supports two isolation levels. Full isolation blocks essentially all network traffic except the device's connection to the Defender service, and is the right choice for an actively compromised endpoint. Selective isolation restricts a narrower set of traffic, allowing some applications (such as Outlook and Teams) to keep working, and is used when full isolation would be too disruptive for the level of risk. The configured isolation type lets you match the containment strength to the incident.
This remediation POSTs to the Defender isolate machine action API with the configured isolation type and a comment identifying Attic as the initiator. It requires the Machine.Isolate permission on the Microsoft Defender (WindowsDefenderATP) application.
Fix
An automated fix is available through Attic.
Manual steps:
- Navigate to the Microsoft Defender portal at https://security.microsoft.com
- Go to Assets > Devices
- Search for and select the affected device
- Open the device page and click Isolate device in the action bar
- Choose Full isolation or Selective isolation
- Enter a comment describing why the device is being isolated
- Click Confirm and track progress on the Action center page
- When the device is safe to bring back online, use Release from isolation on the same device page
Impact
- The device is cut off from the network and can no longer communicate with other hosts or attacker infrastructure.
- The device remains connected to Microsoft Defender, so it stays manageable and can be released remotely.
- Full isolation blocks nearly all traffic; Selective isolation allows a limited set of applications to keep working.
- The user loses network access on that device until it is released; communicate the containment if the device belongs to an active user.
- The action only runs on devices onboarded to Microsoft Defender for Endpoint, and isolation must be explicitly reversed with Release from isolation.
Revert
Isolation is reversible, and must be reversed explicitly. It does not expire on its own.
- Navigate to the Microsoft Defender portal at https://security.microsoft.com
- Go to Assets > Devices and select the isolated device
- Click Release from isolation in the action bar
- Enter a comment recording why the device is being released
- Confirm, and track the action on the Action center page
- Confirm with the user that network access has returned
Connectivity is restored within a few minutes once the device processes the action. If the device is offline, the release is queued and applies the next time it checks in to Defender. Nothing else needs restoring: isolation changes no local configuration.