id: cisco-anyconnect-vpn

info:
  name: Cisco AnyConnect VPN Panel - Detect
  author: pdteam
  severity: info
  description: Cisco AnyConnect VPN panel was detected.
  reference:
    - https://github.com/Gilks/hostscan-bypass
  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:cisco:anyconnect_secure_mobility_client:*:*:*:*:windows:*:*:*
  metadata:
    max-request: 1
    vendor: cisco
    product: anyconnect_secure_mobility_client
  tags: cisco,panel,vpn

http:
  - method: GET
    path:
      - "{{BaseURL}}/CACHE/sdesktop/data.xml"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<config>"
          - "<hostscan>"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022065d6f8b39564537665328e2e79330aed694347da5e48986f18057a8798327a6f02201208e0b8d47d4e2699bcae60e276b7cf46bf32ef737ad59094766b87c5ca018f:922c64590222798bb761d5b6d8e72950