
Summary
An anomaly analytic that detects potential Linux SSH authentication bypass by identifying a failed password attempt followed by a successful password authentication for the same non-user Linux account, from the same source IP to the same endpoint, within five seconds. The rule uses a cross-distribution list of common system accounts (e.g., daemon, bin, sys, sync, shutdown, halt, backup, www-data, nobody, etc.) and requires Linux syslog data (via Splunk Add-on for Unix and Linux) to parse sshd messages for event_time, dest, user, src_ip, and auth_result. It normalizes the user to lowercase and filters to the non-user account set, assigns a priority to failed vs accepted attempts, and looks for a sequence where a Failed password is followed by an Accepted password within a 5-second window for the same dest, user, and src_ip. When such a sequence is observed, the analytic marks an intermediate finding with the destination, user and source IP and computes elapsed time between failure and success. The detection is categorized as an anomaly, aligned with MITRE ATT&CK techniques T1078.003 (Valid Accounts: Linux/UNIX) and T1021.004 (SSH). It includes contextual guidance to verify the account's shadow state, because some images or configurations may legitimately allow passwordless access or temporarily unlocked accounts. This rule targets endpoint Linux hosts and is intended to be used with Splunk Enterprise / ES / Cloud. It references related SSH bypass sources and common attack patterns (e.g., SSHole) and is associated with CVE-2026-123158 for contextual alignment. Potential false positives include mistyped passwords or legitimate rapid login attempts; validate the shadow status and expected SSH access before escalating.
Categories
- Endpoint
- Linux
Data Sources
- Logon Session
- Logon Session
ATT&CK Techniques
- T1078
- T1021
- T1078.003
- T1021.004
Created: 2026-11-16