Question 350
Architecture principle case — An employee site stores password digests with a general fast checksum routine. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0350, the fictional organizational observation is: An employee site stores password digests with a general fast checksum routine. The distinct underlying risk mechanism is: The storage design uses a fast or deterministic hash unsuited to resisting offline guesses. Choice C addresses the governing security-design principle because it states: Password hashes require purpose-built resistance to guessing, not mere irreversibility. This fits the governing design principle: Password hashes require purpose-built resistance to guessing, not mere irreversibility. For measurable acceptance, the team should: Review stored records and test verification and migration of legacy hashes without exposing plaintext. Sustained prevention requires: Standardize password storage and schedule rehash-on-login when work factors evolve.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, unsafe regex evaluation for untrusted patterns: Complexity of user-supplied patterns or input allows excessive evaluation time. Its proposed response, “Validation code itself must resist algorithmic denial of service”, does not directly resolve this case. The discriminating cause is: The storage design uses a fast or deterministic hash unsuited to resisting offline guesses. A stronger governing security-design principle would be: Password hashes require purpose-built resistance to guessing, not mere irreversibility. An objective reviewer would test: Review stored records and test verification and migration of legacy hashes without exposing plaintext.
Choice B describes a plausible governing security-design principle for a separate security issue, floating-point comparisons protect value: Financial invariants depend on imprecise arithmetic and inconsistent rounding order. Its proposed response, “Precision decisions can become integrity vulnerabilities when values represent money or rights”, does not directly resolve this case. The discriminating cause is: The storage design uses a fast or deterministic hash unsuited to resisting offline guesses. A stronger governing security-design principle would be: Password hashes require purpose-built resistance to guessing, not mere irreversibility. An objective reviewer would test: Review stored records and test verification and migration of legacy hashes without exposing plaintext.
Choice D describes a plausible governing security-design principle for a separate security issue, security-relevant shell command assembled from input: Untrusted text crossed into command interpretation with unnecessary process privileges. Its proposed response, “A process invocation boundary should distinguish arguments from executable command language”, does not directly resolve this case. The discriminating cause is: The storage design uses a fast or deterministic hash unsuited to resisting offline guesses. A stronger governing security-design principle would be: Password hashes require purpose-built resistance to guessing, not mere irreversibility. An objective reviewer would test: Review stored records and test verification and migration of legacy hashes without exposing plaintext.



Secure Software Design (KEO1) Practice Tests