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: 4b0a00483046022100eb8bce7e98f46ccfc9669b4af7b605244471d02b75f7801b5a82b9ddbc5cfa93022100c80b664b3b2383712aa883564ca9a0d5394c633d5da4b162fbce59c5bfec06ba:922c64590222798bb761d5b6d8e72950