← All playbooks
Malware
Malware detection playbook
Find out whether harmful code actually ran, and how far it got.
Use this when: An antivirus or EDR alert, a suspicious file hash, or an Office program starting a script.
Steps
0 of 6 tickedSigns it is real
- Office app starts PowerShell
- Hidden or encoded command lines
- Unsigned program from Downloads
- Connection to a new address seconds after start
Signs it is harmless
- Detection is a test file (EICAR)
- A training or test record explains it
- Quarantined with no execution and no network activity
Escalate when
- It executed and reached the network
- The EDR only detected and did not block
- More than one machine is affected
Common mistakes
- Trusting 'quarantined' without checking whether it ran first
- Not checking the file hash
- Not asking how the file got there
Tools you will use
EDR / antivirus consoleProcess treeIntel lookup
Practice with this playbook
- SL-1006Suspicious child process: WINWORD.EXE spawned powershell.exehigh
- SL-1007Malware detected: file quarantinedlow
- SL-1016Remote service execution on multiple hosts (PsExec)medium
- SL-1019Malware detected and removed (downloaded file)medium
- SL-1026Suspicious process chain: signed binary spawned rundll32.execritical
- SL-1027Inhibit system recovery detectedcritical
- SL-1037EDR: Office to PowerShell chain blocked (multiple hosts)medium
- SL-1039PowerShell launched with encoded commandmedium
- SL-1040Volume shadow copies deleted (vssadmin delete shadows)high
- SL-1041Scheduled task created by non-system processlow
Found something confusing or unrealistic?