Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Cleaned Malware should be retained for at least 30 days

MT.1168LowDefenderEndpoint antivirus

Part of Maester · Defender · Endpoint antivirus · All checks

Run this check
Invoke-Maester -TestId MT.1168

Verify that cleaned malware is retained for at least 30 days to support forensic analysis and threat investigation.

Short retention may impact forensic analysis and threat investigation.

  1. Open Microsoft Endpoint Manager > Endpoint Security > Antivirus
  2. Edit the relevant Microsoft Defender Antivirus policy
  3. Set Days to Retain Cleaned Malware to at least 30 days (recommended: 90 days)

If your antivirus settings are split across several policies, this setting only needs to be set in one of them, as long as that policy is assigned to every device that needs it. No other assigned policy should set a different value: Intune does not merge this setting, so a device that receives both values may end up with either one, or none.

Every attribute of this check
FieldValue
Test IDMT.1168
SeverityLow
SuiteMaester
ProductDefender
Related productsIntune
FeatureEndpoint antivirus
AreaDevices and endpoints
Resource typePolicy
User impactLow
Implementation costLow
MITRE ATT&CKNone
PowerShell testTest-MtMdeRetainCleanedMalware
ServicesGraph