id: costa-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'The Nation&#x27;s Favourite Coffee Shop | Costa Coffee'

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"costa.co.uk")'
# digest: 490a0046304402201483c826d7f438bcb03019c755a8f677820c1f3656475da875524ffdc1fc2ba4022040c8491e00a4ff35b14a98a423d0c23adddf0845a15187d7f0f2bbb379bcba19:922c64590222798bb761d5b6d8e72950