Drill 16 ยท
AP Cybersecurity Drill 16: Identifying Malware by Behavior is a practice drill. It contains 5 original questions created by Brian Stewart, a Barron's test prep author with over 20 years of tutoring experience.
A research assistant at Wexolt Survey Group reports odd laptop behavior and a technician records what each program does; this drill uses an invented company and original figures.
A technician at Wexolt Survey Group examines a laptop after the user reported strange behavior. The technician records four observations from the device, summarized below.
| Item | Observed behavior |
|---|---|
| Program 1 | Spreads to other machines on the network on its own, with no user opening any file |
| Program 2 | Installed when the user ran a free game; it looks normal but quietly opens a remote connection |
| Program 3 | Attaches its code to a spreadsheet macro and runs only when that file is opened |
| Program 4 | Encrypts the user's documents and displays a payment demand to restore access |
Network logs show Program 1 already reached two other laptops in the office during the same hour.
Question 1. Based on the table, which item spread without the user opening anything?
Explanation: Choice B is correct. Program 1 is described as spreading to other machines by itself with no file being opened, which is exactly the self-propagating pattern the question asks about. Choice A is incorrect. Program 3 runs only when its host file is opened, so it does require user action. Choice C is incorrect. Program 4's behavior is encryption for ransom, which the table does not tie to self-spreading. Choice D is incorrect. Program 2 arrived through a user-initiated install, not on its own.
Question 2. Which malware class best matches Program 2's behavior?
Explanation: Choice D is correct. Program 2 looks like a normal game but secretly opens a remote connection, which is the defining disguise-and-deceive pattern of a trojan. Choice A is incorrect. A worm self-propagates across a network, which matches Program 1 rather than Program 2. Choice B is incorrect. A virus attaches to a host file and needs that file run, which matches Program 3. Choice C is incorrect. Ransomware encrypts and extorts, which matches Program 4.
Question 3. Why is Program 1 considered more dangerous to the whole office than Program 3?
Explanation: Choice A is correct. Self-propagation lets Program 1 move to many devices with no further user action, which is why the logs already show two more infected laptops; that reach is the danger. Choice B is incorrect. Hiding in a game describes a trojan's delivery, not Program 1. Choice C is incorrect. Encryption for ransom describes Program 4. Choice D is incorrect. Running only from a macro describes Program 3 and actually limits its spread.
Question 4. Which observation is the strongest evidence that Program 1 is a worm rather than a virus?
Explanation: Choice C is correct. Reaching other laptops with no file opened on them shows self-propagation, the trait that separates a worm from a virus, which needs a host file to be run. Choice A is incorrect. A ransom message points to ransomware, not to the worm-versus-virus distinction. Choice B is incorrect. Arriving in a downloaded game points to a trojan. Choice D is incorrect. Attaching to a macro is virus-like behavior, the opposite of what the question asks.
Question 5. What is the best immediate action to limit Program 1's spread across the office?
Explanation: Choice B is correct. Isolating the infected machines from the network cuts off the path a self-spreading worm uses to reach new devices, buying time to clean them. Choice A is incorrect. Paying a ransom addresses encryption, not worm propagation, and is not a containment step. Choice C is incorrect. Opening the macro could trigger more harm and does not contain the spread. Choice D is incorrect. Distributing the malware to staff would widen the infection.