Metraipolis › archive › dc_95efb9aef0c6
SSHafe: A Real-Time SSH Brute Force Attack Detection and Novel Credential Rotation Standard — arXiv:2608.09066
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.09066
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T08:58:19.261Z
- SHA-256 of the archived text
89b9f0742240d1985ba643b8d58d827d1644825fa2b53a641f28703e2bed4a51- Stable URL of this page
https://metraipolis.com/documento/dc_95efb9aef0c6
How to cite
SSHafe: A Real-Time SSH Brute Force Attack Detection and Novel Credential Rotation Standard — arXiv:2608.09066 — arXiv (en), https://arxiv.org/abs/2608.09066 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_95efb9aef0c6 (Metraipolis archive dc_95efb9aef0c6, sha256 89b9f0742240d1985ba643b8d58d827d1644825fa2b53a641f28703e2bed4a51)
BibTeX
@misc{dc95efb9aef0c6,
title = {SSHafe: A Real-Time SSH Brute Force Attack Detection and Novel Credential Rotation Standard — arXiv:2608.09066},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.09066},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_95efb9aef0c6; sha256 89b9f0742240d1985ba643b8d58d827d1644825fa2b53a641f28703e2bed4a51},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.09066. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-11 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2608.09066 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T08:54:24.958Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).