id: ms-adcs-detect

info:
  name: Microsoft Active Directory Certificate Services Panel - Detect
  author: divya_mudgal
  severity: info
  description: Microsoft Active Directory Certificate Services panel was detected.
  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
  metadata:
    max-request: 1
  tags: microsoft,ad,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 302
          - 301
        condition: or

      - type: dsl
        dsl:
          - "contains(tolower(header), '/certsrv')"

    extractors:
      - type: kval
        kval:
          - location
# digest: 4b0a00483046022100bd761ab86d80628391807518fc4be72c7ecb0a07aeacb15007e1ff4a42fdb2900221008c0369a37080530ede06d83d3fb9b6e41afb337f9aee4b396d40464cd691065e:922c64590222798bb761d5b6d8e72950