TMAegisBeta
更多 intune-defender 規則

Intune: Microsoft Defender

TMA-INTUNE-DEFENDER-2.4

Ensure 'Allow Email Scanning' is set to 'Allowed'

中等級 1自動化intune-defender

說明

This policy setting configures e-mail scanning. When e-mail scanning is enabled, the engine will parse the mailbox and mail files, according to their specific format, to analyze the mail bodies and attachments. Several e-mail formats are currently supported, for example: pst (Outlook), dbx, mbx, mime (Outlook Express), binhex (Mac). The recommended state for this setting is: Allowed. Turns on email scanning.. 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\PolicyManager' -Name 'AllowEmailScanning' -ErrorAction SilentlyContinue).'AllowEmailScanning'; if (-not ($null -ne $v -and @(1) -contains [int64]$v)) { $bad += 'AllowEmailScanning=' + $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. Turns on email scanning.. Defender\Allow Email 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 Email Scanning to Allowed. Turns on email scanning.

屬性

作業系統
不限
標籤
intune-defenderintuneregistry
參考資料
CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 2.4 Ensure 'Allow Email Scanning' is set to 'Allowed'

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target intune-defender