id: apache-hertzbeat-detect

info:
  name: Apache Hertzbeat - Detect
  author: icarot
  severity: info
  description: |
    Detects a Apache Hertzbeat web application is in use, that is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
  classification:
    cpe: cpe:2.3:a:apache:hertzbeat:-:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: hertzbeat
    shodan-query: title:"HertzBeat"
  tags: tech,hertzbeat,apache,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/assets/app-data.json"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"name": "HertzBeat"'
          - 'hertzbeat.apache.org'
        condition: or

      - type: status
        status:
          - 200
# digest: 490a0046304402204e6d14fce523b251cbb64f6a3cff525e92319f3bc404fd5ad83f7a98d70266200220795f9798f074963c23761376b95f54820f0777d5f3601cff8372c3425aae4728:922c64590222798bb761d5b6d8e72950