36 lines
986 B
YAML
36 lines
986 B
YAML
id: cowrie-ssh-honeypot-detect
|
|
|
|
info:
|
|
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
|
|
product: ssh
|
|
vendor: cowrie
|
|
tags: cowrie,twisted,ssh,honeypot,ir,cti,network
|
|
|
|
tcp:
|
|
- inputs:
|
|
- data: "SSH-1337-OpenSSH_9.0\r\n"
|
|
|
|
host:
|
|
- '{{Hostname}}'
|
|
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: 4b0a00483046022100feefcf29f547aa433b640a3a7771c85a28b767efc3a1a833652adb105959fea00221009278fd285ea5ba62be425b51417c53b828c4d2be41d726441c6ffe4453945728:922c64590222798bb761d5b6d8e72950 |