All lessons Leer en español

Security in depth · Unit 23 · Lesson 1 of 14

How antivirus and EDR protect endpoints

Follow an event from a device to a decision, and learn what a quiet dashboard can and cannot tell you.

6 minready

ATT&CK TA0005 Defense Evasion

Helpful before thisDefenses and detection

After this lesson you can

  • Distinguish prevention, endpoint telemetry, detection, and response.
  • Explain how context and sensor health change the meaning of an alert.
  • Describe a coverage gap using evidence and a practical improvement.

Imagine a smoke alarm, an incident notebook, and a trained response team. They solve related problems, but owning the alarm does not supply the notebook or the team. Endpoint security works similarly.

Antivirus can prevent or remediate malicious activity. EDR adds investigation and response capabilities around endpoint activity. Products often overlap: modern antivirus may use behavior analysis and machine learning as well as signatures. “AV only reads files; EDR only watches behavior” is too simple.

How antivirus and EDR protect endpointsCollection, detection, and response are separate jobs. A product may combine them, but each stage needs evidence that it works.Observe activityEvaluate signalsRespond and review
Collection, detection, and response are separate jobs. A product may combine them, but each stage needs evidence that it works.

Four jobs, not one green tick

Prevention tries to stop an unwanted action. Collection records selected observations: a process start, a file change, a connection, or an identity. Detection evaluates those observations against rules or models. Response might notify an analyst, quarantine an item, or isolate a device, depending on policy.

These jobs need different checks. An installed agent might have outdated policy. A healthy sensor might send events that no rule evaluates. A useful alert might wait in an unattended queue. Ask where the chain works and where evidence is missing.

Static and behavioral clues

Static inspection examines an item without executing it: for example, its structure, reputation, or recognizable patterns. Behavioral analysis examines activity and relationships over time. Neither approach is a promise to recognize every threat.

Consider a fictional payroll laptop. A signed administration tool connects to a server. That event could belong to scheduled maintenance or an unexpected session. The tool name is the same; the user, timing, parent process, destination, and approved purpose provide context. This is why use of built-in tools is neither automatically malicious nor automatically safe.

Where AMSI fits

The Windows Antimalware Scan Interface lets participating applications and services ask an antimalware provider to inspect content, including content in memory. A script engine is one possible integration.

AMSI is an interface, not the detection engine itself. It does not replace endpoint permissions or guarantee coverage of every program. A useful inventory names which applications integrate with it, which provider is active, and how scanning outcomes affect the application.

Read an alert as a question

An alert identifies a condition worth evaluating. It does not by itself prove an incident. Conversely, no alert does not establish safety. Telemetry can be incomplete because of retention, collection settings, rate limits, unsupported activity, or missing devices.

For a fictional incident, put the device, account, timestamp, event source, and expected behavior together. Separate “the event exists” from “the rule matched” and “someone responded.” Use redacted evidence; logs can contain personal data or sensitive arguments.

Improve coverage without drowning people

Compare useful detections with false alarms and missed activity. A rule that catches everything by alerting on every process is difficult to operate. Tuning needs representative benign activity, a clearly defined unwanted condition, and an owner who can review the outcome.

A good improvement states the gap and the next check: “Three managed laptops were absent from the device inventory; enroll them, verify recent telemetry, and assign an alert owner.” That is more useful than calling the entire product ineffective.

Terms you met

antivirusEDRtelemetry

Check yourself

No timer. No penalties. Read the explanation and try again whenever you like.

  1. A vendor says its antivirus uses behavior monitoring. Is that contradictory?

    Show the answer

    Correct answer: No; modern antivirus can combine behavioral and static methods. Product categories overlap. Signatures are one technique, not the definition of all antivirus.

  2. An action produced no alert. What is the strongest next conclusion?

    Show the answer

    Correct answer: Check whether the action was observed and which policy evaluated it. Missing telemetry, an exception, a threshold, or benign behavior could each explain the result.

  3. A signed administrative tool appears in an alert. What should an analyst examine?

    Show the answer

    Correct answer: Its actor, parent process, destination, and purpose. A signature describes publisher identity and integrity; the surrounding activity helps explain intent.

  4. What does AMSI provide?

    Show the answer

    Correct answer: An interface that participating applications use to request antimalware inspection. Coverage depends on integration, the provider, and policy. AMSI is not a universal monitor.

Try it

  • WriteA fictional laptop records a suspicious process, but its dashboard shows no alert. List one collection question, one detection-policy question, and one response question. Decide what evidence would distinguish an expected exception from a coverage gap.
References