Cleaned Malware should be retained for at least 30 days
MT.1168LowDefenderEndpoint antivirus
Part of Maester · Defender · Endpoint antivirus · All checks
Invoke-Maester -TestId MT.1168Overview
Section titled “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:
Section titled “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
Section titled “Related links”- Policy merge and conflicts for Antivirus policy settings
- Configure Microsoft Defender Antivirus
- Microsoft Endpoint Manager
Details
Section titled “Details”Every attribute of this check
| 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
Section titled “Source”- Test:
tests/maester/defender/Test.MT.1168.ps1 - Documentation:
tests/maester/defender/Test.MT.1168.md
About this check
- Severity
- Low
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Defender
- Feature
- Endpoint antivirus
- Area
- Devices and endpoints
- Suite
- Maester