id: bomgar-login-panel

info:
  name: Bomgar Login Panel - Detect
  author: pdteam
  severity: info
  description: Bomgar 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
  metadata:
    max-request: 2
  tags: panel,bomgar,beyondtrust,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/favicon.ico"
      - "{{BaseURL}}/appliance/login.ns"

    stop-at-first-match: true

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

      - type: dsl
        dsl:
          - "status_code==200"
          - "contains(tolower(body), 'bomgar')"
        condition: and
# digest: 4a0a0047304502205c2d9eca3fa598aebbc04a3402e5e306b230378cccef26e5fabbfecf909b1955022100b826e7ca2082e6816e536aba6c5700cb42f8890d20d85b5abae9961efc24fb06:922c64590222798bb761d5b6d8e72950