id: authentik-panel

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

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