Cybersecurity Updates & Tools

What Is Endpoint Detection and Response (EDR)?

Most introductions to Endpoint Detection and Response (EDR) sound like a product brochure: “Traditional antivirus checks file hashes; EDR watches behavior, maps to MITRE ATT&CK, and isolates infected laptops.”

That summary is technically true, yet it leaves out the difficult parts: how an EDR sensor gets its data from the operating system, why detection happens in two different places (on the device vs. in the cloud), and why buying an EDR does not automatically stop attacks.

What Is EDR and Why Does It Exist?

Think of Endpoint Detection and Response (EDR) as a security camera system paired with an alarm and containment switch running on an endpoint such as a laptop, desktop, server, or virtual machine.

At its core, EDR is security software that continuously records system activity like which processes start, what commands they execute, which files or settings they modify, and which network connections they open. Its purpose comes down to three practical goals:

  • Spot suspicious behaviour early: Flag unusual chains of actions (such as a document launching a scripting engine that reaches out to an unfamiliar network address), even when no known malware file is present.
  • Provide investigation evidence: Keep a timeline of what happened so an analyst can determine whether activity is a real threat or normal administration, and see what else was touched.
  • Contain threats quickly: Let defenders stop a suspicious process, isolate a host from the network, or collect forensic details before a single compromised machine turns into a wider incident.

This guide breaks down how EDR works under the hood and sets up our series on Linux telemetry, lab testing, and real-world deployment pitfalls.

1. Beyond File Signatures: What EDR Actually Watches

Traditional antivirus (AV) historically focused heavily on known bad files comparing a file or its hash against a database of signatures. Attackers adapted by changing file hashes, packing binaries, or abusing legitimate administrative tools already installed on the machine (often called living off the land, using built-in utilities like PowerShell or command shells instead of dropping obvious malware).

EDR shifts the focus from single files to sequences of system activity and continuous telemetry (raw event records):

  • Process activity: Which program started, what command-line arguments were passed, and which parent process launched it.
  • Memory and script behaviour: Whether a script or process is attempting suspicious memory access or code injection.
  • File and registry changes: Rapid file modifications (common in ransomware) or changes to startup/persistence locations.
  • Network connections: Which process opened an outbound connection and to what destination.

A single event like a shell or script running is often normal. EDR looks for chains of events (for example, an office document spawning a script engine that connects to an unusual IP address and modifies startup settings).

2. How an EDR Sensor Sees Inside the Operating System

An Endpoint Detection and Response agent is not magic; it is a software sensor running with high privileges so it can observe system events reliably. Kernel-level visibility is particularly valuable for completeness across the system, faster reaction times on short-lived processes, and tamper resistance against threats trying to disable or bypass the sensor.

On Windows

Early security tools relied heavily on user-mode hooks (placing code inside normal applications to watch API calls). Attackers learned how to bypass or unhook user-mode checks directly from user space. Modern Windows EDRs rely much more on privileged OS mechanisms:

  • Kernel callbacks: Drivers register to receive notifications when processes start or exit (PsSetCreateProcessNotifyRoutineEx), threads are created (PsSetCreateThreadNotifyRoutine), binaries/DLLs are loaded into memory (PsSetLoadImageNotifyRoutine), or registry operations occur.
  • Filesystem minifilters and network filtering: Drivers can inspect—and in some cases block or veto—file operations and network connections at the host level.
  • ETW (Event Tracing for Windows) and AMSI: Built-in Windows instrumentation channels that expose rich telemetry from the OS and scripting runtimes.

(Note: Platform engineering and OS resiliency initiatives continue to reshape how security software interfaces with Windows and macOS, balancing deep visibility with system stability and staged updates.)

On Linux

Linux does not work like Windows, and Linux endpoints often include servers, containers, and cloud workloads with very different traffic patterns. Older approaches leaned on audit subsystems (auditd) or custom kernel modules, while modern Linux Endpoint Detection and Response sensors widely use eBPF (Extended Berkeley Packet Filter) and LSM (Linux Security Modules) hooks to run verified programs safely inside the kernel and stream telemetry without relying on traditional out-of-tree kernel modules.

3. Local Sensor vs. Cloud Brain: Why Timing Varies

A common point of confusion for newcomers is why an EDR blocks some actions instantaneously while other alerts appear minutes later. Most modern EDRs split work across two layers:

LayerWhere It RunsTypical JobTrade-Off
Endpoint Agent (Local)On the laptop, server, or VMCollects telemetry, enforces fast local blocks (like obvious ransomware patterns or known bad rules), and buffers eventsMust stay lightweight on CPU, memory, and disk so normal work does not slow down
Cloud / Backend PlatformVendor cloud or central serverCorrelates events across time and across many machines, applies heavier analytics/threat intelligence, and stores searchable historyDepends on network connectivity and ingestion/analysis latency


If you run heavy correlation models locally on every endpoint, performance suffers. If you push everything to the cloud for deeper correlation, multi-step patterns take a moment to stitch together.

4. Telemetry vs. Detection vs. Response

When reading security write-ups, keep these three terms separate—they are not the same thing:

  1. Telemetry: The raw data collected about what happened on the host. Having telemetry means you can investigate and reconstruct a timeline later.
  2. Detection: A rule, behavioural sequence, or model flagging activity as suspicious or malicious.
  3. Response: Actions taken to stop or contain the threat such as terminating a process, isolating the host from the network, collecting forensic evidence, or blocking an indicator.

An alert is the beginning of an investigation, not the finish line. A team still has to verify whether an alert is a real attack or legitimate admin/automation activity, check what else was touched, and decide on the right response.

5. Realistic Limits: What EDR Alone Does Not Solve

Even a well-tuned EDR has boundaries:

  • It is not a “set and forget” button: Policies, exclusions, alert routing, and response permissions all matter.
  • Off-endpoint or identity attacks: If an attacker compromises valid cloud/SaaS credentials or session tokens from an unmanaged machine, an EDR on corporate laptops may see no local endpoint execution at all.
  • Broader security stack: EDR works alongside identity controls, network monitoring, patching, backups, and incident response processes rather than replacing them.