id: kaco-new-energy-detect

info:
  name: KACO New Energy Solar Inverter - Detect
  author: rxerium
  severity: info
  description: |
    KACO new energy is a solar inverter manufacturer. Their inverters include a built-in web server
    that serves compressed HTML over HTTP for monitoring inverter status and energy production data.
    Devices are commonly deployed on residential and commercial solar installations.
  reference:
    - https://kaco-newenergy.com/
  metadata:
    max-request: 1
    verified: true
    shodan-query: http.title:"KACO new energy"
    vendor: kaco
    product: solar-inverter
  tags: tech,panel,kaco,ics,solar,energy,inverter,detect

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

    host-redirects: true
    max-redirects: 2

    headers:
      Accept-Encoding: gzip

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "KACO inverter web page")'
          - 'contains(body, "<title>KACO new energy</title>")'
        condition: and
# digest: 490a00463044022060c8af757a59e0b2c1df7cf2e0bca3ae7b83aec417810416f828a39203313b3702201906286724b0c7f507812af684fc41d9f4df416de3cee6dd7f81083db18d52c8:922c64590222798bb761d5b6d8e72950