Domain 1/1.2 Understand and apply security concepts
Two banks exchange payment messages protected with an HMAC (hash-based message authentication code) computed from a shared secret key. When one bank denies sending a high-value message, Ingrid, the security architect, is asked why the HMAC cannot settle the dispute. Which reason is BEST?
- AIt cannot prove that the message arrived intact
- BIt can be forged without knowing the secret key
- CEither bank could have produced the same code
- DIt does not record when the message was sent
Show the answer
Correct answer: C. The question asks why a symmetric control cannot provide nonrepudiation. The clue is the code "computed from a shared secret key". Both banks know the key, so either could have produced a valid HMAC; it proves integrity and origin from one of the two parties, but not which one. Nonrepudiation needs asymmetric digital signatures, where only the sender holds the private key.
- A. Incorrect. Proving the message arrived unaltered is exactly what an HMAC does well; integrity is not the weakness here.
- B. Incorrect. A sound HMAC cannot be forged without the key; the problem is that both legitimate parties hold that key.
- C. Correct. Because the HMAC is computed with a secret key that both banks hold, either bank could have produced the same code, so it cannot show which one created the message.
- D. Incorrect. Adding a timestamp would help sequence messages, but even with one, the shared key still lets either bank create the code.