Understanding EDR¶
Endpoint Detection and Response (EDR) gives security teams detailed visibility into activity on computers and servers so they can detect suspicious behaviour, investigate what happened, and take controlled response actions.
What you will learn
By the end, you should be able to explain how endpoint activity becomes a detection, trace the main EDR workflow, distinguish EDR from antivirus and DFIR, and choose a proportionate response supported by evidence.
What is EDR?¶
Core concept
EDR records selected activity on laptops, desktops, and servers. It connects programs, files, users, settings, and network activity so analysts can detect suspicious behaviour, reconstruct what happened, and respond safely.
Keep in mind: EDR supports endpoint security but does not prevent every compromise. It depends on healthy agents, useful telemetry, tested detections, suitable retention, and analysts who validate the evidence.
What EDR is not¶
Connected, but not interchangeable
EDR provides detailed endpoint evidence and response actions. It does not replace identity protection, network monitoring, backups, recovery planning, or specialist forensic acquisition.
Events, detections, alerts, and incidents¶
An alert is not proof
Validate the connected activity, collection coverage, and business context before declaring an incident or taking a disruptive action.
Why EDR matters¶
Improve endpoint visibility¶
Record useful device activity so analysts can investigate events that would otherwise be short-lived or difficult to reconstruct.
Connect related activity¶
Link programs, files, users, settings, and connections to reveal a sequence that may not be suspicious when each event is viewed alone.
Detect suspicious behaviour¶
Apply tested rules and behaviour checks to identify activity that warrants analyst review.
Respond with context¶
Help analysts preserve evidence, contain confirmed risk, verify the result, and record what changed.
How EDR works¶
- CollectRecord selected endpoint activity and confirm that the agent and timestamps are healthy.
- ConnectLink programs, files, users, settings, and network activity into an activity story.
- DetectApply rules and behaviour checks to identify activity that requires review.
- PrioritiseAdd device, user, prevalence, and business context to focus analyst attention.
- InvestigateTest possible explanations against endpoint, identity, network, and incident evidence.
- RespondUse an approved action that matches the evidence, urgency, and operational impact.
- Verify and improveConfirm the result, record the outcome, and improve detection and response guidance.
EDR products use different detection methods. These may include shared rules, known warning signs, behaviour patterns, statistical models, or machine learning. No method guarantees detection or prevention, and every result still needs suitable validation.
What EDR records¶
EDR may record program starts and parent-child relationships, file changes, sign-ins and permission use, services and startup settings, network connections, detections, and response results. Analysts connect these records by device, user, process, file, destination, and time to reconstruct activity.
The exact telemetry depends on the product, operating system, configuration, permissions, and agent health. Missing or delayed records can change an investigation conclusion, so collection coverage and timestamps must be checked before relying on the evidence.
Investigate endpoint activity¶
One event may look harmless. A connected sequence can tell a different story. In this guided lab, you are the first analyst reviewing an alert from a finance laptop.
Try it: investigate a suspicious endpoint
Open each evidence record, decide what the sequence supports, and choose the safest first response. Everything is synthetic and no software is required.
Invoice document launched hidden PowerShell
A rule detected an unusual program relationship on a finance laptop. Your task is to determine what the available evidence supports—not to guess beyond it.
- Device
- FIN-LT-22
- User
- j.lee
- First seen
- 10:14
- Agent
- Healthy
- 1Review alert
- 2Inspect evidence
- 3Assess
- 4Respond
2 Inspect and connect the evidence
Open all six records, then select only those that help explain the alert. Two records are normal background activity.
Word is the parent process; PowerShell is its child. PowerShell used a hidden window and an encoded command.
- User
- j.lee
- Process ID
- 4820
- Command
- -WindowStyle Hidden -EncodedCommand…
PowerShell wrote a new script. Its file hash has not previously appeared in this organisation.
- Path
- C:\Users\j.lee\AppData\Local\Temp\update.ps1
- Created by
- PID 4820
The task runs update.ps1 whenever j.lee signs in. This is possible persistence.
- Task
- OfficeUpdate
- Trigger
- At user sign-in
- Creator
- PID 4820
PID 4820 contacted a destination that is absent from the approved-service list. The address is reserved for this training scenario.
- Destination
- 198.51.100.24:443
- Process
- powershell.exe
- Bytes sent
- 18.4 KB
The signed Google updater ran from its expected path sixteen minutes before the alert. It has no process, file, or destination connection to PID 4820.
- Signer
- Google LLC
- Result
- Success
- Parent
- services.exe
The signed OneDrive client synchronised a business document shortly before the alert. Timing alone does not connect it to PowerShell or PID 4820.
- Signer
- Microsoft Corporation
- Process
- OneDrive.exe
- Parent
- explorer.exe
Acknowledge the alert to begin reviewing records.
3 Choose the most defensible assessment
Select the conclusion supported by the records. Severity alone is not proof.
4 Build the response plan
The endpoint is online and the connection may be active. Put containment, evidence, wider scope, and verification into the plan.
You connected the relevant records, made a bounded assessment, and built a reversible response with verification.
- 1 Isolate FIN-LT-22 from the network.
- 2 Preserve volatile evidence while the device remains powered on.
- 3 Protect j.lee and check other sign-ins.
- 4 Confirm and record the containment result.
Your escalation note
Why this conclusion and response?
The four records involving PID 4820 form a suspicious sequence; the signed Chrome update and OneDrive sync do not. The evidence supports urgent containment, but it does not yet establish the script's purpose, the user's intent, or wider compromise. Isolation limits the active connection without powering off the device, while verification and an audit note make the action defensible.
What makes EDR useful¶
Start with an endpoint question
Can we detect a document starting an unexpected command tool?
- 1Select telemetryIdentify the endpoint records needed to answer the question.
- 2Verify coverageCheck agent health, timestamps, fields, and retention.
- 3Test detectionConfirm controlled activity produces the expected signal.
- 4Guide responseDocument what analysts should validate, do, and record.
Measure coverage, agent health, telemetry delay, detection quality, investigation time, and response success rather than alert volume alone.
Match the response to the risk
Isolation, process termination, and quarantine can disrupt operations or destroy useful evidence. Follow approved procedures, consider identity and wider incident scope, and test automated actions with narrow conditions, approval boundaries, verification, and rollback. Remember that offline devices, unhealthy agents, retention limits, and false detections create visibility gaps.
Endpoint and forensic tools in this kit¶
The tools in this section support different parts of the endpoint investigation workflow. They are not equivalent enterprise EDR products.
Aurora Lite
Choose it when: You want to practise Windows endpoint telemetry using defined rules and known warning signs.
Evidence: Windows activity collected through Event Tracing for Windows.
Strength: Lightweight telemetry, Sigma-based detections, indicators, and configured response actions.
It is narrower than a full enterprise EDR platform. Confirm supported systems, permissions, updates, exclusions, logs, and performance. Targeted forensic collectionVelociraptor
Choose it when: You need targeted artefacts, repeatable endpoint queries, or hunts across several systems.
Evidence: Host artefacts collected to answer investigation questions.
Strength: Flexible collection, remote queries, repeatable hunts, and forensic workflows.
Treat it as an endpoint visibility and collection platform. Plan access, evidence storage, query impact, retention, and audit records.Choose one evidence path first
Start with Aurora Lite for Windows telemetry and detection, or Velociraptor for targeted collection and deeper investigation. Add a tool only after defining the evidence and decision the lab must support.