id: chronos-panel

info:
  name: Chronos Panel - Detect
  author: righettod
  severity: info
  description: |
    Chronos Login Panel was detected.
  reference:
    - https://www.asys.fr/chronos
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"chronoslogin.js"
    fofa-query: body="chronoslogin.js"
  tags: panel,chronos,login,detect

http:
  - method: GET
    path:
      - '{{BaseURL}}/chronos.wsc/asparamlogin.html'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'chronoslogin.html'
          - 'urlcli'
          - 'url_portail'
        condition: and
        case-insensitive: true

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)chronos\s+([0-9.-]+)'
# digest: 490a00463044022069b8ff3fb7c1a8076a8131f4feeaad648ce55dcee4ee8c827e866c7497c17c9b02204dc8c560e228568e3674fd824fa12b5fed1764c536ab47b3e500bd7365cd6a31:922c64590222798bb761d5b6d8e72950