id: winscp-phish

info:
  name: winscp phishing Detection
  author: rxerium
  severity: info
  description: |
    A winscp phishing website was detected
  reference:
    - https://winscp.net
  metadata:
    max-request: 1
  tags: phishing,winscp,osint,discovery
http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'WinSCP :: Official Site :: Free SFTP and FTP client for Windows'

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"winscp.net")'
# digest: 4b0a00483046022100a082500d08269c295fee52e32978513474566499492e64321f5f761992b130430221009d96a3fbedd8b4e70b6b7904a3eafd63c6fbc56914b302aa9ac115eb69370edd:922c64590222798bb761d5b6d8e72950