id: fastmail-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Email and calendar made better | Fastmail'

      - type: status
        status:
          - 200

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