Endpoint Detection and Response
Understand how EDR tools collect endpoint telemetry, detect suspicious behaviour and let responders investigate and isolate hosts.
Intermediate · about 8 hours · difficulty 3/5
Learn first: Log Sources and Telemetry
EDR (endpoint detection and response) tools run an agent on laptops and servers that records detailed activity, detects suspicious behaviour and gives responders remote actions. For many SOCs, EDR is the most valuable data source.
What EDR does
- Telemetry: process starts with parent-child relationships and command lines, file writes, registry changes, network connections, module loads.
- Detection: behaviour rules and machine learning, going beyond classic signature antivirus.
- Investigation: process trees and timelines to see how an alert unfolded.
- Response: isolate a host from the network, kill a process, quarantine a file, collect artifacts.
Common products
Microsoft Defender for Endpoint, CrowdStrike Falcon, SentinelOne and Elastic Defend are widely used. Wazuh and osquery are free options that are great for building a home lab.
Operating EDR well
- Coverage first: agents on every endpoint and server, with alerts when an agent goes silent.
- Tamper protection enabled so users or malware cannot disable the agent.
- Tune exclusions carefully: excluding a whole folder for performance can create a blind spot.
- Integrate with the SIEM and ticketing so alerts reach analysts with context.
- Practise isolation so you know the steps before you need them.
Pitfalls
- Assuming EDR equals full protection; it still needs people reviewing alerts.
- Broad exclusions added during troubleshooting and never removed.
Good enough to move on: you can deploy Wazuh or osquery on two lab VMs, explain a process tree for a benign admin action, and describe how host isolation would be used in an incident.
Key concepts
- EDR vs traditional antivirus
- Endpoint telemetry types
- Process trees
- Host isolation and response actions
- Tamper protection and coverage
- Exclusion management
- Wazuh and osquery labs
Mini project
Deploy Wazuh with agents on a Windows and a Linux VM, generate benign activity (install software, add a user), and document the resulting alerts and process trees.
Check yourself
Why can a broad EDR exclusion be as dangerous as having no EDR on that path?
Free resources
- Wazuh documentation (Wazuh)
- osquery documentation (osquery)
- Microsoft Defender for Endpoint (Microsoft Learn)