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,discovery

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