id: sysaid-panel

info:
  name: SysAid Login Panel - Detect
  author: pdteam
  severity: info
  description: SysAid login panel was detected.
  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:sysaid:sysaid:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: sysaid
    product: sysaid
    shodan-query: http.favicon.hash:1540720428
    fofa-query: icon_hash=1540720428
  tags: panel,sysaid,helpdesk

http:
  - method: GET
    path:
      - "{{BaseURL}}/favicon.ico"
      - "{{BaseURL}}/Login.jsp"

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: dsl
        dsl:
          - "status_code==200"
          - "('1540720428' == mmh3(base64_py(body)))"
        condition: and

      - type: dsl
        dsl:
          - "status_code==200"
          - "contains(tolower(body), 'sysaid help desk software')"
        condition: and
# digest: 490a00463044022037e8f736d447543f2ca7479aeec4d4bf0fd76377645bf2cd387684dbfcac2e63022016c676e0d958c77b93d1e9075f20ab48d839ccf6571fccd67d8e7c0835e6fa98:922c64590222798bb761d5b6d8e72950