Suspicious OpenSSH Server Listening On Socket (via openssh)
This rule detects scenarios where an adversary enables the OpenSSH server and server starts to listening on SSH socket.
SigmamediumWindowsv1
sigma
suspicious-openssh-server-listening-on-socket-via-openssh
title: Suspicious OpenSSH Server Listening On Socket (via openssh)
id: a799ebc9-aeb3-5c88-8979-7ebe8f4eea2a
status: stable
description: This rule detects scenarios where an adversary enables the OpenSSH server and server starts to listening on SSH socket.
references:
- https://attack.mitre.org/techniques/T1021/004/
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0008-Lateral%20Movement/T1021.004-Remote%20Service%20SSH
- https://winaero.com/enable-openssh-server-windows-10/
- https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
- https://virtualizationreview.com/articles/2020/05/21/ssh-server-on-windows-10.aspx
- https://medium.com/threatpunter/detecting-adversary-tradecraft-with-image-load-event-logging-and-eql-8de93338c16
author: Huntrule Team
date: 2026-01-10
tags:
- attack.lateral-movement
- attack.t1021.004
logsource:
product: windows
service: openssh
detection:
selection:
EventID: 4
process: sshd
payload|startswith: 'Server listening on '
condition: selection
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.