id: buymeacoffee-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Buy Me a Coffee is the best way for creators and artists to accept support and membership from their fans.'
          - '<title>Buy Me a Coffee'
        condition: and

      - type: status
        status:
          - 200

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