id: pop3-detect

info:
  name: POP3 Protocol - Detect
  author: pussycat0x
  severity: info
  description: |
    POP3 protocol was detected.
  reference:
    - https://nmap.org/nsedoc/scripts/pop3-ntlm-info.html
  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:
    verified: true
    max-request: 1
    shodan-query: pop3 port:110
  tags: network,detect,pop3,mail,detection,tcp
tcp:
  - inputs:
      - data: "\n"

    host:
      - "{{Hostname}}"
    port: 110

    matchers:
      - type: word
        words:
          - "+OK Dovecot ready"
          - "POP3"
        condition: or
# digest: 4a0a00473045022100f5f8219e8b1c4a478d424dac7687b2dbe3508e4714bfc8e2e2d9c4e904365452022068d9494a4e1963ebbe425e43b30dcdc43531279b19cfe4bc0cf6bdcce8429de6:922c64590222798bb761d5b6d8e72950