Intune: Microsoft Defender
TMA-INTUNE-DEFENDER-2.5
Ensure 'Allow Full Scan Removable Drive Scanning' is set to 'Allowed'
Descrição
This policy setting manages whether to scan for malicious and unwanted software in the contents of removable drives, such as USB flash drives, when running a full scan. The recommended state for this setting is: Allowed. Scans removable drives.. Audit: reads the registry value(s) behind this Defender policy (HKLM\SOFTWARE\Policies\Microsoft\Windows Defender) and prints compliant only when each satisfies the benchmark value. Policy delivered by Intune only appears here once it has been applied to the device.
Como é verificado
Método de auditoria: Registro do Windows
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\PolicyManager' -Name 'AllowFullScanRemovableDriveScanning' -ErrorAction SilentlyContinue).'AllowFullScanRemovableDriveScanning'; if (-not ($null -ne $v -and @(1) -contains [int64]$v)) { $bad += 'AllowFullScanRemovableDriveScanning=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }- Saída esperada
compliant
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Allowed. Scans removable drives.. Defender Antivirus\Allow Full Scan Removable Drive Scanning To establish the recommended configuration via Endpoint Security Blade: 1. Navigate to Endpoint Security 2. Click Antivirus 3. Click Create Profile 4. Select Windows for the Platform and Microsoft Defender Antivirus for Profile 5. Name the profile 6. Configure Allow Full Scan Removable Drive Scanning to Allowed. Scans removable drives.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- intune-defenderintuneregistry
- Referência
- CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 2.5 Ensure 'Allow Full Scan Removable Drive Scanning' is set to 'Allowed'
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
tmaegis scan --target intune-defender