Blog ne Digital Managed Services Cybersecurity Microsoft 365 & Azure

Microsoft Defender XDR: An Advanced Guide to Detection and Response

Written by Nicolas Echavarria | Dec 1, 2026, 9:47:24 PM

A phishing email on Friday, a suspicious sign-in on Saturday and a new mail forwarding rule on Sunday. Three alerts, raised by three different Defender tools, reviewed separately by three analysts. By Monday, the attacker had spent two days inside the finance mailbox preparing a fraudulent payment.

The organization already owned Microsoft Defender XDR through Microsoft 365 E5. What it lacked was an operating model that used it as one system. This gap is common, and it turns a significant security investment into a collection of disconnected alerts.

Microsoft Defender XDR is Microsoft’s extended detection and response platform. It correlates signals from endpoints, identities, email, cloud apps and cloud workloads into unified incidents, with automated investigation, automatic attack disruption and advanced hunting. Its value comes not from owning the licenses but from full deployment, detection engineering, automation and a unified SOC operating model.

What Is Microsoft Defender XDR?

Microsoft Defender XDR unifies several Defender workloads into a single detection and response platform, managed through the Microsoft Defender portal.

Component What it protects Key signals
Defender for Endpoint Workstations and servers Process, file, network and registry activity
Defender for Identity On-premises Active Directory and hybrid identity Authentication, reconnaissance, lateral movement
Defender for Office 365 Email and collaboration Phishing, malicious links and attachments
Defender for Cloud Apps SaaS applications and OAuth apps User activity, risky apps, session anomalies
Defender Vulnerability Management Device and software exposure Vulnerabilities, misconfigurations, exposure scoring
Defender for Cloud Cloud workloads in Azure, AWS and GCP Workload alerts and posture findings

XDR vs. EDR vs. SIEM

  • EDR detects and responds to threats on endpoints only.
  • XDR correlates detection and response across endpoints, identities, email and cloud apps, using deep native telemetry from each domain.
  • SIEM collects and correlates logs from any source, including firewalls, third-party SaaS and other clouds, and supports long-term retention and compliance reporting.

In Microsoft environments, Defender XDR and Microsoft Sentinel are increasingly operated together as one platform rather than as separate tools.

How Defender XDR Correlates Signals Into Incidents

The core of Defender XDR is correlation. The model works in layers:

  • Alerts are raised by individual workloads, such as a malicious attachment or a suspicious sign-in.
  • Incidents group related alerts that share entities, such as the same user, device, mailbox or IP address, within a relevant timeframe.
  • The attack story presents the incident as a timeline and a graph, showing how the attack progressed across domains.

In the opening scenario, the phishing email, the risky sign-in and the forwarding rule would appear as one incident. The attack story would show the sequence clearly: email delivered, link clicked, credentials used, persistence established.

Entity pages for users, devices, mailboxes, IPs and files give analysts a consolidated view of each asset’s activity and history. Graph-based investigation helps reveal related entities that a list of alerts would hide.

For SOC teams, this changes the unit of work from the alert to the incident. Triage, assignment, SLAs and metrics should be built around incidents.

Assessing Your Defender XDR Coverage

Correlation only works with complete signals. Partial deployment is the most common reason organizations fail to get value from Defender XDR. Use this checklist to assess coverage:

  • Endpoint onboarding: all workstations and servers onboarded to Defender for Endpoint, with sensor health monitored and no devices stuck in “inactive” or “misconfigured” states.
  • Device discovery: unmanaged devices identified and either onboarded or tracked.
  • Identity sensors: Defender for Identity sensors installed on every domain controller, plus AD FS and AD CS servers where present.
  • Email protection: Defender for Office 365 policies configured beyond defaults, including Safe Links, Safe Attachments and anti-phishing impersonation protection.
  • Cloud Apps: app connectors for Microsoft 365 and key SaaS applications, with app governance enabled for OAuth apps.
  • Automation level: device groups set to an appropriate automated investigation and remediation level.
  • Vulnerability management: exposure data reviewed and tied to remediation workflows.

Common gaps include domain controllers without identity sensors, servers left out of onboarding and email policies never tuned past defaults. Each gap is a blind spot where an attack chain can break correlation. Many of these settings overlap with tenant hardening; ne Digital’s Microsoft 365 security hardening guide covers the configurations that close them.

Advanced Detection With Advanced Hunting and KQL

Advanced hunting gives analysts direct access to raw telemetry through Kusto Query Language (KQL). Key tables include:

  • DeviceProcessEvents
  • DeviceNetworkEvents
  • DeviceLogonEvents
  • EmailEvents
  • UrlClickEvents
  • IdentityLogonEvents
  • CloudAppEvents
  • AlertInfo and AlertEvidence

Sample Query Patterns

This query detects suspicious inbox rules that forward, redirect or delete messages, a common business email compromise technique:

CloudAppEvents
| where Timestamp > ago(7d)
| where ActionType in ("New-InboxRule", "Set-InboxRule")
| where RawEventData has_any ("ForwardTo", "RedirectTo", "DeleteMessage")
| project Timestamp, AccountDisplayName, ActionType, IPAddress, RawEventData

This query finds encoded PowerShell commands, frequently used to hide malicious scripts. It includes the columns required to turn it into a custom detection rule:

DeviceProcessEvents
| where Timestamp > ago(1d)
| where FileName in~ ("powershell.exe", "pwsh.exe")
| where ProcessCommandLine has_any ("-enc", "-EncodedCommand")
| project Timestamp, DeviceId, DeviceName, AccountName,
          ProcessCommandLine, InitiatingProcessFileName, ReportId

This query correlates clicks on URLs in email with sign-ins from the same user shortly afterward, which is useful for spotting credential phishing:

let clicks = UrlClickEvents
| where Timestamp > ago(1d)
| where ActionType == "ClickAllowed"
| project ClickTime = Timestamp, AccountUpn, Url;
IdentityLogonEvents
| where Timestamp > ago(1d)
| join kind=inner clicks on $left.AccountUpn == $right.AccountUpn
| where Timestamp between (ClickTime .. (ClickTime + 30m))
| project ClickTime, Url, LogonTime = Timestamp, AccountUpn, IPAddress, Location

Custom Detection Rules

Any advanced hunting query that returns the required columns can become a custom detection rule. Rules generate alerts on a schedule, map impacted entities and can trigger automatic response actions such as isolating a device or marking a user as compromised.

For high-priority detections, the continuous (near real-time) frequency runs queries as data arrives rather than on a fixed interval. Custom detections increasingly extend to Microsoft Sentinel data in the unified portal, though some of these capabilities are in preview as of October 2026.

Map Detections to MITRE ATT&CK

Tag every custom detection with the MITRE ATT&CK techniques it covers. This turns detection engineering into a measurable program. Teams can see which techniques are covered by built-in detections, which by custom rules and which not at all, and prioritize new detections based on the threats most relevant to their industry.

Automated Investigation and Automatic Attack Disruption

Automated Investigation and Response

Automated investigation and response (AIR) examines alerts, gathers evidence and recommends or applies remediation actions, such as quarantining files or removing malicious emails. The automation level configured for each device group determines whether actions are applied automatically or wait for approval.

Automatic Attack Disruption

Automatic attack disruption goes further. When Defender XDR identifies a high-confidence attack in progress, such as human-operated ransomware, business email compromise or adversary-in-the-middle phishing, it acts automatically to contain the compromised assets.

Containment actions include:

  • Contain device: blocks communication from a suspicious device using policies applied across onboarded devices.
  • Contain user: limits a compromised identity’s ability to move laterally or encrypt remotely.
  • Disable user: suspends a compromised account in Active Directory or Microsoft Entra ID.
  • Isolate device: fully isolates a compromised workstation from the network while keeping it connected to Defender services. This is limited to managed end-user workstations (preview as of October 2026).

Two related developments extend the model:

  • Predictive shielding applies preventive hardening, such as GPO and Safe Mode tampering protections, to assets likely to be targeted next.
  • Actions in external platforms such as Okta and AWS IAM can be triggered through Microsoft Sentinel connectors (preview as of October 2026).

Prerequisites and Review

Attack disruption depends on broad deployment. Defender for Endpoint is required for device containment, Defender for Identity for on-premises account actions, and the right automation levels must be set.

Review every disruption action in the incident’s activity view and in the DisruptionAndResponseEvents advanced hunting table. Configure exclusions for critical systems that must never be isolated automatically.

When Manual Containment Is Still Needed

Attack disruption acts only on high-confidence scenarios. Lower-confidence threats, attacks involving servers outside the isolation scope and incidents spanning third-party systems still require analyst-led containment. Disruption is a safety net, not a replacement for a response process.

Microsoft Sentinel and Defender XDR: Unified Security Operations

Microsoft Sentinel is generally available in the Defender portal, including for customers without Defender XDR or an E5 license. Microsoft has extended the sunset date for managing Sentinel in the Azure portal to March 31, 2027. After that date, Sentinel will be available only in the Defender portal.

Why Converge

Running SIEM and XDR in one portal means one incident queue, one advanced hunting experience across Defender and Sentinel data, unified entity pages and shared automation. Analysts stop switching between consoles, and correlation spans Microsoft and third-party data in the same incident.

What Changes

  • Incidents: Sentinel and Defender incidents are unified, which can change incident volumes and grouping, so alert tuning should be reviewed.
  • Hunting: queries run against both data sets in one place.
  • Data management: retention and data tiering decisions, including the Sentinel data lake, become part of SOC planning.
  • Automation and permissions: playbooks, automation rules and role assignments need validation in the new experience.

Gating Checks for Migration

Before moving production operations, confirm:

  • Analytics rules and automation behave as expected
  • Incident numbers and SLAs are mapped
  • Integrations with ticketing systems still work
  • Analysts are trained on the new workflows

Plan the move as a security operations change, not as a portal switch.

Using Security Copilot and Agents in Defender Workflows

Security Copilot is embedded in the Defender portal. Microsoft is including it in Microsoft 365 E5 through a phased rollout. In Defender, it supports several analyst tasks:

  • Incident summaries that explain what happened in plain language.
  • Guided response with recommended triage, containment and remediation actions.
  • Script and file analysis to explain obfuscated commands.
  • KQL generation from natural-language questions.

Security Copilot agents extend this into autonomous work. The phishing triage agent classifies user-submitted phishing reports, and newer agents extend triage to identity and cloud alerts and to threat intelligence briefings. Availability varies, and some agents remain in preview.

Treat agents as junior analysts: start them on a controlled scope, review their verdicts regularly and track accuracy, false positives and compute consumption. They reduce workload. They do not remove the need for experienced analysts or for well-tuned detections.

Detecting Threats Involving AI Agents and Copilot

AI agents and Copilot create new attack paths. A compromised account with Copilot access can search sensitive data in seconds. A manipulated agent can misuse its legitimate permissions through prompt injection. Unmanaged agents can also introduce shadow AI into the environment.

Defender XDR is adding visibility for this new surface. The AgentsInfo table in advanced hunting (preview as of October 2026) provides an inventory of AI agents across Copilot Studio, Microsoft Foundry, Microsoft 365 Copilot and other platforms. It replaces the earlier AIAgentsInfo table, which focused on Copilot Studio.

AgentsInfo
| summarize arg_max(Timestamp, *) by AgentId
| where Platform == "Copilot Studio"

Defender also provides runtime protection for Copilot Studio agents, blocking unsafe tool invocations and prompt injection attempts and correlating these detections into incidents.

Combined with Copilot interaction audit records and Entra agent identities, this lets the SOC treat agent activity as part of normal detection and response. The underlying risks are analyzed in ne Digital’s articles Is Your Microsoft Copilot Deployment Vulnerable? and Why Air Gap Thinking Fails in the Age of AI and Microsoft Copilot.

Building a Detection and Response Operating Model

Technology alone does not create a SOC. A working operating model defines how incidents move from detection to closure.

Triage tiers:

  • Tier 1 validates and classifies incidents.
  • Tier 2 investigates and contains them.
  • Tier 3 handles threat hunting and detection engineering.

Playbooks: documented response procedures for common scenarios such as business email compromise, ransomware, credential theft and insider threats, aligned with automated actions.

SLAs: response targets by incident severity, with escalation paths outside business hours.

Metrics:

  • Mean time to detect (MTTD)
  • Mean time to respond (MTTR)
  • False positive rate
  • Percentage of incidents resolved automatically
  • ATT&CK technique coverage

Tuning: regular review of noisy detections, suppression rules and exclusions.

Reviews: post-incident reviews that feed new detections and playbook updates.

Defender XDR Maturity Model

Level Description Typical characteristics
1. Deployed Licenses active, partial onboarding Alerts triaged per workload; defaults unchanged; gaps in identity and server coverage
2. Integrated Full workload coverage, incident-based triage All sensors healthy; incidents as the unit of work; basic SLAs
3. Engineered Proactive hunting and custom detections KQL-based detections mapped to MITRE ATT&CK; tuning cadence; Sentinel in the Defender portal
4. Automated and threat-informed Automation and AI integrated into response Attack disruption fully enabled; Security Copilot agents in defined workflows; metrics drive continuous improvement

Most organizations that own Defender licenses sit at Level 1 or 2. Moving to Levels 3 and 4 is where Defender XDR starts paying for itself.

Conclusion

Microsoft Defender XDR can be the operational core of a modern SOC in Microsoft environments. It correlates signals across endpoints, identities, email and cloud apps, contains attacks automatically and now unifies SIEM and XDR operations in a single portal. That value only appears when every workload is deployed, detections are engineered, automation is trusted and the SOC operates around incidents rather than alerts.

The company in the opening scenario did not need new tools. It needed to use the ones it already had as one system.

ne Digital helps organizations:

  • Assess Defender XDR coverage and close deployment gaps
  • Build custom detections mapped to MITRE ATT&CK
  • Plan the transition of Microsoft Sentinel to the Defender portal
  • Operate detection and response as a managed service

A Defender XDR assessment is the fastest way to see where your organization sits on the maturity curve, and what it would take to move up.