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,discovery

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