Suspicious sshpass Noninteractive SSH Password Authentication (via process_creation)

PremiumReviewedSigma · Medium · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-05-21
Updated
2026-08-28

ATT&CK techniques

Cred Access → Lateral Movement
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects use of sshpass to supply an SSH password on the command line, the method ShinyHunters used for credential spraying across PeopleSoft nodes listed in /etc/hosts during the education sector campaign. Adversaries rely on sshpass to automate password-based lateral movement, and passing credentials inline is rarely legitimate in enterprise environments, so this behavior deserves scrutiny.

Related detections9 linkedT1021.004 — drag to rearrange
Suspicious Remote Apple Events Enablement via systemsetup
Windows HackTool Execution: GoldenDMSA.exe Launch with Directory Manipulation Parameters
Windows Security: Kerberos 4771 Pre-Authentication Failures for Machine Account Password Guessing
Suspicious Reverse SSH Tunnel Exposing Local SSH via process_creation
Suspicious OpenSSH Reverse Tunnel Creation via Process Creation
Suspicious vCenter VAMI SSH Enable via appliance access API
Malicious vmanage-admin Public Key Authentication in SSH Auth Log
Malicious Bad Apples Remote Apple Events Lateral Movement via osascript
Suspicious OpenSSH Reverse Tunnel Over HTTPS Port (Chaos Ransomware)
Suspicious sshpass Noninteractive SSH Password Authentication (via process_creation)
Pivot detection · T1021.004 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.