id: incapptic-connect-panel

info:
  name: Ivanti Incapptic Connect Panel - Detect
  author: righettod
  severity: info
  description: Ivanti Incapptic Connect panel was detected.
  reference:
    - https://www.ivanti.com/products/incapptic-connect
  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:a:ivanti:incapptic_connect:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    product: incapptic_connect
    shodan-query:
      - http.title:"incapptic"
      - http.favicon.hash:-1067582922
    vendor: ivanti
  tags: panel,ivanti,incapptic-connect

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/static/img/custom_icons/favicon.ico'

    host-redirects: true
    max-redirects: 3
    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: dsl
        dsl:
          - "status_code==200"
          - "contains(tolower(body), 'incapptic')"
        condition: and

      - type: dsl
        dsl:
          - "status_code==200"
          - "('-1067582922' == mmh3(base64_py(body)))"
        condition: and
# digest: 4a0a00473045022100e2704b631a6351fa76cfee853b29794780294923a68450212e4e29db3ee270500220756755ce6dfd378e0bfd454c9186482c600dcf2547ad8520e3a95fe06ac94864:922c64590222798bb761d5b6d8e72950