Security Architecture
Before implementing a key-exchange protocol for a high-assurance product, an architect needs proof that no sequence of messages lets an attacker learn the session key. Testing can only cover sampled sequences. What should the team use?
Show the answer
Correct answerA. Formal verification of the protocol design
AWhy this is right: Formal verification proves a stated security property holds over all possible states and message sequences.
BWhy not this: Fuzzing explores many inputs but still samples them, so it cannot prove no attack sequence exists.
CWhy not this: IAST reports flaws only on code paths exercised by tests, so it cannot cover every sequence.
DWhy not this: SAST matches code against insecure patterns and does not prove protocol-level properties.
Formal verification uses mathematical models and logic to prove a property holds across every possible message sequence. Fuzzing and other testing only show behavior for inputs actually tried, so they cannot prove absence of an attack.