id: iCloud-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Log in to iCloud to access your photos, mail, notes, documents and more. Sign in with your Apple&nbsp;ID or create a new account to start using Apple services.'

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"icloud.com")'
          - '!contains(host,"apple.com")'
        condition: and
# digest: 490a00463044022062f4bb83d220fd4f6366643fd27205a9a211ec296ace78434dd863366c07c742022031f994ce2fc1166b00e8a4a9b942903094ebbb4a27a7394d148fabde7db24d2f:922c64590222798bb761d5b6d8e72950