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: 4a0a00473045022100f1aa601499184d9361c3c9ca9a61e0f4440b657f81969adc8d7b96da428aba7c022009988c3cf6722be0efb7baf386fd1d3d332b829b4819f3d874bafd1999f3bcf4:922c64590222798bb761d5b6d8e72950