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

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