Threats, Vulnerabilities, and Mitigations

A developer's employment is terminated. Two weeks later, a script she wrote years ago deletes the payroll database because her account is missing from the directory. What type of malware is this?

Show the answer

Correct answerD. Logic bomb

AWhy not this: A virus attaches to files and spreads when they run; nothing here shows replication.

BWhy not this: A Trojan poses as wanted software to get installed; this script was planted and fires on a condition.

CWhy not this: Spyware covertly gathers user information; this script destroys data instead.

DWhy this is right: Code that lies dormant and fires when a condition is met, such as an account being removed, is a logic bomb.

A logic bomb stays dormant until a set condition is met, here the removal of her account, and then runs its destructive payload. A Trojan disguises itself as legitimate software to get installed; it is not defined by a condition-triggered payload.