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