Sigma rule: OpenSSH Server Listening On Socket
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-36e6a42e8ab2, updated 2022-10-25T00:00:00.000Z.
Rule
- Title
- OpenSSH Server Listening On Socket
- Status
- test
- Level
- medium
- Author
- mdecrevoisier
- Date
- 2022-10-25
- File
- rules/windows/builtin/openssh/win_sshd_openssh_server_listening_on_socket.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects scenarios where an attacker enables the OpenSSH server and server starts to listening on SSH socket.
Log source
- product
- windows
- service
- openssh
Detection
selection:
EventID: 4
process: sshd
payload|startswith: 'Server listening on '
condition: selectionFalse positives (as the rule lists them)
- Legitimate administrator activity
Tags
- attack.lateral-movement
- attack.t1021.004
MITRE ATT&CK ids this rule names
References
- 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
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/openssh/win_sshd_openssh_server_listening_on_socket.yml
Sources and licences
SigmaHQ
"OpenSSH Server Listening On Socket" by mdecrevoisier (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/openssh/win_sshd_openssh_server_listening_on_socket.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: OpenSSH Server Listening On Socket",
entity page, dataset version ref-36e6a42e8ab2, updated 2022-10-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3ce8e9a4-bc61-4c9b-8e69-d7e2492a8781 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3ce8e9a4-bc61-4c9b-8e69-d7e2492a8781, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.