id: mailoney-honeypot-detect

info:
  name: Mailoney Honeypot - Detect
  author: UnaPibaGeek
  severity: info
  description: |
    A Mailoney (SMTP) honeypot has been identified.
    The response to the 'HELP' command differs from real installations, signaling a possible deceptive setup.
  metadata:
    max-request: 1
    product: exim
    vendor: mailoney
  tags: mailoney,exim,smtp,honeypot,ir,cti,network

tcp:
  - inputs:
      - data: "HELP\r\n"
        read: 1024

    host:
      - "{{Hostname}}"
    port: 25
    read-size: 1024

    matchers:
      - type: word
        words:
          - "502 Error: command \"HELP\" not implemented"
# digest: 4a0a00473045022100c4cd1ba3059e6e4a131db4b30595229314b315314785789ea7c572aa8d493620022036d268ff5a8d9336f5c420a606f8466de7a2b92ec2eeabaeedf4b295ad38097a:922c64590222798bb761d5b6d8e72950