Microsoft Defender EDR process correlation
Configure Microsoft Defender for Endpoint (MDE) process correlation to add endpoint process context to network detections.
Overview
EDR Process Correlation is Vectra AI's breakthrough capability that automatically identifies which process on an endpoint triggered suspicious network behavior detected by Vectra. This feature eliminates the manual correlation gap between Network Detection and Response (NDR) and Endpoint Detection and Response (EDR) systems.
EDR Process Correlation with Microsoft Defender for Endpoint is generally available in the Respond UX. Vectra plans to add support for this functionality to Quadrant UX deployments in a future release.
What is EDR Process Correlation?
When Vectra AI identifies suspicious network behavior, it automatically:
Queries Microsoft Defender for Endpoint (MDE) telemetry for the specific host
Analyzes process activity during the detection window via MDE Advanced Hunting
Identifies the most probable process responsible
Surfaces complete process context directly within the Vectra detection
Result: Instant answers instead of 15–30 minutes of manual investigation.
What Problem Does This Solve?
The Investigation Gap
Without EDR Process Correlation:
Analyst receives Vectra network detection
Identifies affected host
Opens Microsoft Defender portal
Searches Advanced Hunting around detection timeframe
Correlates network timestamps with process activity
Validates which process is responsible
Average time: 15–30 minutes per detection
With EDR Process Correlation:
Analyst receives Vectra detection with process already identified
Reviews enriched context inline
Clicks directly into Microsoft Defender if deeper investigation needed
Average time: 30–60 seconds
The Missing Link
Network Detection (NDR) excels at spotting suspicious behaviors: C2 communication, reconnaissance, lateral movement, data exfiltration.
Endpoint Detection (EDR) captures process-level detail: what executed, command lines, parent processes, file hashes.
The Gap: Without automatic correlation, analysts must manually bridge these systems.
EDR Process Correlation eliminates this gap entirely.
Benefits
For Security Analysts
95% reduction in investigation time — from 15–30 minutes to 30–60 seconds
Immediate context — see the complete process story without tool switching
Instant threat validation — command line details expose true intent
One-click pivots — jump directly to the full Microsoft Defender forensic timeline
For SOC Operations
Faster Mean Time to Response (MTTR) — accelerate every investigative step
Reduced alert fatigue — instant context means confident decisions
Scale investigations — handle more detections with the same team
No custom correlation logic — eliminates brittle SIEM/SOAR workflows
For the Organization
Reduced attacker dwell time — faster detection to containment
Better security posture — comprehensive visibility across network and endpoint
Operational efficiency — maximize existing Microsoft security investments
Attack surface understanding — complete cross-domain picture from the start
Prerequisites
Required Permissions in Microsoft Defender for Endpoint
Your Azure AD / Microsoft Entra ID application registration must have the following MDE API application permissions:
Machine.Read.All
Host context
Provides MDE device context; links to Defender portal; improves device identification
Machine.Isolate
Device Isolation (response)
Enables manual or automated response actions; required for Device Isolation feature
AdvancedQuery.Read.All
EDR Process Correlation
Enables automatic process stitching via Advanced Hunting API; submit and retrieve KQL queries
MDE Environment Selection
Select the correct MDE API endpoint based on your Microsoft Defender portal access:
https://security.microsoft.com
Commercial
api.securitycenter.microsoft.com
https://security.microsoft.us
US GCC High
api-gcc-high.securitycenter.microsoft.us
https://security.apps.mil
US DoD
api-fed.securitycenter.microsoft.us
Configuration
Step 1: Register an Application in Microsoft Entra ID
If an App Regisration already exists for integrating Microsoft Defender Host Context into Vectra a new App Registration is not required. Select the existing App Registration and extend its permissions as per Configure API Permissions below.
Navigate to the Azure Portal
Go to
portal.azure.com→ Microsoft Entra ID → App registrationsClick New registration
Create the App Registration
Provide a descriptive name (e.g.,
Vectra AI MDE Integration)Select Accounts in this organizational directory only
Click Register
Record the Application (client) ID and Directory (tenant) ID — you will need these for Vectra
Configure API Permissions
Go to API permissions → Add a permission
Select APIs my organization uses → search for
WindowsDefenderATPChoose Application permissions and add:
Machine.Read.AllMachine.IsolateAdvancedQuery.Read.All
Click Grant admin consent for [your organization] and confirm
Create a Client Secret
Go to Certificates & secrets → New client secret
Set an expiry period and click Add
⚠️ CRITICAL: Record the secret Value immediately. This is the only time it will be visible. If lost, you must create a new secret.
Step 2: Configure Vectra Integration
In Vectra, go to: Settings → EDR Connections
Edit the Microsoft Defender for Endpoint settings area
Toggle the integration to On
Enter connection details:
MDE API URL: Select the appropriate URL from the dropdown (see table above)
Tenant ID: Paste your Directory (tenant) ID from Step 1
Application (Client) ID: Paste the Application ID from Step 1
Client Secret: Paste the secret Value from Step 1
SSL Certificate Verification: Check Enable SSL certificate verification (recommended)
Proxy Configuration: If a proxy is configured in Data Sources → Network → Brain Setup → Proxy, check Use the configured proxy in Services
Enable Device Isolation (optional): Check Device Isolation Enabled to allow automated or manual containment
Click Save — Vectra will validate the connection and permissions
Step 3: Verify Configuration
After saving, verify that:
MDE-managed hosts appear with enhanced context in Vectra
Host details display MDE information (OS, sensor health, last seen)
Process correlation data appears in new detections
Links to the Microsoft Defender portal are functional
How It Works
Automatic Process Correlation Workflow
When Vectra AI identifies suspicious network behavior:
Vectra Detects Suspicious Network Behavior — C2 communication, lateral movement, reconnaissance, data exfiltration, etc.
Automatic MDE Query — Vectra queries the MDE Advanced Hunting API for the affected host and retrieves process telemetry during the detection window.
Process Analysis & Correlation — Analyzes
DeviceNetworkEventsandDeviceProcessEventstables; correlates network connections to responsible processes; identifies the most probable culprit using signal strength.Context Enrichment — Process name, command line, SHA256 hash, creation time, parent process, account name, file path, and full process tree context.
Surfaced in Vectra Detection — Analyst sees complete process context inline; one-click pivot to Microsoft Defender for deeper investigation; pre-built KQL queries for enterprise-wide hunting.
Correlation Methodology
Vectra uses IP-based correlation with signal-strength prioritization:
Primary correlation:
LocalIPfrom MDEDeviceNetworkEventsmatches Vectra detection host IPSignal strength: Unique destination counts identify the most likely culprit process
Why IP-based? More reliable than Device ID mapping, which can become stale due to sensor reinstalls or database lag
Example: If multiple processes are active during the detection window, Vectra prioritizes the process with the strongest network signal matching the suspicious behavior pattern.
Using the Feature
Viewing Process Context in Detections
When you open a Vectra detection with EDR Process Correlation, you'll see a dedicated Microsoft Defender Context section with:
Probable Process
Process name (e.g., MicrosoftEdgeUpdate.exe)
Process Creation Time
Exact timestamp for timeline correlation (e.g., 2025-11-29T03:58:42Z)
Command Line
Full command line arguments expose true intent
SHA256
File hash for threat intelligence correlation; enables immediate reputation checks
File Path
Complete file system location (e.g., C:\ProgramData\Microsoft\EdgeUpdate\)
Account Name
Execution context and privilege level (e.g., NT AUTHORITY\SYSTEM)
Parent Process
What spawned this process (e.g., services.exe (PID: 668) indicates Windows service registration)
Interpreting Process Context
The command line is often the most revealing indicator. Consider this example:
This transforms "potentially suspicious network traffic" into "confirmed persistent threat requiring immediate containment."
Show More Processes
Click Show More Processes to see all process activity during the detection window.
Use case: Understand the complete attack progression. Example output:
msedge.exe— Initial access via phishing clickcurl.exe— Reconnaissance: validates C2 reachability before committing to persistencecertutil.exe— SSL validation to verify C2 infrastructureMicrosoftEdgeUpdate.exe— Persistent C2 tunnel with 5-minute beacons
Key insight: The attack progression shows sophisticated operational security rather than opportunistic malware.
One-Click Microsoft Defender Pivot
Click Investigate Device in Microsoft Defender to:
Open directly into the full device timeline within the Microsoft Defender portal
Extend the timeframe to see processes before/after the detection window
Access complete forensic context including process tree and network events
No manual device lookups or Device ID searches required
Use case: When you need processes from days before the detection, evidence of attacker return with different tools, or a complete timeline for an incident report.
Enterprise-Wide Threat Hunting
Click Run Query in Microsoft Defender to get a pre-built Advanced Hunting KQL query pre-populated with:
Device scope (default: current device)
SHA256 hashes
Remote IP addresses
Command line patterns
Process execution characteristics
Network connection details from
DeviceNetworkEventsandDeviceProcessEvents
Enterprise hunting: Remove the device filter to search across your entire environment for any endpoints connecting to the same C2 domain, systems running the same malicious hash, or similar command line patterns indicating related campaigns.
Advanced Capabilities
Automated Response Integration
Vectra 360 Response integrates with Microsoft Defender for Endpoint to trigger device isolation directly from the Vectra platform.
Modes:
Automatic: Isolation triggered when privilege, threat, and certainty score thresholds are exceeded
Manual: Analyst clicks Isolate Device button in the MDE widget
Benefits:
No tool switching required
No multi-step response playbooks
Consistent, fast, and reliable response
Architects get maintainable response flows without brittle custom logic
Configuration: Settings → EDR Integrations → Device Isolation
Microsoft Sentinel Integration
Vectra AI can stream network metadata and AI-enriched telemetry into Microsoft Sentinel / Defender XDR for unified SIEM analysis.
Capabilities:
Cross-domain analysis: endpoint, identity, cloud, and network
Leverage Sentinel's KQL query engine for deep investigations
One-click pivot from Vectra detection into Sentinel
Consolidated evidence without juggling log systems
Analyst workflow:
Receive Vectra detection
Pivot into Microsoft Sentinel / Defender XDR or Advanced Hunting
Run deeper investigations with network + endpoint + identity context
Visualize attack patterns across domains
Troubleshooting
No Process Context Appearing
Symptoms: Vectra detections don't show Microsoft Defender process context
Checks:
Verify MDE integration is enabled (Settings → EDR Connections)
Confirm
AdvancedQuery.Read.Allpermission is granted in the Entra ID app registrationVerify admin consent has been granted for all API permissions
Check that the affected device has an active Microsoft Defender for Endpoint sensor
Verify network connectivity from Vectra Brain to the MDE API endpoint
Review Vectra logs for API query errors
Common causes:
API permissions insufficient (missing
AdvancedQuery.Read.Allscope)Admin consent not granted
MDE sensor not installed or in passive mode on affected device
Network/firewall blocking API communication
Proxy misconfiguration
Device Isolation Not Working
Symptoms: Cannot isolate device from Vectra interface
Checks:
Verify
Machine.Isolatepermission is granted in the Entra ID app registrationConfirm Device Isolation Enabled is checked in Vectra Settings → EDR Connections
Check that the MDE sensor is active and reporting on the device
Verify device status in the Microsoft Defender portal (must not already be isolated)
Confirm the device is not exempt from isolation policies
Stale or Incorrect Process Context
Symptoms: Process information seems outdated or doesn't match current state
Possible causes:
Sensor reinstall: Device ID changed, causing mapping lag (EDR Process Correlation uses IP-based correlation to mitigate this)
Database sync delay: Recent sensor changes not yet reflected in Advanced Hunting
Device IP changed: Network reconfiguration affects correlation
Resolution:
Wait a few minutes for data synchronization in Advanced Hunting
Verify current device IP matches the Vectra detection
Check the Microsoft Defender portal for sensor health status
Links to Microsoft Defender Not Working
Symptoms: Clicking Investigate Device in Microsoft Defender doesn't open the portal
Checks:
Verify you have access to the Microsoft Defender portal
Confirm the correct MDE API URL is configured in Vectra Settings
Check browser popup blockers
Test direct access to
security.microsoft.com
API Rate Limiting or Throttling
Symptoms: Process correlation intermittently unavailable
Resolution:
Microsoft Defender for Endpoint API has rate limits on Advanced Hunting queries
Review Microsoft documentation for current rate limit thresholds
Contact Microsoft support to review or adjust limits if needed
Consider query batching or throttling for high detection volumes
Best Practices
Investigation Workflow
Start with process context — review the probable process and command line inline
Assess threat level — use command line details to determine true intent
Check attack progression — click Show More Processes to see the full attack chain
Pivot when needed — use Investigate Device in Microsoft Defender for deep forensics
Hunt enterprise-wide — use Run Query in Microsoft Defender to find related activity
Respond decisively — use Device Isolation when the threat is confirmed
Maximizing Value
Train analysts on interpreting command line context — this is often the most revealing indicator
Build response playbooks around automatic process correlation data
Integrate with Microsoft Sentinel or SOAR — use enriched process context in automated workflows
Regularly review your app registration — ensure permissions and secrets remain current
Monitor query performance — track API response times and adjust if needed
Set secret expiry alerts — use Entra ID to notify before client secrets expire
Security Considerations
Protect app credentials — store Client ID and Secret securely (e.g., Azure Key Vault)
Audit app sign-in logs — review Entra ID logs for the Vectra app registration periodically
Least privilege — only grant the three required permissions
Rotate secrets — periodically regenerate client secrets before expiry
Monitor integration health — alert on integration failures or degraded performance
Review Conditional Access — ensure policies don't inadvertently block the service principal
Additional Resources
Microsoft Documentation
Vectra Resources
Summary
EDR Process Correlation with Microsoft Defender for Endpoint transforms network detections from "something suspicious happened" into "here's exactly what caused it, why it's malicious, and how to stop it."
Key takeaways:
✅ 95% time savings — from 15–30 minutes to 30–60 seconds per detection
✅ Automatic correlation — no manual tool switching or SIEM logic required
✅ Complete context — process, command line, hash, parent, privilege level
✅ Instant threat validation — command line reveals true intent
✅ Enterprise hunting — pre-built KQL queries for finding related activity
✅ Integrated response — one-click device isolation without leaving Vectra
By bridging the gap between network visibility and Microsoft Defender endpoint telemetry, EDR Process Correlation gives security teams the speed and context they need to stop attacks before they cause damage.
Last updated
Was this helpful?