id: spotify-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Spotify - Web Player: Music for everyone'

      - type: status
        status:
          - 200

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