Sub topic 9
Anti-malware and endpoint protection tools
This chapter assumes you know what antivirus software does, can navigate Windows Settings, and understand basic networking terms. It covers the tools that prevent and detect malware on a device. The removal procedure is covered in a later chapter.
What an endpoint protection tool does
An endpoint is any device that connects to a network, such as a laptop, desktop or phone. Endpoint protection software defends that device. On the exam, the main tools are:
| Tool | What it does |
|---|---|
| Anti-malware (antivirus) | Scans files and processes and blocks or quarantines known threats |
| Host firewall | Filters inbound and outbound network traffic on the device |
| EDR (endpoint detection and response) | Records endpoint activity, flags suspicious behavior, and lets analysts isolate a device |
| Windows Security (Microsoft Defender) | The built-in Windows suite that combines antivirus, firewall and related protections |
How detection works
Anti-malware tools use several methods together:
- Signature-based detection compares files against a database of known malware patterns. It is fast and accurate for known threats. It misses new malware until the signatures are updated.
- Heuristic and behavioral detection looks for suspicious traits or actions, such as a program that encrypts many files quickly. It can catch unknown malware but produces more false positives.
- Real-time protection scans files as they are opened, downloaded or run.
- Scheduled scans check the whole system at set times. A quick scan covers common infection locations. A full scan covers every file.
Quarantine isolates a detected file so it cannot run, but it can be restored if the detection was a false positive.
Checking Defender from PowerShell
Open PowerShell as administrator. This command shows whether the service and real-time protection are on, and how recent the signatures are:
Get-MpComputerStatus | Select-Object AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, AntivirusSignatureLastUpdatedIf the signatures are old, update them and run a quick scan:
Update-MpSignature
Start-MpScan -ScanType QuickScanCommon errors
- Outdated signatures. The tool is running but cannot recognize recent threats. Check the last update time first.
- Real-time protection turned off. Users or malware may disable it. A device that "has antivirus" is not protected if this is off.
- Two third-party antivirus products installed together. They can conflict and slow the system. Windows normally turns Defender off when another product registers itself, so keep one active product.
- Overly broad exclusions. Excluding a folder from scanning lets malware placed there go unnoticed.
- Trusting the tool alone. Anti-malware does not stop a user from entering a password on a phishing page. It works alongside user education, patching and access controls.
Exercise
A technician runs Get-MpComputerStatus on a slow PC. AntivirusEnabled is True, RealTimeProtectionEnabled is False, and AntivirusSignatureLastUpdated is five months old. Name two problems and the first action to take.
Show answer
Real-time protection is off, and the signatures are badly out of date. The first action is to turn real-time protection back on and run Update-MpSignature, then run a scan. Also find out why protection was disabled, since malware often turns it off.