Pcornel
Security · Endpoint Security

Endpoint Security Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=4545

Back to the Topic

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 state
  • Get-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

BoundaryEstablishDoes not establish
Scope and intentExact endpoint identity, owner, role, platform, data, exposure and expected controlDoes not prove policy receipt, effective state or runtime health
Effective controlPolicy source/precedence, engine/sensor version, mode, exclusions, keys and local stateConfigured or licensed capability does not prove enforcement
Runtime evidenceCorrelated local events, backend telemetry, process/file/network context and safe testsOne alert, clean scan or healthy agent does not prove endpoint trust
ClosureOriginal protection/workload test passes; persistence, credentials, recovery and adjacent controls are verifiedBlock, 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

Confirmation

Confirm action

Continue?