id: gopher-detect

info:
  name: Gopher Service - Detect
  author: pry0cc
  severity: info
  description: |
    Gopher service 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
  tags: network,gopher,detect,detection,tcp,discovery

tcp:
  - inputs:
      - data: "\r\n"
    host:
      - "{{Hostname}}"
    port: 70

    matchers:
      - type: dsl
        dsl:
          - "contains(to_lower(raw), 'gopher')"
# digest: 4b0a00483046022100b575dee9d011e0e71850e9c8bd81ac380a41905836c43235715f54c9595ad10b022100c5e02fa9c3cf3dfc0db27d74cc4b63c5f0409207a71493774e2aafb6141f199a:922c64590222798bb761d5b6d8e72950