Skip to content
Preprint

SSHafe: A Real-Time SSH Brute Force Attack Detection and Novel Credential Rotation Standard

Aug 2026 · 0 citations · 34 references
Computer Science

TL;DR

The proposed novel password reset standard performs authentication and password update in a single cryptographically bound flow, eliminating the need for sessions, cookies, OTPs, or email-based verification, and mitigating phishing, session hijacking, CSRF, and replay attacks.

Abstract

SSH remains a critical yet heavily targeted protocol for remote system administration, with password-based authentication exposing servers to large-scale brute-force, dictionary, and credential-spray attacks. Existing rule-based defences such as Fail2Ban fail to detect slow, distributed, or threshold-aware adversaries, while conventional account-recovery mechanisms: email links, OTPs, and out-of-band verification introduce additional vulnerabilities including phishing, session hijacking, and weak authentication binding. This work presents SSHafe, a real-time SSH brute-force detection and mitigation system that combines time-series feature engineering with a lightweight LightGBM classifier to identify attack patterns directly from system authentication logs. A multi-scale sliding-window approach extracts behavioural features such as attempt rates, inter-arrival times, failure ratios, and username diversity, enabling the model to achieve a detection accuracy of 99.96% on benchmark data and strong performance on unlabeled real-world traffic. Upon detecting an attack, SSHafe automatically blocks the targeted user account and delivers an SSH banner guiding legitimate users to a novel passkey-based password-rotation workflow. The proposed novel password reset standard performs authentication and password update in a single cryptographically bound flow, eliminating the need for sessions, cookies, OTPs, or email-based verification, and mitigating phishing, session hijacking, CSRF, and replay attacks. Experiments on an Azure VM and live adversarial traffic demonstrate that SSHafe can identify and suppress brute-force activity within ten seconds, preventing account compromise even with weak credentials.

View source

Similar papers

Open access Aug 2026

Browser-based phishing detection system using modern web technologies

A hybrid browser-resident phishing detection framework that combines three complementary detection mechanisms: a locally executed Random Forest model using URL lexical features, lightweight real-time DOM structure analysis, and VirusTotal’s multi-engine reputation service is proposed.

Muhammad Arshad, Beena Sherin Kuriakose, C. W. Onn et al. · 0 citations
Conference Open access 2026

Threat-Reactive Encryption: Real-Time ML-Driven Key Rotation for Adaptive Cryptographic Defense

Threat-Reactive Encryption (TRE), a four-layer framework that couples a real-time ML threat scorer to a PKCS#11-compatible key management pipeline, closing the gap between threat detection and cryptographic response, is presented.

Mohammed El-hajj · 0 citations
Open access Aug 2026

A side-channel attack for recovering keys in HMAC-SM3 algorithm

This work proposes a self-calibrating side-channel attack (SC-SCA) that enables high-accuracy HMAC-SM3 key recovery using only a single power trace during the attack phase, and provides both a practical security benchmark for CPSS edge devices and theoretical foundations for designing side-channel-resistant cryptograph...

Zhen Wu, Zhi-Guang Qin, Kai Wang · 0 citations
Open access Jul 2026

A Behaviour-Based Authentication and Encrypted Chunking Framework for Resilient Cloud Security

Cloud services lingers to transfigure information management and computation, it also presents momentous sanctuary apprehensions—predominantly in terms of identifying user credentials and secure information handling in decentralized networks. Outdated text-based access control mechanisms and even enhanced identity veri...

B. Sowmya, Meeravali Shaik · 0 citations
Open access Jul 2026

Transition to Password-Free and Phishing-Resistant Authentication in Enterprise Information Systems: A FIDO2/Passkey-Based Standards-Based Qualitative Assessment and Phased Implementation Framework

This passkey approach is distinctively architecturally more secure against phishing owing to its root binding, public-key cryptography and authenticator domain and proposes Enterprises five-phase migration.

Oğuzhan Kilim · 0 citations
Jul 2026

A Novel Typeless Multifactor Authentication Scheme to Prevent Advanced Persistent Threats

This paper proposes a novel explainable Artificial Intelligence (AI)-based dynamic U2D scheme, named Web3U2D, that combines a broad-learning hint generation algorithm based on a bidirectional long short-term memory approach with an attention mechanism and confirms that the Web3U2D approach offers superior performance c...

Milad Taleby Ahvanooey, Jun Zhao, Wojciech Mazurczyk · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.