Threats, Vulnerabilities, and Mitigations

Antivirus finds the same malicious code appended to several legitimate executables on a workstation. It reached a second PC only when a user ran one of those files from a USB drive. Which type of malware is this?

Show the answer

Correct answerB. Virus

AWhy not this: A worm spreads by itself over a network; here a user had to run the file for it to move.

BWhy this is right: A virus attaches to legitimate host files and spreads when users run or share them.

CWhy not this: A trojan is a separate program disguised as useful software; it does not infect existing executables.

DWhy not this: A rootkit hides malware and maintains privileged access; it does not attach to files to replicate.

A virus inserts its code into legitimate host files and spreads when users run or share those files. A worm is tempting, but it would spread on its own across the network without needing a user to run an infected file.