Threats, Vulnerabilities, and Attacks
An updater verifies a downloaded installer's hash, then launches it. An attacker replaces the file after the hash check but before launch. Which operation is the time of use?
Show the answer
Correct answerC. Launching the installer
AWhy not this: Downloading only fetches the file and happens before any check or use.
BWhy not this: Hashing is the verification step, so it is the time of check.
CWhy this is right: Launching consumes the file based on the stale hash result, which makes it the time of use.
DWhy not this: Replacement is the attacker's action exploiting the window, not a step the application performs.
The launch is when the application relies on the earlier hash result and actually uses the file, so it is the time of use and runs the substituted file. The hash check is the time of check. The replacement is the attacker's action in the gap.