TMAegisBeta
更多 intune-defender 规则

Intune: Microsoft Defender

TMA-INTUNE-DEFENDER-1.3.2

Ensure 'Configure the 'Block at First Sight' feature' is set to 'Enabled'

中级别 1自动化intune-defender

说明

This policy setting configures whether the device checks (in real time) with the Microsoft Active Protection Service (MAPS) before allowing certain content to be run or accessed. The block at first sight feature works when Microsoft Defender Antivirus encounters a suspicious but undetected file. It then queries the Microsoft cloud protection backend and applies heuristics, machine learning, and automated analysis of the file to determine whether the files are malicious. The recommended state for this setting is: Enabled. 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 注册表

registry
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet' -Name 'DisableBlockAtFirstSeen' -ErrorAction SilentlyContinue).'DisableBlockAtFirstSeen'; if (-not ($null -ne $v -and @(0) -contains [int64]$v)) { $bad += 'DisableBlockAtFirstSeen=' + $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 Enabled: Administrative Templates\Microsoft Defender Antivirus\MAPS\Configure the 'Block at First Sight' feature

属性

操作系统
任意
标签
intune-defenderintuneregistry
参考
CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 1.3.2 Ensure 'Configure the 'Block at First Sight' feature' is set to 'Enabled'

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target intune-defender