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
    vendor: ivanti
    product: incapptic_connect
    shodan-query:
      - http.title:"incapptic"
      - http.favicon.hash:-1067582922
    fofa-query:
      - icon_hash=-1067582922
      - title="incapptic"
    google-query: intitle:"incapptic"
  tags: panel,ivanti,incapptic-connect,discovery

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: 4a0a004730450220273882c2543d1943363e567a2263430e33ab7dc155933c1a5bc78c8a2f780884022100eefe4baab3291a9840e2fcee83dcc52dbe0d336a03e0bcc4970e5fbed7ebc2c7:922c64590222798bb761d5b6d8e72950