id: royal-mail-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Log in | Royal Mail Group Ltd'

      - type: status
        status:
          - 200

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