What to practice
- Classify viruses, worms, trojans, RATs, ransomware, spyware/keyloggers, logic bombs, fileless malware, and rootkits.
- Identify persistence mechanisms (Windows Registry Run keys, Scheduled Tasks, Linux cron jobs, systemd services).
- Apply OS baseline hardening (CIS Benchmarks, disabling unused services/ports, Secure Boot, patch management, EDR).
1. Core Concept Instruction
Distinguish malware families by their propagation and payload behavior: (1) Virus vs. Worm: A virus injects itself into a host executable or macro document and requires a user or process to launch that host file, whereas a network Worm self-propagates autonomously from machine to machine by exploiting unpatched network services (e.g., SMB port 445) without any human interaction. (2) Trojan, RAT & Logic Bomb: A Trojan disguises itself as benign software; a Remote Access Trojan (RAT) opens a covert command-and-control (C2) backdoor; a Logic Bomb lies dormant until a specific date or event triggers its payload. (3) Ransomware & Rootkits: Ransomware encrypts files (often with hybrid AES + RSA) and demands payment for the decryption key; a Rootkit modifies OS kernel structures or bootloaders to hide running processes, files, and network connections from standard system tools. Endpoint hardening shrinks the host attack surface by removing unnecessary software, closing unused ports, enforcing Secure Boot/TPM, applying patches, and deploying Endpoint Detection and Response (EDR).
2. Worked Examples
Worked Malware Behavior Triage & Endpoint Hardening Remediation
During an incident on a Windows subnet, malware enters via one laptop and automatically spreads to 45 other workstations over TCP port 445 (SMB) within 3 minutes without any users clicking links. On infected hosts, `netstat` and Task Manager fail to show the malicious process because kernel API calls (`NtQuerySystemInformation`) are hooked. Classify both malware behaviors and state the remediation.
Result:
Rootkit vs. Ransomware Behavioral Indicators & EDR Kernel-Integrity Telemetry
An endpoint exhibits hidden network listeners that do not appear in standard OS process listings (ps / tasklist), while outbound beacons appear in perimeter NetFlow logs.
Result: Kernel rootkit hooking OS system calls; detect via offline integrity verification and re-image from gold media
Core Concept Review
Distinguish malware families by their propagation and payload behavior: (1) Virus vs. Worm: A virus injects itself into a host executable or macro document and requires a user or process to launch that host file, whereas a network Worm self-propagates autonomously from machine to machine by exploiting unpatched network services (e.g., SMB port 445) without any human interaction. (2) Trojan, RAT & Logic Bomb: A Trojan disguises itself as benign software; a Remote Access Trojan (RAT) opens a covert command-and-control (C2) backdoor; a Logic Bomb lies dormant until a specific date or event triggers its payload. (3) Ransomware & Rootkits: Ransomware encrypts files (often with hybrid AES + RSA) and demands payment for the decryption key; a Rootkit modifies OS kernel structures or bootloaders to hide running processes, files, and network connections from standard system tools. Endpoint hardening shrinks the host attack surface by removing unnecessary software, closing unused ports, enforcing Secure Boot/TPM, applying patches, and deploying Endpoint Detection and Response (EDR).
Extended Concept Analysis
Distinguish malware families by their propagation and payload behavior: (1) Virus vs. Worm: A virus injects itself into a host executable or macro document and requires a user or process to launch that host file, whereas a network Worm self-propagates autonomously from machine to machine by exploiting unpatched network services (e.g., SMB port 445) without any human interaction. (2) Trojan, RAT & Logic Bomb: A Trojan disguises itself as benign software; a Remote Access Trojan (RAT) opens a covert command-and-control (C2) backdoor; a Logic Bomb lies dormant until a specific date or event triggers its payload. (3) Ransomware & Rootkits: Ransomware encrypts files (often with hybrid AES + RSA) and demands payment for the decryption key; a Rootkit modifies OS kernel structures or bootloaders to hide running processes, files, and network connections from standard system tools. Endpoint hardening shrinks the host attack surface by removing unnecessary software, closing unused ports, enforcing Secure Boot/TPM, applying patches, and deploying Endpoint Detection and Response (EDR).
Worked Problem Walkthrough
Worked Malware Behavior Triage & Endpoint Hardening Remediation
During an incident on a Windows subnet, malware enters via one laptop and automatically spreads to 45 other workstations over TCP port 445 (SMB) within 3 minutes without any users clicking links. On infected hosts, netstat and Task Manager fail to show the malicious process because kernel API calls (NtQuerySystemInformation) are hooked. Classify both malware behaviors and state the remediation.
Rootkit vs. Ransomware Behavioral Indicators & EDR Kernel-Integrity Telemetry
An endpoint exhibits hidden network listeners that do not appear in standard OS process listings (ps / tasklist), while outbound beacons appear in perimeter NetFlow logs.
Common Exam Traps & How to Avoid Them
-
Calling any self-spreading network malware a 'virus' instead of a 'worm'.
-
Assuming standard user-mode antivirus can reliably remove a kernel-level or firmware rootkit without re-imaging/reflashing.
Key Vocabulary
-
Network Worm: Self-replicating malware that propagates automatically across networks by exploiting vulnerabilities without requiring human interaction.
-
Rootkit: Stealth malware that alters operating system kernel or firmware functions to conceal the presence of malicious processes, files, and network connections.