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,discovery
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: 4a0a00473045022100cd67487fe7b2b94e31cd13aa96d9f0d18cabe26e407879dbc1e799effd68a24002200a1fbc7acf4001cb9eb776b9640d90e8b70054f615d2f3d7a84ef89f0d11f1c6:922c64590222798bb761d5b6d8e72950