Use it when the symptom is “Malware Detection”: work through the layers in order and stop at the first one that fails.
Malware Detection
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.
1. Malware detection response: confirm, scope (other hosts with same hash/behaviour), contain, remove/reimage, find entry vector.
2. Check for persistence.
3. Reset exposed credentials (infostealers).
4. Update detections.
5. Document.
detection → confirm → scope → contain → eradicate → learn
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Evidence path Verify boundary
detection event → artifact identity/hash/path → execution/process context → persistence/network/credential behavior → scope → classification → containment/removal → persistence and recovery verification
Healthy evidence: Healthy evidence shows preserved detection context, scoped execution impact, justified classification, complete removal/containment of observed persistence and restored endpoint telemetry with no recurrence.
Step 2 Fault isolation and next checks Narrow the fault
Suspicious evidence: Suspicious evidence includes execution before detection, persistence, credential access, command-and-control, multiple hosts, disabled security tooling, repeated quarantine or clean scans despite unexplained behavior.
A malware signature or behavioral detection shows the engine matched available evidence, but it does not show execution, scope, eradication or that a clean scan means no compromise.
Step 3 Common mistakes Narrow the fault
- Re-imaging before collecting evidence.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
Get-MpThreatDetection— Defender detectionssha256sum <file>— hash for lookup- EDR timeline around detection — what happened
ReferenceWhat it is1 section · depth on demand
Core failure model
Preserve the artifact and detection metadata safely, validate source/path/hash/signature and execution context, correlate process/network/persistence behavior and scope, then separate detection, quarantine, eradication and recovery.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A malware signature or behavioral detection shows the engine matched available evidence, but it does not show execution, scope, eradication or that a clean scan means no compromise.
In depth
Malware detection troubleshooting deals with two problems: alerts that need confirmation, and malware that was not detected. Both require understanding what the security tools actually saw.
| Situation | Steps |
|---|---|
| Detection on a file | Check hash reputation, signer, location, origin; quarantine and investigate parent process |
| Repeated detections on one host | Persistence present — find the source (task, service, startup item) |
| Suspected undetected malware | EDR timeline, autoruns, network connections, memory analysis, YARA sweep |
| Detection but no remediation | Check AV mode (passive?), tamper protection, exclusions |
Get-MpThreatDetection | Select-Object -First 10 ThreatID, InitialDetectionTime, Resources, ActionSuccess
Get-MpThreat
After cleaning, verify that persistence is gone and credentials used on the host are rotated.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security Troubleshooting → Malware Detection. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.nist.gov/cyberframework · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Malware Detection troubleshooting/evidence map
Fast scope, policy, enforcement, telemetry and verification boundaries for Malware Detection.
| 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 |