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:
|
|
|
|
max-request: 2
|
|
|
|
vendor: cowrie
|
|
|
|
product: ssh
|
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:
|
|
|
|
- host:
|
|
|
|
- '{{Hostname}}'
|
2023-11-07 19:02:53 +00:00
|
|
|
port: 22
|
2023-11-07 12:34:04 +00:00
|
|
|
|
|
|
|
inputs:
|
|
|
|
- data: "SSH-1337-OpenSSH_9.0\r\n"
|
|
|
|
|
|
|
|
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
|