Skip to main content
2 min readUpdated 19 Oct 202612 weeks

Keystroke Dynamics-Based User Authentication

HardBTech CSEMCAMTech CSEBE CSE+1 moreAI & Machine LearningCybersecurity
Share:
100% Free

Get Free Synopsis PDF

We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.

This project adds a behavioural biometric layer to login by capturing keystroke timing patterns — dwell time and flight time between keys — as a user types their password, then uses a trained classifier to verify that the typing rhythm matches the enrolled user's profile. This provides continuous, passive identity assurance beyond just knowing the correct password, helping detect cases where a stolen password is used by someone else. The system is demonstrated as an additional verification layer on top of standard password login.

Problem Statement

A correct password alone does not prove the person typing it is the legitimate account owner, especially if credentials have been leaked. Keystroke dynamics offer a low-cost behavioural signal that can flag suspicious logins even when the password itself is correct.

Objectives

1

Study keystroke dynamics features (dwell time, flight time, typing rhythm)

2

Build a browser-based capture script to record timing during password entry

3

Collect enrolment samples and train a per-user classifier (e.g. One-Class SVM)

4

Implement a verification step that scores login attempts against enrolled profiles

5

Evaluate false acceptance/rejection rates across multiple test users

Modules

M1

Timing Capture Script

Records keydown/keyup timestamps during password entry in the browser.

M2

Feature Extractor

Derives dwell-time and flight-time features from raw timing data.

M3

Enrolment Trainer

Builds a per-user behavioural profile from multiple enrolment typing samples.

M4

Verification Scorer

Compares a login attempt's typing pattern against the enrolled profile.

M5

Risk Decision Module

Flags or challenges logins whose typing pattern deviates significantly from the profile.

Expected Output

A working demo where logins by the enrolled user are consistently accepted while a different person typing the same correct password is flagged as a risk, with documented accuracy rates.

Future Scope

The system could be extended to continuous authentication throughout a session rather than only at login, and combined with mouse-movement biometrics for stronger assurance.

Similar Project Ideas

Frequently Asked Questions

Click the "Get Free Synopsis PDF" button on this page. Fill in your details and we will send a detailed synopsis to your WhatsApp within 24 hours at no cost.
Yes, this project includes a detailed problem statement, objectives, and module breakdown that you can use for your college submission. The synopsis PDF we provide is formatted for academic submission.
This project uses: Scikit-learn, Flask, JavaScript, Python. Basic knowledge of these technologies is recommended before starting.