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
    vendor: mailoney
    product: exim
    shodan-query: cpe:"cpe:2.3:a:exim:exim"
  tags: mailoney,exim,smtp,honeypot,ir,cti,network,tcp,discovery
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: 480a00453043021f3931103504a2f7393ff60051e6fafeabf7acbfa821b8057311d19e2041136202201c0b3b0f282fa273dd28a3bf192c42853bb63c2e38af76aab4de373d984113ed:922c64590222798bb761d5b6d8e72950