Tribhuvan University
Faculty of Management
Office of the Dean
2023 AD / Regular Examination
Time: 2 hrs | Full Marks: 40 | Pass Marks: 20
Subjective Questions
- [2]
Define masquerading.
View model solution
Definition of Masquerading
Masquerading (or identity spoofing) is an attack where an unauthorized entity successfully pretends to be an authorized user or system by forging credentials, stealing session tokens, or spoofing IP/MAC addresses to gain illicit access.
- [2]
Covert plain text “Bimsixth” into cipher text using Caesar cipher.
View model solution
Caesar Cipher Encryption of “Bimsixth”
Using the standard Caesar cipher shift of
( ): - B (1) + 3 = E (4)
- i (8) + 3 = l (11)
- m (12) + 3 = p (15)
- s (18) + 3 = v (21)
- i (8) + 3 = l (11)
- x (23) + 3 = a (0)
- t (19) + 3 = w (22)
- h (7) + 3 = k (10)
- [2]
List a major difference between ESP and AH.
View model solution
Major Difference Between IPsec ESP and AH
- AH (Authentication Header): Provides data integrity, data origin authentication, and anti-replay protection, but no data confidentiality (no encryption).
- ESP (Encapsulating Security Payload): Provides data confidentiality (encryption) in addition to authentication, integrity, and anti-replay protection.
- [2]
List the fundamental problem of password based system.
View model solution
Fundamental Problems with Password-Based Systems
- Human Vulnerability & Weak Entropy: Users frequently choose short, predictable passwords and reuse them across multiple critical services.
- Susceptibility to Credential Harvesting: Passwords can be intercepted via phishing, keyloggers, brute-force attacks, and credential-stuffing breaches.
- [2]
Define improper sequencing.
View model solution
Definition of Improper Sequencing
Improper Sequencing is a software design flaw where operations or instructions are executed in an unexpected or unvalidated order, enabling race conditions, unauthorized state transitions, or memory corruption.
- [2]
List out the components of intrusion detection system.
View model solution
Components of an Intrusion Detection System (IDS)
- Sensors/Data Collectors: Gather system activity logs and monitor network packets.
- Analysis Engine: Evaluates collected data against attack signatures or anomaly profiles.
- Alert/Notification Console: Displays alerts and incident notifications to security personnel.
- [2]
Different between rabbit and bacteria.
View model solution
Rabbit vs. Bacteria in Computer Security
- Rabbit (Fork Bomb): A denial-of-service attack program that self-replicates rapidly within a single host to exhaust system processes, CPU, and memory tables until the machine crashes.
- Bacteria: Programs that replicate and consume disk storage space rather than CPU cycles, gradually rendering file systems unusable.
- [2]
List the limitation of SMTP.
View model solution
Limitations of Standard SMTP
- Lack of Inherent Encryption: Transmits email messages and credentials in unencrypted plaintext across mail hops.
- Absence of Sender Authentication: Does not natively verify the sender’s identity, making it vulnerable to email spoofing and spamming.
- [2]
Define cyber bulling.
View model solution
Definition of Cyber Bullying
Cyber Bullying is the repeated, deliberate use of digital communication tools (social media, messaging apps, forums) to harass, threaten, humiliate, defame, or intimidate an individual.
- [2]
Define cyber law.
View model solution
Definition of Cyber Law
Cyber Law is the legal framework governing digital technology, internet usage, electronic commerce, software intellectual property, data privacy, and the prosecution of computer crimes (e.g., Nepal’s Electronic Transactions Act, 2063).
- [5]
Why is human consider as weakest as well as strongest link in security mechanism?
View model solution
Human Factor: Weakest and Strongest Link in Security
- The Weakest Link: Humans are susceptible to social engineering, phishing, cognitive fatigue, and password reuse. Technical security controls can be rendered ineffective if an employee clicks a malicious attachment.
- The Strongest Link: Well-trained personnel provide vital contextual awareness, identifying subtle operational anomalies and social engineering attempts that automated security software may miss.
- [5]
As a Security Software designer of your organization, you are required to design a secure system, list and explain the various principles you consider while designing it.
View model solution
Core Principles for Designing Secure Systems (Saltzer & Schroeder)
- Least Privilege: Every process and user must operate using the minimum set of permissions necessary to perform their assigned task.
- Defense in Depth: Implement multiple layered security defenses (firewalls, encryption, authentication) rather than relying on a single control.
- Fail-Safe Defaults: Access decisions should be deny-by-default; access is granted only upon explicit authorization.
- Economy of Mechanism: Keep security designs as simple and small as possible to minimize attack surfaces and implementation bugs.
- [5]
Explain DSS and RSA approach for creating digital signature.
View model solution
Digital Signatures: DSS and RSA Approaches
- RSA Signature Scheme: The message hash is encrypted using the signer’s private key (
). Verification decrypts using the sender’s public key and compares it to . - DSS (DSA) Scheme: Generates a pair of mathematical values (
) using modular arithmetic over prime fields. Verification checks mathematical congruences without decrypting.
- RSA Signature Scheme: The message hash is encrypted using the signer’s private key (
- [5]
Define RSA algorithm with an example.
View model solution
RSA Algorithm with Example
Key Generation Steps:
- Choose two distinct prime numbers: Let
. - Compute modulus:
. - Compute totient:
. - Choose public exponent
such that and : Choose . - Compute private key
such that . - Public Key:
- Private Key:
- Public Key:
Encryption and Decryption:
- For Plaintext
: - Decryption:
- Choose two distinct prime numbers: Let
- [5]
Define Secure electronic transaction (SET). Explain the role of various participants of SET.
View model solution
Secure Electronic Transaction (SET) & Core Participants
SET is an open communications protocol designed by Visa and Mastercard to secure credit card transactions over open networks using digital certificates and dual signatures.
Key Participants:
- Cardholder: The consumer purchasing goods using a payment card enabled with digital certificates.
- Merchant: The online vendor selling products and requesting payment authorization.
- Issuer: The financial institution that provides the cardholder with payment credit.
- Payment Gateway: Operates between merchant and bank payment networks, decrypting payment tokens.
- [5]
As a database security administrator, what factors do you consider while designing and implementing database security policy.
View model solution
Key Considerations for Database Security Policies
- Authentication and Role-Based Access Control (RBAC): Grant permissions based strictly on job functions; restrict superuser access.
- Data Encryption (At Rest & In Transit): Encrypt stored tables and files (TDE) and enforce TLS for client-database communication.
- Audit Logging & Real-time Monitoring: Maintain tamper-evident audit trails of all administrative actions and sensitive table modifications.
- Input Sanitization & Injection Defense: Enforce parameterized queries to prevent SQL injection vulnerabilities.
- [5]
Define Intrusion Detection System. How intrusion is handled once it is detected? Explain.
View model solution
Intrusion Detection & Incident Handling Procedures
An Intrusion Detection System (IDS) monitors network traffic and system operations for signs of unauthorized access or malicious policy violations.
Incident Handling Once Intrusion is Detected:
- Containment: Immediately isolate compromised hosts or segment network subnets to prevent lateral movement.
- Eradication: Terminate unauthorized processes, remove backdoors, and close exploited vulnerabilities.
- Recovery: Restore clean system binaries and databases from trusted backups; verify system health before reconnecting.
- Post-Incident Review: Document lessons learned and update firewall rules, detection signatures, and security training.