The faster a security system can respond to an active attack, the less time the attacker has to move through the environment. That makes automated response incredibly valuable. But it also means the security system can take actions that may affect users, devices, and business operations.
Microsoft Defender XDR is designed to navigate that balance through automatic attack disruption. When Defender identifies an active attack with high confidence, it can contain a device, restrict a compromised identity, revoke a session, or take another action intended to stop the attack from progressing.
Those capabilities are becoming more granular. Microsoft’s policy application controls allow security teams to decide where specific disruption policies should and should not be enforced. That added control matters for organizations with critical systems, operational exceptions, or authorized security testing that may intentionally resemble malicious activity.
The feature is a good example of what Microsoft security can do. It also shows why using Microsoft security well requires more than turning capabilities on. Effective automation depends on understanding how the technology interacts with the rest of your environment, your business, and your security program.
What Is Microsoft Defender Automatic Attack Disruption?
Automatic attack disruption is a built-in Microsoft Defender XDR capability that helps contain sophisticated attacks while they are still in progress.
An active cyberattack rarely appears as one obvious, self-contained alert. A compromised identity may be used to access email, move between devices, connect to applications, and reach sensitive resources. Each action can generate a different signal, and the full attack may only become clear when you connect those signals.
Many security controls evaluate one of those activities or indicators. For example, a tool may block a known malicious file or flag a suspicious sign-in. Automatic attack disruption works at the incident level. It correlates signals from across the environment to understand the broader attack and determine which assets may be under an attacker’s control.
Microsoft describes the process in three stages:
- Defender correlates signals from endpoints, identities, email, collaboration tools, and SaaS applications into a high-confidence incident.
- It identifies the assets being used to establish access or move through the environment.
- It automatically applies relevant response actions to contain those assets and interrupt the potential attack.
This cross-platform context is what makes the feature different from a response based on one alert. Defender is not simply reacting to an isolated event. It is evaluating how multiple events fit together and whether they represent an attack that requires immediate action.
What Can Microsoft Defender Do During an Active Attack?
Defender's actions depend on the attack, the affected asset, and the Microsoft security products deployed in the environment. Supported actions include:
- Containing a compromised device or automatically isolating a compromised workstation, which is currently in preview
- Containing an unmanaged device by blocking communication with its IP address
- Disabling or suspending a compromised user account
- Revoking an active user session
- Containing a user at the endpoint layer to limit authentication, file system, and network access
- Taking protective action against a potentially compromised OAuth application
These actions can help interrupt common attack paths, including lateral movement, remote encryption, malicious mailbox activity, and continued access through a compromised identity.
Speed matters in these situations. An attacker does not wait for the next business day, a scheduled security review, or a manually assembled incident timeline. Automatic attack disruption lets Defender act while the investigation is still developing, limiting the attacker’s options and giving the security team more time to respond.
That level of automation can understandably make organizations cautious. Automatically disabling an account or isolating a device can affect business operations. Microsoft says its containment detectors maintain a confidence level of 99% or higher based on production data, using cross-workload correlation, machine learning, threat intelligence, and expert-led incident classification. The security team can also reverse these actions.
However, reversible does not mean consequence-free, and high confidence does not remove the need for preparation.
Why “Automatic” Does Not Mean “Hands-Off”
Automatic attack disruption can act at machine speed, but it can only use the coverage, signals, permissions, and processes available. Making the feature effective requires more than locating a setting in the Defender portal. You still need to consider the following:
Defender Needs the Right Visibility
The wider your Microsoft Defender deployment, the more context Defender can use when evaluating an attack.
Signals can come from Defender for Endpoint, Defender for Identity, Defender for Office 365, Defender for Cloud Apps, and other connected services. Each product provides visibility into a different part of the attack surface and enables different response actions.
If devices are not onboarded, identity sensors are missing, connectors are incomplete, or required audit events are unavailable, Defender may have less information to correlate and fewer places to respond. Licenses may exist, but the security outcome still depends on how the environment is configured.
Response Actions Have Technical Prerequisites
Microsoft’s configuration guidance includes product-specific requirements that affect whether attack disruption can work as expected.
Depending on the environment, security teams may need to verify:
- Defender licensing and product deployment
- Endpoint onboarding, sensor versions, device discovery, and automation levels
- Domain controller audit policies and Defender for Identity action permissions
- Microsoft 365 connector settings in Defender for Cloud Apps
- Exchange Online mailbox locations and required mailbox audit events
- Role-based access and permissions for reviewing or reversing actions
- Notifications that tell the right people when an automated response occurs
Other automation also has to be considered. For example, Microsoft warns that an existing process designed to keep active employee accounts enabled could unintentionally reactivate an account that an attack disruption disabled during an incident.
That kind of dependency is easy to miss when security settings, identity administration, endpoint management, and operational workflows are treated as separate projects.
Policy Applications Add More Granular Control
Microsoft’s policy application and exclusion controls give security teams more control over how disruption policies are enforced on managed devices. The capability is currently in preview.
Security teams can use device tags to define a group of systems, then create a policy application rule for that group. By default, disruption controls remain enabled. The rule can selectively prevent specific policies from applying to tagged devices without requiring the organization to turn off automatic attack disruption entirely.
That distinction is important. A broad exclusion may remove an asset from automated response. Policy application provides more targeted control over which containment policies apply to a particular group of devices. This lets teams preserve more protection while accounting for a specific operational need.
Even that more precise control requires several decisions:
- Which devices should receive the tag
- Whether membership can be defined through a reliable dynamic rule
- Which disruption controls should be excluded
- Who can create, change, and remove the rule
- How the exception will be documented and reviewed
- What process ensures normal protection is restored when the exception is no longer needed
The technology makes granular control possible. The security program determines whether that control is used safely.
Security Testing Shows Why Context Matters
Authorized penetration testing and continuous threat exposure management provide a practical example.
These exercises intentionally reproduce behaviors associated with real attacks. A tester may use an authorized account, attempt lateral movement, run tools, or interact with systems in ways that should attract Microsoft Defender's attention. If Defender correlates that activity into a high-confidence attack, automatic disruption may contain a user or device exactly as designed.
From a defensive perspective, that response can demonstrate that the control works. It can also stop the test before the security team can validate the rest of the attack path.
In our own security operations work, we use policy application controls to keep selected device isolation and user containment policies from interfering with authorized testing. This does not mean broadly disabling Defender or allowing the activity to continue without oversight. It means defining which systems are part of the test, adjusting only the necessary controls, monitoring the exercise, and returning the environment to its normal protection state afterward.
This kind of interaction is easy to overlook when teams manage tools separately. The automated response isn't malfunctioning, and the penetration test isn't doing anything wrong. Two legitimate parts of the security program simply need to be coordinated.
Exceptions Need to Scale with the Environment
A temporary exception may be manageable for one scheduled test in one environment. The process becomes more complicated across multiple business units, recurring tests, or a growing number of managed environments.
Someone has to identify the correct assets, verify the test window, apply the right policy, communicate the change, monitor for unexpected activity, remove the exception, and confirm that protection has been restored. If those steps live only in one administrator’s memory or an informal message, an exception can easily remain in place longer than intended.
That creates a different kind of risk. A control introduced to prevent operational disruption can become a security gap if it is too broad, poorly tracked, or never removed.
Scalable use of attack disruption therefore depends on repeatable workflows. Exceptions should have defined owners, clear scope, documented reasons, review points, and a reliable path back to the standard policy. As the environment grows, the way those changes are requested, approved, applied, and verified has to grow with it.
Exclusions Still Require Business Context
Organizations can also exclude certain users, device groups, and IP addresses from automated response actions. There may be valid reasons. A critical service account, emergency administrator account, legacy system, or device supporting a mission-critical process may require special handling.
Exclusions also reduce the protection the feature can provide. An excluded asset does not become less attractive to an attacker simply because disrupting it would be inconvenient.
Deciding what to exclude requires both technical knowledge and business context. Your team needs to understand what the asset does, what depends on it, what could happen if it were contained, and what alternative response will be used if that asset is compromised. Exclusions should be deliberate, documented, narrowly scoped, and reviewed as the environment changes.
Attack Disruption Creates Time, But Your Team Still Has to Use It.
Automatic attack disruption is designed to contain an active threat. It does not declare the incident finished.
After Defender takes action, the security team still needs to review the incident story and determine:
- What happened and where the attack began
- Which users, devices, applications, and resources were affected
- What actions Defender took and whether they succeeded
- Whether the attacker established persistence elsewhere
- Which credentials, sessions, systems, or configurations need remediation
- When contained assets can safely return to normal operation
- What control gaps allowed the attack to progress
Microsoft surfaces disruption details in the incident graph, the incident’s Activities tab, and the Action center. Security teams can also use advanced hunting to review disruption and response events across the organization.
That visibility matters because releasing an asset too early can reopen the attacker’s path. Don't restore a disabled account just because a user needs access, and don't reconnect an isolated device just because the immediate alert has stopped. Investigate and address the underlying risk first.
Turning a Defender Feature Into a Security Program
Automatic attack disruption shows what Microsoft’s security ecosystem can do when its parts work together. It also shows why Microsoft security cannot be managed as a loose collection of licenses and default settings.
To operationalize the feature, an organization needs to know:
- Which Defender capabilities are licensed, deployed, and reporting correctly
- Whether users, devices, email, identities, and applications have appropriate coverage
- Which automated actions are enabled and where exceptions exist
- How authorized security testing will be coordinated with automated response
- Who receives notification when Defender disrupts an attack
- Who owns the investigation, remediation, communication, and recovery steps
- How temporary policy changes are approved, tracked, and reversed
- How disruption activity is documented, reviewed, and reported
- How lessons from an incident feed back into stronger configurations and controls
This is the layer between owning Microsoft security tools and running a Microsoft security program. The technology can correlate signals and act quickly, but the organization still needs intentional configuration, clear ownership, consistent monitoring, and a repeatable response process.
Make More of the Microsoft Security Tools You Already Have
Microsoft gives organizations powerful capabilities to protect identities, devices, email, applications, and data. Realizing that value takes ongoing work across the entire environment.
DotStar’s Business Protection service helps turn Microsoft security technology into a coordinated security program. We configure and manage the controls, monitor activity, respond when something needs attention, and give your team visibility into how your environment is protected.
You do not have to become the Microsoft security expert responsible for connecting every signal, setting, permission, exclusion, and response workflow. You need a program you can trust while your business moves forward.
Learn more about Business Protection
Frequently Asked Questions
What does automatic attack disruption need to work effectively?
Microsoft Defender XDR includes automatic attack disruption, but its ability to detect and contain an attack depends on licensing, deployed Defender products, workload-specific configuration, device settings, audit data, and permissions. Organizations should review Microsoft’s current prerequisites instead of assuming the capability is fully operational simply because Microsoft Defender is licensed.
What is the difference between automatic attack disruption and automated investigation and response?
Automated investigation and response investigates alerts and may remediate related evidence. Automatic attack disruption evaluates a high-confidence attack at the incident level and takes containment actions intended to stop the attacker’s progress while the attack is underway. The capabilities can work together, but they serve different purposes.
Can Microsoft Defender reverse an automatic attack disruption action?
Security teams can reverse supported actions, such as releasing a contained device or re-enabling a user. Before doing so, the team should complete the necessary investigation and remediation. Releasing an asset prematurely could allow the attacker to resume activity.
What are policy applications in Microsoft Defender attack disruption?
Policy applications give security teams more granular control over which automatic attack disruption policies apply to tagged groups of devices. Teams can keep disruption enabled by default while disabling selected policy controls for devices with a defined operational exception. This preview capability still requires careful scoping, documentation, and review because weakening a disruption control can create additional risk.
Does automatic attack disruption replace a security operations team?
No. The feature can quickly contain certain high-confidence attacks, but people are still needed to validate the incident, determine the scope, remediate affected assets, manage business impact, restore operations, and improve defenses afterward.
What attacks can automatic attack disruption help contain?
Microsoft Defender uses automatic attack disruption in high-impact attack scenarios such as ransomware, business email compromise, identity compromise, and other sophisticated attacks. Available actions and coverage depend on the Defender products and integrations deployed in the environment.