id: barclays-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Barclays'
          - '<title>Barclays Group corporate website | Barclays'
        condition: and

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"barclays.com")'
          - '!contains(host,"home.barclays")'
        condition: and
# digest: 4a0a00473045022100c64cd593045a64ab35cdbde9df384013ff68a49053346bdbf25e3ec9fc17673b02206b191c89611d1efdc7f9dfba824c02c02fba589dfcd7e2030358cebfaded7be0:922c64590222798bb761d5b6d8e72950