8.1 Malware Types, Attack Vectors, and Incident Response
Key Takeaways
- Malware taxonomy spans distinct propagation and operational models: viruses require a host file and user execution, worms self-replicate autonomously across networks exploiting unpatched vulnerabilities, Trojans masquerade as benign software, and ransomware encrypts file systems to extort cryptocurrency.
- Stealth malware presents unique diagnostic challenges: spyware and keyloggers covertly harvest credentials and user telemetry, adware/PUPs hijack browsers and degrade performance, while rootkits hook kernel (Ring 0) or bootloader calls to conceal processes from Task Manager and user-mode antivirus scanners.
- Primary attack vectors include weaponized email attachments, drive-by web downloads, unpatched operating system and application vulnerabilities, pirated software, and malicious USB hardware.
- Help desk first response is immediate physical network isolation — disconnecting Ethernet and disabling Wi-Fi and Bluetooth to halt lateral movement — without powering off when volatile RAM forensics must be preserved, followed by escalation to the Security Operations Center (SOC), offline rescue-media scanning, and corporate gold-image re-imaging as the definitive recovery baseline.
- Spam is unsolicited bulk mail reported as junk while phishing is a security incident that gets escalated, so anything requesting credentials, payment, or urgent action goes to the security team regardless of how it was filtered; SPF, DKIM, and DMARC authenticate senders, and a broken record at the sending domain is the usual reason legitimate partner mail lands in Junk.
8.1 Malware Types, Attack Vectors, and Incident Response
Quick Summary: IT support technicians serve as the first line of defense against cyber threats. Mastery of malware classifications—including viruses, worms, Trojan horses, ransomware, spyware, adware, and kernel-level rootkits—enables rapid threat identification. When an infection is detected, technicians must immediately execute network isolation protocols to halt lateral movement, preserve volatile forensic artifacts, notify security teams, and implement definitive re-imaging procedures.
Malware Taxonomy & Operational Behaviors
Malicious software (malware) encompasses any code or application developed with the intent to damage, compromise, surveil, or exploit computing devices, data, or network infrastructure. Differentiating malware families by their infection vectors, persistence mechanisms, and operational goals is a foundational Cisco Certified Support Technician competency.
+-----------------------------------------------------------------------------------+
| MALWARE TAXONOMY OVERVIEW |
+-----------------------------------------------------------------------------------+
| Host-Dependent (Requires File/Execution) | Viruses (File, Macro, Boot Sector) |
| Autonomous Network Propagation | Worms (Exploit Network Vulnerabilities) |
| Masquerading / Deceptive Delivery | Trojan Horses (Backdoors, Droppers) |
| Extortion & Encryption | Ransomware (C2 Communication, AES/RSA) |
| Surveillance & Credential Harvesting | Spyware & Keyloggers (Exfiltration) |
| Nuisance & Unwanted Alteration | Adware & PUPs (Browser Hijackers) |
| Kernel / Deep Stealth Hooking | Rootkits (Ring 0 / Bootloader Hooks) |
+-----------------------------------------------------------------------------------+
1. Viruses
A virus is parasitic malicious code that attaches itself to a legitimate host program, script, or document. A virus cannot execute independently or spread without human interaction; an end user must actively open the infected file or launch the compromised application.
- File Infectors: Attach malicious payloads to binary executables (
.exe,.dll,.com). When the user runs the application, the virus executes in memory before passing control back to the legitimate program. - Macro Viruses: Exploit automated macro scripting environments inside productivity documents (e.g., Microsoft Word
.docmor Excel.xlsm). Once enabled by the user, the macro executes Visual Basic for Applications (VBA) code to infect global document templates. - Boot Sector Viruses: Infect the Master Boot Record (MBR) or partition table of storage media, executing before the operating system initializes when booting from an infected external drive.
2. Worms
A worm is a standalone, self-replicating malware program that actively propagates across local subnets and wide area networks without requiring human intervention or a host file. Worms scan network ranges for unpatched operating system vulnerabilities, open network ports, and weak credentials.
- Propagation Mechanics: Once a single endpoint is compromised, the worm scans the local subnet for vulnerable listening services (such as Server Message Block [SMB] or Remote Desktop Protocol [RDP]), injects its shellcode, and executes autonomously on adjacent hosts.
- Operational Impact: Worms consume massive network bandwidth, saturate switch CAM tables, crash unpatched network daemons, and rapidly deliver secondary payloads (e.g., botnet agents or ransomware droppers) across entire corporate subnets.
3. Trojan Horses
A Trojan horse is malware disguised as legitimate, useful, or harmless software to deceive users into installing it. Unlike viruses and worms, Trojans do not replicate or reproduce by infecting other files.
- Common Disguises: Rogue system optimization utilities, fake PDF readers, spoofed video codecs, illegitimate VPN installers, or cracked software license key generators.
- Payload Delivery: Once launched, the Trojan secretly installs a secondary payload—such as a Remote Access Trojan (RAT), which opens an unauthorized, encrypted backdoor connection allowing remote adversaries to execute commands, transfer corporate files, and modify local configurations.
4. Ransomware
Ransomware is extortion-driven malware that covertly traverses accessible file systems, encrypts user documents, databases, and system volumes using robust cryptographic ciphers (e.g., AES-256 paired with public-key RSA-2048/4096), and demands cryptocurrency payment in exchange for a decryption key.
- Command and Control (C2) Architecture: Modern ransomware contacts remote C2 servers over HTTPS, Tor, or DNS tunnels to transmit encryption keys and exfiltrate sensitive data.
- Extortion Models:
- Single Extortion: Attackers demand payment solely for the decryption key to restore access to locked files.
- Double Extortion: Attackers exfiltrate sensitive corporate and customer data prior to encryption, threatening public disclosure or sale on dark web forums if the extortion fee is not paid.
5. Spyware & Keyloggers
Spyware operates covertly in the background to monitor user activity, collect sensitive data, and transmit harvested telemetry to unauthorized third parties without user consent.
- Keyloggers: Specialized software or physical hardware devices designed to capture every physical keystroke pressed on a keyboard. Keyloggers capture administrative credentials, banking passwords, personal correspondence, and multi-factor recovery codes before disk or transport encryption can protect them.
- Screen Scrapers & Audio Interceptors: Spyware variants that record periodic desktop screenshots, hijack webcams, or activate laptop microphones during active sessions.
6. Adware & Potentially Unwanted Programs (PUPs)
- Adware: Software designed to display non-stop, intrusive advertisements, banners, and full-screen pop-up windows. Adware frequently modifies default browser homepages and search engines to generate fraudulent ad impressions and referral revenue.
- PUPs (Potentially Unwanted Programs): Software bundled covertly alongside free utilities downloaded from third-party distribution portals. While not inherently classified as severe malware, PUPs install unwanted browser toolbars, alter default search providers, degrade system performance, and leak browsing telemetry.
7. Rootkits
A rootkit is a sophisticated collection of stealth software tools engineered to gain administrative, privileged control over a computer system while actively concealing its presence from the operating system, security utilities, and users.
- Ring 0 / Kernel Hooking: Rootkits inject code directly into kernel memory (Ring 0) or the operating system bootloader. By intercepting and modifying low-level system Application Programming Interface (API) calls, a rootkit actively filters Task Manager query results, hides its processes and service entries, conceals specific directory files, and suppresses open network socket telemetry.
- Detection Challenge: Because rootkits subvert the operating system kernel itself, standard user-mode antivirus scanners running within the infected OS cannot reliably detect them. Analysis typically requires offline rescue media or specialized memory forensic tools.
Malware Comparison Matrix
| Malware Family | Requires Host File? | Autonomous Propagation? | Primary Objective | Key Technical Characteristics |
|---|---|---|---|---|
| Virus | Yes (Executable, Document) | No (Requires User Execution) | System disruption, file corruption | Injects code into existing files; executes when host file is run. |
| Worm | No (Standalone Program) | Yes (Network Exploits) | Network saturation, payload delivery | Exploits vulnerable network protocols (e.g., SMB); self-replicates across subnets. |
| Trojan Horse | No (Disguised App) | No (Manual User Installation) | Backdoor installation, remote access | Masquerades as legitimate software; establishes unauthorized command channels. |
| Ransomware | No (Dropper/Script) | Secondary (often via worm routines) | Financial extortion | Encrypts files using strong ciphers; demands cryptocurrency payment. |
| Spyware | No (Background Process) | No (Bundled or Dropped) | Credential and identity theft | Covertly monitors keystrokes, clipboard, screen captures, and telemetry. |
| Adware / PUP | No (Bundled App) | No (Bundled Installation) | Ad revenue, search redirection | Injects pop-ups, hijacks browser search engines, degrades user experience. |
| Rootkit | No (Kernel Driver/Module) | No (Installed via Privilege Exploit) | Persistent stealth privilege | Operates at Ring 0/bootloader; hooks OS APIs to hide processes from Task Manager. |
Attack Vectors & Infection Pathways
An attack vector represents the specific path, method, or vulnerability an adversary exploits to gain unauthorized access to a computer system and deploy a malicious payload.
+-----------------------------------------------------------------------------------+
| COMMON ATTACK VECTORS |
+-----------------------------------------------------------------------------------+
| Weaponized Email Attachments | Macros (.docm), scripts (.vbs, .js), archives (.iso)|
| Drive-by Web Downloads | Malicious ad networks (malvertising), zero-days |
| Unpatched Vulnerabilities | Known CVEs in OS, PDF readers, web browsers |
| Untrusted Software Downloads | Torrent trackers, cracked licenses, fake updates |
| Malicious USB Hardware | BadUSB microcontroller HID injection, drop attacks|
+-----------------------------------------------------------------------------------+
- Weaponized Email Attachments: The leading vector for enterprise compromises. Attackers send fraudulent emails containing attachments disguised as invoices, shipping receipts, or legal notices. Attachments utilize macro-enabled documents (
.docm,.xlsm), compressed disk images (.iso,.vhd), JavaScript files (.js), or Visual Basic scripts (.vbs) designed to download and execute secondary malware payloads. - Drive-by Downloads: The unintended installation of malicious software occurring simply by visiting a compromised or malicious webpage. Attackers exploit web browser vulnerabilities, outdated browser extensions, or malicious third-party advertising networks (malvertising) to silently execute code in the background without user confirmation.
- Unpatched OS & Application Vulnerabilities: Flaws in software code (identified by Common Vulnerabilities and Exposures [CVE] numbers) that permit unauthorized arbitrary code execution or privilege escalation. Unpatched network daemons (such as outdated SMB implementations) allow worms to traverse subnets effortlessly.
- Untrusted Software & Pirated Media: Downloading cracked software, key generators, or unverified freeware from peer-to-peer (P2P) torrent networks or untrusted websites. Attackers routinely bundle Trojans and crypto-miners into software crack packages.
- Infected USB Flash Drives & BadUSB Devices:
- Removable Media Infections: Malicious files placed on USB flash drives relying on legacy autorun mechanisms or user curiosity (e.g., "drop attacks" where attackers leave branded USB sticks in corporate parking lots).
- BadUSB: Reprogrammed USB microcontrollers configured to emulate a physical Human Interface Device (HID keyboard). When plugged into a workstation, BadUSB rapidly injects pre-programmed keystrokes at superhuman speeds to launch Command Prompt or PowerShell, download malware, and bypass endpoint restrictions.
Observable Symptoms of Malware Infection
Support technicians must recognize the operational warning signs indicating an endpoint has been compromised:
- Sudden, Severe Performance Degradation: Workstations experience extreme latency, application freezing, and sluggish window responsiveness caused by background crypto-mining or aggressive file encryption routines.
- Abnormal Idle Resource Consumption: High CPU, RAM, or disk utilization (consistently 85–100%) visible in Task Manager when the computer is completely idle with no user applications running.
- Spikes in Idle Network Traffic: Continuous outbound network transmission on an idle machine, signaling data exfiltration, C2 beaconing, or active worm scanning across the local subnet.
- Disabled Security Controls: Antivirus software, Windows Defender, or third-party Endpoint Detection and Response (EDR) agents are unexpectedly turned off, greyed out, or prevented from updating virus definition signatures.
- Altered File Extensions & Ransom Notes: User documents across local folders and mapped network drives display modified extensions (e.g.,
.locked,.crypto,.enc) alongside new desktop text files or HTML pages containing ransom instructions. - Browser Hijacking & Intrusive Pop-ups: Web browsers redirect search queries to unknown, suspicious search engines, display persistent pop-up advertisements even when closed, or install unauthorized extensions.
Spam and Unsolicited Email
Cisco names spam as a distinct threat in exam topic 5.1, alongside phishing, malware, unauthorized access attempts, and spoofing. It is listed separately for a reason: not all spam is phishing, and treating the two identically leads technicians to the wrong response.
| Spam | Phishing | |
|---|---|---|
| Intent | Unsolicited bulk advertising or nuisance mail | Deceive the recipient into surrendering credentials, money, or access |
| Typical payload | Marketing links, scams, adult or crypto promotions | Credential harvesting page, malicious attachment, fraudulent payment request |
| Correct handling | Report as junk; block sender; tune the filter | Report to security — it is a security incident, not a nuisance |
The overlap matters: phishing arrives as spam, so a spam surge is often the visible front of a targeted campaign. The support rule is that spam is reported through the junk mechanism, but anything asking for credentials, payment, or urgent action is escalated to the security team regardless of how it was filtered.
How Spam Is Controlled
- Filtering tiers. A secure email gateway scores messages before delivery on sender reputation, content, and attachment analysis. Anything above the block threshold is rejected or quarantined; borderline mail lands in Junk.
- Sender authentication — the three records to recognise. SPF publishes which servers may send for a domain, DKIM signs messages cryptographically so tampering is detectable, and DMARC tells receivers what to do when SPF or DKIM fails and reports back to the domain owner. These are also the primary defence against spoofing, which is why the two topics sit together in the blueprint. When a user asks why mail from a legitimate partner keeps landing in Junk, a broken SPF or DKIM record at the sender is the usual answer.
- Quarantine review. Users can typically release their own quarantined messages from a digest, which is the correct first step for a "missing email" ticket before anyone examines mail flow.
What to Advise Users
- Report, do not just delete. The Report Junk or Report Phishing button feeds the filter and alerts security; deleting teaches the system nothing.
- Never unsubscribe from unsolicited mail from an unknown sender. For genuine marketing, unsubscribe works. For spam, clicking it simply confirms the mailbox is live and monitored, and volume increases.
- Never load remote images in suspicious mail. Tracking pixels confirm the address is active and that the message was opened.
- Never reply, and never engage. Any response validates the address.
- Do not use the corporate address for public sign-ups, and treat a sudden spike in spam to one user as a possible sign their address has been harvested in a third-party breach — worth an escalation, not just a filter tweak.
Help Desk First-Response & Quarantine Protocol
When a support technician suspects or confirms a malware infection, following a structured incident response sequence is vital to contain the outbreak, protect corporate assets, and preserve forensic artifacts.
[ DETECT MALWARE SYMPTOMS ]
│
▼
[ STEP 1: IMMEDIATE PHYSICAL NETWORK CONTAINMENT ]
├── Unplug RJ-45 Ethernet Cable
├── Disconnect & Forget Wi-Fi / Toggle Hardware Wireless Switch Off
└── Disable Bluetooth & Cellular Modems
│
▼
[ STEP 2: PREVENT LATERAL MOVEMENT ACROSS ENTERPRISE SUBNET ]
└── Halts C2 beaconing, worm propagation, and network share encryption
│
▼
[ STEP 3: PRESERVE FORENSIC EVIDENCE & VOLATILE MEMORY ]
└── DO NOT power off or restart unless instructed by SOC policy
(Preserves RAM artifacts, injection processes, and BitLocker keys)
│
▼
[ STEP 4: NOTIFY & ESCALATE TO SOC / INFOSEC TEAM ]
└── Create high-priority incident ticket; provide timestamps and symptoms
│
▼
[ STEP 5: DOCUMENT OBSERVATIONS & USER TIMELINE ]
└── Record opened files, clicked URLs, error messages, and system state
│
▼
[ STEP 6: REMEDIATION & CORPORATE RE-IMAGING ]
└── Offline bootable scanner OR Enterprise Golden Image Re-deployment
Step 1: Immediate Network Containment (Physical Isolation)
The technician's paramount objective is immediate network isolation. Cutting network connectivity stops data exfiltration, halts communication with external C2 servers, and prevents worms or ransomware from spreading to shared file servers and domain controllers:
- Unplug the Physical Ethernet Cable: Immediately pull the RJ-45 cable from the network interface card.
- Disconnect and Disable Wi-Fi: Toggle off the physical Wi-Fi hardware switch or disable the wireless adapter in network settings. Instruct the operating system to "Forget" corporate wireless networks to prevent automatic reconnection.
- Disable Secondary Interfaces: Turn off Bluetooth, disable cellular modems, and disconnect connected smartphones or docking stations.
Step 2: Prevent Lateral Movement
By severing physical and wireless connectivity, the infected machine cannot initiate Server Message Block (SMB) connections, execute Remote Procedure Calls (RPC), or scan the enterprise subnet (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to infect adjacent peer workstations or corporate file shares.
Step 3: Forensic Preservation (Do NOT Restart or Power Off)
- Technician Common Mistake: A natural instinct is to reboot or power off an infected workstation. In an enterprise environment, powering down or rebooting can destroy critical evidence.
- Why Leave Powered On: Volatile system RAM contains unencrypted encryption keys, active injection processes, in-memory malware artifacts, network connection states, and command history. Powering down flushes RAM permanently. Furthermore, if BitLocker is active, a reboot may lock the drive, complicating forensic extraction.
- Exception: Only power off if organizational Incident Response policy specifically mandates immediate power cutoff to prevent catastrophic, rapid disk wiping.
Step 4: Escalate to the Security Operations Center (SOC)
Contact the corporate Information Security / SOC team immediately via phone or out-of-band communication channel. Provide the device hostname, MAC address, user identity, IP address, and physical location.
Step 5: Document Symptoms & User Timeline
Thorough documentation is legally and technically essential. Document:
- Exact timestamp when abnormal behavior was first observed.
- Specific websites visited, emails received, or attachments clicked by the user.
- Exact names of altered files, error dialog messages, or ransom note files.
- All first-response actions executed by the technician.
Step 6: Remediation Basics & Re-imaging
- Offline Rescue Media Scanning: If authorized by the security team to clean a non-critical machine, boot from a write-protected, clean USB drive containing an offline Linux-based or Windows PE rescue scanner. Offline scanning operates outside the infected operating system, allowing detection of stubborn rootkits and boot sector infectors.
- The Enterprise Gold Standard (Re-imaging): In enterprise IT support, attempting to "clean" a heavily compromised operating system with consumer cleanup utilities is discouraged. Hidden backdoors, altered registry permissions, and kernel hooks can persist indefinitely. The definitive, secure remediation standard is sanitizing the storage drive and applying a clean corporate golden image via PXE boot (e.g., Microsoft Endpoint Configuration Manager or Windows Autopilot).
Real-World Help Desk Scenarios
Scenario 1: Active Ransomware on a Shared Department Drive
Incident: An administrative assistant calls the help desk in a panic. All files in her department's mapped network drive (Z:\Marketing) have suddenly changed their file extensions to .locked, and a text file named READ_ME_FOR_DECRYPT.txt has appeared in every folder.
Analysis: The user's workstation has executed ransomware that is systematically traversing and encrypting the network SMB file share using her domain credentials.
Technician Action: The technician immediately instructs the user to pull the physical blue Ethernet cable from the back of her computer and toggle off the Wi-Fi switch. The technician contacts the infrastructure storage team to immediately suspend the Z: drive share service to protect unaffected folders. The technician files a critical security incident ticket, escalates to the SOC, preserves the workstation's current power state for forensic memory dumping, and verifies that the storage team can initiate a clean snapshot restore from immutable offline backups.
Scenario 2: Suspected Kernel Rootkit Concealing Rogue Activity
Incident: An engineer reports that their laptop fan is running at maximum speed and web traffic is extraordinarily slow. When the technician connects, Task Manager shows only 4% CPU usage and no active network traffic. However, the corporate perimeter firewall logs show gigabytes of encrypted traffic being streamed from the engineer's IP address to an unknown external server. Analysis: A kernel-mode rootkit has compromised the operating system at Ring 0, intercepting Windows API calls to falsify Task Manager telemetry while covertly exfiltrating proprietary engineering data. Technician Action: The technician disconnects the laptop from the docking station and network. Because kernel-level integrity is compromised and user-mode antivirus cannot be trusted, the technician flags the incident for the SOC. Once forensic memory and disk images are captured, the technician performs a secure drive wipe and re-images the laptop using the corporate baseline deployment image.
An IT technician is investigating a sudden spike in network traffic affecting multiple workstations across an accounting subnet. None of the affected users clicked any links or opened email attachments, yet an unknown process is actively connecting to adjacent workstations over TCP port 445 (SMB) and installing malicious payloads. Which category of malware is responsible for this self-propagating behavior?
A help desk technician receives an urgent call from an administrative assistant whose screen displays a countdown timer stating that all office documents and spreadsheets have been encrypted with AES-256 and demanding cryptocurrency payment. The user asks if they should restart the computer. What immediate first-response action should the technician instruct the user to take?
A workstation exhibits severe instability, yet Windows Defender Antivirus and Task Manager indicate normal operation with zero detected threats and negligible resource consumption. An advanced IT technician suspects that malicious code has compromised the operating system at Ring 0 (kernel level), actively modifying system call tables to conceal its presence. What type of malware possesses these stealth capabilities?