Question 1
Show the answer and explanation
Answer: C. Virus
A virus replicates by modifying host programs, and it activates only when an infected program is run. The same 4,096-byte addition in unrelated executables, with new infections following each launch, is the signature of a file infector. A worm would have reached other hosts over the network without anyone running a file. Memory hook: a virus needs a host and a launch; a worm needs neither.
Why each option is right or wrong
- A. Incorrect. A worm is self-contained and spreads over the network without a host program or user action. Here the code travels inside other programs and spreads only when a user launches one.
- B. Incorrect. A trojan is one program disguised as something useful, and it doesn't copy itself. Identical code appearing in fourteen unrelated programs, then in more after each launch, shows self-replication.
- C. Correct. A virus inserts a copy of itself into other programs and runs when an infected program runs. Identical additions to many executables, spreading each time one is launched, fit a file-infecting virus.
- D. Incorrect. A rootkit conceals an attacker's activity and preserves privileged access. Nothing here is hidden; the evidence is code copying itself into other programs.
References
- CSRC Glossaryvirus (definition from NIST SP 800-82r3)
- MITRE ATT&CK® Enterprise MatrixT1080 Taint Shared Content (ATT&CK v20), description