id: microsoft-teams-phish

info:
  name: microsoft teams phishing Detection
  author: rxerium
  severity: info
  description: |
    A microsoft teams phishing website was detected
  reference:
    - https://www.microsoft.com/en-gb/microsoft-teams/download-app
  metadata:
    max-request: 1
  tags: phishing,microsoft-teams,osint
http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Download Microsoft Teams Desktop and Mobile Apps | Microsoft Teams'

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"microsoft.com")'
# digest: 4a0a00473045022018457cdd3badf00b4445cae1e8d02d66776537f3d14a9f62abdb945548073bb20221009c3fb1521220d2bfa34b0d9ff3f36e2171b78ae5133593a683431116be299023:922c64590222798bb761d5b6d8e72950