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: 4a0a00473045022100efbcda7e8041ee57e135cdc724a046f6b77f5191677805ee3640153f78cb51fc02207310591bd203975104b369cae12e5ce1c636137887ae192562ede071345ba167:922c64590222798bb761d5b6d8e72950