id: ws_ftp-ssh-detect

info:
  name: WS_FTP-SSH Service - Detect
  author: johnk3r
  severity: info
  description: |
    WS_FTP-SSH 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
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    vendor: progress
    product: ws_ftp
    shodan-query:
      - "WS_FTP port:22"
      - ws_ftp port:22
      - http.title:"ad hoc transfer"
      - http.title:"ws_ftp server web transfer"
    fofa-query:
      - title="ws_ftp server web transfer"
      - title="ad hoc transfer"
    google-query:
      - intitle:"ws_ftp server web transfer"
      - intitle:"ad hoc transfer"
    censys-query: services.http.request.uri="*/thinclient/wtm/public/index.html"
  tags: network,ssh,ws_ftp,detect,progress,detection,tcp,discovery
tcp:
  - host:
      - "{{Hostname}}"
    port: 22

    matchers:
      - type: regex
        regex:
          - '(?i)WS_FTP-SSH'

    extractors:
      - type: regex
        regex:
          - '(?i)SSH-(.*)-WS_FTP-SSH[^\r]+'
# digest: 4a0a004730450220665d4795e67ebf30fd4ec6670e9e06b3c3352ca5b0ca80170325042cec0feaa1022100aa52a82c939b99988bb869a3dc4373f5d18c7d709c651090f35dfd531b4b357d:922c64590222798bb761d5b6d8e72950