Endpoint Security Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=4545
Answer
Endpoint security troubleshooting checks that the device is enrolled and identified correctly, has received the right policy, that the agent or sensor is healthy and reporting, and that the expected protections actually block or detect what they should.
Remember
- Agent running ≠ agent healthy or reporting.
- No console alert ≠ no endpoint event.
- Control disabled ≠ malware caused it automatically.
- Endpoint isolation ≠ incident closed.
First checks
Get-MpComputerStatus— agent stateGet-WinEvent -LogName 'Microsoft-Windows-Windows Defender/Operational' -MaxEvents 30— Defender events- EDR sensor health page — last seen
Commands
Get-MpComputerStatus- Display Microsoft Defender status and signature versions.
Verify in this order
agent → policy → connectivity → detection
Where it usually breaks
First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.
Endpoint Security → Endpoint Security Troubleshooting proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact endpoint identity, owner, role, platform, data, exposure and expected control | Does not prove policy receipt, effective state or runtime health |
| Effective control | Policy source/precedence, engine/sensor version, mode, exclusions, keys and local state | Configured or licensed capability does not prove enforcement |
| Runtime evidence | Correlated local events, backend telemetry, process/file/network context and safe tests | One alert, clean scan or healthy agent does not prove endpoint trust |
| Closure | Original protection/workload test passes; persistence, credentials, recovery and adjacent controls are verified | Block, isolation, deletion or ticket closure alone is not recovery |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4545