id: safenet-authentication-panel

info:
  name: SafeNet Authentication Login Panel - Detect
  author: righettod
  severity: info
  description: |
    SafeNet Authentication Service Self Enrollment login panel was detected.
  reference:
    - https://cpl.thalesgroup.com/access-management/safenet-trusted-access
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"Self Enrollment"
  tags: panel,safenet,thales,login,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/selfenrollment/Enrollment.aspx"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(to_lower(body), "self enrollment") && contains_any(to_lower(body), "safenet", "thales")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'V=([0-9.]+)'
# digest: 490a0046304402205cc7b42015c9d71354879573a58d21cd26db17bf3836a1fd4b97a9e66c20ebed02205f587f6313b0641b2d54b08753806466daad97dffdbaa282149d2be4003d2473:922c64590222798bb761d5b6d8e72950