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: 490a0046304402206c3ad5e8dd59d5f2deac0910636f6a0d0f13d7b8a65a79c870f6150ac8c8c09502203152ab64ec1856183b7e0b7632ec3f135c6f425271084016b6b48c7c01c0dd02:922c64590222798bb761d5b6d8e72950