id: capital-one-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Capital One'
          - '<title>Capital One | Credit Cards, Checking, Savings &amp; Auto Loans'
        condition: and

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"capitalone.com")'
# digest: 490a0046304402205453cb51ce031f4c7908537adb5ce10ee7a728f61e764e8221ea75a6697869690220261f8c12cdcb76ae30cb437765ae0031469d5fbbea9fc03c7f95f68557587b7d:922c64590222798bb761d5b6d8e72950