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
|
2024-04-08 11:34:33 +00:00
|
|
|
vendor: cowrie
|
2024-06-07 10:04:29 +00:00
|
|
|
product: ssh
|
|
|
|
tags: cowrie,twisted,ssh,honeypot,ir,cti,network,tcp
|
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
|
2024-06-08 16:02:17 +00:00
|
|
|
# digest: 4a0a0047304502210084b47d1cc7036632b3a728e5bfe9feca2eee7e56fd02f1ad5445481dc483375e0220335e49d78f543ee7228cf2bda1da7a04cc5a73c10b5343a704c1646c95b59364:922c64590222798bb761d5b6d8e72950
|