id: costco-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Costco'
          - 'Shop Costco.com for electronics, computers, furniture, outdoor living, appliances, jewelry and more. Enjoy low warehouse prices on name-brands products delivered to your door'
        condition: and

      - type: status
        status:
          - 200

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