id: beyondtrust-priv-panel

info:
  name: BeyondTrust Privileged Remote Access - Panel
  author: righettod
  severity: info
  description: |
    BeyondTrust Privileged Remote Access login panel was detected.
  reference:
    - https://www.beyondtrust.com/products/privileged-remote-access
  classification:
    cpe: cpe:2.3:a:beyondtrust:privileged_remote_access:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: beyondtrust
    product: privileged_remote_access
    shodan-query: "http.html:\"BeyondTrust Privileged Remote Access Login\""
  tags: panel,beyondtrust,login,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/login/login"
      - "{{BaseURL}}/login/pre_login_agreement"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "<title>beyondtrust privileged remote access login", "privileged-remote-access") && contains(to_lower(body), "login")'
        condition: and
# digest: 4a0a00473045022100e280f46aa55aea1d35f638eea0feb153a80329749e3623e71a7e507c1151348402201003a7286af7c742b8b75356d7e674c6b8a27527e9cc352ddf068ca43ce878e3:922c64590222798bb761d5b6d8e72950