MT.1168 - Cleaned Malware should be retained for at least 30 days.
Overviewβ
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.
Remediation action:β
- Open Microsoft Endpoint Manager > Endpoint Security > Antivirus
- Edit the relevant Microsoft Defender Antivirus policy
- 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.
Related linksβ
- Policy merge and conflicts for Antivirus policy settings
- Configure Microsoft Defender Antivirus
- Microsoft Endpoint Manager
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | MT.1168 |
| Severity | Low |
| Suite | Maester |
| Product | Defender |
| Related products | Intune |
| Feature | Endpoint antivirus |
| Area | Devices and endpoints |
| Resource type | Policy |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtMdeRetainCleanedMalware |
| Services | Graph |
Sourceβ
- Test:
tests/maester/defender/Test.MT.1168.ps1 - Documentation:
tests/maester/defender/Test.MT.1168.md

