id: hubspot-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>HubSpot | Software &amp; Tools for your Business - Homepage'

      - type: status
        status:
          - 200

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