id: lorex-panel

info:
  name: Lorex Panel - Detect
  author: rxerium
  severity: info
  description: |
    A lorex panel was detected.
  reference:
    - https://www.lorex.com/
  classification:
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    shodan-query: "Lorex"
  tags: panel,login,detect,lorex,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'contains_all(tolower(body), "<title>web service</title>", "lorex")'
          - 'contains_any(body, "/LOREX_webplugin", "lorex_msg")'
        condition: or
# digest: 4a0a00473045022100b4b817667159f73b561ba2a23d5c9c5d8dfa8bbdc98675f4111f0209c0cbd6ca022064fef066dfe34cf50fdb63e7635085a11cd8a37218c77a3f219f7c0825bf80ff:922c64590222798bb761d5b6d8e72950