Abstract
A single user-invariant tensor, kinematically impossible for any human finger to produce, bypasses bidirectional long short-term memory (BiLSTM) continuous-authentication defenders with numerically identical structure across four independently trained generators. We arrive at this finding by training generative adversarial networks against BiLSTM defenders on 51 users across three independent random seeds, with the data partition held fixed, to test the prevailing assumption that successful generative attacks must reproduce the victim’s kinematic behavior. Aggregate attack success rate varies from 31.4% to 45.1% across seeds, a 13.7 percentage-point spread arising purely from optimization stochasticity, demonstrating how unreliable single-seed reporting is as an estimator of the true attack surface. A four-group descriptive stratification shows that 8% of users are attacked across all three seeds, 31% are consistently safe, and 61% exhibit seed-dependent outcomes. Classifier accuracy on zero-effort impostors does not predict adversarial vulnerability (Spearman , permutation ), whereas intra-user behavioral variance does (, permutation , Bonferroni-corrected). The mechanism is not behavioral emulation but convergence to an Adversarial Skeleton Key, a tensor located in an unregularized region of the BiLSTM’s decision surface that the network reliably maps to acceptance, despite lying many standard deviations outside any genuine human distribution. The mimicry-centric evaluation paradigm underestimates the real threat surface. Input-space plausibility must be treated as a defensive layer rather than a preprocessing concern.
1. Introduction
Static authentication mechanisms such as PINs, passwords, and physiological biometrics, including fingerprint and facial recognition, verify the user’s identity only at the moment of unlock, and once the device transitions to an unlocked state, it enters a condition of unconditional trust that persists until the screen is deliberately locked again. This binary trust model leaves the device vulnerable for the remainder of the session to threats that the initial gatekeeper was never designed to address [1,2,3].
Touch dynamics, the multi-dimensional time series of spatial, pressure, and kinematic signals produced by a finger during each gesture, is the dominant CUA modality on touchscreen devices [4,5]. Extreme intra-user variability in unconstrained real-world data pushed the field from handcrafted features with classical classifiers toward deep sequential models that absorb this variability while still drawing tight user-specific boundaries [5]. Stacked Bidirectional Long Short-Term Memory networks have emerged as the state-of-the-art defenders, capturing bidirectional temporal dependencies in human motor control [6,7,8], and, under standard single-instance evaluation, report strong discrimination against zero-effort impostors.
The security argument for BiLSTM-based CUA rests on an assumption that we refer to throughout this paper as the Mimicry Assumption: that any successful attack on a hardened sequential classifier must reproduce the victim’s unique kinematic rhythms to within the tight multidimensional envelope the network has learned. This framing organizes the adversarial literature that has grown up around touch-based biometrics. GAN-based touch-spoofing frameworks such as GANTouch [9] and the targeted-mimicry studies that followed [10] both define attack success in terms of behavioral fidelity and treat mode collapse and kinematically impossible outputs as anomalies to be engineered away in the service of higher-quality mimicry [11].
This paper argues, and demonstrates empirically, that the Mimicry Assumption is an incomplete and in places actively misleading description of the actual threat surface. The broader literature on adversarial machine learning has shown that deep neural networks are fragile against unconstrained mathematical perturbations whose structure bears no resemblance to the training distribution [12,13,14]. In most application domains such perturbations must nevertheless pass through a physical channel that filters out non-physical inputs, a camera, a microphone, a radar front-end. Continuous touch authentication does not use this implicit filter when the adversary operates at the software layer rather than the physical touchscreen: malware with access to API hooks or /dev/input event queues can inject arbitrary kinematic tensors directly into the classification pipeline [15], and nothing in the BiLSTM’s loss function, training data, or architecture penalizes inputs that violate the laws of motion. The defender evaluates what it receives, and what it receives need not be human.
A research gap follows from this observation, and it is one that the current adversarial-biometrics literature has not addressed. In the literature, it is unknown how often a GAN trained against a BiLSTM CUA verifier finds bypass strategies that abandon mimicry altogether; whether such bypasses are reproducible or are artifacts of a particular training seed; or which users are most susceptible and why; mechanistically, how such bypasses succeed against defenders with otherwise strong discrimination against natural impostors. Existing evaluations report single-seed aggregate attack success rates [9,10], which, as we show, can vary by more than thirteen percentage points across independent training runs of the same pipeline. A more careful empirical characterization is required before any meaningful defensive recommendation can be made.
In this paper we provide that characterization. Using the M2auth corpus [5] as a fifty-one-user testbed, we evaluate a GAN-based adversary against a stacked-BiLSTM defender under three independent random seeds per user, hold the data partition fixed across seeds so that all variation is attributable to optimization stochasticity, and perform the corresponding stability, correlational, and mechanistic analyses. The contributions of this work are fourfold:
- We demonstrate that aggregate attack success rate is an unstable summary of the real attack surface. Single-seed ASR values of 45.1%, 43.1%, and 31.4% arise from the same pipeline purely through weight initialization and batch ordering. Consequently, we propose a four-tier stability taxonomy (consistent-vulnerable, likely-vulnerable, likely-safe, and consistent-safe) that preserves the underlying heterogeneity that a single scalar discards.
- We show that classifier quality on natural impostors, conventionally measured by AUC and FAR, does not predict adversarial vulnerability ( and , respectively, neither statistically significant), reversing the diagnostic assumption of mimicry-centric work.
- We identify intra-user behavioral variance as a significant predictor of adversarial vulnerability (). This relationship is concentrated on kinematic channels, specifically contact size, inter-event time, and lateral velocity, which offer the GAN the most boundary headroom to exploit.
- Through feature-space and 32-dimensional latent-space analysis of the consistently vulnerable users, we identify a reproducible bypass mechanism termed the “Adversarial Skeleton Key.” This is a single, user-invariant, kinematically impossible tensor, identical across targets to the level of numerical precision, that the BiLSTM reliably maps to acceptance despite its geometric separation from any human-generated input. A controlled ablation over the velocity-clipping threshold (no clipping, , px/ms) further decomposes this mechanism into an architecture-driven exploitability component, which persists even without clipping, and a preprocessing-driven universality component, which the clipping convention manufactures by aligning per-user acceptance regions onto a shared boundary.
The remainder of this paper is organized as follows. Section 2 reviews prior work on touch-based continuous authentication, deep sequential defenders, and GAN-based adversarial biometrics, situating our contribution in relation to the mimicry-centric evaluation paradigm. Section 3 formalizes the threat model, including the gray-box attacker capabilities and the software-level injection vector that makes non-physical perturbations reachable. Section 4 describes the experimental pipeline, the BiLSTM and GAN architectures, the multi-seed stability protocol, and the evaluation metrics. Section 5 presents the empirical results, organized into defender baseline performance, attack stability and tier decomposition, vulnerability predictors, and mechanistic analysis. Section 6 discusses the interpretation, implications, and limitations of the findings, and Section 7 concludes with proposed countermeasures and directions for future work.
2. Background and Related Work
The paradigm of mobile device security has undergone a structural and philosophical evolution over the past decade, transitioning from static, point-of-entry authentication protocols to dynamic, continuous verification frameworks [2]. Traditional authentication mechanisms—encompassing Personal Identification Numbers (PINs), graphical patterns, and static physiological biometrics such as facial recognition—are inherently limited by their temporal rigidity. Once a malicious actor circumvents the initial security gateway, the mobile device enters a state of absolute, unconditional trust. This binary security model renders the system acutely vulnerable to post-authentication hijackings, session riding, and physical theft while the device remains unlocked. To mitigate this persistent gap, the cybersecurity domain has increasingly turned toward Continuous User Authentication (CUA) systems. These advanced frameworks operate on the premise of implicit authentication, leveraging behavioral biometrics to continuously verify user identity without interrupting the primary user experience [2,3].
2.1. Continuous Behavioral Biometrics on Touch Devices
Touch dynamics evaluate the multi-dimensional time-series stream of kinematic data generated during screen interaction, including spatial coordinates, contact pressure, and sweeping velocity [3]. While early iterations relied on handcrafted feature engineering processed by classical classifiers (e.g., SVMs, Random Forests), extreme intra-user variability in real-world environments forced a paradigm shift toward deep learning-based adaptive mechanisms [5].
Recent literature, however, exposes a profound human-centric bias in these advanced feature extraction methodologies. Contemporary frameworks utilizing multi-layer perceptrons or TOPSIS dimensionality reduction consistently optimize their systems based on human biomechanical realities—ranking features like touch force and velocity duration strictly within natural distributions [16,17]. Even frameworks attempting to normalize hardware sampling rates across diverse devices inadvertently smooth the temporal feature space, creating wider, more permissive decision boundaries [18]. This absolute reliance on human behavioral bounds creates a severe conceptual vulnerability, leaving these frameworks structurally blind to synthetic adversarial injections that completely disregard biomechanical limitations, such as finite acceleration or spatial continuity.
2.2. Deep Learning Defenses and Sequential Models
To process the non-linear, time-dependent nature of continuous touch dynamics, the cybersecurity domain overwhelmingly deploys deep sequential architectures, specifically Long Short-Term Memory (LSTM) networks [7]. Through specialized internal gating mechanisms, LSTMs maintain a persistent state representation of user behavior, preventing vanishing gradients. Recent advancements have introduced sophisticated topologies like Bidirectional LSTMs (BiLSTMs) and CNN-LSTM hybrids to capture both forward and backward temporal dependencies, often utilizing attention mechanisms to isolate identity-bearing behavioral segments [7,8].
Despite their state-of-the-art accuracy, these models harbor a critical architectural blind spot: the unconstrained topology of their latent spaces. Because biometric BiLSTMs and anomaly autoencoders are trained exclusively on human data, their decision boundaries are drawn specifically to separate legitimate users from human impostors [19]. The vast, high-dimensional mathematical space surrounding these biological clusters remains entirely unregularized. By structurally failing to enforce fundamental physical priors on incoming sequences, these networks are primed to accept computationally invalid data that happens to land within these unmapped mathematical voids.
2.3. Adversarial Attacks and Generative Mimicry
The rapid proliferation of Adversarial Machine Learning (AML) has introduced targeted, algorithmically generated threats designed to subvert deep learning classifiers [14]. While traditional adversarial evasion attacks focus on imperceptible gradient noise, applying such perturbations to continuous behavioral data is exceedingly complex without triggering outlier detection. Consequently, offensive research has shifted heavily toward Generative Adversarial Networks (GANs) for synthetic data generation [9].
Crucially, the prevailing literature overwhelmingly frames the primary objective of a GAN as targeted behavioral mimicry. Researchers assume a successful GAN attack must produce high-fidelity synthetic touch sequences that emulate the unique kinematic rhythms of the victim. Frameworks like GANTouch evaluate vulnerabilities by assuming synthetic attacks aim to faithfully mimic genuine behavior, failing to theoretically account for generative payloads that abandon mimicry entirely. Studies analyzing targeted mimicry attacks meticulously replicate keystroke dynamics, restricting the definition of a successful attack to behavioral emulation [10].
Furthermore, research investigating the kinematic errors of GAN architectures—such as studies noting that generative models frequently produce kinematically impossible articulations—consistently classifies these artifacts as generative “failures” [11]. The contemporary literature views mode collapse and non-physical outputs as technical hurdles to be solved to achieve better human mimicry [9].
This paper fundamentally challenges this entrenched paradigm. When viewed through the lens of systemic exploitation, mode collapse is not a failure; it is a highly efficient mathematical optimization. By collapsing into an “Adversarial Skeleton Key”—a sequence of physically impossible kinematics—the generator bypasses human-centric decision boundaries entirely. Because defending sequence classifiers lack physical priors, they project these corrupted, non-causal sequences into the unconstrained void of their latent space, resulting in catastrophic false-positive authentications driven by pure mathematical exploitation rather than human emulation. Table 1 positions this work against the previous reference points that organize the touch-biometric adversarial literature. The contrast is structural rather than incremental. Where the prior literature operationalizes attack success as behavioral fidelity and reports it as a single scalar averaged over a cohort, the present work demonstrates that (i) a generator can achieve consistent bypass without behavioral fidelity, and (ii) the scalar-ASR convention obscures a 13.7 percentage-point seed-induced spread that the four-tier decomposition recovers.
Table 1.
Adversarial attacks and generative mimicry.
3. Threat Model
We formalize the adversarial setting along three axes: the target system and its operational assumptions, the adversary’s knowledge and capabilities, and the attack vector through which adversarial inputs enter the authentication pipeline. The model reflects a realistic post-authentication attacker on a commodity mobile device and isolates the software layer at which the vulnerabilities examined in this paper actually manifest.
The target system is a continuous user authentication framework operating passively in the background of a mobile operating system. It uses fixed-shape sequences of twenty timestamps over seven kinematic features and passes them through a stacked BiLSTM classifier whose sigmoid output is thresholded at 0.5 to produce the Genuine/Impostor decision. We assume the defender has been trained offline on the legitimate user’s historical behavioral manifold and on an open-set pool of impostor identities, and that it is actively protecting an already-unlocked device from unauthorized use [2,7,8]. Critically, no physical-plausibility filter, kinematic sanity check, or out-of-distribution detector is assumed to sit between the input pipeline and the classifier. This reflects the defender pipelines documented in the current touch-dynamics literature [5,7,9], in which input-space sanity checking is treated as a preprocessing concern rather than a security-relevant layer.
The adversary operates under a gray-box threat model, defined precisely along two independent knowledge dimensions. With respect to the victim’s behavior, the attacker has partial access: a finite sample of the victim’s historical genuine touch events, obtained through passive compromise of the device by a malicious background application. This behavioral knowledge is what enables offline GAN training and constitutes the ’gray’ component of the threat model; the attacker knows something about the victim but not everything [9,20]. With respect to the deployed authenticator, the attacker has no access to the BiLSTM’s weights, architecture, decision boundary, and gradient signals, and the deployed model is never queried at any point during attack preparation. The GAN generator is trained exclusively against an internal surrogate discriminator built from the intercepted genuine data, a completely separate model that shares only a training data distribution with the target BiLSTM, not its parameters or outputs. The attack therefore constitutes a zero-query transfer from surrogate to target.
This configuration is neither trivially easy nor unrealistically powerful. It requires the adversary to collect a sample of the victim’s genuine gestures, a non-trivial operational step, but requires no privileged access to the authentication system itself. The fact that this constrained attacker nonetheless achieves consistent bypass in the consistently attacked group is the paper’s central security finding where the vulnerability is structural rather than a product of elevated attacker capability.
The attack vector is software-layer tensor injection rather than physical spoofing. Once the malicious application has been granted input-monitoring or accessibility privileges, it hooks the Android input API at the application layer or, on rooted devices, writes directly into the kernel’s /dev/input event queue [10,15]. In either case, synthetic touch events expressed as numerical tensors of the exact shape the defender expects are injected into the authentication pipeline in place of, or in addition to, genuine sensor events. Physical spoofing, such as robotic fingers, conductive styluses, or electromagnetic injection against the capacitive sensor [21], is outside the scope, because any such approach must traverse the hardware and is thereby subject to the sensor’s finite sampling rate, spatial resolution, and analog response curve.
The adversary’s objective is strictly evasion. The goal is not template extraction, data poisoning, or degradation of the defender’s general accuracy, but the synthesis of a finite presentation payload that causes the defender to output with high probability and thereby maintain unauthorized access to the already-unlocked device. Success is quantified at the campaign level by the Attack Success Rate (ASR), and the adversary is deemed to have succeeded against a given user–defender pair when ASR meaningfully exceeds the defender’s false acceptance rate against zero-effort human impostors, so that the adversarial gain cannot be attributed to the classifier’s intrinsic permissiveness. Critically, no feedback from the deployed BiLSTM is obtained at any stage of the attack. The generator is optimized entirely against the surrogate discriminator offline; the target authenticator is only encountered at injection time. The threat model makes no requirement that the payload resemble human touch behavior, an indifference that separates the attack class examined here from the mimicry-centric framing of prior work [9,10,11].
4. Methodology
This section describes the experimental pipeline developed to evaluate the adversarial exploitability of BiLSTM-based continuous authentication models. The pipeline was organized as a sequence of six stages: dataset, preprocessing and feature extraction, authentication-model training, adversarial-generator training, attack evaluation, and multi-seed stability analysis, with explicit data-integrity boundaries enforced between stages to prevent temporal or cross-user leakage.
4.1. Dataset
All experiments were conducted on the M2auth dataset [5], a publicly available corpus of continuous touch-screen interactions collected from Android devices under unconstrained real-world usage. We worked with the 51-user partition of the corpus, which is a standard evaluation pool in the touch-dynamics literature. Each user’s data was stored as a single CSV file identified by a SHA-1 hash, with file sizes ranging from approximately 68 MB to 1.74 GB depending on the length of the recording period. For reporting purposes, the 51 hash identifiers were mapped to anonymous labels U01–U51, sorted by mean classifier AUC in descending order.
Each CSV row encoded a single touch event with eleven fields, of which seven were used in modelling: the Unix-millisecond timestamp, the Android action code (0 for finger-down, 1 for finger-up, 2 for finger-move), the view-local coordinates (), the normalized touch pressure, and the contact area (size). The raw-coordinate, package-name, and view-identifier fields were retained during cleaning for bookkeeping but excluded from the feature set to keep the modelling purely kinematic and application-agnostic. Table 2 consolidates the M2auth corpus characteristics relevant to this evaluation; per-user breakdowns appear in Appendix A.
Table 2.
M2auth dataset summary as used in this study.
4.2. Data Preprocessing and Feature Engineering
Before any feature computation, the raw event stream of each user was passed through a six-step cleaning procedure. Exact duplicate rows were removed, events with non-positive pressure or contact-size values were filtered as sensor data, and within-gesture duplicate timestamps were removed to eliminate infinite velocities downstream. Gestures lacking a finger-down event were discarded, and sessions with inter-event gaps exceeding five seconds were split into separate gestures via a cumulative-sum indexing scheme over the ACTION_DOWN events. A final validation pass removed fragments produced by the splitting step.
From the cleaned stream, seven kinematic features were computed per event: the inter-event time , the view-local coordinates x and y, the raw pressure and contact size, and the per-axis spatial velocities and . Velocities were computed from the raw time deltas prior to any transformation as and , then clipped to the range pixels per millisecond to suppress residual near-zero- artifacts that survive the deduplication pass. It is worth noting that this clipping operation has a structural consequence for the adversarial analysis that follows. By collapsing all inter-sample velocities above 30 px/ms to the same boundary value, the clipping compresses the high-velocity region of feature space into a shared artifact zone where gestures from different users become indistinguishable after scaling. This compression is a deliberate engineering choice to handle sensor noise, but it creates a region of feature space that the BiLSTM’s training distribution partially populates—and that the adversary can target without user-specific knowledge. The time-delta feature itself was clipped to ms and passed through a transform to compress its heavy right tail. The resulting per-event feature vector therefore lived in a seven-dimensional continuous space. The mechanistic consequences of this design choice, specifically, that the GAN converges on the artifact zone created by velocity clipping rather than on user-specific behavior, are quantified in Section 5.4 and discussed in Section 6.3.
Touch events were segmented into gestures using the cumulative sum of ACTION_DOWN indicators. Gestures shorter than ten events were discarded as too brief to carry identity-bearing dynamics, gestures of ten to nineteen events were zero-padded to twenty, and gestures of twenty or more events were truncated to twenty. A per-user cap of five thousand chronologically earliest gestures was applied to bound memory footprint without biasing toward any particular session. Each user’s data therefore reduced to a tensor of shape , where N denotes the number of retained gestures. Normalization was performed with a per-user MinMaxScaler fitted on the first 70% of the target user’s gestures and on the entire impostor training pool; the held-out 30% of the target user and all held-out impostors were excluded from scaler fitting to avoid any form of leakage [22].
4.3. BiLSTM Authentication Model
The authentication model followed the stacked-BiLSTM design that has become standard in touch-dynamics verification [7,8]. The network accepted the sequence tensor as input and comprised a first bidirectional LSTM layer with 64 hidden units returning the full sequence, a dropout layer with rate 0.3, a second bidirectional LSTM layer with 32 hidden units returning only the final hidden state, a further dropout layer with rate 0.3, a dense bottleneck of 32 units with ReLU activation, and a single sigmoid-activated output unit producing the genuineness probability . Formally, for an input sequence the model computed:
where is the final hidden representation, which we refer to as the latent space in the mechanistic analysis of Section 5.4. The network was trained as a binary classifier with the target user’s genuine sequences labeled as the positive class and the training-pool impostor sequences as the negative class. Optimization used the Adam optimizer with binary cross-entropy loss and early stopping monitored on the validation AUC, with a patience of 20 epochs and an on-plateau learning-rate reduction [23]. Training was performed on CPU rather than GPU because the small size of the recurrent layers made host-side execution faster than the Apple MPS backend for this workload, and this choice has no effect on the resulting decision function.
4.4. GAN-Based Attack Synthesis
The adversarial generator was implemented as a Generative Adversarial Network [9,24] operating in the same feature space as the authenticator. The generator G mapped a 100-dimensional latent noise vector , reshaped as a sequence, through an LSTM layer with 128 hidden units and a dense projection to a twenty-timestep, seven-feature output. A bounded ReLU activation (maximum value 1.0) constrained the output to the same normalized range as the training data, and the final reshape produced a synthetic tensor . The companion discriminator D took a sequence as input and passed it through a bidirectional LSTM with 128 hidden units, followed by LeakyReLU [25] and dropout, a second bidirectional LSTM with 64 hidden units, followed by LeakyReLU and dropout, and a sigmoid-activated dense unit producing the realness score. The two networks were trained under the standard minimax objective:
where denotes the empirical distribution of the target user’s training-genuine sequences, explicitly loaded from the X_train_genuine split of the preprocessed dataset, never from the raw CSV stream, to prevent any test-set leakage into the generator. Training proceeded for at least 500 epochs and was terminated when the generator loss plateaued for 200 consecutive epochs, with an improvement threshold of . The construction instantiates the gray-box threat model of Section 3 precisely. Two architectural facts about this construction are worth stating precisely because they bear directly on the interpretation of the results. First, the generator G never interacts with the deployed BiLSTM authenticator during training. The gradient signal used to update G flows exclusively through the internal discriminator D, a separate network trained from scratch on the victim’s genuine sequences. The target BiLSTM is invoked only in the evaluation stage, after GAN training is complete, and solely to measure ASR; at that point no backpropagation occurs. Second, the attack therefore constitutes a zero-query transfer attack where the generator learns to satisfy a surrogate discriminator that shares only a training data distribution with the target authenticator, not its weights, architecture, or gradients. That sequences optimized against this surrogate transfer successfully to the BiLSTM is itself a substantive finding. If the GAN had access to the BiLSTM’s gradients, high ASR would be expected and mechanistically uninteresting. The fact that it achieves bypass without any model access suggests that both the surrogate discriminator and the BiLSTM have mapped the same genuine data distribution into latent regions that share structural properties, and that the generator finds a void that both models leave unregularized.
4.5. Evaluation Protocol and Stability Analysis
Each target user’s data was partitioned chronologically, with the earliest 70% of gestures reserved for training and the latest 30% for testing. Impostor identities were split by sorted hash order in a 70/30 proportion: the training pool contained 70% of impostor users, and the remaining 30% of impostor identities were held out entirely and appeared only at test time. This identity-level partitioning enforced open-set evaluation, under which the classifier is confronted with impostors whose behavior was never observed during training, a condition that is operationally realistic for continuous authentication [26]. The impostor split was deterministic across seeds, so that all stochastic variation in our stability analysis originated from model initialization and batch ordering rather than from data resampling.
Baseline classifier performance was quantified using three standard metrics [1,26]. The false rejection rate (FRR) was the proportion of genuine test sequences assigned ; the false acceptance rate (FAR) was the proportion of held-out impostor sequences assigned ; and the area under the ROC curve (AUC) summarized discrimination across thresholds. The adversarial threat was quantified by the attack success rate (ASR), defined as the proportion of 2000 synthetic sequences emitted by the trained generator that received at the same 0.5 operating threshold. A per-user attack was recorded as successful when ASR exceeded both 1% and , which excludes cases in which synthetic acceptance merely reflects the classifier’s baseline permissiveness against zero-effort impostors. Throughout the remainder of the manuscript, ASR is the sole metric label for adversarial attack efficacy; the terms “adversarial vulnerability” and “vulnerable” are used descriptively to refer to the phenomenon of attack susceptibility, and the formally defined per-user quantity is termed the vulnerability rate (Section 4.6).
Attack generation is lightweight. GAN training requires approximately 85 s of CPU wall-clock time per target user (2000 epochs, single core, no GPU). Once trained, the generator produces a 2000-sequence adversarial payload in 2.2 s. The training cost is a one-time investment per target user; subsequent attacks against the same deployed model cost only the 2.2 s inference step. The full 51-user, three-seed experimental protocol (153 GAN training runs) was completed in approximately 3.8 h on a single CPU, confirming that the attack scales to realistic evaluation sizes without specialized hardware.
4.6. Multi-Seed Stability Classification
A central methodological contribution of this work is that the entire pipeline, authentication-model training, generator training, and attack evaluation, was repeated three times per user under random seeds 42, 43, and 44, with the data partition held fixed. This design isolated optimization stochasticity (i.e., weight initialization, mini-batch ordering, dropout masks) from dataset-level variation, so that any observed instability in attack outcomes could be attributed unambiguously to model-fitting dynamics rather than to which examples happened to fall in the training or test folds.
For each user we recorded a three-element binary vector indicating whether the attack-success criterion was met under each seed. The number of successful seeds, denoted , induced a four-tier descriptive stratification. Users with are referred to as consistent-vulnerable, those with as likely-vulnerable, those with as likely-safe, and those with as consistent-safe. We use these labels as shorthand for observed outcomes rather than as probabilistic classifications of true underlying vulnerability. With only three binary trials per user, the Clopper–Pearson exact 95% confidence interval on a user’s true attack probability spans for and for , so adjacent tiers are statistically indistinguishable. The stratification is therefore treated as descriptive throughout, and the mechanistic claims of Section 5.4 are grounded in the group not because tier membership is statistically certain but because that group provides a reproducible substrate across all three independent training runs. This taxonomy underpins the population-level stability analysis in Section 5.2 and the focused mechanistic analysis in Section 5.4, in which the four consistent-vulnerable users identified reproducibly across all three seeds were used as a stable substrate for feature- and latent-space investigations. Statistical relationships between per-user vulnerability rate and candidate predictors were assessed using Spearman’s rank correlation coefficient. Because the outcome variable takes only four discrete values and the resulting tie structure violates the asymptotic normality assumption of standard Spearman p-values, all p-values were verified against an exact permutation null distribution generated from 10,000 random permutations of the outcome vector. Multiple comparisons across the three candidate predictors (mean AUC, mean FAR, intra-user variance) were controlled using Bonferroni correction, yielding an adjusted significance threshold of . Between-group differences were tested with the Mann–Whitney U test [27].
5. Experimental Results
5.1. Defender Performance Baseline
For each training run, we recorded the best validation AUC achieved during early-stopping and, separately, evaluated the model on the held-out 30% test partition composed of the target user’s future sessions and an open-set pool of unseen impostors.
The validation protocol produced consistently strong discrimination. Aggregated across users and seeds, the mean validation AUC reached (), with per-seed averages clustered tightly at , , and for seeds 42, 43, and 44, respectively. On the held-out test set, however, mean AUC dropped to (seed 42: , seed 43: , seed 44: ) (Table 3), corresponding to a validation–test gap of approximately percentage points. This degradation is consistent with the temporal concept drift documented for long-horizon touch dynamics, where the statistical properties of future sessions diverge from those sampled at training time.
Table 3.
Validation vs. test performance across seeds.
Figure 1 summarizes the cross-user distribution for the mean AUC computed over all three seeds. The mean false acceptance rate against zero-effort impostors was , , and for seeds 42, 43, and 44, while the corresponding false rejection rates were , , and (Table 3). The close alignment of these aggregate operating points indicates that seed variance contributes only marginally to the defender’s population-level security posture. Three users, U51, U50, and U49, consistently yielded AUCs below across all seeds, indicating that a non-trivial subset of individuals in M2auth lack sufficient behavioral separability regardless of which particular BiLSTM weights are fitted to their data. At the opposite end of the distribution, users U01, U04, and U08 reached mean AUCs above , producing false acceptance rates below for genuine impostor traffic. The existence of this 29-point AUC spread at the user level establishes the baseline against which adversarial stability is subsequently measured.
Figure 1.
Mean BiLSTM AUC (line, right axis) and FAR (bars, left axis) for 51 users sorted by descending AUC. Color denotes vulnerability tier across three seeds. No clear separation between tiers confirms that classifier accuracy alone is not a reliable predictor of attack resilience.
5.2. Adversarial Attack Success and Stability
Against each of the trained defenders, we deployed the GAN described in Section 4.3. The generator produced 2000 synthetic sequences per user, which were submitted to the BiLSTM at the operational threshold of . A single-seed view of the attack produces the figures traditionally reported in the adversarial biometrics literature: seed 42 yielded an aggregate ASR of ( users bypassed), seed 43 yielded (), and seed 44 yielded (). The mean ASR across the three training seeds was , but the per-seed values spread across a -percentage-point interval, which indicates that any single-seed evaluation carries substantial sampling error (Table 4). Figure 2 visualizes this variance and makes explicit the scale of the unreliability; a single evaluation underestimates or overestimates the population attack success rate by roughly points relative to the three-seed mean.
Table 4.
Per-seed aggregate attack outcomes.
Figure 2.
Attack stability across 51 users and three seeds. (a) Vulnerability tier distribution: 8% consistently vulnerable, 35% likely vulnerable, 25% likely safe, 31% consistently safe. (b) Per-seed ASR varies from 31.4% to 45.1% (mean 39.9%, ±6.8 pp), demonstrating that single-seed evaluations are unreliable.
The more informative picture emerges when attack outcomes are tracked at the user level across seeds. For each user, we counted how many of the three independent BiLSTMs were successfully bypassed, producing a vulnerability rate in . The four resulting groups stratify the population by observed attack outcome across seeds, which we denote consistent-vulnerable (), likely-vulnerable (), likely-safe (), and consistent-safe (). Figure 2 reports the population frequencies: only 4 of 51 users () are vulnerable under every seed, 18 () under two of three, 13 () under exactly one, and 16 () under none (Table 5). Notably, the four consistent-vulnerable users, U37, U45, U32, and U26, coincide exactly across the three independent training runs, and the sixteen consistent-safe users likewise form a fully reproducible set. The reproducibility of these two extreme groups stands in sharp contrast to the two middle tiers, where attack outcomes flip between seeds even though the data partition is identical.
Table 5.
Four-tier stability classification of 51 M2auth users.
This distribution is bimodal in a security-relevant sense. The 39 users who fall outside the consistent-vulnerable tier are not uniformly safe: 31 of them ( of the full population) were bypassed at least once across the three seeds, and the attack surface is therefore substantially larger than what the “always vulnerable” figure would suggest. Conversely, reporting only the raw aggregate ASR inflates the sense of pervasive weakness by conflating seed-specific accidents with genuine structural vulnerability (Table 4). The four-tier decomposition resolves this tension and reveals that the defender’s vulnerability surface is composed of a small stable core surrounded by a much larger volatile boundary. We contend that any evaluation of generative attacks against sequential biometric verifiers must report this decomposition rather than a single-seed ASR; otherwise, two studies of the same system may differ by 14 percentage points purely because of their choice of initialization.
5.3. Vulnerability Predictors
Having established that vulnerability is meaningfully stratified at the user level, we next sought to identify which user-level characteristics are associated with being attacked across all three seeds. The prevailing intuition in the biometric literature holds that weaker classifiers should be easier to bypass; under this assumption, the mean test AUC ought to correlate negatively with the per-user vulnerability rate. Figure 3 plots this relationship for all 51 users. The Spearman rank correlation between mean AUC and vulnerability rate is (), which provides no evidence of a monotonic association in either direction. High-AUC users appear across all four tiers, and the most extreme illustration is user U01, whose mean AUC of is the highest in the dataset yet who sits in the likely-vulnerable tier with a vulnerability rate. Mean false acceptance rate likewise failed to predict vulnerability (, standard , permutation ). Mean AUC was similarly non-significant (, standard , permutation ). Both remain non-significant after Bonferroni correction. Classifier quality on natural impostor traffic, as measured by AUC or FAR, is therefore not informative about resilience to the generative threat examined here.
Figure 3.
Mean BiLSTM classifier AUC versus adversarial vulnerability rate across 51 users, colored by stability tier. Spearman correlation is non-significant (− (), indicating that classifier accuracy does not predict adversarial resilience.
The pattern changes substantially when we turn to behavioral properties of the user rather than of the fitted model. For each user we computed an intra-user variance statistic summarizing the spread of their raw kinematic feature distributions across training sequences. The Spearman correlation between intra-user variance and vulnerability rate is (standard , permutation , 10,000 permutations), which is statistically significant and survives Bonferroni correction for three simultaneous comparisons (i.e., adjusted threshold ). The near-identical standard and permutation p-values confirm that the t-approximation was accurate in this case; the discreteness of the outcome variable did not inflate the parametric p-value (Table 6). Users whose touch behavior is more dispersed in feature space and who therefore induce wider decision boundaries during BiLSTM training are systematically more likely to be bypassed by the GAN.
Table 6.
Spearman rank correlations between candidate predictors and user vulnerability rates.
A focused group comparison between users attacked in all three seeds () and those unattacked across all seeds () corroborates and sharpens this finding. Table 7 presents this comparison across two panels: classifier performance metrics subject to formal hypothesis testing (Panel A) and behavioral characteristics reported as descriptive context (Panel B). In Panel A, the attacked group had a mean AUC of versus for the Consistent Safe group, a difference of only , and a Mann–Whitney U test returned with , confirming no significant difference in classifier discrimination between the two groups. Mean FAR was descriptively higher in the attacked group ( versus ). Panel B shows that the attacked group exhibited higher intra-user variance (24,640 ± 1347 versus 19,113 ± 4145, ratio ), shorter median gesture length ( versus timesteps, ratio ), and substantially higher gesture length dispersion ( versus , ratio ). Valid gesture counts were higher in the attacked group (median 24,641, IQR [24.5 k–25.4 k]) than in the unattacked group (median , IQR [16.1 k–21.7 k]), with the attacked group forming a notably tight cluster, while the unattacked group showed wider spread. These Panel B values are descriptive illustrations consistent with the population-level Spearman finding (, permutation ) and are not separately tested at this group size. Figure 4 decomposes the intra-user variance ratio across the seven raw kinematic features: size (), time_delta (), vel_x (), y (), vel_y (), pressure (), and x () all exhibit higher dispersion among attacked users, whereas the horizontal coordinate is essentially balanced between the two groups. The features that most distinguish the vulnerable tail are those governing temporal granularity, contact geometry, and lateral dynamics, precisely the dimensions along which a GAN optimizing against the trained boundary has the greatest headroom to maneuver. Taken together, these results reverse the standard diagnostic: it is not the weakest classifiers that are most exploitable, but rather users whose behavioral signatures force the classifier to accept a wider manifold in the first place.
Table 7.
Comparative analysis of classifier performance (Panel A) and behavioral characteristics (Panel B) across stability tiers.
Figure 4.
Per-feature intra-user behavioral variance ratios (consistently vulnerable, vs. consistently safe, ). All seven kinematic features exhibit ratios exceeding , with the largest differences observed in contact size (), time_delta (), and horizontal velocity ().
5.4. Mechanistic Analysis
To understand how the generator converts behavioral dispersion into reliable bypass, we performed a mechanistic analysis on the four consistent-vulnerable users, for whom the attack succeeds across all three seeds and therefore reflects a stable structural phenomenon rather than a seed-specific artifact. For each target, we inspected the 2000 sequences emitted by the converged generator. The intra-payload cosine distance () was below for every one of the four targets, with a maximum pairwise distance of . The generator does not emit a distribution of candidate attacks; it emits a single vector, reproduced to numerical precision across the entire payload.
Remarkably, the Skeleton Key is not user-specific. Across the four consistent-vulnerable targets, the synthetic sample means were numerically identical to two decimal places in every kinematic channel: time_delta = , x = 1080, y = , pressure = , size = , vel_x = , and vel_y = , each with the same standard deviation within the payload (Table 8). The generator has converged on the same singular point in input space regardless of which genuine user’s data it was trained against. This point encodes a boundary-stuffing strategy rather than a mimicry strategy, where all spatial content is pinned to the screen edge (x = 1080, y = 0), velocity components are driven toward the pixel-per-millisecond clipping limits (vel_x range , vel_y range ), and pressure and contact size are held near the hardware maxima. Because every synthetic timestep of every synthetic sequence presents the same coordinate, of the generated samples register an inter-sample speed above the 30 px/ms threshold we flagged as biomechanically implausible. The attack succeeds not by sampling the interior of the user’s behavioral manifold but by planting a flag at a single corner of the feature hypercube that the defender has implicitly whitelisted. It is important to note that this corner is not arbitrary. The and values of the Skeleton Key span exactly px/ms, the clipping boundaries introduced in Section 4.2, and the x coordinate is pinned at 1080, the screen-edge value common to all users after normalization. The preprocessing pipeline therefore partially locates this corner: velocity clipping collapses the high-velocity diversity of genuine gestures into a shared boundary region, the per-user MinMaxScaler fitted on clipped data inherits this compression, and zero-padding introduces a further set of artificial zeros that dilute behavioral distinctiveness near sequence boundaries. The GAN, optimizing against a discriminator that was trained on these preprocessed genuine sequences, discovers that boundary-saturating sequences satisfy the discriminator’s acceptance criterion, regardless of which user’s data trained it. The BiLSTM then accepts these sequences because it was trained on the same compressed distribution and has no mechanism to distinguish boundary-saturating inputs from legitimate high-velocity gestures.
Table 8.
Skeleton Key kinematics across the four consistent-vulnerable users.
The latent-space analysis explains why this corner is accepted. We extracted the 32-dimensional penultimate representations of the BiLSTM for genuine, impostor, and synthetic inputs, and computed centroid and Mahalanobis distances under the genuine-cluster covariance. Figure 5 visualizes these representations via t-SNE for the four consistent-vulnerable users [28], and the quantitative summary appears in the latent-space comparison. The synthetic-to-genuine centroid distance ratio, the distance of the synthetic cluster normalized by the average within-cluster spread of genuine samples, takes values (U37), (U45), (U32), and (U26). For one of the four targets (U26, ratio 0.72), the synthetic cluster lies closer to the genuine centroid than the typical genuine sample, and for a second (U45, ratio 1.00), the distances are equal. Simultaneously, Mahalanobis distances from the synthetic cluster to the genuine distribution range from to , which places the synthetic cluster many standard deviations outside the genuine covariance ellipse. These two facts are reconciled by the structure of the latent manifold; the BiLSTM maps the kinematically impossible Skeleton Key into a tight, low-variance region of its representation space (i.e., synthetic standard deviation around the centroid is on the order of latent units in every target, versus – for genuine samples) that happens to lie on the acceptance side of the learned decision surface, even though it is geometrically separated from any human-generated input the network has ever seen (Table 9).
Figure 5.
t-SNE visualization of BiLSTM latent representations for the four consistently vulnerable users under GAN attack, showing genuine (blue), impostor (red), and synthetic adversarial (green X) sequences. GAN samples form a tight low-variance cluster with synthetic-to-genuine centroid distance ratios of –. Note that t-SNE distorts global distances; quantitative metrics are reported in Table 9.
Table 9.
Latent-space separation metrics for the four consistent-vulnerable users.
The combined evidence, near-zero intra-payload variance, structurally identical Skeleton Keys across four independently trained instances, boundary-saturated kinematics, and latent-space acceptance regions, is consistent with the interpretation that the exploit does not leverage behavioral knowledge of any particular user, though we acknowledge that a sample of four users limits the generalizability of this claim. It leverages an irregularized region of the BiLSTM’s decision surface that is common to all defenders trained under this architecture and loss, and that is most easily reached when the target user’s own behavior provides the wider boundary that makes that region accessible.
5.5. Ablation: Isolating the Role of Velocity Clipping
The mechanistic analysis of Section 5.4 attributed the Skeleton Key to the joint action of three factors: the velocity-clipping convention, the GAN’s optimization pressure, and the BiLSTM’s unregularized acceptance region. To test the causal role of the first factor directly, we re-ran the full pipeline for the four consistent-vulnerable users (U37, U45, U32, U26) under three preprocessing configurations, the baseline clip of px/ms (from Table 4), a relaxed clip of px/ms, and no clipping at all, across all three seeds, holding every other pipeline setting fixed. The aggregate outcomes are summarized in Table 10. Two observations are immediate. First, the GAN mode collapses to a single degenerate payload in every configuration: all runs exhibit an intra-payload maximum cosine distance below , including all no-clipping runs. Mode collapse is therefore independent of the clipping convention. Second, the consequence of mode collapse for attack success is not independent of clipping. Under either clipping threshold the mean ASR over the four users is 100% and the payload is universal, bypassing all four users, in all three seeds (3/3). Without clipping, the mean ASR falls to 66.7% and universality collapses to a single seed (1/3), even though the GAN still degenerates in every run.
Table 10.
Aggregate ablation outcomes across the four consistent-vulnerable users and three seeds. “Universal seeds” counts the seeds in which all four users are bypassed by the same payload. “Mode collapse” counts runs with intra-payload maximum cosine distance < 10−4.
Table 11 explains the mechanism behind this dependence. Within each seed, the normalized velocity coordinate of the Skeleton Key is identical across configurations: the GAN converges on the same point in the feature space regardless of the clip threshold. What changes is only the raw velocity recovered by inverting the per-user scaler. At the normalized value inverts to px/ms; at the same normalized position inverts to px/ms; with no clipping it inverts to px/ms, a value no human finger can produce. The ratio of raw velocity to the clip threshold is approximately constant across the clipped configurations ( at ; mean at ), confirming that the clip boundary determines where the Key manifests in physical space while leaving its normalized target unchanged.
Table 11.
Skeleton Key horizontal velocity across configurations, raw and normalized. All four users produce identical values within each seed (user-invariance confirmed in all runs). The baseline is reported from Table 8; per-seed normalized values for the baseline are expected to match the /no-clip columns.
These results decompose the Skeleton Key into two separable components. Exploitability, the GAN’s mode collapse to a degenerate, user-invariant payload that the BiLSTM maps to acceptance, is a property of the architecture and training objective: it persists under every configuration, with mode collapse in all runs and per-user ASR remaining between 33.3% and 100% even when clipping is removed entirely (per-user breakdown in Appendix A.3). Universality, where this single payload bypasses all four consistent-vulnerable users simultaneously, depends on the preprocessing convention: it holds in 3/3 seeds with clipping and 1/3 seeds without. The clipping convention therefore does not create the exploit; rather, it aligns the per-user acceptance regions onto a shared normalized boundary, converting a seed-dependent per-user vulnerability into a reproducible cross-user one. This is direct empirical support for the claim, argued only mechanistically in the original analysis, that the Skeleton Key is a joint product of preprocessing geometry and an unregularized decision surface rather than an artifact of either alone.
6. Discussion
6.1. Interpretation of Attack Success and Stability
The central empirical finding of this work is that the vulnerability of a BiLSTM continuous-authentication defender to GAN-based presentation attacks is not a property of the defender alone but of the user–defender pair, and that this property is only partially stable across independent training runs. The four-tier decomposition reported in Section 5.2 four consistent-vulnerable users, eighteen likely-vulnerable, thirteen likely-safe, and sixteen consistent-safe, reframing what it means to report an attack success rate on a biometric system. We treat this stratification as descriptive rather than as a probabilistic classification of true individual vulnerability, since seeds produces confidence intervals that overlap substantially between adjacent groups. The conventional single-seed figure in the adversarial biometrics literature conflates two qualitatively different phenomena: a small, reproducible core of users for whom the exploit succeeds regardless of initialization, and a much larger volatile periphery for whom success depends on the particular weights sampled during BiLSTM training.
This observation directly challenges how generative-attack efficacy has been quantified in prior work. GANTouch [9] and the targeted-mimicry studies [10] that followed report ASR as a scalar aggregate over a cohort of users under a single evaluation instance. Our data demonstrate that the same training pipeline, executed three times under seeds 42, 43, and 44 with identical data partitions and identical architectural and optimization settings, yields aggregate ASR values of 45.1%, 43.1%, and 31.4% respectively, a 13.7 percentage-point spread arising purely from weight initialization, batch ordering, and dropout sampling. Two studies that each reported a single seed on the same system could therefore differ by more than 14 points and both be, in a narrow sense, correct. The methodological implication is that single-seed ASR is not a reliable estimator of the attack surface of a sequence-based authenticator, and that multi-seed or distributional reporting should become the default in this subfield, as it has in other areas of empirical machine learning that grappled with reproducibility pressure earlier [22].
A further implication of the zero-query transfer setup is that the attack surface exposed here is not a product of the attacker’s privileged access to the authenticator. An adversary who can log a sample of genuine gestures and train a GAN offline can replicate this attack without ever probing the deployed system. This places the vulnerability squarely in the architecture and training objective of the BiLSTM rather than in any assumption of elevated attacker capability.
At the same time, the bimodal character of the distribution should not be overstated in the opposite direction. Reporting only the 8% consistent-vulnerable figure understates the attack surface, because thirty-one of the fifty-one users in our cohort (61%) were bypassed under at least one seed. What the stability analysis establishes is not that the defender is uniformly robust or uniformly fragile, but that its fragility is heterogeneously distributed across users and partially non-deterministic within users. Any deployment-time risk assessment for a BiLSTM authenticator should therefore treat per-user vulnerability as a probabilistic quantity rather than a binary label, and any benchmark that collapses the distribution into a single scalar inevitably loses the dimension along which real operational risk varies.
A further implication concerns the attacker’s capability required to reproduce this result. The attack succeeds under gray-box conditions, behavioral data access, but zero model access, which places it within reach of a realistic mobile adversary. No gradient computation, no model queries, and no architectural knowledge of the target BiLSTM are required. This makes the vulnerability harder to mitigate than one that depends on elevated attacker access; eliminating gradient-based attack vectors does not neutralize it.
6.2. Behavioral Sparsity as a Vulnerability Predictor
The second counterintuitive finding of this work is that the user-level correlates of adversarial vulnerability are not the same as the user-level correlates of classifier quality. The Spearman correlation between mean test AUC and per-user vulnerability rate was (), and the corresponding correlation for FAR was (); neither reaches statistical significance, and the AUC coefficient is effectively zero. The Mann–Whitney U comparison between the consistent-vulnerable and consistent-safe groups produced with , again indicating no reliable separation on AUC. In the present data, a user whose BiLSTM achieves near-perfect discrimination against natural impostors is no less likely to be consistently bypassed by the GAN than a user whose classifier performs only modestly; user U01, whose mean AUC of 0.958 is the highest in the cohort, sits in the likely-vulnerable tier with a 2/3 vulnerability rate. This finding is in direct tension with the implicit assumption, common in the touch-dynamics literature and explicit in mimicry-style evaluations [9], that strengthening the classifier proportionally strengthens the authentication system.
The variable that does predict vulnerability is a property of the user, not of the fitted model. Intra-user behavioral variance correlated positively with per-user vulnerability rate at (permutation , surviving Bonferroni correction), a finding that is robust to the tie structure of the ordinal outcome variable; the permutation and parametric p-values are identical, confirming that the asymptotic approximation was accurate in this case. The per-feature decomposition visualized in Figure 4 shows that the variance ratio between consistent-vulnerable and consistent-safe users exceeds 1.0 on six of the seven kinematic channels, with size (), time_delta (), and vel_x () exhibiting the largest gaps. Users whose touch behavior is more dispersed induce wider decision boundaries during BiLSTM training, and the GAN exploits this additional boundary headroom reliably enough that the effect is detectable in a sample of fifty-one users.
6.3. The Adversarial Skeleton Key
The mechanistic analysis of Section 5.4 addresses the question of how the GAN converts behavioral dispersion into reliable bypass, and the evidence converges on a single answer. Across the four consistent-vulnerable users, the converged generators produced 2000-sample payloads with intra-payload cosine distance below , meaning that each generator effectively emits a single vector reproduced to numerical precision across its entire output. More striking is the invariance of this vector across users: the synthetic means in every kinematic channel were numerically identical to two decimal places across all four users (Table 8), indicating that the generator converges to the same point in input space regardless of which user’s training distribution it was fitted against. This is not a user-adapted mimicry vector; it is an architecture-specific exploit.
The structure of the Skeleton Key is diagnostic of its mechanism. Its spatial content is pinned to the screen edge (), its velocity components are driven toward the px/ms clipping limits imposed during preprocessing, its pressure and contact-size features are held near the hardware maxima, and its time-delta values place 100% of inter-sample transitions above the 30 px/ms threshold we designated as biomechanically implausible. In aggregate, the vector saturates the corners and boundaries of the normalized feature hypercube rather than sampling its interior. This saturation is not incidental; it reflects the geometry of the preprocessing pipeline. Velocity clipping at px/ms creates a region of compressed, user-indistinguishable feature vectors that the GAN can target without behavioral knowledge of any specific victim. The Skeleton Key is therefore best understood as a joint product of three interacting design choices: the clipping convention that creates a shared artifact boundary, the GAN’s optimization pressure that drives the generator toward that boundary, and the BiLSTM’s lack of physical priors that prevents it from rejecting sequences whose kinematics are biomechanically impossible. The ablation of Section 5.5 confirms this directly: removing velocity clipping does not eliminate the exploit; the GAN still mode-collapses in every run and per-user ASR remains as high as 100%, but it does dismantle the universality of the attack, reducing cross-user bypass from three seeds out of three to one. The fundamental issue is therefore the BiLSTM’s unconstrained acceptance region in unregularized input space, while the clipping convention determines whether the resulting exploit is isolated to individual users or shared across them.
The contrast with the framing adopted by Agrawal et al. [9], Khan et al. [10], and the broader GAN-based touch-spoofing literature is explicit: those frameworks treat mode collapse and kinematically impossible outputs as training pathologies to be suppressed in service of higher-fidelity human emulation. From the perspective of the attacker whose objective is simply false acceptance, these same phenomena are highly efficient. A payload that collapses to a single vector in an unregularized corner of the feature space achieves 100% ASR against the target defender while requiring no behavioral knowledge of the victim; the “Mimicry Assumption” that organizes the current defensive literature is therefore not merely an incomplete description of the threat model but an actively misleading one.
The latent-space analysis in Table 9 and Figure 5 explains why this corner is accepted. Across the four consistent-vulnerable users, the synthetic cluster’s distance to the genuine centroid normalized by the average within-genuine spread takes values of (U37), (U45), (U32), and (U26); for two of the four users, the synthetic cluster sits closer to the genuine centroid than the typical genuine sample does. Yet the Mahalanobis distances from the synthetic cluster to the genuine distribution range from 7.38 to 8.85, placing the synthetic cluster many standard deviations outside the genuine covariance ellipse. These two facts, geometrically incompatible in a flat Euclidean view, are reconciled by the directional dependence of the BiLSTM’s representation space. The network maps the Skeleton Key into a tight, low-variance region that happens to lie on the acceptance side of the learned decision surface along directions the network treats as informative, even though along other directions the cluster is unambiguously separate from any human-generated input the network has ever seen.
The exploitability/universality decomposition has a direct defensive implication. Because exploitability is architecture-driven and survives the removal of clipping—per-user ASR remains 33–100% in the no-clip condition—preprocessing-only defenses address universality without eliminating the per-user bypass. The immediately actionable countermeasure implied by the ablation is a lightweight kinematic plausibility filter: because the Skeleton Key’s raw velocity maintains a stable ratio to the clip threshold of to across all runs, any gesture in which a substantial fraction of timesteps satisfy can be identified as boundary-saturating and rejected before it reaches the classifier, with no architectural change required. Deeper countermeasures, latent-space regularization of the BiLSTM’s decision surface and adversarial training with kinematically impossible negatives, are left as future work.
6.4. Limitations
The mechanistic analysis rests on four consistent-vulnerable users, and a larger cohort would be required to characterize the full distribution of keys that a BiLSTM with this topology and loss function admits and to move beyond population-level vulnerability predictors. The defender is restricted to the stacked-BiLSTM architecture; the clipping ablation of Section 5.5 varies a preprocessing threshold, not the network topology or training objective, and does not constitute cross-architecture validation. Whether analogous boundary-stuffing exploits arise against CNN-LSTM hybrids, attention-augmented defenders, or contrastive-learning verifiers [19] is left as future work.
All experiments are conducted on the M2auth corpus. The Skeleton Key’s physical coordinates, the velocity ratio of to relative to the clip threshold, the screen-edge coordinate at , and near-maximum pressure and contact size, are jointly determined by M2auth’s sensor characteristics and the preprocessing conventions adopted here; a corpus with a different screen resolution, sampling rate, or normalization scheme would shift the Key’s location in physical space. The clipping ablation provides partial structural evidence that exploitability is architectural rather than corpus-specific: mode collapse and substantial per-user ASR persist even when clipping is removed entirely. We note that the two principal adversarial baselines, GANTouch [9] and the targeted-mimicry evaluation [10], were each also conducted on a single proprietary corpus. Cross-corpus validation is identified as the primary direction for future work.
The stability analysis rests on three random seeds, which is sufficient to demonstrate that single-seed ASR is an unreliable estimator and to support the four-tier descriptive taxonomy, but yields wide per-user uncertainty: as noted in Section 4.6, the Clopper–Pearson 95% confidence interval spans for and for , so adjacent tiers are statistically indistinguishable. Extending the protocol to ten or more seeds per user would sharpen individual tier assignments; aggregate findings over 153 data points are more stable than individual classifications.
The threat model assumes software-layer tensor injection rather than physical spoofing of a capacitive touchscreen, consistent with the OS-level attack vectors documented in the mobile-security literature. This assumption is what licenses the kinematically impossible velocities that the Skeleton Key exploits; a generator constrained to produce output through a physical emulation layer would not be able to inject the Key in its current form.
7. Conclusions and Future Work
This paper reframes how the security of BiLSTM-based continuous authentication against GAN adversaries should be evaluated. Across 51 M2auth users trained under three independent seeds, aggregate ASR spans 13.7 percentage points (31.4%, 43.1%, 45.1%), establishing that single-seed reporting is an unreliable estimator of the actual attack surface. The four-group descriptive stratification we propose preserves the heterogeneity that a single aggregate discards, while acknowledging that three seeds is insufficient for strong probabilistic claims about individual user vulnerability.
Two findings run counter to the mimicry-centric paradigm of prior work. Classifier quality on zero-effort impostors does not predict adversarial vulnerability (Spearman ), whereas intra-user behavioral variance does (). The mechanism itself is not behavioral emulation but convergence to a single, user-invariant, kinematically impossible tensor, the Adversarial Skeleton Key, that the BiLSTM maps to an unregularized corner of its decision surface. The practical implication is that high AUC against human impostors is necessary but insufficient for security: input-space plausibility must be treated as a defensive layer, not a preprocessing concern.
Several directions remain open, including characterizing the distribution of Skeleton Keys across larger cohorts and alternative architectures, such as CNN-LSTM, Transformer, and contrastive learning, as well as adversarial training against kinematically impossible inputs as a regularizer for the latent space, and end-to-end validation of the software-layer injection vector against deployed Android authentication pipelines.
Author Contributions
Conceptualization, A.M. and M.A.S.A.H.; methodology, A.M.; software, A.M.; validation, A.M., M.A.S.A.H. and A.A.K.I.; formal analysis, A.M.; investigation, A.M.; resources, A.M.; data curation, A.M.; writing—original draft preparation, A.M.; writing—review and editing, A.M., M.A.S.A.H., A.A.K.I. and Y.A.H.; visualization, A.M.; supervision, M.A.S.A.H., A.A.K.I. and Y.A.H.; project administration, M.A.S.A.H.; funding acquisition, M.A.S.A.H. All authors have read and agreed to the published version of the manuscript.
Funding
The authors gratefully acknowledge the financial support provided by Arab Open University, Oman, through the Internal Research Funding Program (Project ID: AOU_OM/2024/FCS2).
Data Availability Statement
The M2auth dataset used in this study is publicly available and can be accessed at [5]. The source code, preprocessing pipeline, analysis scripts, and experimental results generated during this study are available from the corresponding author upon reasonable request.
Acknowledgments
The authors would like to thank the Arab Open University, Oman for their institutional support. The authors also thank the creators of the M2auth dataset for making it publicly available to the research community.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
Appendix A.1. Per-User Test Metrics (Seed 42, All 51 Users)
Table A1.
Per-user test metrics (seed 42, all 51 users), sorted by AUC.
Appendix A.2. Gesture Length Distribution
Table A2.
Gesture length distribution: consistent-vulnerable vs. consistent-safe users.
Appendix A.3. Per-User Clipping-Ablation Breakdown
Table A3.
Attack success rate per user, seed, and configuration for the four consistent-vulnerable users. The rows are the baseline from Table 10. “Mean” is the per-user average over the three seeds.
References
- Hu, M.; Wang, D.; Li, C.; Xu, Y.; Tu, B. Behavioral Biometrics-based Continuous Authentication Using A Lightweight Latent Representation Masked One-Class Autoencoder. IEEE Trans. Dependable Secur. Comput. 2024, 22, 1908–1923. [Google Scholar] [CrossRef] [Scilit]
- Kokal, S.; Vanamala, M.; Dave, R. Deep Learning and Machine Learning, Better Together Than Apart: A Review on Biometrics Mobile Authentication. J. Cybersecur. Priv. 2023, 3, 227–258. [Google Scholar] [CrossRef] [Scilit]
- Faundez-Zanuy, M.; Mekyska, J.; Impedovo, D. Online handwriting, signature and touch dynamics: Tasks and potential applications in the field of security and health. Cogn. Comput. 2021, 13, 1406–1421. [Google Scholar] [CrossRef] [Scilit]
- Kumar Natarajan, S.; Abdullah, A.; Kaur, S.; Natarajan, P. Advancing Multi-Modal Behavioral Biometric Authentication: A Deep Learning Approach With Synthetic Data Generation. IEEE Access 2025, 13, 182286–182314. [Google Scholar] [CrossRef] [Scilit]
- Mahfouz, A.; Mostafa, H.; Mahmoud, T.M.; Sharaf Eldin, A. M2auth: A multimodal behavioral biometric authentication using feature-level fusion. Neural Comput. Appl. 2024, 36, 21781–21799. [Google Scholar] [CrossRef] [Scilit]
- Hall, T.; Rasheed, K. A Survey of Machine Learning Methods for Time Series Prediction. Appl. Sci. 2025, 15, 5957. [Google Scholar] [CrossRef] [Scilit]
- Mahfouz, A.; Salim Al Husaini, M.A.; Ismaeel, A.A.K. Attention-based Bi-LSTM for Continuous Authentication Using Touch Dynamics. In Proceedings of the 2025 9th Cyber Security in Networking Conference (CSNet); IEEE: New York, NY, USA, 2025; pp. 145–150. [Google Scholar] [CrossRef] [Scilit]
- Alzahrani, S.; Alderaan, J.; Alatawi, D.; Alotaibi, B. Continuous mobile user authentication using a hybrid cnn-bi-lstm approach. Comput. Mater. Contin. 2023, 75, 651. [Google Scholar] [CrossRef] [Scilit]
- Agrawal, M.; Mehrotra, P.; Kumar, R.; Shah, R.R. GANTouch: An Attack-Resilient Framework for Touch-Based Continuous Authentication System. IEEE Trans. Biom. Behav. Identity Sci. 2022, 4, 533–543. [Google Scholar] [CrossRef] [Scilit]
- Khan, H.; Hengartner, U.; Vogel, D. Targeted Mimicry Attacks on Touch Input Based Implicit Authentication Schemes. In Proceedings of the 14th Annual International Conference on Mobile Systems, Applications, and Services; MobiSys’16; Association for Computing Machinery: New York, NY, USA, 2016; pp. 387–398. [Google Scholar] [CrossRef] [Scilit]
- Rahman, M.M.; Malaia, E.A.; Gurbuz, A.C.; Griffin, D.J.; Crawford, C.; Gurbuz, S.Z. Effect of Kinematics and Fluency in Adversarial Synthetic Data Generation for ASL Recognition With RF Sensors. IEEE Trans. Aerosp. Electron. Syst. 2022, 58, 2732–2745. [Google Scholar] [CrossRef] [Scilit]
- Abomakhelb, A.; Jalil, K.A.; Buja, A.G.; Alhammadi, A.; Alenezi, A.M. A Comprehensive Review of Adversarial Attacks and Defense Strategies in Deep Neural Networks. Technologies 2025, 13, 202. [Google Scholar] [CrossRef] [Scilit]
- Yeshwanth, V. Robustness and adversarial attacks on generative models. Int. J. Res. Publ. Semin. 2024, 12, 462–471. [Google Scholar] [CrossRef] [Scilit]
- Alghamdi, S.M.; Kammoun Jarraya, S.; Kateb, F. Enhancing Security in Multimodal Biometric Fusion: Analyzing Adversarial Attacks. IEEE Access 2024, 12, 106133–106145. [Google Scholar] [CrossRef] [Scilit]
- Mohamed, M.; Shrestha, B.; Saxena, N. SMASheD: Sniffing and Manipulating Android Sensor Data for Offensive Purposes. IEEE Trans. Inf. Forensics Secur. 2017, 12, 901–913. [Google Scholar] [CrossRef] [Scilit]
- Stylios, I.; Skalkos, A.; Kokolakis, S.; Karyda, M. BioPrivacy: A behavioral biometrics continuous authentication system based on keystroke dynamics and touch gestures. Inf. Comput. Secur. 2022, 30, 687–704. [Google Scholar] [CrossRef] [Scilit]
- Shuwandy, M.L.; Alasad, Q.; Hammood, M.M.; Yass, A.A.; Abdulateef, S.K.; Alsharida, R.A.; Qaddoori, S.L.; Thalij, S.H.; Frman, M.; Kutaibani, A.H.; et al. A Robust Behavioral Biometrics Framework for Smartphone Authentication via Hybrid Machine Learning and TOPSIS. J. Cybersecur. Priv. 2025, 5, 20. [Google Scholar] [CrossRef] [Scilit]
- Alawami, M.A.; Abuhmed, T.; Abuhamad, M.; Kim, H. MotionID: Towards practical behavioral biometrics-based implicit user authentication on smartphones. Pervasive Mob. Comput. 2024, 101, 101922. [Google Scholar] [CrossRef] [Scilit]
- Qiao, M.; Zhai, Y.; Wang, Y. Contrastive Learning for Continuous Touch-Based Authentication. arXiv 2025, arXiv:2504.17271. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Sun, T.; Li, S.; Yuan, X.; Ni, W.; Hossain, E.; Poor, H.V. Adversarial Attacks and Defenses in Machine Learning-Powered Networks: A Contemporary Survey. arXiv 2023. [Google Scholar] [CrossRef] [Scilit]
- Wang, K.; Mitev, R.; Yan, C.; Ji, X.; Sadeghi, A.R.; Xu, W. GhostTouch: Targeted Attacks on Touchscreens without Physical Touch. In Proceedings of the 31st USENIX Security Symposium (USENIX Security 22), Boston, MA, USA, 10–12 August 2022; pp. 1543–1559. [Google Scholar]
- Kapoor, S.; Narayanan, A. Leakage and the reproducibility crisis in machine-learning-based science. Patterns 2023, 4, 100804. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar] [CrossRef] [Scilit]
- Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial networks. Commun. ACM 2020, 63, 139–144. [Google Scholar] [CrossRef] [Scilit]
- Maas, A.L.; Hannun, A.Y.; Ng, A.Y. Rectifier nonlinearities improve neural network acoustic models. In Proceedings of the 30th International Conference on Machine Learning; W&CP: Singapore, 2013; Volume 28, p. 3. [Google Scholar]
- Uslu, U.; İncel, O.D.; Alptekin, G.I. Evaluation of Deep Learning Models for Continuous Authentication Using Behavioral Biometrics. Procedia Comput. Sci. 2023, 225, 1272–1281. [Google Scholar] [CrossRef] [Scilit]
- Benavoli, A.; Corani, G.; Demšar, J.; Zaffalon, M. Time for a Change: A Tutorial for Comparing Multiple Classifiers Through Bayesian Analysis. J. Mach. Learn. Res. 2017, 18, 1–36. [Google Scholar]
- van der Maaten, L.; Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 2008, 9, 2579–2605. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.




