id: microsoft-sharepoint-detect

info:
  name: Microsoft SharePoint Detect
  author: p-l-
  severity: info
  description: Check for SharePoint, using HTTP header MicrosoftSharePointTeamServices
  metadata:
    max-request: 1
  tags: sharepoint,iis,microsoft,tech,discovery

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

    matchers:
      - type: regex
        part: header
        regex:
          - "(?i)(Microsoftsharepointteamservices:)"

    extractors:
      - type: kval
        kval:
          - MicrosoftSharePointTeamServices
# digest: 4a0a00473045022100ee82d3171ebe9e71bee45c2fd0353e1ca9b52b38a3dca4895dab58701243efa90220028873a16bf351bf2700d561ea2cfe0a547ac8d9346056a9192030a094a73b4c:922c64590222798bb761d5b6d8e72950