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,discovery
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: 4b0a00483046022100e193c95fc91ffc82bd129078c4a3acbcc65e26eb954d31969f999a3d6e0acd88022100f7ee7172046feddc99824e233844e5720aff5ff0d2fa52bafed874879107024b:922c64590222798bb761d5b6d8e72950