Question
A sender S sends a message to receiver R, which is digitally signed by S with its private key. In this scenario, one or more of the following security violations can take place.
(I) S can launch a birthday attack to replace with a fraudulent message.
(II) A third party attacker can launch a birthday attack to replace with a fraudulent message.
(III) R can launch a birthday attack to replace with a fraudulent message.
Which of the following are possible security violations?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2017 answer key
Solution
Analyze the conditions required to execute a birthday collision attack in the context of digital signatures.
In a digital signature scheme, a message is signed by computing its cryptographic hash and encrypting the hash using the sender S's private key: .
In a birthday attack on a digital signature:
- The attacker prepares two messages with different semantics: a benign message and a fraudulent message , structured with minor variations (e.g., spaces or synonyms) until a hash collision is found: .
- If an attacker can get the sender to sign , the signature is also valid for because .
- However, a third-party attacker or receiver R cannot generate a valid digital signature on their own because they do not have S's private key. Nor can they present to a third party without S having signed .
The sender S, however, has full control over both message preparation and signing. S can prepare and such that , sign , deliver to R to commit to an agreement, and later repudiate or substitute claiming that was the message signed by S. Hence, only S can launch this birthday attack.
Thus, only security violation (I) is possible.
B
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2017 Computer Science and Information Technology (CS) Session 1
- Question
- 15 of 65, printed as CS Q.15
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.