A sender sends a message to receiver , which is digitally signed by with its private key. In this scenario, one or more of the following security violations can take place.
- can launch a birthday attack to replace with a fraudulent message
- third party attacker can launch a birthday attack to replace with a fraudulent message
- can launch a birthday attack to replace with a fraudulent message
Which of the following are possible security violations?
View worked solution
Answer: B
To understand which security violations are possible via a birthday attack, let us analyze how digital signatures and hash collisions work.
1. Digital Signature Mechanism
When sender digitally signs a message :
- computes the hash of the message: .
- encrypts the hash with their private key: .
- The receiver decrypts the signature using 's public key to retrieve , and verifies if .
2. Birthday Attack vs. Second Pre-image Attack
- Birthday Attack (Collision Resistance Violation): The attacker has the freedom to choose/generate both messages and to find a pair such that . The complexity of finding such a collision is , where is the hash size.
- Second Pre-image Attack: The message (and thus its hash ) is already fixed. The attacker must find a different message such that . The complexity for this is , which is computationally infeasible and cannot be solved using a birthday attack.
3. Evaluating the Statements
- Statement I (Sender ): Since is the creator of the message, can offline generate a pair of messages—a legitimate message and a fraudulent message —such that using a birthday attack. signs and sends it to . Later, can claim they actually signed and sent (repudiation). Thus, I is a possible security violation.
- Statements II and III (Third-party or Receiver ): Once has signed and sent the message , the target hash is fixed. For or to replace with a fraudulent message that has the same signature, they must find such that for the fixed . This requires a second pre-image attack, not a birthday attack. Thus, II and III are not possible via a birthday attack.
Hence, only statement I is a possible security violation.
Free practice · Your answers on this page are not saved.
