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: 490a0046304402204067c0c180e5e4427eae1687c3432575c99a5519bfd888b67138541960648daa02206dea456b65eb49d5e008144fc673ab54e097e77361d0bacb75d40eda0f115e92:922c64590222798bb761d5b6d8e72950