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: 490a004630440220417841cd82a9c6d217514e213f4e22be4bab97d7889ad76474f9c61ab8a446230220261370115d49d1241aa48bc634493e9fe3bc5c1e2aedcd16f1a320132efa36ac:922c64590222798bb761d5b6d8e72950