Security · Malware
Virus
Cheat sheet · https://pcornel.dk/topic.php?topic=4921
Answer
A virus is malware that attaches to files or programs and spreads when they are run or shared. Classic file infectors are less common today than trojans and worms.
Remember
- Viruses attach to files and spread when those files run.
- They spread through shared files and media.
- Classic viruses are less common than trojans today.
First checks
- AV/EDR detections of file infectors — virus
Get-MpThreatDetection— Defender detections- Clean reimage procedure — recovery
Verify in this order
infected file executed → infects other files
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4921