JNTU

JNTU B.Tech IV NETWORK SECURITY Previous Question Paper (July - 2021 - R15)

B.Tech | IV | II | R15 | July - 2021

Answer PaperPaper Code: 128DHMaximum Marks: 75Time: 3 hours

Answer any Five Questions. All Questions Carry Equal Marks.

Main

115 marks
a

Why is it that Active attacks are easy to detect and difficult to prevent? Explain various active attacks with examples.

7 marks

Answer

Active attacks involve altering system resources or affecting their operation. They are considered easier to detect because they leave observable traces, such as unauthorized modifications to data, service interruptions, or changes in system logs. However, they are difficult to prevent because they often exploit inherent vulnerabilities in protocols, software design, or human behavior that are necessary for network functionality.

Key active attacks include:

  • Masquerade: An entity pretends to be another authorized entity to gain unauthorized access. Example: An attacker uses a stolen password to log into a server as an administrator.
  • Replay: An attacker captures a valid data transmission and retransmits it later to produce an unauthorized effect. Example: Capturing a bank transaction packet and re-sending it to initiate a duplicate transfer.
  • Modification of Messages: A portion of a legitimate message is altered, delayed, or reordered. Example: Intercepting a financial transaction and changing the recipient's account number.
  • Denial of Service (DoS): Preventing normal use or management of communication facilities. Example: Flooding a web server with excessive requests so that legitimate users cannot access the site.
b

How are Stack based Buffer overflow attacks different from Heap based attacks.

8 marks

Answer

Stack-based and heap-based buffer overflows differ primarily in the memory region targeted and the mechanism of exploitation.

FeatureStack-based OverflowHeap-based Overflow
Target MemoryStack (stores local variables, function arguments, and return addresses).Heap (dynamically allocated memory using malloc/new).
Primary GoalOverwriting the return address to hijack the control flow (e.g., jumping to shellcode).Overwriting application data, function pointers, or heap management structures.
MechanismOverflowing a local buffer to overwrite the saved instruction pointer (EIP/RIP) on the stack.Corrupting metadata of heap chunks or overwriting adjacent data structures to alter program logic.
ComplexityGenerally easier to exploit as the stack layout is predictable.More complex, often requiring precise manipulation of heap allocation patterns.

In a Stack-based overflow, the attacker exploits the LIFO (Last-In, First-Out) nature of the stack to overwrite the return address of a function, redirecting execution to malicious code. In a Heap-based overflow, the attacker targets memory allocated at runtime; because the heap lacks a return address structure, the attack typically focuses on corrupting function pointers or object pointers, which are subsequently called by the application, leading to arbitrary code execution.

215 marks
a

Explain the difference between Cipher feedback mode (CFB) and output feedback mode (OFB) with neat diagrams.

7 marks

Answer

Sign in to view the complete answer paper.

b

Show that Feistel decryption is the inverse of Feistel encryption.

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

What are man-in-the-middle attacks? How can they be mitigated?

8 marks

Answer

Sign in to view the complete answer paper.

b

How are HMACs different from CMACs? Explain with neat diagrams.

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Why is it that the symmetric key should not be used for a long time?

7 marks

Answer

Sign in to view the complete answer paper.

b

Suppose Bob uses the RSA cryptosystem with a very large modulus n. Alice sends a message by representing each character as an integer (0-25) and encrypting each separately using RSA. Is this method secure? If not, describe the most efficient attack against this encryption method.

8 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

In Kerberos, when Bob receives a ticket from Alice, how does he know it came from Alice?

7 marks

Answer

Sign in to view the complete answer paper.

b

How are digital signatures different from Handwritten signatures? How do these digital signatures ensure non-repudiation service? Explain.

8 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

How is S/MIME different from PGP?

7 marks

Answer

Sign in to view the complete answer paper.

b

When tunnel mode is used in IPsec, a new outer IP header is constructed. Indicate the relationship of each outer IP header field for IPv4 and IPv6 relative to the inner IP packet.

8 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

What protocol is used to convey SSL-related alerts to the peer entity? Give the protocol format and describe the fields.

7 marks

Answer

Sign in to view the complete answer paper.

b

Describe the sequence of events that are required for a transaction using SET (Secure Electronic Transaction). Explain the cryptographic details.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Explain how SNMPV2 addresses the lack of support for distributed network management in SNMPV1.

8 marks

Answer

Sign in to view the complete answer paper.

b

“Firewall administrator has identified a bastion host as a critical strong point in the network’s security”. Discuss.

7 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of NETWORK SECURITY from JNTU for B.Tech ETM IV II, July - 2021, R15.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in NETWORK SECURITY

Loading Question Papers

Fetching data from database...