Tribhuvan University
Faculty of Management
Office of the Dean
2022 AD / Regular Examination
Time: 2 hrs | Full Marks: 40 | Pass Marks: 20
Subjective Questions
- [10]
i. Define denial of receipt. ii. List the differences between Block and stream cipher. iii. List different types of VPN. iv. List the characteristics of proactive password checker. v. Define Principle of Psychological Acceptability. vi. Differentiate between Virus and Worm. vii. Differentiate between Hacker and Cracker. viii. Define the Concept of Secure Email. ix. Define Inference control. x. Differentiate between Trade mark and Patent.
View model solution
Step-by-Step Solutions: Core Cyber Security Concepts
i. Denial of Receipt:
A repudiation attack where a recipient maliciously denies having received a specific message, file, or transaction. Countered via non-repudiation digital receipts.
ii. Block Cipher vs. Stream Cipher:
- Block Cipher: Encrypts fixed-size blocks of plaintext simultaneously (e.g., AES 128-bit blocks, DES 64-bit blocks).
- Stream Cipher: Encrypts plaintext bit-by-bit or byte-by-byte continuously using a pseudorandom keystream (e.g., RC4, ChaCha20).
iii. Types of VPN:
- Remote Access VPN: Connects individual remote telecommuters to a corporate network.
- Site-to-Site VPN: Connects entire branch office networks securely across the internet.
iv. Characteristics of a Proactive Password Checker:
Rejects weak or compromised passwords during creation by verifying length, entropy, and checking against leaked password dictionaries.
v. Principle of Psychological Acceptability:
Security mechanisms should not make resource access so cumbersome that users attempt to bypass or subvert the controls.
vi. Virus vs. Worm:
A virus requires a host executable to propagate; a worm is a standalone program that self-replicates across networks autonomously.
vii. Hacker vs. Cracker:
A hacker explores and analyzes security architectures; a cracker breaches security systems with malicious intent for theft or vandalism.
viii. Secure Email:
Email secured using asymmetric cryptography for end-to-end encryption and digital signatures (e.g., PGP, S/MIME).
ix. Inference Control:
Techniques in statistical databases that prevent users from deducing confidential individual records through aggregate statistical queries.
x. Trademark vs. Patent:
A trademark protects distinctive brand names and logos; a patent grants exclusive rights to novel functional inventions.
- [5]
Explain Biba integrity model with example.
View model solution
Biba Integrity Model
The Biba Integrity Model is a formal state-machine model focused on information integrity rather than confidentiality:
- Simple Integrity Axiom (No Read Down):
A subject at a given integrity level cannot read data from a lower integrity level (
can read ). - Star (
) Integrity Axiom (No Write Up): A subject at a given integrity level cannot write data to a higher integrity level ( can write ).
- Goal: Prevents low-integrity (untrusted) data from contaminating high-integrity critical data.
- Simple Integrity Axiom (No Read Down):
A subject at a given integrity level cannot read data from a lower integrity level (
- [5]
In a public-key system using RSA, you intercept the ciphertext C=8 sent to a user whose public key is e=3, n=33. What is the plaintext M?
View model solution
RSA Decryption Numerical Problem
Given:
- Ciphertext
- Public Key
Step 1: Factor
to find and $ Step 2: Compute Euler’s Totient
$ Step 3: Compute Private Key
$ Testing values:
. Step 4: Decrypt Ciphertext
to find Plaintext $ The original plaintext is
. - Ciphertext
- [5]
Explain DSS approach and RSA approach with figure.
View model solution
Comparison: DSS vs. RSA Digital Signature Approaches
- RSA Approach: The hash of the message is directly encrypted with the sender’s private key to form the signature. Anyone with the sender’s public key can decrypt the signature to verify the hash.
- DSS (Digital Signature Standard) Approach: Uses SHA with the Digital Signature Algorithm (DSA). It produces a pair of large numbers (
) that verify authenticity without revealing private key components.
- [5]
Illustrate SSL handshake protocol action.
View model solution
SSL/TLS Handshake Protocol Flow
- [5]
Explain the architecture of intrusion detection systems.
View model solution
Architecture of Intrusion Detection Systems (IDS)
An IDS consists of four functional architectural modules:
- Sensors/Agents: Collect security event data from packet sniffers, host system logs, and network interfaces.
- Analysis Engine: Analyzes incoming sensor feeds using Signature-based detection (known threat patterns) or Anomaly-based detection (statistical deviations from baselines).
- Alert/Response Module: Generates administrator alerts or triggers automated countermeasures (e.g., firewall rule updates).
- Database Repository: Stores attack signatures, event logs, and baseline behavior profiles.
- [5]
List and explain any four Common Security related programming problems.
View model solution
Four Common Security Programming Vulnerabilities
- Buffer Overflow: Writing data past the allocated boundaries of a buffer in memory, allowing attackers to overwrite execution return addresses (e.g., using unsafe
strcpy()in C). - SQL Injection (SQLi): Concatenating unsanitized user inputs into database queries, allowing attackers to bypass authentication or extract sensitive data.
- Cross-Site Scripting (XSS): Injecting malicious client-side JavaScript into web pages viewed by other users.
- Improper Error Handling & Information Leakage: Returning verbose database stack traces to end users, revealing internal server architectures to potential attackers.
- Buffer Overflow: Writing data past the allocated boundaries of a buffer in memory, allowing attackers to overwrite execution return addresses (e.g., using unsafe
- [5]
Define Digital Forensics. Explain digital forensic investigation procedures in brief.
View model solution
Digital Forensics: Definition & Investigation Procedures
Digital Forensics is the scientific preservation, identification, extraction, documentation, and analysis of digital evidence stored on electronic devices for legal proceedings.
Standard Investigation Phases:
- Identification: Identifying crime scenes, potential digital devices, and relevant storage media.
- Preservation: Isolating evidence and creating bit-stream disk images while maintaining strict chain of custody.
- Analysis: Recovering deleted artifacts, analyzing timeline metadata, and identifying malicious footprints.
- Documentation and Reporting: Compiling factual forensic reports suitable for presentation in court.