2023-11-07 12:34:04 +00:00
|
|
|
id: cowrie-ssh-honeypot-detect
|
|
|
|
|
|
|
|
info:
|
2023-11-08 06:13:53 +00:00
|
|
|
name: Cowrie SSH Honeypot - Detect
|
2023-11-07 12:34:04 +00:00
|
|
|
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:
|
2023-11-10 09:15:01 +00:00
|
|
|
max-request: 1
|
2023-11-07 12:34:04 +00:00
|
|
|
product: ssh
|
2023-11-10 09:15:01 +00:00
|
|
|
vendor: cowrie
|
2023-11-08 06:13:53 +00:00
|
|
|
tags: cowrie,twisted,ssh,honeypot,ir,cti,network
|
2023-11-07 12:34:04 +00:00
|
|
|
|
|
|
|
tcp:
|
2023-11-08 15:12:25 +00:00
|
|
|
- inputs:
|
|
|
|
- data: "SSH-1337-OpenSSH_9.0\r\n"
|
|
|
|
|
|
|
|
host:
|
2023-11-07 12:34:04 +00:00
|
|
|
- '{{Hostname}}'
|
2023-11-07 19:02:53 +00:00
|
|
|
port: 22
|
2023-11-07 12:34:04 +00:00
|
|
|
|
|
|
|
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
|
2023-11-10 06:42:26 +00:00
|
|
|
condition: or
|
2023-11-10 10:52:05 +00:00
|
|
|
# digest: 4b0a00483046022100a91298c47f57c0e8066bab70d78e218b951576d18c5261983f05a5b70624df5c022100ee4373b8996ed8f513b2fd32f2c16a90cdd16c68ab6d78bd1da33dae5f19f1e8:922c64590222798bb761d5b6d8e72950
|