Microsoft SharePoint Server
TMA-SHAREPOINT-3.5
Ensure that SharePoint specific malware (i.e. anti-virus) protection software is integrated and configured
Descrição
SharePoint-specific malware (i.e. anti-virus) protection software must be integrated and configured. Prints compliant when the farm antivirus settings scan documents on upload and download and attempt to clean infected documents. A SharePoint-integrated antivirus product must also be installed for the settings to take effect. Run on a SharePoint farm server as a farm administrator; the audit loads the Microsoft.SharePoint.PowerShell snap-in and fails if it cannot.
Como é verificado
Método de auditoria: Comando shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-SPFarm -ErrorAction SilentlyContinue)) { Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction Stop }; if (-not (Get-Command Get-SPFarm -ErrorAction SilentlyContinue)) { throw 'SharePoint cmdlets are not available' }; $av = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.AntivirusSettings; if ($null -ne $av -and $av.UploadScanEnabled -eq $true -and $av.DownloadScanEnabled -eq $true -and $av.CleaningEnabled -eq $true) { 'compliant' } else { 'noncompliant' }- Saída esperada
compliant
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Install a SharePoint-integrated antivirus product, then Central Administration > Security > Manage antivirus settings: select Scan documents on upload, Scan documents on download and Attempt to clean infected documents.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- sharepointmalware
- Referência
- CIS Microsoft SharePoint 2019 Benchmark v1.0.0 - 3.5 Ensure that SharePoint specific malware (i.e. anti-virus) protection software is integrated and configured
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
tmaegis scan --target sharepoint