id: trip-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Trip.com: Book cheap flights, hotels, car rentals, trains and more'

      - type: status
        status:
          - 200

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