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:
    fofa-query: app="iPlanet-Messaging-Server-5.2" && protocol="imap"
    max-request: 1
  tags: network,imap,detect,iplanet

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: 4a0a004730450220114519f1d76eaf06f0768029c5e8c8e2732949c2635aef3b85a78f8c4d62553b022100931b12cc75577fb5b6cfdeebb62331ab219afe9fbbc52abad4be740d910deb48:922c64590222798bb761d5b6d8e72950