Skip to main content
Version: 2.1.1-preview

DPDP.Sec.08.17 - Ensure Zero-Hour Auto Purge (ZAP) for phishing and malware is enabled in Exchange Online

Overview

2.4.4 (L1) Ensure Zero-hour auto purge for Microsoft Teams is on

Zero-hour auto purge (ZAP) is a protection feature that retroactively detects and neutralizes malware and high confidence phishing. When ZAP for Teams protection blocks a message, the message is blocked for everyone in the chat. The initial block happens right after delivery, but ZAP occurs up to 48 hours after delivery.

Rationale

ZAP is intended to protect users that have received zero-day malware messages or content that is weaponized after being delivered to users. It does this by continually monitoring spam and malware signatures taking automated retroactive action on messages that have already been delivered.

Impact

As with any anti-malware or anti-phishing product, false positives may occur

Remediation action:

To enable Zero-hour auto purge for Microsoft Teams:

  1. Navigate to Microsoft 365 Defender
  2. Click to expand System select Settings > Email & collaboration > Microsoft Teams protection
  3. Set Zero-hour auto purge (ZAP) to On (Default).
PowerShell
  1. Connect to Exchange Online using Connect-ExchangeOnline.
  2. Run the following cmdlet:
Set-TeamsProtectionPolicy -Identity "Teams Protection Policy" -ZapEnabled $true

Test Metadata

FieldValue
Test IDDPDP.Sec.08.17
SeverityUnknown
SuiteDPDP Act 2023
CategoryGeneral
PowerShell testTest-MtCisZAP
TagsDPDP, DPDP.Sec.08, DPDP.Sec.08.17, DPDP2023

Source

  • Pester test: tests/dpdp/Test-MtDpdp-MailAndThreatProtection.Tests.ps1
  • PowerShell source: powershell/public/cis/Test-MtCisZAP.ps1