id: dionaea-ftp-honeypot-detect

info:
  name: Dionaea FTP Honeypot - Detect
  author: UnaPibaGeek
  severity: info
  description: |
    A Dionaea FTP honeypot has been identified.
    The response to the 'PASS' command differs from real installations, signaling a possible deceptive setup.
  metadata:
    max-request: 1
    vendor: dionaea
    product: ftp
  tags: dionaea,ftp,honeypot,ir,cti,network,tcp
tcp:
  - inputs:
      - data: "USER root\r\n"
        read: 1024
      - data: "PASS \r\n"
        read: 1024

    host:
      - "{{Hostname}}"
    port: 21
    read-size: 2048

    matchers:
      - type: word
        words:
          - "500 Syntax error: PASS requires an argument"
# digest: 490a004630440220539940f40afc90325b4ca6eb724ec329599efe77da469457cc27d7fc8b9d32e00220429bd972e804331b451587b74b0a764d63d91f2014c568579e2f816d6ab00e48:922c64590222798bb761d5b6d8e72950