Malware Detection
Cheat sheet · https://pcornel.dk/topic.php?topic=5141
Answer
Malware Detection troubleshooting determines whether antivirus, EDR, sandbox, signature, heuristic or behavioral evidence represents malware, a potentially unwanted application, a benign artifact or incomplete detection context.
Remember
- Malware detected ≠ malware executed successfully.
- File quarantined ≠ persistence, credential theft or lateral impact removed.
- Negative scan ≠ clean system; coverage, unpacking, memory-only behavior and detection age matter.
- Hash reputation alone ≠ complete malware classification.
First checks
Get-MpThreatDetection— Defender detectionssha256sum <file>— hash for lookup- EDR timeline around detection — what happened
Verify in this order
detection → confirm → scope → contain → eradicate → learn
Where it usually breaks
First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.
Malware Detection troubleshooting/evidence map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / baseline | Failing case and known-good comparison are reproducible | Symptom changes across users, devices, paths or time without explanation |
| Policy / decision | Authoritative state explains the expected decision | Stale, conflicting or unexpected policy/context changes the decision |
| Enforcement / telemetry | Runtime action and same-window telemetry agree | Decision, enforcement and logs disagree or coverage is missing |
| Verification | Original test and security regression both pass | Temporary recovery, bypass or adjacent regression remains |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5141