title: OpenSSH Password Login Accepted For Root Or Alpine Account
id: 1db35c9d-265e-4c1e-a358-812469c1f2be
status: experimental
description: |
    Detects a successful SSH password login for the root or alpine accounts.
    On Alpine Linux both accounts ship with "*" in /etc/shadow and are meant for key-based access only,
    so a password login for them is unexpected and matches the CVE-2026-123158 (sshole) authentication bypass
    on musl-based systems running OpenSSH without PAM.
references:
    - https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
    - https://www.openssh.org/releasenotes.html
author: Chabnco (PurpleLog)
date: 2026-11-08
tags:
    - attack.initial-access
    - attack.persistence
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1078.003
    - attack.lateral-movement
    - attack.t1021.004
    - cve.2026-123158
logsource:
    product: linux
    service: sshd
detection:
    keywords:
        - 'Accepted password for root from'
        - 'Accepted password for alpine from'
    condition: keywords
falsepositives:
    - Hosts where root or alpine were deliberately given a password and password authentication is allowed
level: high
