heroui logo

OpenSSH Server Listening On Socket

Sigma Rules

View Source
Summary
This detection rule identifies events where the OpenSSH server is enabled and begins listening on a socket, which may indicate unauthorized access attempts or lateral movement by an attacker. Specifically, it monitors for Event ID 4 generated by the 'sshd' process, which logs when the server successfully listens on the SSH port. The presence of this event coupled with the specific log message starting with 'Server listening on ' can indicate that an unauthorized user has started the service to potentially gain access to the system remotely. The rule is relevant for environments where OpenSSH is used, particularly in Windows systems, and is essential for detecting potential malicious actions that could lead to a security breach.
Categories
  • Endpoint
  • Windows
Data Sources
  • Process
  • Logon Session
  • Network Traffic
ATT&CK Techniques
  • T1021.004
Created: 2022-10-25