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
tcp:
  - host:
      - "{{Hostname}}"
    port: 22

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

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