id: hcpanywhere-detect

info:
  name: HCP Anywhere - Detect
  author: righettod
  severity: info
  description: |
    HCP Anywhere was detected.
  reference:
    - https://hcpanywhere.hds.com/portal/public/help-complete/en/cp_hcpaw_what_is.html
  metadata:
    verified: true
    max-request: 1
    shodan-query: icon_hash="915499123"
  tags: tech,hcpanywhere,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/userportal/documentation/mapping.json"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "brandedUrl", "helpId", "url") && contains(body, "hcpaw")'
        condition: and
# digest: 4b0a00483046022100b53602f6b7c5e95c96ca77e798075921536b243dd461267bb844a5622b5a8299022100b60fcae5fce47b7a672458611da18a38b79f65afeb1b30dc3ff97148d9bb448e:922c64590222798bb761d5b6d8e72950