id: mattermost-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Mattermost | Collaboration Platform for Mission Critical Work'

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"mattermost.com")'
# digest: 490a0046304402205cc04edd93626c757960969472cb684350fd102d075b7301291cb15e7cc01e7002207590b4ccea25fbc2ce9dbd10a1fc3419cdd709b404fd60edbc6d9b209b69582e:922c64590222798bb761d5b6d8e72950