ICSOC-8.10.1 Malware Taxonomy and Infection Vectors (M)

Easy

ICSOC-8.10.1.1 Computer Viruses: Host Parasitism, Replication Lifecycle, and Core Architectural Classes

Computer Viruses: Host Parasitism, Replication Lifecycle, and Core Architectural Classes

A computer virus is a malicious software program characterized by its strictly parasitic nature: unlike autonomous malware, a virus cannot execute or propagate independently and must attach its binary payload to a legitimate, executable host program or system sector. Upon execution of the infected host entity, the viral code intercepts CPU control, loads into system memory, and searches for secondary uninfected files or disks meeting its infection criteria. The virus lifecycle transitions through four sequential phases: the Dormant phase (idle awaiting a predetermined logic trigger or date), the Propagation phase (active replication and insertion of identical or mutated clones into new files), the Triggering phase (activation upon satisfying specific environmental conditions), and the Execution phase (delivery of the intended disruptive payload).

Architecturally, viruses are classified by their target infection vectors and underlying persistence mechanisms. Boot Sector Viruses (such as Michelangelo or Brain) overwrite or displace the Master Boot Record (MBR) or partition boot sector of magnetic drives, securing early execution privileges at hardware POST prior to operating system initialization. File Infector (Parasitic) Viruses attach malicious code directly to compiled binary executables (.EXE, .COM, .DLL), inserting code at the file entry point (prepending or appending) to divert program flow. Macro Viruses exploit interpreted embedded scripting environments within productivity suites (such as Microsoft Office VBA or document templates), infecting data documents rather than binary machine code and replicating automatically whenever infected documents or global templates (e.g., Normal.dotm) are opened or distributed across collaborative networks.

Easy
What is the fundamental architectural characteristic that distinguishes a computer virus from autonomous malware like a computer worm?
Option B is correct because a computer virus is inherently parasitic; it lacks the ability to execute or propagate autonomously and must attach its malicious code to a host executable program, document, or boot sector. Option A describes a computer worm, which is autonomous and self-replicating. Option C is incorrect because viruses primarily infect software binaries, boot sectors, and data files, not hardware microcode. Option D is false because viruses can propagate across local media, local networks, or the Internet whenever infected files are shared.
Medium
How do Macro Viruses differ fundamentally from traditional File Infector (parasitic) viruses in terms of their infection target and execution environment?
Option B is correct because macro viruses target documents and data templates processed by application-level interpreters (such as Visual Basic for Applications in Microsoft Office suites), replicating when the document is opened. In contrast, file infectors attach machine-level binary code directly to compiled executable binaries (.EXE, .COM, .DLL) and divert the program entry point. Option A describes boot sector/partition corruption. Options C and D are technically false regarding transmission mechanisms and execution privilege requirements.
Tricky
Why are Boot Sector Viruses particularly insidious, and at which precise phase of the computer boot sequence do they seize control of the processor?
Option B is correct because boot sector viruses infect the Master Boot Record (MBR) or primary partition boot sector. When the BIOS/UEFI completes the Power-On Self-Test (POST), it reads the infected boot sector into memory at memory address 0000:7C00h to begin bootstrapping; the virus executes immediately, secures kernel-level control before the OS loads, and hides itself from standard security software. Option A describes browser malware. Options C and D are nonsensical hardware claims.
Medium

ICSOC-8.10.1.2 Computer Worms: Standalone Self-Replication, Automated Network Scanning, and Distributed Saturation

Computer Worms: Standalone Self-Replication, Automated Network Scanning, and Distributed Saturation

A computer worm is an autonomous, self-replicating malware program that operates independently of host executable files and requires zero active human intervention or user interaction to propagate across interconnected network architectures. Originating historically with the 1988 Morris Worm, modern worms exploit security vulnerabilities in operating system services, protocol implementations, or unpatched application daemons (such as SMB, RPC, or web servers). Once executing in memory on a compromised host, the worm scans network IP ranges using sophisticated probing algorithms (such as sequential, random, or hit-list scanning), discovers vulnerable listening ports on peer nodes, and transmits a weaponized exploit payload containing its own binary package to infect target machines automatically.

The operational hazard of computer worms stems not merely from their secondary destructive payloads, but from their exponential propagation velocity and aggressive consumption of shared computing resources. As millions of self-replicating threads scan address spaces simultaneously, worms saturate network transmission lines, trigger severe switch buffer overflows, exhaust firewall connection tables, and consume critical host CPU and primary memory cycles. Landmark worms like SQL Slammer demonstrated how a single 376-byte UDP packet worm could compromise tens of thousands of global servers within ten minutes, causing catastrophic Denial of Service through raw bandwidth starvation without needing to alter a single disk file on infected host systems.

Easy
Which feature primarily enables a computer worm to spread rapidly across computer networks without any action by computer users?
Option B is correct because a computer worm is an autonomous, self-propagating program that does not require human activation; it actively probes network IP spaces, identifies vulnerable network daemons, and sends exploit packets to install copies of itself on peer nodes. Option A describes email attachment viruses/trojans. Option C describes manual sneaker-net infection. Option D describes a Trojan Horse.
Medium
Even if a computer worm carries no destructive secondary payload (such as deleting files or encrypting data), how can its propagation alone severely damage network infrastructure?
Option B is correct because the rapid, exponential generation of network scanning threads across thousands of compromised hosts creates massive network congestion. This floods bandwidth capacity, causes router and switch packet drops, overflows firewall state tables, and degrades overall throughput, resulting in a systemic Distributed Denial of Service (DoS). Options A, C, and D are scientifically implausible distortions.
Tricky
The 2003 SQL Slammer worm infected over 75,000 servers in approximately 10 minutes. Which architectural characteristic of its design contributed most directly to this unprecedented propagation speed?
Option B is correct because SQL Slammer was engineered as a single, stateless 376-byte UDP datagram targeting Microsoft SQL Server on port 1434. Because UDP is connectionless (requiring no 3-way SYN/ACK handshake) and the entire buffer overflow exploit and worm body fit inside one packet, infected servers blasted packets at maximum wire speed without disk I/O latency, achieving exponential propagation within minutes. Option A is the opposite of Slammer’s micro-footprint. Option C describes a human-mediated vector. Option D is an erroneous claim about network routing.
Medium

ICSOC-8.10.1.3 Trojan Horses: Deceptive Packaging, Covert Persistence, and Remote Access Trojan (RAT) Architectures

Trojan Horses: Deceptive Packaging, Covert Persistence, and Remote Access Trojan (RAT) Architectures

Derived from the classical Greek military stratagem, a Trojan Horse is a non-replicating malware program that intentionally masquerades as desirable, benign, or legitimate software (such as a system utility, media player, cracked video game, or PDF viewer) to entice users into manual download and installation. Unlike viruses or worms, Trojans lack programmatic self-replication capabilities; their infection vector relies exclusively on social engineering deceptions and user execution privileges. Once granted execution rights by the unsuspecting user, the benign wrapper launches to maintain the illusion of legitimacy, while silently unpacking and executing a concealed, highly privileged malicious payload in the background.

Architecturally, Trojans frequently deploy Remote Access Trojans (RATs) and covert backdoors, establishing persistent communication tunnels between the compromised system and an external Command and Control (C2) server. Modern Trojans bypass perimeter firewalls and NAT routers by initiating outbound HTTP, HTTPS, or DNS covert channels back to the threat actor, rendering standard incoming port blocks ineffective. Once a backdoor session is negotiated, the remote attacker gains complete administrative sovereignty over the endpoint—enabling arbitrary command shell execution, registry manipulation, remote file exfiltration, webcam/microphone surveillance, and credential harvesting, often converting the victim node into an obedient zombie within a broader botnet.

Easy
What is the primary method by which a Trojan Horse infiltrates a computer system?
Option A is correct because a Trojan Horse relies on deception and social engineering; it presents itself as desirable software (e.g., a cracked game, codec, or system optimizer), tricking the user into launching it. Once executed, it releases its concealed payload. Option B describes a worm. Option C is impossible when powered off. Option D describes a self-replicating worm or virus.
Medium
What is a Remote Access Trojan (RAT), and what capability does it grant to an unauthorized threat actor?
Option B is correct because a Remote Access Trojan (RAT) establishes a hidden backdoor communication channel with an external Command and Control (C2) server. This grants the attacker administrative control over the infected machine, facilitating remote shell execution, webcam access, keylogging, and file theft. Option A describes physical maintenance. Option C describes a graphics API. Option D describes NTP (Network Time Protocol).
Tricky
Why do modern Remote Access Trojans (RATs) standardly initiate outbound connections (reverse shells) to a Command and Control (C2) server instead of listening for inbound connections on the infected host?
Option B is correct because perimeter network firewalls and Network Address Translation (NAT) gateways standardly drop unsolicited incoming packets to internal private IP addresses. By configuring the RAT to initiate an outbound connection (reverse shell) to the attacker’s public C2 server over allowed egress ports (e.g., 80 or 443), the connection traverses firewalls seamlessly without requiring port forwarding. Option A is technically false. Option C is impossible as all IP traffic requires an IP address. Option D is absurd.
Tricky

ICSOC-8.10.1.4 Ransomware: Cryptographic Extortion Schemes, Hybrid Public-Key Encryption, and System Lockouts

Ransomware: Cryptographic Extortion Schemes, Hybrid Public-Key Encryption, and System Lockouts

Ransomware represents an aggressive, monetized malware category engineered to extort financial ransom from victims by forcibly denying access to critical computational resources, operating system interfaces, or stored digital data. Ransomware variants primarily divide into two architectural paradigms: Locker Ransomware and Crypto-Ransomware. Locker ransomware alters system startup parameters, desktop window managers, or the Master Boot Record (MBR) to lock the user out of the graphical user interface entirely, displaying an unclosable full-screen extortion notification. Crypto-Ransomware, by far the more destructive and pervasive variant (exemplified by WannaCry, CryptoLocker, and Ryuk), operates silently within the operating system background, systematically locating and encrypting targeted file extensions (documents, databases, source code, and disk images).

To execute mathematically unbreakable file encryption at high speed, modern crypto-ransomware implements a hybrid cryptographic architecture combining symmetric and asymmetric ciphers. The malware generates a distinct, transient symmetric key (such as 256-bit AES) locally to encrypt host files rapidly. Simultaneously, it encrypts this symmetric key using an asymmetric public key (such as 2048-bit or 4096-bit RSA) embedded within the malware payload, retaining the corresponding private decryption key exclusively on the threat actor’s remote Command and Control server. Furthermore, ransomware routinely deletes Windows Volume Shadow Copies (vssadmin delete shadows) and local restore points, rendering operating system rollback impossible and demanding payment in pseudo-anonymous cryptocurrencies (e.g., Bitcoin, Monero) to release the private decryption key.

Easy
What is the primary objective and operational tactic of Crypto-Ransomware?
Option B is correct because Crypto-Ransomware systematically scans local and networked drives to encrypt user documents, photos, databases, and source code using strong cryptographic ciphers, displaying a ransom note demanding payment (typically in cryptocurrency) to recover the decryption key. Option A describes a defragmenter. Option C describes adware. Option D is an erroneous operating system operation.
Medium
Why do modern ransomware variants (such as WannaCry or Ryuk) employ a ‘hybrid encryption’ scheme combining symmetric ciphers (e.g., AES) with asymmetric ciphers (e.g., RSA)?
Option A is correct because symmetric ciphers (such as AES-256) offer high computational throughput, enabling rapid encryption of large volumes of files before detection. However, if the AES key remained unencrypted on the host, the victim could retrieve it to decrypt their files. Therefore, the ransomware encrypts each local AES key using the attacker’s embedded asymmetric RSA public key; only the attacker’s private key (held on the remote C2 server) can decrypt the AES key. Options B, C, and D are technologically inaccurate.
Tricky
Prior to executing file encryption, why do advanced Windows ransomware strains execute commands like ‘vssadmin.exe delete shadows /all /quiet’?
Option B is correct because Windows Volume Snapshot Service (VSS) creates differential backup snapshots of volume files (Volume Shadow Copies) that allow users to roll back modified or corrupted files to earlier versions. By invoking ‘vssadmin delete shadows /all /quiet’, ransomware purges all local snapshot backups silently, neutralizing the operating system’s built-in file recovery mechanisms and forcing reliance on the attacker’s decryption key. Options A, C, and D are fabricated distractions.
Medium

ICSOC-8.10.1.5 Spyware and Keyloggers: Covert Telemetry, OS API Interception, and Credential Exfiltration

Spyware and Keyloggers: Covert Telemetry, OS API Interception, and Credential Exfiltration

Spyware is covert surveillance malware purposefully engineered to operate silently within an operating system, harvesting user behavior, confidential credentials, system telemetry, and personal communications without the subject’s informed knowledge or explicit consent. Rather than destabilizing system processes or destroying files—which would alert the victim—spyware prioritizes stealth, establishing persistence through registry auto-start run keys, scheduled background tasks, or hidden system daemons. Spyware functions encompass tracking browsing histories, injecting intrusive tracking cookies, logging location data, and scraping local credential stores and autofill databases from web browsers and email clients, periodically exfiltrating this gathered intelligence to remote reconnaissance servers.

A specialized and highly potent subcategory of spyware is the Keystroke Logger (Keylogger), designed to intercept and record every individual keypress pressed on the hardware keyboard. Software-based keyloggers intercept raw input data before it reaches target applications using low-level OS hooks (such as the Windows SetWindowsHookEx API), polling keystroke hardware state via GetAsyncKeyState routines, or deploying kernel-mode device filter drivers that sit directly in the keyboard device stack. In contrast, hardware keyloggers are physical inline dongles or intercepted circuit boards connected between the keyboard cable and the physical USB/PS2 port, recording electrical keystroke scans into onboard non-volatile flash memory entirely undetectable by host antivirus software.

Easy
What is the primary objective of Spyware installed on an endpoint computer?
Option A is correct because spyware operates stealthily to harvest personal communications, visited URLs, system telemetry, and credentials without user knowledge or consent, exfiltrating the data to third parties. Option B describes scareware. Option C describes destructive wiper malware. Option D describes hardware overclocking.
Medium
How do software-based Keystroke Loggers (Keyloggers) capture sensitive user credentials, such as bank passwords and credit card numbers?
Option A is correct because software keyloggers install low-level system hooks via operating system APIs (such as SetWindowsHookEx in Windows), poll hardware key states via GetAsyncKeyState, or insert lower-level keyboard filter drivers to intercept keypress messages from the OS message queue before logging them to a hidden file. Options B, C, and D are fictitious mechanisms.
Tricky
Why are hardware-based Keyloggers (such as inline USB adapters) completely undetectable by endpoint Antivirus and Host Intrusion Detection Systems (HIDS)?
Option B is correct because a hardware keylogger is a physical passthrough device connected between the keyboard connector and the motherboard’s USB/PS2 port. It intercepts and stores electrical signal scan codes in internal non-volatile EEPROM/flash memory. Because it executes no processes, injects no DLLs, and modifies no operating system files or registry entries, software-based antivirus and HIDS have no visibility into its presence. Option A is pseudoscience. Option C is false because keylogger hardware is not whitelisted. Option D is impossible since electronics require power to capture signals.
Easy

ICSOC-8.10.1.6 Adware, Scareware, and PUPs: Coercive Monetization, Psychological Manipulation, and Grayware Ecosystems

Adware, Scareware, and PUPs: Coercive Monetization, Psychological Manipulation, and Grayware Ecosystems

Adware (Advertising-Supported Software), Scareware, and Potentially Unwanted Programs (PUPs)—collectively categorized as ‘Grayware’—occupy a contentious threshold between aggressive commercial software and outright malicious code. Adware injects unauthorized promotional content, unwanted affiliate hyperlinks, and aggressive pop-up or pop-under browser advertisements, frequently hijacking default browser homepages and search engines via malicious browser extensions or modified shortcut target paths. PUPs are routinely bundled with legitimate freeware installers through deceptive installation wizards that employ dark patterns, pre-checked opt-in checkboxes, and obscured licensing agreements to install unwanted toolbars, background aggregators, and system monitors alongside requested applications.

Scareware represents a manipulative monetization tactic rooted in psychological coercion and fear induction rather than technical complexity. Disguised as legitimate antivirus scanners or urgent operating system diagnostic tools, scareware inundates the user with alarming, fabricated system warnings claiming the immediate presence of critical trojans, corrupted registry hives, or severe disk failures. To exploit human panic, the software locks standard browser windows with deceptive modal alerts and demands that the victim purchase a ‘full licensed version’ of the fraudulent utility to eliminate the fictitious threats. Beyond draining financial resources, rogue security software frequently acts as a secondary delivery conduit, downloading true rootkits, spyware, or keyloggers onto the compromised machine.

Easy
What is the defining characteristic of Adware?
Option B is correct because Adware (Advertising-Supported Software) is designed to generate revenue for its developer by forcefully serving unwanted promotional displays, modal pop-ups, banners, and affiliate redirects within web browsers and operating systems. Option A describes crypto-ransomware. Option C describes boot-sector wipers. Option D describes legitimate network virtualization.
Medium
How do Potentially Unwanted Programs (PUPs) most commonly infiltrate a user’s computer system without triggering standard malware alerts?
Option B is correct because PUPs routinely spread through software bundling. Freeware distribution platforms pack auxiliary toolbars, system search hijackers, and promotional monitors into the installer of a desired program, using dark patterns (e.g., small, pre-checked consent boxes or confusing ‘Express vs Custom’ setup options) so users inadvertently grant permission during installation. Options A, C, and D are incorrect descriptions.
Tricky
Which social engineering technique is the defining operational mechanism of Scareware (Rogue Security Software)?
Option B is correct because scareware relies on psychological manipulation and fear. It displays fake system scans and exaggerated error dialogues claiming hundreds of critical viruses, corrupted registry keys, or impending drive failure, urging the terrified victim to pay for a ‘licensed version’ of the bogus utility to fix the fabricated problems. Option A describes spyware/keyloggers. Option C describes Wi-Fi packet sniffing. Option D describes DNS poisoning/tampering.