nuclei-templates/network/honeypot/cowrie-ssh-honeypot-detect....

35 lines
989 B
YAML
Raw Normal View History

id: cowrie-ssh-honeypot-detect
info:
2023-11-08 06:13:53 +00:00
name: Cowrie SSH Honeypot - Detect
author: UnaPibaGeek
severity: info
description: |
A Cowrie (or Twisted) SSH honeypot has been identified.
The response to a wrong SSH version differs from real installations, signaling a possible deceptive setup.
metadata:
max-request: 1
vendor: cowrie
product: ssh
tags: cowrie,twisted,ssh,honeypot,ir,cti,network,tcp
tcp:
2023-11-08 15:12:25 +00:00
- inputs:
- data: "SSH-1337-OpenSSH_9.0\r\n"
host:
- '{{Hostname}}'
2023-11-07 19:02:53 +00:00
port: 22
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- 'SSH\-([0-9.-A-Za-z_ ]+)'
- type: word
words:
- Protocol major versions differ.
- bad version 1337
condition: or
# digest: 4b0a00483046022100a91298c47f57c0e8066bab70d78e218b951576d18c5261983f05a5b70624df5c022100ee4373b8996ed8f513b2fd32f2c16a90cdd16c68ab6d78bd1da33dae5f19f1e8:922c64590222798bb761d5b6d8e72950