id: github-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Sign in to GitHub · GitHub'

      - type: status
        status:
          - 200

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