GateAI

GATE CSE Network Security PYQs

Standard yield2.5% of Computer Networks

Network Security in GATE CS is tested primarily through core concepts of public-key cryptography, digital signature protocols, and cryptographic attacks. Questi… Read the guide

Questions
3
Asked
2016–2017
Total marks
5
Marks / paper
0.2

3 GATE CSE Network Security PYQs with solutions, from Computer Networks. Browse all GATE CSE PYQs.

What GATE tests in Network Security

Concepts, patterns, formulas and traps distilled from past papers.

Network Security in GATE CS is tested primarily through core concepts of public-key cryptography, digital signature protocols, and cryptographic attacks. Questions focus on the mechanics of asymmetric encryption (specifically RSA key generation and modular arithmetic) and the correct application of private/public keys for digital signing, message digests, and vulnerability analysis.

Core concepts

  • RSA Public and Private Key Generation
  • Modular Multiplicative Inverse (Extended Euclidean Algorithm)
  • Digital Signatures and Message Integrity via Hashing
  • Sender Authentication and Non-repudiation
  • Collision Attacks vs. Second Preimage Resistance (Birthday Paradox)

Recurring question patterns

  • RSA Key Computation

    CommonNAT2 marks2017

    Given two prime numbers pp and qq along with the public exponent ee, compute Euler's totient function ϕ(n)=(p−1)(q−1)\phi(n) = (p-1)(q-1) and determine the private key decryption exponent dd via the modular multiplicative inverse e⋅d≡1(modϕ(n))e \cdot d \equiv 1 \pmod{\phi(n)}.

  • Digital Signature Scheme & Protocol Correctness

    CommonMCQ2 marks2016

    Identify the standard symbolic representation of a message accompanied by its digital signature, testing whether signing requires encrypting the hash digest with the sender's private key versus other permutations of keys.

  • Cryptographic Attacks & Collision Vulnerabilities

    OccasionalMCQ1 marks2017

    Evaluate scenarios where attackers (sender, receiver, or third party) attempt specific cryptographic attacks (such as Birthday attack vs. Preimage attack) against signed messages or hash digests.

Formulas GATE uses

Euler's Totient Function for RSA Modulus

ϕ(n)=(p−1)(q−1)\phi(n) = (p-1)(q-1)

Used when calculating the totient modulus for finding private exponent dd in an RSA cryptosystem with distinct primes pp and qq.

Modular Multiplicative Inverse for RSA Private Key

e⋅d≡1(modϕ(n))e \cdot d \equiv 1 \pmod{\phi(n)}

Used to compute the private key exponent dd given public exponent ee and ϕ(n)\phi(n).

Digital Signature Generation

Signature=Ksender−(H(m))\text{Signature} = K_{\text{sender}}^-(H(m))

Used to construct an authenticatable message package {m,Ksender−(H(m))}\{m, K_{\text{sender}}^-(H(m))\} using a cryptographic hash function HH and sender's private key.

Examiner traps in Network Security

  • Using (n) = n - 1 instead of (p - 1)(q - 1) when computing RSA private exponent d.
  • Confusing the sender's private key with the receiver's public key (confusing digital signing/authenticity with confidentiality).
  • Assuming a third-party attacker or receiver can launch a birthday attack on an already signed message (which actually requires a second preimage attack of complexity O(2n), whereas only the sender can pre-generate collisions before signing).

How questions are asked

  • Symbolic protocol representation identification
  • Multi-statement true/false analysis of cryptographic attack feasibility
  • Numerical computation of RSA decryption key

Paper trends

  • Questions moved from purely identifying digital signature notation to deeper conceptual attack models (distinguishing birthday collision capabilities) and computational RSA key derivation.

    2017, 2016

Difficulty notes

Easy questions ask for standard digital signature notation or basic RSA arithmetic with small prime numbers. Medium questions test nuanced differences between collision attacks and preimage attacks in the context of signature generation and message replacement.