Behavioural Biometrics: Keystroke, Gait and Mouse Dynamics
This topic surveys keystroke, gait, mouse and touch patterns used in biometric authentication and forensic analysis. Reliability depends on the recorded signal, comparison method and validation conditions; a behavioural pattern is not automatically a unique identifier.
Behavioural biometrics measure patterns in typing, walking and device interaction. Their usefulness depends on the signal recorded, the comparison method and validation under relevant conditions; a behavioural pattern is not automatically a unique personal signature.
Authentication and forensic attribution answer different questions. A system may flag a session for review without establishing who operated the device. Investigators must evaluate the behavioural result alongside independent evidence.
Keystroke analysis uses key-press and key-release timing, gait comparison uses visible movement in video, and mouse or touch analysis uses recorded interaction events. Each modality requires suitable data and its own validation.
The gap between releasing one key and pressing the next, the pattern of arm swing during walking, and the changing speed of a cursor are examples of measurable behaviour. These features vary both between people and across sessions from the same person.
Physiological biometrics such as fingerprints, iris patterns and DNA profiles describe biological characteristics. Behavioural measurements describe activity over time. Typing analysis requires captured input-event timing, gait analysis requires suitable video, and cursor analysis requires movement events. Ordinary login timestamps do not contain the fine timing needed to reconstruct typing rhythm.
Forensic gait comparison raises reliability and admissibility questions similar to those raised by other forms of image comparison. Authentication research on typing should not be treated as proof that a method can attribute a particular message in a criminal case.
Banks deploy behavioural analytics to help detect fraud. Their operational risk scores and alerts must be distinguished from a validated forensic opinion about an individual operator.
By the end of this topic you will be able to:
- Distinguish dwell time, flight time, and free-text versus fixed-text analysis, and explain why error rates must be tied to an evaluation protocol.
- Distinguish examiner-led gait comparison from automated gait recognition and explain the limits of CCTV-based inference.
- Explain how mouse and touch events contribute to session-risk assessment and what additional validation forensic use requires.
- Compare expert-evidence requirements in US federal courts, England and Wales, and India without assuming that a modality is automatically admissible.
- Identify the reliability limits affecting operational behavioural biometric classifiers (injury, fatigue, unfamiliar devices) and the reporting caveats required of forensic examiners.
Gait Analysis from CCTV: From Academic Observation to Court
Gait is the locomotion pattern produced by the coordinated action of the musculoskeletal and nervous systems. Each person's gait reflects their skeletal proportions, joint range of motion, muscle mass distribution, habitual posture, and years of learned motor patterns. The forensic proposition is that CCTV footage of an unknown person's gait can be compared against reference footage of a known individual to assess whether they are the same person.
Automated gait-recognition research represents walking through body models, joint trajectories or silhouette sequences. These systems are evaluated under defined datasets and protocols; their results should be distinguished from an examiner comparing case footage.
The Royal Society and Royal Society of Edinburgh published a court primer on forensic gait analysis in 2017. It emphasises that the scientific evidence supporting identification from gait is limited. A description of similarities is not a demonstration that the observed features are unique.
Before comparing gait, an examiner assesses whether the recordings show enough of the walking cycle and relevant body regions. Occlusion, frame rate, viewpoint and image quality can restrict which observations are possible.
Reference footage should allow meaningful comparison with the questioned footage. Clothing, footwear, walking speed, injury and camera geometry can change the visible pattern. Similarity must be interpreted in the light of these differences and the limits of available population data.
An expert should explain the observations, the method used to compare them and the limits of the conclusion. A court assesses the proposed evidence in the relevant proceedings; previous use of gait evidence does not validate every later comparison.
In US federal proceedings, expert opinion is assessed under Rule 702. Relevant research and error-rate evidence may assist the reliability assessment, but the proposed method must also be reliably applied to the facts of the case.
Scroll horizontally if needed to see the full table.
Mouse and Touch Dynamics in Authentication
Mouse dynamics uses recorded cursor positions and event times to derive features such as speed, acceleration, curvature, pauses and click timing. Touch dynamics can use tap timing and swipe trajectories. Contact area or pressure is available only when supported by the sensor, platform and recorder; a pressure field may contain a default value rather than measured force.
Behavioural analytics is used commercially in banking fraud detection. Commercial deployment shows an operational use case, but does not by itself establish a forensic error rate or prove the identity of a session operator.
A bank can combine interaction features with device and transaction information to assess session risk. The features available and the response to an alert depend on the implementation. A high risk score is a reason to investigate, rather than a direct measurement of who used the account.
In a dispute, the relevant records may include the event stream, derived features, model version, risk score and action taken. An examiner needs this context to explain what the system actually observed and how it reached its output.
For example, Australian Federal Court pleadings filed in 2026 discuss behavioural-biometrics and device-identification controls at HSBC. Pleadings set out allegations; their references to fraud controls are not judicial validation of biometric attribution or a finding that a particular session was operated by an impostor.
To assess an anomalous session, compare the recorded behaviour with the baseline and consider alternative explanations such as a new device or a changed task. Preserve transaction and access records that can independently test the competing explanations.
Forensic Applications: Fraud Investigation and Insider-Threat Attribution
In fraud investigation, behavioural biometrics typically serve as the first alert layer. A session in which the cursor movement profile, keystroke rhythm, or touch dynamics differ significantly from the account holder's established baseline triggers a step-up authentication challenge or flags the session for human review.
During investigation, the log records what the system observed and how it classified the session. An anomaly may reflect an unfamiliar device, an accessibility tool or a different task as well as unauthorised use. Identifying an operator requires additional evidence and relevant validation.
In insider-threat investigations, activity logs usually identify accounts, devices and actions. Linking an account action to a human operator is a separate inference; behavioural comparisons can be evaluated only when suitable interaction data was actually captured.
A typing comparison may test whether recorded session behaviour resembles a reference profile, but a similarity score is not proof of authorship. Sample length, device differences and the provenance of reference sessions affect what can be inferred.
Workplace activity monitoring can record use of a device, but presence, productivity and authorship are distinct questions. A keyboard-activity record cannot establish all three without further evidence.
Monitoring raises privacy and data-protection duties as well as evidential questions. In the UK, employers must consider a lawful basis, necessity, proportionality, transparency and, where required, a data-protection impact assessment. Collection compliance and admissibility are separate issues.
Admissibility: Validation and Expert-Evidence Rules
In US federal courts, Rule 702 requires the proponent to demonstrate, more likely than not, that expert testimony rests on sufficient facts or data, reliable principles and methods, and their reliable application to the case. Daubert identifies flexible considerations such as testing, peer review, error rates and general acceptance; these are not a mandatory four-part checklist. State rules vary.
A benchmark result can inform reliability but cannot substitute for case-specific validation. The expert should explain the method, relevant limitations and why the supporting study applies to the conditions of the questioned data.
In England and Wales, expert evidence must assist the court on matters outside ordinary knowledge, come from an appropriately qualified expert and be sufficiently reliable. Reports must explain the basis of the opinion and relevant limitations under the criminal-procedure framework.
The Forensic Science Regulator sets quality requirements for defined forensic activities. Whether the statutory code applies, and whether accreditation is required, depends on the activity and applicable version of the code. Accreditation should not be assumed to be a universal prerequisite for every behavioural comparison.
In India, expert evidence admissibility is governed by Section 45 of the Indian Evidence Act 1872 (now Section 39 of the Bharatiya Sakshya Adhiniyam 2023), which admits opinions of persons specially skilled in a relevant science or art.
Section 39 makes relevant the opinions of persons specially skilled in the relevant field. This does not automatically establish the reliability of a behavioural classifier. The party relying on the evidence must also address the rules applicable to the underlying electronic records and explain the basis of the expert opinion.
Under the Australian Commonwealth Evidence Act, section 79 concerns opinion based wholly or substantially on specialised knowledge from training, study or experience. Section 135 provides a general exclusion discretion; in criminal proceedings section 137 requires exclusion of prosecution evidence when its probative value is outweighed by the danger of unfair prejudice. The applicable state or territory law must also be checked.
A forensic opinion should connect the recorded events, the extracted features, the validated comparison and the stated conclusion. Preserve the data and method so another examiner can review each step.
The Research Frontier: Deep Learning, Multimodal Fusion and Liveness Detection
Multimodal systems combine signals such as typing, cursor movement and device information. Fusion may improve discrimination, but its performance must be measured on the combined system. Correlated channels do not provide independent evidence merely because they have different names.
TypeNet, an LSTM-based free-text typing model by Acien and colleagues, reported EERs of 2.2% for physical keyboards and 9.2% for touchscreen keyboards using five enrolment sequences and a test sequence of 50 keystrokes. The study used separate Aalto datasets: more than 136 million keystrokes from about 168,000 physical-keyboard participants and more than 63 million keystrokes from about 60,000 touchscreen participants. These are research-protocol results, not case-specific probabilities of correct attribution.
Automated gait-recognition accuracy depends on the dataset and protocol, including how subjects, viewpoints and walking conditions are divided between reference and test sets. A headline rank-1 score does not predict performance on unrelated CCTV with different clothing, occlusion or camera geometry.
Forensic evaluation should include footage that reflects the conditions of intended use, including difficult or unfamiliar capture conditions. Performance should be reported separately for relevant sources of variation rather than inferred from a controlled benchmark alone.
Replay and synthetic-input attacks are distinct from ordinary impostor comparisons. A system should be evaluated against the attacks it is expected to resist; normal-session authentication accuracy does not demonstrate replay resistance. Timing noise alone should not be assumed to prove that input came from a live person.
Loading questions…
Sources
- 1.TypeNet: Deep Learning Keystroke Biometrics · Acien and colleaguesEvaluation protocol and timing features
- 2.CMU Keystroke Dynamics Benchmark · Carnegie Mellon UniversityFixed-text dataset and evaluation
- 3.Forensic gait analysis: primer for courts · Royal SocietyLimits of gait inference
- 4.Pointer Events specification · W3CSensor-dependent event measurements
- Dwell time
- In keystroke dynamics, the duration in milliseconds for which a key is held depressed between the key-down and key-up events. A component of an individual's typing rhythm profile.
- Flight time
- For the release-to-press definition, the next key-down timestamp minus the preceding key-up timestamp. It can be negative when the two keypresses overlap. Other inter-key intervals must be identified by their event definitions.
- Equal error rate (EER)
- The error rate at a threshold where false acceptance and false rejection are equal in a specified evaluation. Comparisons require compatible datasets, tasks and protocols; EER is not a case-specific probability of authorship.
- Free-text keystroke dynamics
- Keystroke analysis of content that need not be the same between reference and test samples. Performance depends on the available samples, device, model and evaluation protocol.
- Forensic gait analysis
- The comparison of an unknown person's gait as captured on CCTV or other footage against reference gait footage of a known individual, conducted by a trained examiner to assess whether the two depict the same person.
- Reference footage
- Footage of a known person used for comparison with questioned footage. Its suitability depends on image quality, viewpoint, walking conditions and the features visible in both recordings.
- Mouse dynamics
- The statistical characteristics of cursor movement patterns, including velocity, acceleration, path curvature, jitter, and click timing, used as a continuous behavioural authentication signal.
- Touch dynamics
- Behavioural features derived from touchscreen interaction, such as tap timing and swipe trajectories. Pressure and contact-area measurements require appropriate hardware and recording support.
- Continuous authentication
- An authentication approach that verifies user identity throughout an active session rather than only at login, using passively collected behavioural signals to detect session takeover.
- Covariate problem
- In forensic gait analysis and computer-vision gait recognition, the degradation in accuracy caused by variations in viewpoint, clothing, footwear, walking speed, surface, and lighting between the questioned and reference footage.
Test yourself on Fingerprint Sciences with free, timed mocks.
Practice Fingerprint Sciences questionsFound this useful? Pass it along.