id: azure-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Invent with purpose, realize cost savings, and make your organization more efficient with Microsoft Azure’s open and flexible cloud computing platform.'

      - type: status
        status:
          - 200

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