Malware
Cheat sheet · https://pcornel.dk/topic.php?topic=4919
Answer
Malware is software designed to harm or abuse systems — viruses, worms, trojans, ransomware, spyware, rootkits, botnets and fileless malware. Defences combine prevention, detection, least privilege and backups.
Remember
- Most malware arrives via phishing or exposed unpatched services.
- Least privilege limits what malware can do.
- Backups are the last line against ransomware.
First checks
- EDR malware detections — alerts
yara -r rules.yar <path>— hunt- Email/web gateway blocks — prevention
Verify in this order
delivery → execution → persistence → actions
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=4919