id: securegateway-ftp-detect
info:
  name: Secure Gateway FTP Service - Detect
  author: pussycat0x
  severity: info
  description: Secure Gateway FTP service was detected.
  metadata:
    max-request: 1
    shodan-query: "Secure Gateway FTP server"
  tags: network,ftp,securegateway,detect,tcp,discovery

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

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

    matchers:
      - type: word
        words:
          - "Secure Gateway FTP server"
# digest: 4a0a00473045022100bfbf23fba78b64557e645867ece557d9d9d05ed86b8d6a6db8fbdbe9cf884cfc02206a0e456f0099a8fa2eb94eb5ba6a43ff4b8928ed78a5743252d9172cd607e43f:922c64590222798bb761d5b6d8e72950