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

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