Intune: Microsoft Defender
TMA-INTUNE-DEFENDER-2.8
Ensure 'Allow scanning of all downloaded files and attachments' is set to 'Allowed'
说明
This policy setting configures scanning for all downloaded files and attachments. The recommended state for this setting is: Allowed. 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.
检查方式
审计方法: Windows 注册表
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\PolicyManager' -Name 'AllowIOAVProtection' -ErrorAction SilentlyContinue).'AllowIOAVProtection'; if (-not ($null -ne $v -and @(1) -contains [int64]$v)) { $bad += 'AllowIOAVProtection=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }- 预期输出
compliant
修复方式
修复方法: 操作指南或基础设施补丁
To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Allowed. Defender\Allow scanning of all downloaded files and attachments 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 scanning of all downloaded files and attachments to Allowed
属性
- 操作系统
- 任意
- 标签
- intune-defenderintuneregistry
- 参考
- CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 2.8 Ensure 'Allow scanning of all downloaded files and attachments' is set to 'Allowed'
检查本机
请在您有权审计的机器上运行此命令。扫描为只读操作。
tmaegis scan --target intune-defender