id: homematic-panel

info:
  name: Homematic Panel - Detect
  author: princechaddha
  severity: info
  description: Homematic panel was deetcted.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:o:eq-3:homematic_ccu3_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: eq-3
    product: homematic_ccu3_firmware
    shodan-query:
      - http.html:"Homematic"
      - http.html:"homematic"
    fofa-query: body="homematic"
  tags: panel,homematic,iot,eq-3

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "HomeMatic Logo"
          - "<title>HomeMatic WebUI</title>"
        condition: or

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100afb3f46d323409f576af057c545308e6b2914b5d584c078ff7c73c3375659453022100aea8866e8d519e5195e0859b78980c51780eac2ab39344aa6a5b5c2cfebd5525:922c64590222798bb761d5b6d8e72950