Every time an employee logs into a corporate system, a quiet battle unfolds between convenience and security. Passwords, the oldest and still most widespread credential in digital life, have proven remarkably easy to steal, phish, reuse, and crack. Multi-factor authentication was supposed to close that gap, yet traditional second factors—SMS codes, hardware tokens, push notifications—add friction that users resent and attackers have learned to intercept or fatigue. A research team led by Ahmed Mahfouz of the Arab Open University in Oman and Minia University in Egypt, together with Kamal ALMouh, Khouloud Samrouth, Nader Bakir, and Gerard Chalhoub, now proposes a different path. Their system, called Behavioral Two-Factor Authentication, or BTFA, weaves an invisible second layer of verification directly into the login process itself, using the way a person naturally touches and moves their smartphone to confirm that the person holding the device is genuinely its owner.
The core insight behind BTFA is that human interaction with a mobile device carries a behavioral signature as distinctive as a fingerprint, but one that requires no special hardware, no scanning, and no additional action from the user. When someone types a password on a touchscreen, the rhythm of their taps, the pressure they apply, the size of their touch contacts, and the micro-movements of the device in their hand all combine into a pattern that is difficult for an impostor to replicate even when the password itself has been compromised. BTFA captures these signals during the ordinary act of logging in and feeds them to a machine learning model that decides, in real time, whether the observed behavior matches the enrolled owner. If it does, the login proceeds seamlessly; if it does not, the system can demand additional verification or block access entirely.
Technically, the researchers turned to a Long Short-Term Memory network, a class of recurrent neural architecture well suited to sequential data. Touch gestures and sensor readings arrive as time series, and LSTM networks excel at learning the temporal dependencies within such sequences—the way one tap flows into the next, how accelerometer and gyroscope values oscillate as a hand steadies a phone. The team trained separate models on touch interaction data and on motion sensor data collected during login, allowing them to compare which modality carried the stronger authentication signal. This design choice matters because behavioral biometrics are inherently noisy: a user may be seated on a train one day and standing in a corridor the next, and the system must tolerate that natural variability while still rejecting an attacker with surgical precision.
To evaluate the approach under realistic conditions rather than in a sterile laboratory setting, the team conducted a field study using a custom-developed mobile application with registration and login interfaces. Participants used the app in their daily lives, generating a substantial corpus of 38,542 behavioral samples that were used for model training and validation. Field data of this kind is considerably harder to model than curated laboratory recordings, precisely because it contains the posture changes, device swaps, and environmental distractions of real-world use. The scale of the dataset also matters for deep learning: LSTM networks require enough examples to generalize across sessions and days rather than memorizing individual recordings, and the collected volume gave the models that opportunity.
The results revealed a striking asymmetry between the two behavioral modalities. The model trained on sensor data—accelerometer and gyroscope readings captured while the user interacted with the login screen—achieved an area under the ROC curve of 97.28 percent, with an equal error rate of just 6.84 percent. The touch gesture model, by contrast, reached 78.67 percent AUC with an equal error rate of 28.48 percent. The researchers attribute the gap primarily to the stability of motion patterns: the way a person’s hand trembles, tilts, and counterbalances during typing is remarkably consistent across sessions, whereas touch characteristics such as tap duration and swipe geometry fluctuate more with context, device position, and even mood. In practical terms, the sensor channel alone provides a second authentication factor strong enough to meaningfully complement a password.
Equal error rate deserves a moment of explanation, because it is the figure of merit by which biometric systems are judged. It is the point at which the system’s false rejection rate—legitimate users wrongly locked out—equals its false acceptance rate—impostors wrongly waved through. A lower EER means the threshold can be tuned so that both errors are rare simultaneously. An EER of 6.84 percent for the sensor-driven model means that security administrators can calibrate BTFA to reject the vast majority of attackers while inconveniencing only a small fraction of legitimate users, a trade-off that compares favorably with many published behavioral biometric systems evaluated under similar conditions.
What makes BTFA particularly relevant for Identity and Access Management systems is its resistance to phishing and its zero-burden design. Phishing remains one of the most successful attack vectors in enterprise environments: a user is tricked into entering credentials on a fraudulent site, handing the attacker everything needed to impersonate them. But stolen credentials alone are useless against BTFA, because the attacker logging in from their own device or an automated script will not reproduce the victim’s hand movements and sensor signatures. Unlike SMS one-time passwords, which can be intercepted through SIM swapping, or push-based approval, which users can be manipulated into accepting through fatigue attacks, behavioral verification cannot be forwarded, replayed, or socially engineered out of the user. The second factor exists only in the physical act of the legitimate owner logging in.
The user-experience implications are equally significant. Surveys of multi-factor adoption consistently find that friction is the primary reason users disable or circumvent second factors, and organizations under regulatory pressure to enforce MFA often face pushback when the added security slows daily workflows. BTFA inverts this equation: the second factor is collected passively as a byproduct of the login the user was going to perform anyway. There is no code to read, no token to carry, no notification to approve. The researchers emphasize that this reduction in user dependency on the MFA solution is especially valuable in IAM applications where critical and confidential information is accessed and shared, since those environments demand both stringent security and sustained user cooperation.
The work builds on a growing body of research into behavioral biometrics and continuous authentication on mobile devices, and the authors position BTFA as a pragmatic deployment model for that science—one that targets the specific, high-value moment of login rather than demanding background monitoring throughout a session. The study’s limitations are those of the field generally: behavioral patterns can drift over time as users’ habits change, models must be retrained or adapted to accommodate new devices, and privacy considerations around collecting motion data require careful governance. Yet the field study’s results suggest that the technical barriers are surmountable with data already being generated by every tap. As organizations worldwide retire passwords in favor of phishing-resistant authentication, BTFA offers a vision of security that asks nothing extra of the user—because the strongest proof of identity, it turns out, may simply be the way you hold your phone.
Subject of Research: Behavioral biometric two-factor authentication for Identity and Access Management systems
Article Title: BTFA: Behavioral Two Factor Authentication For IAM Systems
Article References: Mahfouz, A., ALMouh, K., Samrouth, K., Bakir, N., & Chalhoub, G. (2026). BTFA: Behavioral Two Factor Authentication For IAM Systems. Mobile Networks and Applications. https://doi.org/10.1007/s11036-026-02515-7
Image Credits: AI Generated
DOI: 10.1007/s11036-026-02515-7
Keywords: behavioral biometrics, two-factor authentication, IAM systems, LSTM, touch gestures, sensor data, smartphone security, phishing resistance, user authentication, machine learning, mobile security, identity and access management
Cite Scienmag News
Denise Maddox. (September 12, 2026). Your Touch and Motion Patterns Could Replace Passwords in Two-Factor Login. Scienmag. https://scienmag.com/your-touch-and-motion-patterns-could-replace-passwords-in-two-factor-login/
Denise Maddox. "Your Touch and Motion Patterns Could Replace Passwords in Two-Factor Login." Scienmag, 12 September 2026, https://scienmag.com/your-touch-and-motion-patterns-could-replace-passwords-in-two-factor-login/. Accessed 12 September 2026.
Denise Maddox. "Your Touch and Motion Patterns Could Replace Passwords in Two-Factor Login." Scienmag. September 12, 2026. https://scienmag.com/your-touch-and-motion-patterns-could-replace-passwords-in-two-factor-login/

