id: microsoft-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Login | Microsoft 365'

      - type: status
        status:
          - 200

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