TMAegis
More rules for intune-defender

TMA-INTUNE-DEFENDER-2.48

Ensure 'Remediation action for Moderate severity threats' is set to 'Quarantine or Remove'

MediumLevel 1Automatedintune-defender

Description

This policy setting configures which automatic remediation action Microsoft Defender Antivirus will take for each threat alert level detection. The recommended state for this setting is: Quarantine. Moves files to quarantine. Configuring this setting to Remove. Removes files from system. also conforms to the benchmark. Audit: value 2 under ...\Windows Defender\Threats\ThreatSeverityDefaultAction must be 2 (Quarantine) or 3 (Remove).

How it is checked

Audit method: Windows registry

registry
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Threats\ThreatSeverityDefaultAction' -Name '2' -ErrorAction SilentlyContinue).'2'; if (-not ($null -ne $v -and @('2','3') -contains [string]$v)) { $bad += '2=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }
Expected output
compliant

How it is fixed

Fix method: Guidance or infrastructure patch

To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Quarantine. Moves files to quarantine. or Remove. Removes files from system.: Defender\Remediation action for Moderate severity threats 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 Remediation action for Moderate severity threats to Quarantine. Moves files to quarantine or Remove. Removes files from system.

Properties

Operating systems
Any
Tags
intune-defenderintuneregistry
Reference
CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 2.48 Ensure 'Remediation action for Moderate severity threats' is set to 'Quarantine or Remove'

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target intune-defender