id: iplanet-imap-detect

info:
  name: iPlanet Messaging Server IMAP Protocol - Detection
  author: pussycat0x
  severity: info
  description: |
    iPlanet Messaging Server IMAP protocol was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
    fofa-query: app="iPlanet-Messaging-Server-5.2" && protocol="imap"
  tags: network,imap,detect,iplanet,detection,tcp
tcp:
  - inputs:
      - data: "\n"
    host:
      - "{{Hostname}}"
    port: 110

    matchers:
      - type: word
        words:
          - "iPlanet Messaging Server"

    extractors:
      - type: regex
        part: body
        regex:
          - "iPlanet Messaging Server ([0-9.]+)"
# digest: 490a004630440220227516bb8d46511ca13291e5829f18b3fad44aea6ef838c3c0ca0aac37abfbc2022078bb6566788fbda3f7d4fafb9530b9480ca13c92dfde08b4e90b802c50f87f2c:922c64590222798bb761d5b6d8e72950