1 Fundamentals Of Information Security

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.

Fundamentals of Information Security: notes

Security concepts and terminology

Security is built on three goals, called the CIA triad.

  • Confidentiality: only authorised people can read the data.
  • Integrity: data is not changed without permission, and changes can be detected.
  • Availability: the system and data are usable when needed.

Two more goals are often added. Authenticity means the sender or user is who they claim to be. Accountability means every action can be traced to one party.

Key terms:

  • Asset: anything of value, such as data, hardware, software or people.
  • Vulnerability: a weakness that can be used to cause harm, for example an unpatched server.
  • Threat: a possible danger that can use a vulnerability.
  • Attack: an actual attempt to harm an asset.
  • Countermeasure (control): a step that reduces risk, such as a firewall or a rule.
  • Risk: the chance that a threat uses a vulnerability, together with the harm it would cause.

Threats, attacks and assets

A threat is only a possibility. An attack is a threat that is carried out. A threat does nothing until someone acts on it.

Assets fall into groups: hardware (servers, laptops), software (operating systems, apps), data (files, databases) and communication lines (networks). Each group is attacked differently.

Attacks are grouped in two ways.

  • Passive attacks only watch or copy information. Examples are eavesdropping and traffic analysis. They are hard to detect, so the aim is prevention.
  • Active attacks change data or disturb service. Examples are masquerade (pretending to be someone), replay (re-sending captured data), message modification and denial of service. The aim is detection and recovery.

Another view groups attacks by what they break:

AttackGoal brokenExample
InterceptionConfidentialitySniffing a network
ModificationIntegrityChanging a bank amount
InterruptionAvailabilityFlooding a web server
FabricationAuthenticityAdding fake records

Attacks can also come from inside (an employee) or outside (a hacker), and both must be planned for.

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

2082 ยท 5 marks

Explain about threats, attacks and assets. [5]

Assets are the valuable resources of a system or organization that need to be protected. They include: Type Examples --------------- Hardware Computers, servers, routers, storage devices Software Operating systems, application programs, utilities Data Databases, files, passwords, personal informa...

Open this answer on its own page โ†’

2079 ยท 5 marks

What is Security threat and attack? Describe different types of attacks in brief. [5]

A security threat is any potential danger or circumstance that has the possibility of exploiting a vulnerability in a system to cause harm, loss, or unauthorized access to information or resources. It represents a possible violation of security. A security attack is any action that compromises th...

Open this answer on its own page โ†’

Security auditing architecture

2082 ยท 5 marks

Explain the security auditing architecture. [5]

Note: The reference notes did not contain this topic. The following answer is based on standard, correct information from the security and operating systems domain, appropriate for BSc CSIT curriculum. --- Security auditing is the systematic process of collecting, recording, analyzing, and review...

Open this answer on its own page โ†’

0 ยท 5 marks

Describe security auditing architecture. [5]

Note: The reference notes did not contain material on this topic. The following answer is based on standard information security and operating systems security curriculum as taught in BSc CSIT programs. --- Security auditing is the systematic process of recording, examining, and reviewing system ...

Open this answer on its own page โ†’

Attack trees and threat modeling

2082 ยท 5 marks

What is attack tree? Describe about password based authentication. [5]

Show solved 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

  1. User enters username and password.
  2. System looks up the stored (hashed) password for that username.
  3. The entered password is hashed and compared with the stored hash.
  4. 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

AttackDescription
Dictionary AttackTries common words/passwords
Brute Force AttackTries all possible combinations
Rainbow Table AttackUses precomputed hash tables
PhishingTricks users into revealing passwords
Shoulder SurfingObserving 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.
Open this answer on its own page โ†’

0 ยท 5 marks

What is attack tree? Construct an attack tree for internet banking authentication. [5]

An attack tree is a conceptual diagram that models threats against a system in a tree structure. It was introduced by Bruce Schneier as a formal method for describing the security of systems based on varying attacks. - The root node represents the goal of the attacker (the main attack objective)....

Open this answer on its own page โ†’

Security policy and implementation

2082 ยท 5 marks

Define security policy. How do you implement logging function? [5]

Show solved 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:

FieldDescription
TimestampDate and time of the event
User IDWho performed the action
Event TypeType of event (login, access, error)
ResourceWhat was accessed or modified
StatusSuccess or failure
IP AddressSource 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
Open this answer on its own page โ†’

Security risk and risk assessment

2080 ยท 5 marks

What is risk assessment? Describe the security auditing architecture. [5]

Risk assessment is the process of identifying, analyzing, and evaluating potential threats and vulnerabilities to an information system in order to determine the likelihood and impact of security incidents. It helps organizations prioritize security measures and allocate resources effectively. Th...

Open this answer on its own page โ†’