Information Security ยท Unit 1
Fundamentals of Information Security
Exam-focused notes for Fundamentals of Information Security (Information Security, BIT303): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.
Fundamentals of Information Security in short
Information security is the practice of protecting data and systems from misuse, damage and unwanted access. This chapter builds the vocabulary and the thinking tools (risk, policy, audit, threat models) used in every later chapter.
What this unit covers
- Security concepts and terminology
- Threats, attacks and assets
- Security risk and risk assessment
- Security policy and implementation
- Security auditing architecture
- Attack trees and threat modeling
Threats, attacks and assets
2079 ยท 5 marks
What is Security threat and attack? Describe different types of attacks in brief. [5]
Security auditing architecture
Attack trees and threat modeling
2082 ยท 5 marks
What is attack tree? Describe about password based authentication. [5]
Show solved answerHide answer
Attack Tree and Password-Based Authentication
Attack Tree
An attack tree is a conceptual diagram that models the various ways an attacker can compromise a system or achieve a malicious goal. It provides a formal, structured methodology for describing the security of systems based on varying attacks.
Structure
- The root node represents the goal of the attack (e.g., "Gain unauthorized access").
- Child nodes represent sub-goals or methods to achieve the parent goal.
- Nodes are connected using:
- AND nodes: All child conditions must be satisfied.
- OR nodes: Any one child condition is sufficient.
Example
Goal: Break into a system
OR
โโโ Guess Password
โ AND
โ โโโ Know username
โ โโโ Try common passwords
โโโ Steal Password
โโโ Exploit vulnerability
Benefits
- Helps in threat modeling and risk assessment.
- Allows security teams to prioritize defenses.
- Provides a visual and systematic view of possible attack paths.
Password-Based Authentication
Password-based authentication is the most widely used method of verifying a user's identity. The user provides a username and a secret password, which the system verifies against stored credentials.
How It Works
- User enters username and password.
- System looks up the stored (hashed) password for that username.
- The entered password is hashed and compared with the stored hash.
- If they match, access is granted; otherwise, it is denied.
Password Storage
- Passwords are never stored in plaintext.
- A one-way hash function (e.g., SHA-256, bcrypt) is applied.
- A salt (random value) is added before hashing to prevent dictionary and rainbow table attacks.
Stored value = Hash(password + salt)
Common Attacks on Passwords
| Attack | Description |
|---|---|
| Dictionary Attack | Tries common words/passwords |
| Brute Force Attack | Tries all possible combinations |
| Rainbow Table Attack | Uses precomputed hash tables |
| Phishing | Tricks users into revealing passwords |
| Shoulder Surfing | Observing the user while typing |
Countermeasures
- Use salted hashing (bcrypt, Argon2).
- Enforce strong password policies (length, complexity).
- Implement account lockout after failed attempts.
- Use multi-factor authentication (MFA) alongside passwords.
- Encourage use of password managers.
Limitations
- Users tend to choose weak or reusable passwords.
- Vulnerable to social engineering.
- Does not provide non-repudiation on its own.
0 ยท 5 marks
What is attack tree? Construct an attack tree for internet banking authentication. [5]
Security policy and implementation
2082 ยท 5 marks
Define security policy. How do you implement logging function? [5]
Show solved answerHide answer
Security Policy and Logging Function Implementation
Definition of Security Policy
A security policy is a formal set of rules, guidelines, and procedures that defines how an organization manages, protects, and distributes sensitive information and resources. It specifies:
- What assets need to be protected
- Who is authorized to access those assets
- How the assets should be protected
- What actions are permitted or prohibited within a system
A security policy serves as the foundation for all security mechanisms in a system. It may include:
- Access control policies (who can access what)
- Authentication policies (how users prove their identity)
- Confidentiality policies (protecting data from unauthorized disclosure)
- Integrity policies (ensuring data is not tampered with)
- Availability policies (ensuring resources are accessible to authorized users)
Example: "Only authenticated administrators can read/write to the database; all other users have read-only access."
Implementation of Logging Function
Logging is the process of recording events, actions, and transactions that occur within a system for the purposes of auditing, monitoring, debugging, and security analysis.
Key Steps to Implement a Logging Function:
1. Define What to Log
Decide which events should be recorded:
- Login attempts (successful and failed)
- File access and modifications
- System errors and exceptions
- User actions and privilege changes
- Network connections
2. Design the Log Structure
Each log entry should contain:
| Field | Description |
|---|---|
| Timestamp | Date and time of the event |
| User ID | Who performed the action |
| Event Type | Type of event (login, access, error) |
| Resource | What was accessed or modified |
| Status | Success or failure |
| IP Address | Source of the request |
3. Basic Logging Function (Pseudocode)
function logEvent(userID, eventType, resource, status):
timestamp = getCurrentDateTime()
logEntry = timestamp + " | " + userID + " | " + eventType
+ " | " + resource + " | " + status
appendToLogFile(logEntry)
if status == "FAILURE":
triggerAlert(logEntry)
end function
4. Log Storage and Protection
- Store logs in a write-once or append-only file to prevent tampering
- Use encryption to protect log contents
- Maintain backup copies of logs
- Restrict access to log files (only administrators)
5. Log Management
- Implement log rotation to manage file size
- Set retention policies (e.g., keep logs for 90 days)
- Use centralized log servers (e.g., syslog) for distributed systems
6. Log Analysis and Auditing
- Regularly review logs for suspicious activity
- Use automated tools to detect anomalies
- Generate audit reports for compliance
Importance of Logging in Security
- Provides accountability by tracking user actions
- Helps in intrusion detection and incident response
- Supports forensic analysis after a security breach
- Ensures compliance with security policies and regulations
Security risk and risk assessment
2080 ยท 5 marks
What is risk assessment? Describe the security auditing architecture. [5]
Make Unit 1 stick
Practice BIT303 with flashcards & quizzes