id: checkpoint-ftp-detect
info:
  name: Check Point FireWall-1 FTP Service - Detect
  author: pussycat0x
  severity: info
  description: Check Point FireWall-1 FTP service was detected.
  metadata:
    verified: true
    shodan-query: "Check Point FireWall-1 Secure FTP"
    max-request: 1
  tags: network,ftp,checkpoint,detect,tcp,firewall,discovery

tcp:
  - inputs:
      - data: 00000000
        type: hex

    host:
      - "{{Hostname}}"
    port: 21
    read-size: 1024

    matchers:
      - type: word
        words:
          - "Check Point FireWall-1 Secure FTP"

    extractors:
      - type: regex
        group: 1
        name: hostname
        regex:
          - "server running on ([A-Z-0-9]+)"
# digest: 490a00463044022001b810af3dc521b85eeca867299411f6e5fcd43859b01feabbbc6546d434ef790220128aa2d4cae47ec44043532fdff45cb3bc63bf214fe0733634137369f99d469d:922c64590222798bb761d5b6d8e72950