BSc CSIT (TU) Science BIT Information Security (BIT303) – 5th Semester (Model) Question Paper 2079 Nepal
This is the official BSc CSIT (TU) (Science stream) BIT Information Security (BIT303) – 5th Semester (Model) question paper for 2079, as set in the model model examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this BIT Information Security (BIT303) – 5th Semester (Model) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) BIT Information Security (BIT303) – 5th Semester (Model) exam or solving previous years' question papers, this 2079 paper is a great way to practise under real exam conditions.
Section A
Attempt any two questions. (2 × 10 = 20)
How is encryption and decryption done in RSA? In an RSA system, consider that the public key of a given user is .
(a) What is the private key ? (b) What is the cipher text , if the message "hi"?
(Marks: 4 + 3 + 3)
RSA Encryption and Decryption
RSA is a public-key (asymmetric) cryptosystem based on the difficulty of factoring large integers.
Key generation:
- Choose two large primes and .
- Compute and .
- Choose a public exponent such that and .
- Compute the private exponent such that .
- Public key:
- Private key:
Encryption: For a message block ():
Decryption:
(a) Finding the private key
Given and . Factor :
We need such that .
Using the Extended Euclidean Algorithm: .
Verification: . ✓
(b) Cipher text for "hi"
Map letters to numbers (using , i.e. position in alphabet minus 1; here we encrypt each character separately so that ):
Encrypt 'h' ():
Encrypt 'i' ():
Cipher text: .
(If a different letter-to-number mapping such as is used, then giving . The method is identical; state your mapping.)
Consider a system having users U1, U2, U3 and files F1, F2, F3 and F4. User U1 can read and write files F2 and F3. User U2 can read all the files but can perform a write operation on F2. User U3 can perform a read operation on F3 and append on file F4. Now prepare the access control matrix, access control list, and capability list.
Access Control Matrix
The access control matrix has one row per subject (user) and one column per object (file). Each cell lists the rights the user has on that file. Abbreviations: r = read, w = write, a = append.
| F1 | F2 | F3 | F4 | |
|---|---|---|---|---|
| U1 | – | r, w | r, w | – |
| U2 | r | r, w | r | r |
| U3 | – | – | r | a |
(U2 can read all files, so r on F1–F4, plus w on F2.)
Access Control List (ACL)
An ACL is the matrix stored by column — for each file, the list of (user → rights) entries:
- F1: { U2: r }
- F2: { U1: r,w ; U2: r,w }
- F3: { U1: r,w ; U2: r ; U3: r }
- F4: { U2: r ; U3: a }
Capability List
A capability list is the matrix stored by row — for each user, the list of (file → rights) capabilities they hold:
- U1: { F2: r,w ; F3: r,w }
- U2: { F1: r ; F2: r,w ; F3: r ; F4: r }
- U3: { F3: r ; F4: a }
Difference: An ACL is associated with each object (good for answering "who can access this file?"), whereas a capability list is associated with each subject (good for answering "what can this user access?").
What are the properties of a hash function? In the hash function SHA-1, how is the padded message computed before hash computation? Using the elongated message blocks from to , how can you compute the final hash value? For the 160-bit hash value represented by 5 words A, B, C, D, E, write the expressions for , , after the last pass of the algorithm.
Properties of a (Cryptographic) Hash Function
- Fixed output size – any input of arbitrary length maps to a fixed-length digest (160 bits for SHA-1).
- Preimage resistance (one-way) – given a hash , it is computationally infeasible to find such that .
- Second preimage resistance – given , it is infeasible to find with .
- Collision resistance – it is infeasible to find any two distinct messages with .
- Deterministic & efficient – the same input always gives the same output, and it is fast to compute.
- Avalanche effect – a small change in input produces a drastically different output.
Padding the Message in SHA-1
SHA-1 processes the message in 512-bit blocks, so the message must be padded to a multiple of 512 bits:
- Append a single '1' bit to the end of the message.
- Append '0' bits until the length is congruent to (i.e. 64 bits short of a multiple of 512).
- Append the original message length as a 64-bit big-endian integer.
The result is a sequence of blocks of 512 bits each: .
Message Schedule
Each 512-bit block is split into sixteen 32-bit words . The schedule is then expanded (elongated) to 80 words:
where is a left circular rotation by 1 bit.
Computing the Hash (the 80 rounds)
Five working variables are initialised from the current hash value :
For each round to :
where and are the round function and constant for the group of 20 rounds containing .
After the 80 rounds, the block's output is added to the chaining value:
After all blocks, the 160-bit digest is .
Expressions after the last pass ()
Using the register-shift relations above, after the final round the values are:
where for rounds , and , so:
(All additions are modulo .)
Section B
Attempt any eight questions. (8 × 5 = 40)
What is an attack tree? Construct an attack tree for internet banking authentication.
Attack Tree
An attack tree is a hierarchical, graphical model used to represent the different ways a system can be attacked. The root node is the attacker's ultimate goal, and the child nodes represent the sub-goals or steps needed to achieve it. Nodes are combined using:
- AND nodes – all child sub-goals must be achieved.
- OR nodes – any one child sub-goal is sufficient.
Leaf nodes are concrete attack actions. Attack trees help in threat modeling, identifying vulnerabilities and prioritising defences.
Attack Tree: Defeat Internet Banking Authentication
Goal (root): Gain unauthorised access to a user's internet banking account
| (OR)
+-- 1. Steal login credentials
| | (OR)
| +-- 1.1 Phishing email / fake bank website
| +-- 1.2 Keylogger / malware on user's device
| +-- 1.3 Shoulder surfing
| +-- 1.4 Guess / brute-force weak password
|
+-- 2. Bypass two-factor authentication (AND with step 1)
| | (OR)
| +-- 2.1 SIM-swap to intercept OTP
| +-- 2.2 Malware intercepting SMS/OTP
| +-- 2.3 Social-engineer the OTP from the victim
|
+-- 3. Hijack an active session
| | (OR)
| +-- 3.1 Session-cookie theft (XSS)
| +-- 3.2 Man-in-the-middle on insecure network
|
+-- 4. Compromise the bank server / database directly
Here the root is reached via OR branches; branch 2 typically requires step 1 first, so credential theft AND OTP bypass together defeat two-factor authentication.
Write an algorithm for the Extended Euclidean Algorithm. Illustrate the algorithm for and .
(Marks: 2 + 3)
Extended Euclidean Algorithm
The Extended Euclidean Algorithm computes and also finds integers (Bézout coefficients) such that:
Algorithm (pseudocode):
ExtendedEuclid(a, b):
if b == 0:
return (a, 1, 0) // gcd = a, x = 1, y = 0
(g, x1, y1) = ExtendedEuclid(b, a mod b)
x = y1
y = x1 - (a div b) * y1
return (g, x, y)
Illustration for ,
Forward (Euclid) steps:
| Step | Equation | Quotient | Remainder |
|---|---|---|---|
| 1 | 3 | 68 | |
| 2 | 1 | 16 | |
| 3 | 4 | 4 | |
| 4 | 4 | 0 |
So .
Back-substitution to find with :
Therefore:
Result: , with , .
What is a digital signature? How can it be used for message authentication?
(Marks: 2 + 3)
Digital Signature
A digital signature is a cryptographic mechanism that binds a message to the identity of its sender using the sender's private key. It provides:
- Authentication – proves who sent the message.
- Integrity – proves the message was not altered.
- Non-repudiation – the sender cannot later deny having signed it.
It is the digital equivalent of a handwritten signature but is far harder to forge.
Using a Digital Signature for Message Authentication
Signing (by sender, using private key):
- Compute a hash (digest) of the message: .
- Encrypt the hash with the sender's private key to create the signature:
- Send to the receiver.
Verification (by receiver, using sender's public key):
- Compute the hash of the received message: .
- Decrypt the signature using the sender's public key:
- Compare and :
- If → the message is authentic and unaltered, and it must have come from the holder of the private key.
- If → the message has been tampered with or did not come from the claimed sender.
Because only the sender holds the private key, a valid signature authenticates the sender; because the signature covers the message hash, any change to breaks the match, ensuring integrity.
Define an authentication system with its components. How can a challenge-response system be used as an authentication system?
Authentication System
An authentication system is a mechanism that verifies the claimed identity of a user (or entity) before granting access to a system or resource. Formally, it is a 5-tuple :
- – the set of authentication information that users present (e.g. passwords, tokens, biometrics).
- – the set of complementary information the system stores (e.g. hashed passwords).
- – the set of complementation functions that map authentication info to complementary info.
- – the set of authentication functions that verify identity.
- – the set of selection functions that enable an entity to create or change the authentication/complementary information.
Challenge-Response as an Authentication System
In a challenge-response scheme, the user proves knowledge of a secret without sending the secret itself:
- The user requests access (claims an identity).
- The system (verifier) sends a random, unpredictable challenge (a nonce) .
- The user computes a response by applying a secret-keyed function to the challenge, e.g.
such as an encryption or a keyed hash (HMAC). 4. The user returns the response. 5. The system computes the expected response using its stored secret and compares it with the received response. If they match, authentication succeeds.
Advantages: The secret is never transmitted; because each challenge is fresh (a nonce), an eavesdropper cannot replay an old response. This defeats replay and sniffing attacks that affect simple password schemes.
Discuss the different trust frameworks.
Trust Frameworks
A trust framework defines how trust is established, distributed and managed among entities in a security system — i.e. how one party decides to believe the identity or assertions of another. The major trust frameworks/models are:
-
Direct (Peer-to-Peer) Trust – two parties trust each other directly by exchanging and verifying credentials (e.g. exchanging public keys in person). Simple but does not scale.
-
Hierarchical Trust (PKI / Certificate Authority model) – trust flows from a single root Certificate Authority (CA) down through intermediate CAs to end entities. A user trusts a certificate if it chains up to a trusted root CA. Used in X.509 PKI and TLS. Scalable but creates a single point of trust/failure.
-
Web of Trust – a decentralised model (e.g. PGP) where users sign each other's public keys. Trust is built up through chains of mutually trusting individuals rather than a central authority.
-
Bridge / Cross-Certification Trust – independent PKI hierarchies are linked by a bridge CA or by cross-certifying each other's roots, allowing users in different domains to trust one another.
-
Distributed / Federated Trust – trust is shared across multiple authorities or identity providers (e.g. SAML, OAuth federations, single sign-on), where a relying party trusts assertions issued by a federated identity provider.
Comparison: Hierarchical models are centralised and scalable but depend on the root CA; web-of-trust is decentralised and resilient but harder to manage; federated/bridge models balance scalability with cross-domain interoperability.
Define zombies, bots and rootkits.
Zombies
A zombie is a computer that has been compromised by malware and is secretly controlled by an attacker without the owner's knowledge. The attacker uses it remotely to perform malicious actions — most commonly sending spam or participating in Distributed Denial-of-Service (DDoS) attacks. A network of many zombies is called a botnet.
Bots
A bot (short for "robot") is an automated software program that performs tasks over a network. In the security context, a malicious bot is malware that infects a host and connects it to a command-and-control (C&C) server, turning the machine into a remotely controllable agent. A collection of such bots forms a botnet, which can be commanded en masse for spam, DDoS, credential theft or click fraud.
Rootkits
A rootkit is a set of malicious software tools that gives an attacker privileged (root/administrator) access to a computer while actively hiding its own presence and that of other malware. Rootkits operate stealthily (often at the kernel level), modifying the operating system so that infected files, processes and network connections are concealed from users and antivirus tools, making them very difficult to detect and remove.
Relationship: Malware (a bot) can infect a machine and turn it into a zombie within a botnet, while a rootkit may be installed to hide that infection and maintain persistent control.
How is copyright different from a patent?
Copyright vs Patent
Both copyright and patent are forms of intellectual property protection, but they protect different things and work differently.
| Basis | Copyright | Patent |
|---|---|---|
| What it protects | Original works of authorship — literary, artistic, musical works, software code, etc. (the expression of an idea). | Inventions — new and useful processes, machines, devices, methods (the idea/functional invention). |
| Protects idea vs expression | Protects the expression, not the underlying idea. | Protects the functional idea/invention itself. |
| Registration | Arises automatically on creation; registration is optional. | Must be applied for and granted by a patent office after examination. |
| Originality vs novelty | Requires originality. | Requires novelty, non-obviousness and usefulness. |
| Duration | Long — typically author's lifetime + 50/70 years. | Shorter — typically about 20 years from filing. |
| Rights granted | Right to copy, distribute, perform, adapt the work. | Right to make, use and sell the invention; exclude others. |
| Example | A book, song, painting, or a piece of software source code. | A new drug formula, a machine, or a novel manufacturing process. |
Summary: Copyright protects the creative expression of ideas and arises automatically, while a patent protects novel inventions and must be formally granted, lasting a shorter time.
Describe the security auditing architecture.
Security Auditing Architecture
Security auditing is the process of collecting, recording and analysing system activity to detect security violations and verify that security policy is being enforced. A typical security auditing architecture consists of the following components:
-
Logger (Event Collection / Data Generation) – the component that records security-relevant events (logins, file access, privilege use, configuration changes). It decides what information to log and writes it to the audit trail. It must capture enough detail (who, what, when, where, outcome) without excessive overhead.
-
Audit Trail / Log Storage – the secure repository where logged events are stored. Logs must be protected from unauthorised modification or deletion (e.g. write-once, integrity-protected) so they can be trusted as evidence.
-
Analyzer – the component that examines the logged data for signs of policy violations or attacks. It may use signature-based detection, anomaly detection or rule-based analysis and may feed an intrusion-detection system. It can also reconfigure logging based on what it finds.
-
Notifier / Reporter – generates reports, alerts and notifications to administrators when suspicious activity or violations are detected, and produces summaries for compliance review.
Flow: Events occur in the system → the logger records them → stored in the audit trail → the analyzer processes the trail → results are presented by the notifier/reporter.
Good auditing architecture ensures accountability (actions can be traced to individuals), supports intrusion detection, and provides non-repudiable evidence for forensic investigation.
What is risk? How is security risk analysis done?
(Marks: 1.5 + 3.5)
What is Risk?
In information security, risk is the potential for loss or harm when a threat exploits a vulnerability in an asset. It is commonly expressed as a function of the likelihood of a threat occurring and the impact (consequence) if it does:
or more simply, .
How Security Risk Analysis is Done
Security risk analysis is a systematic process to identify, assess and prioritise risks. The main steps are:
- Asset identification – identify and value the assets to be protected (data, hardware, software, services).
- Threat identification – determine the potential threats to each asset (e.g. malware, insider attack, natural disaster).
- Vulnerability identification – find weaknesses that threats could exploit (e.g. unpatched software, weak passwords).
- Likelihood assessment – estimate the probability of each threat exploiting a vulnerability.
- Impact assessment – estimate the loss/consequence (financial, operational, reputational) if the risk materialises.
- Risk determination – combine likelihood and impact to compute and rank each risk (qualitatively as Low/Medium/High, or quantitatively using values such as ALE = SLE × ARO).
- Risk treatment / control recommendation – decide how to handle each risk: mitigate (apply controls), transfer (insurance), accept, or avoid.
Approaches:
- Quantitative – assigns numeric/monetary values (e.g. Annualised Loss Expectancy, ).
- Qualitative – uses descriptive ratings (Low/Medium/High) on a risk matrix.
The output is a prioritised list of risks that guides where security resources and controls should be applied.
Frequently asked questions
- Where can I find the BSc CSIT (TU) BIT Information Security (BIT303) – 5th Semester (Model) question paper 2079?
- The full BSc CSIT (TU) BIT Information Security (BIT303) – 5th Semester (Model) 2079 (model) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
- Does the BIT Information Security (BIT303) – 5th Semester (Model) 2079 paper come with solutions?
- Yes. Every question on this BIT Information Security (BIT303) – 5th Semester (Model) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
- How many marks is the BSc CSIT (TU) BIT Information Security (BIT303) – 5th Semester (Model) 2079 paper?
- The BSc CSIT (TU) BIT Information Security (BIT303) – 5th Semester (Model) 2079 paper carries 60 full marks and is meant to be completed in 180 minutes, across 12 questions.
- Is practising this BIT Information Security (BIT303) – 5th Semester (Model) past paper free?
- Yes — reading and attempting this BIT Information Security (BIT303) – 5th Semester (Model) past paper on Kekkei is completely free.