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,discovery
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: 490a0046304402207fd3f45ad43dfc0a3dbe40576ac6df18b21c14e2fbda06c2d6cf62d230ad6bae022028c936befaf89b4a9ab2ac12fcff50cf170092bb59fe209fd4c056212d2da619:922c64590222798bb761d5b6d8e72950