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:
    fofa-query: body="chronoslogin.js"
    max-request: 1
    shodan-query: http.html:"chronoslogin.js"
    verified: true
  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: 4a0a00473045022100f7620b7259aaecbbd6061354c2be0f96b724f8beb5fba454f32d0b229b1b84ad02202afbe0574ebd3569667fcfaae9234367d35c2e706bca838bfd5703fb5096956e:922c64590222798bb761d5b6d8e72950