2082 10

BIT303 · 2082 · 5 marks

What is attack tree? Describe about password based authentication.

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

Information SecurityChapter 1: Fundamentals of Information SecurityAttack trees and threat modeling

Quick answer

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.

Attack Tree and Password-Based Authentication


Attack Tree

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.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.