id: authentik-panel

info:
  name: Authentik Panel - Detect
  author: rxerium
  severity: info
  description: |
    An Authentik search engine was detected.
  reference:
    - https://github.com/goauthentik/authentik
  metadata:
    max-request: 1
    verified: true
    shodan-query: http.favicon.hash:-178113786
  tags: authentik,sso,mfa,panel,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/static/dist/assets/icons/icon.png"

    host-redirects: true
    max-redirects: 2
    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - "<title>authentik</title>"
          - "window.authentik"
          - "authentik.css"
        condition: or
        case-insensitive: true

      - type: dsl
        dsl:
          - "(\"-178113786\" == mmh3(base64_py(body)))"
# digest: 490a0046304402205d1941f6e08762dc99b5102c291f37c061b500102b7e2688084943b64be52cb80220141855f541567e4035ca6d06d2b97533d6aac76e6624a20585a8169a93f206c1:922c64590222798bb761d5b6d8e72950