Question

A sender S sends a message mm 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 mm with a fraudulent message.
(II) A third party attacker can launch a birthday attack to replace mm with a fraudulent message.
(III) R can launch a birthday attack to replace mm with a fraudulent message.

Which of the following are possible security violations?

Choose one option
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 mm is signed by computing its cryptographic hash h(m)h(m) and encrypting the hash using the sender S's private key: σ=SignSKS(h(m))\sigma = \text{Sign}_{SK_S}(h(m)).

In a birthday attack on a digital signature:

  • The attacker prepares two messages with different semantics: a benign message mm and a fraudulent message m′m', structured with minor variations (e.g., spaces or synonyms) until a hash collision is found: h(m)=h(m′)h(m) = h(m').
  • If an attacker can get the sender to sign mm, the signature σ\sigma is also valid for m′m' because h(m)=h(m′)h(m) = h(m').
  • 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 m′m' to a third party without S having signed h(m)h(m).

The sender S, however, has full control over both message preparation and signing. S can prepare mm and m′m' such that h(m)=h(m′)h(m) = h(m'), sign mm, deliver (m,σ)(m, \sigma) to R to commit to an agreement, and later repudiate or substitute m′m' claiming that m′m' was the message signed by S. Hence, only S can launch this birthday attack.

Thus, only security violation (I) is possible.

Final answer

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.