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,discovery
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: 4a0a00473045022100feb1ea52ab7979c5f027d1625e27ea2a2d17122e59c7b15f0ab61dda72d9b09b02203918784a58442b4ddabd7897a1ac4902a0c8e8f1010c2f722ec06acf580ba918:922c64590222798bb761d5b6d8e72950