Analytics Story: SSHHole

Description

This analytic story covers SSH password-bypass activity and related post-authentication behavior associated with SSHhole CVE. Its detections identify suspicious SSH authentication against common non-user accounts, subsequent doas execution as root, and Linux shell execution recorded by auditd.

Why it matters

SSHHole demonstrates an SSH password-bypass path that can allow access through accounts that commonly do not accept interactive logins. The detections in this story look for a failed SSH password attempt followed by a successful login for a common non-user account, an accepted SSH login followed by a doas command run as root, and auditd shell execution under a common non-user account.

Detections

Name ▲▼ Technique ▲▼ Type ▲▼
Linux Non-User Privilege Escalation via Doas SSH, Local Accounts, Sudo and Sudo Caching Anomaly
Linux Possible SSH Bypass for Non-User Account SSH, Local Accounts Anomaly
Linux Auditd Shell Execution by Non-User Account Unix Shell, Local Accounts Anomaly

Data Sources

Name ▲▼ Platform ▲▼ Sourcetype ▲▼ Source ▲▼
Linux Messages Syslog Linux icon Linux linux_messages_syslog /var/log/kern
Linux Auditd Syscall Linux icon Linux auditd auditd

References


Source: GitHub | Version: 1