id: vnc-service-detect

info:
  name: VNC Service Detection
  author: pussycat0x
  severity: info
  description: A Virtual Network Computing (VNC) service was detected.
  classification:
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: network,vnc,service,detect,detection,tcp

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

    matchers:
      - type: word
        words:
          - "RFB"

    extractors:
      - type: regex
        part: body
        regex:
          - "RFB ([0-9.]+)"
# digest: 490a0046304402206c364ce48c2ca175af6ca10e7a5a0c153f0cc457f8372f0cde038e405174a33c02202a3fa26b98beba0b2dca7178232c4b8b3f6a3fa5f9edd5af0270b011f2639d87:922c64590222798bb761d5b6d8e72950