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