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,discovery
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: 4a0a0047304502200ceaa063a5040968d5681bd626b8f4b980778a18a2e46cf24ffe8029f691a51b022100b7370f134cb2a880bcd4ad56594ac29f71eda54d87dc9dc0946c7a924e23b4fe:922c64590222798bb761d5b6d8e72950