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: 490a0046304402201161b9fef58c76163ccad9ac9174357f04ba7af48bfb0a79bc23d946f2008258022052f6268a5782ec17e0aafa44fbda1804f2ff051c72dfeb4eaf739d9a288b095f:922c64590222798bb761d5b6d8e72950