5 Authentication

Cryptography · Unit 5 · 3 hrs

Authentication

Exam-focused notes for Authentication (Cryptography, CSC327): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.

Authentication in short

Authentication answers a narrower question than confidentiality or integrity: is this party really who they claim to be? This unit surveys the mechanisms used to answer that question, from passwords through challenge-response and biometrics to the two named protocols, Needham-Schroeder and Kerberos, that automate authentication across a network.

Authentication: notes

Authentication Systems and Password-Based Authentication

Authentication is the process of validating the identity of a person, device, or process, and consists of two steps: identification, presenting an identifier to the security system, and verification, binding that identifier to the entity presenting it. Four general categories of evidence can establish identity: something the individual knows (a password or PIN), something the individual possesses (a cryptographic key, a smart card, a physical key), something the individual is (a fingerprint, retina, or face), and something the individual does (a voice pattern or handwriting characteristic). An authentication system is the overall security architecture built from these factors, and is described by five components working together: authentication information, the data that establishes identity (such as a password itself); complementary information, information stored on the verifying system used to check the authentication information (such as a stored password hash); a complementation function, which derives the complementary information from the authentication information (such as the hash function applied to a password at enrollment); an authentication function, which uses the complementary information to decide whether a presented identity is genuine; and a selection function, which lets an entity create or change its own authentication information (such as a password-change flow).

Password-based authentication is the oldest and simplest instance of this model: a password is a secret string, known only to the entity being authenticated, that confirms identity when presented alongside a username. The exchange runs as follows: a client requests a protected resource; the server demands authentication before granting access; the client is prompted for and submits a username and password; the server looks up the submitted username in its local store and compares the submitted password (or, in a properly built system, its hash) against what is stored, accepting the user only if they match and denying access otherwise.

What this unit covers

  • Authentication System
  • Password Based Authentication
  • Dictionary Attacks
  • Challenge Response System
  • Biometric System
  • Needham-Schroeder Scheme
  • Kerberos Protocol

Challenge Response System

2082 · 5 marks

Define authentication system. Discuss about challenge response system. [5]

Show solved answer

Authentication System and Challenge Response System

Authentication System

An authentication system is a security measure put in place to secure data and systems by requiring additional input beyond username and password for users to access a system.

Components of an Authentication System

An authentication system consists of five components required for the overall authentication process:

ComponentDescription
Authentication Information (A)Information that provides identity (e.g., password, PIN)
Complementary Information (C)Information stored on the computer used to validate authentication information
Complementation Function (F)Function that generates complementary information from authentication information
Authentication Function (I)Function that verifies and provides identity
Selection Function (S)Function enabling an entity to create or alter information A or C

Types of Authentication Factors

  • Something the individual knows: Password, PIN
  • Something the individual possesses: Smart cards, cryptographic keys
  • Something the individual is: Fingerprint, retina, face recognition
  • Something the individual does: Voice pattern, handwriting recognition

Challenge Response System

A challenge response system is a handshake authentication process in which the authenticator issues a challenge to the user seeking authentication, and the user must provide a correct response in order to be authenticated.

Working Process

The process works as follows:

Step 1: User requests access to the system
Step 2: Server (authenticator) issues a CHALLENGE to the user
Step 3: User responds to the challenge
Step 4: Server verifies the response
         - If CORRECT  --> User is AUTHENTICATED
         - If INCORRECT --> User is DENIED

Forms of Challenge

The challenge may take many forms depending on the system:

  • A password request
  • A set of security questions that were answered by the user during first-time registration
  • A random number or token that the user must process using a shared secret key

Example (One-Way Authentication using Challenge Response)

Assume Alice and Bob share a secret key K_AB:

Alice                              Bob
  |                                  |
  |--- "I am Alice" --------------->|
  |                                  |
  |<-- Challenge: R1 ---------------|
  |                                  |
  |--- Response: K_AB(R1) -------->|
  |                                  |
  |     Bob verifies K_AB(R1)        |
  |     If correct --> Authenticated |
  1. Alice sends her identity claim: "I am Alice"
  2. Bob issues a challenge (random number R1)
  3. Alice encrypts R1 using the shared key K_AB and sends it back
  4. Bob decrypts and verifies the response
  5. If the response matches, Alice is authenticated

Advantages

  • Prevents replay attacks since a new challenge is issued each time
  • More secure than simple password-based authentication
  • The actual secret (key/password) is never transmitted directly over the network

Summary: An authentication system verifies the identity of a user through its five components (A, C, F, I, S). The challenge response system strengthens this by requiring the user to prove knowledge of a secret by correctly responding to a server-issued challenge, making it resistant to eavesdropping and replay attacks.

Open this answer on its own page →

2079 · 5 marks

Define challenge response system. Why do we need Kerberos? [5]

--- A challenge response system is a handshake authentication process in which the authenticator (server) issues a challenge to the user seeking authentication, and the user must provide a correct response in order to be authenticated. 1. The user requests access to the system/server. 2. The serv...

Open this answer on its own page →

Kerberos Protocol

2081 · 5 marks

Discuss the working mechanism of kerberos protocol. [5]

Kerberos is a computer network authentication protocol that works on the basis of tickets to allow nodes communicating over a non-secure network to prove their identity to one another in a secure manner. It is based on the concept of a trusted third party called the Key Distribution Center (KDC)....

Open this answer on its own page →

Authentication System

2080

Give the formal definition of authentication system. Describe about one way and mutual authentication system. [3257]

An Authentication System is a security measure put in place to secure data and systems by requiring additional input beyond username and password for users to access a system. Formally, an authentication system is defined as a 5-tuple: $$\text{Authentication System} = (A, C, F, G, V)$$ Where the ...

Open this answer on its own page →

2078 · 5 marks

Define authentication system. Illustrate the need of mutual authentication over one way authentication with an example. [5]

--- An authentication system is a security mechanism that verifies the identity of a user, process, or device before granting access to a system or resource. It ensures that the entity claiming an identity is genuinely who they say they are. Authentication systems typically rely on: - Something y...

Open this answer on its own page →