Domain 1 β€” Module 7 of 12 58%
7 of 28 overall
Domain 1: Manage a Security Operations Environment Free ⏱ ~13 min read

Automated Investigation & Attack Disruption

Let the machines do the heavy lifting. Learn how Automated Investigation and Response (AIR) works, configure automatic attack disruption, and manage device groups with proper automation levels.

Why automate investigation?

Simple explanation

Imagine a hospital emergency room with 200 patients arriving every hour. Doctors cannot examine every patient individually β€” they need triage nurses to handle the obvious cases and escalate only the complex ones.

Automated Investigation and Response (AIR) is your triage nurse. When an alert fires, AIR automatically investigates β€” checks the evidence, determines the scope, and either remediates the threat or escalates to an analyst for approval. It handles the repetitive work so your SOC team focuses on the hard stuff.

Automatic attack disruption goes further β€” it does not wait for investigation to complete. If Defender XDR detects an active attack in progress (ransomware spreading, business email compromise), it immediately contains the threat by isolating devices or disabling compromised accounts.

How AIR works

When an alert triggers, AIR runs an automated investigation playbook:

  1. Alert triggers β†’ AIR starts automatically (for supported alert types)
  2. Evidence collection β†’ examines files, processes, registry keys, network connections, user activities
  3. Verdict determination β†’ classifies each entity as Malicious, Suspicious, Clean, or No threats found
  4. Remediation actions β†’ proposes or executes actions based on the automation level

Common AIR remediation actions

ActionWhat It DoesRequires Approval?
Quarantine fileMoves a malicious file to quarantineDepends on automation level
Stop processTerminates a running malicious processDepends on automation level
Remove registry keyDeletes a malicious persistence mechanismDepends on automation level
Isolate deviceCuts network access (keeps Defender connection)Depends on automation level
Block URL/IPAdds a network indicator to block accessDepends on automation level
Disable user accountTemporarily disables a compromised Entra ID accountDepends on automation level

Automation levels

Automation levels control how much freedom AIR has to act without human approval. You set these per device group.

Microsoft defines five automation levels, not just β€œauto or manual”:

LevelWhat HappensBest For
Full β€” remediate threats automaticallyAll remediation actions execute without approvalProduction endpoints, well-tuned environments
Semi β€” require approval for all foldersAll file/folder remediation needs analyst approvalNew deployments, testing phase
Semi β€” require approval for core foldersRemediation in OS-critical folders (e.g., \Windows\, \Program Files\) needs approval; other folders auto-remediateBalanced β€” protect OS folders, auto-handle user directories
Semi β€” require approval for non-temp foldersOnly temp folder remediation is automatic; everything else needs approvalConservative β€” minimal auto-remediation
No automated responseNo automated investigation runs at all β€” fully manualHigh-sensitivity devices (domain controllers, executive laptops)

Key distinction: The β€œcore folders” and β€œnon-temp folders” levels refer to file path locations, not action types. β€œCore folders” means Windows system directories.

Exam tip: default is Full automation

New Microsoft 365 tenants default to Full automation. The exam may ask what happens if no automation level is configured β€” the answer is that remediation actions execute automatically.

If a question describes wanting to review actions before execution, the answer is one of the Semi levels. Pay attention to whether the question specifies OS folders, all folders, or non-temp folders β€” each maps to a different Semi level.

Also note: No automated response means the investigation itself does not run β€” not just that remediation is skipped.

Device groups

Device groups organise endpoints into logical collections for targeted policies. Each group gets its own automation level, access permissions, and priority.

Device group configuration

SettingPurpose
NameDescriptive label (e.g., β€œFinance Servers”, β€œExecutive Devices”)
Automation levelFull, Semi (approve any/core), or No automation
MembersDynamic membership based on device tags, OS, domain, or name patterns
PriorityWhen a device matches multiple groups, highest priority wins
User accessWhich Defender XDR user groups can view/manage devices in this group
Scenario: James structures device groups at Pacific Meridian

James creates five device groups:

  1. Domain Controllers β€” No automation (too critical for auto-remediation). Only senior analysts can access. Priority: 1 (highest)
  2. Executive Devices β€” Semi (approve core). James and Sarah review actions. Priority: 2
  3. Finance Servers β€” Semi (approve any). Compliance requires audit trail of all actions. Priority: 3
  4. Standard Workstations β€” Full automation. 8,000 devices, handled automatically. Priority: 4
  5. BYOD β€” Full automation. Less trust, more aggressive auto-remediation. Priority: 5

When a device matches multiple groups (e.g., an executive’s laptop that is also a standard workstation), priority determines the winner β€” Executive Devices (priority 2) wins.

Automatic attack disruption

Attack disruption is different from AIR β€” it acts in real-time during an active attack, not after investigation.

What triggers disruption

Defender XDR’s AI engine identifies high-confidence attack patterns:

  • Human-operated ransomware β€” encryption spreading across devices
  • Business email compromise (BEC) β€” attacker using a compromised mailbox
  • Adversary-in-the-middle (AiTM) β€” session token theft and replay

Disruption actions

ActionWhen It Fires
Contain deviceDevice is actively spreading ransomware or lateral movement
Contain userCompromised account being used for BEC or credential abuse
Disable user in Entra IDHigh-confidence account compromise with active abuse

These actions happen within minutes of detection β€” before most SOC teams could even triage the alert.

Exam tip: disruption vs AIR

Attack disruption and AIR are related but different:

  • AIR = post-alert investigation and remediation (minutes to hours)
  • Attack disruption = real-time containment of active attacks (seconds to minutes)

Attack disruption does NOT wait for an investigation to complete. It is designed for time-critical scenarios where delay means damage.

The exam may describe an active ransomware attack and ask β€œwhat stops the spread fastest?” β€” the answer is automatic attack disruption, not AIR.

Question

What is the default automation level for new Microsoft 365 tenants?

Click or press Enter to reveal answer

Answer

Full β€” remediate threats automatically. All AIR remediation actions execute without analyst approval. To require approval, change the device group to one of the three Semi levels (all folders, core folders, or non-temp folders). 'No automated response' disables the investigation entirely.

Click to flip back

Question

What is the difference between AIR and automatic attack disruption?

Click or press Enter to reveal answer

Answer

AIR investigates alerts after they fire and remediates based on findings (minutes to hours). Attack disruption detects active attacks in real-time and immediately contains the threat β€” isolating devices or disabling accounts β€” within seconds to minutes, without waiting for investigation.

Click to flip back

Question

If a device matches two device groups with different automation levels, which one applies?

Click or press Enter to reveal answer

Answer

The device group with the highest priority (lowest number) wins. Priority determines which group's automation level, access permissions, and policies apply when there is overlap.

Click to flip back

Knowledge Check

Pacific Meridian experiences a ransomware attack spreading across workstations. Within 3 minutes, Defender XDR automatically isolates the affected devices. What feature stopped the attack?

Knowledge Check

James wants domain controllers at Pacific Meridian to require manual analyst review for ALL remediation actions. Which automation level should he configure for the Domain Controllers device group?

Knowledge Check

Pacific Meridian experiences a BEC attack. Attack disruption disables the compromised CFO account and isolates 2 devices. James finds that the attacker also created an OAuth app with Mail.ReadWrite permissions 6 hours before disruption fired. The app is still active. What should James prioritise FIRST?

Next up: Investigation is automated. Now let’s automate the response β€” Sentinel automation rules and playbooks take action when incidents match your criteria.