id: cloudflare-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Cloudflare'
          - 'Make employees, applications and networks faster and more secure everywhere, while reducing complexity and cost.'
        condition: and

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"cloudflare.com")'
# digest: 4a0a0047304502206e44ec4ab9f651494e7a6dfb9518c74049803bce95dcfcab74132d227c0f9acf022100fdfc192b58c891e4ed984592f0b9a1df3c73d14dd2e18c95da40f6a5ef336ece:922c64590222798bb761d5b6d8e72950