Email Security/Exchange Online - Ensure the Common Attachment Types Filter is Enabled
Summary
Users can easily block known and custom malicious file types from being attached to emails via the Common Attachment Types Filter.
Reason
If the known malicious files are blocked, then, it will obviously help in preventing malware-infested files from infecting a host.
What If?
The blocking of common malicious file types does not affect the modern computing environments.
How to?
To enable the Common Attachment Types Filter, use the Microsoft 365 Admin Center:
- Go to the Microsoft Admin Center and click Security.
- Under Email & collaboration > Policies & rules > Threat policies.
- Now, select Anti-malware and pick the highest priority policy.
- In the Edit tab under at the bottom click on Edit protection settings, check the Enable the common attachments filter.
To enable the Common Attachment Types Filter, use the Exchange Online PowerShell Module:- Connect to Exchange Online using Connect-ExchangeOnline.
- Now, run the following Exchange Online PowerShell command:
To enable the Common Attachment Types Filter, use the Exchange Online PowerShell Module:
- Connect to Exchange Online using Connect-ExchangeOnline.
- Now, run the following Exchange Online PowerShell command:
Set-MalwareFilterPolicy -Identity Default -EnableFileFilter $true
Monitor:
To verify the Common Attachment Types Filter is enabled, use the Microsoft 365 Admin Portal:
- Go to the Microsoft Admin Center and click Security.
- Under Email & collaboration > Policies & rules > Threat policies.
- Now, select Anti-malware and pick the highest priority policy.
- In the Edit tab under Edit protection settings, verify that the Enable the common attachments filter has the value of 'On'.
To verify the Common Attachment Types Filter is enabled, use the Exchange Online PowerShell Module:- Connect to Exchange Online using Connect-ExchangeOnline.
- Now, run the following Exchange Online PowerShell command:
To verify the Common Attachment Types Filter is enabled, use the Exchange Online PowerShell Module:
- Connect to Exchange Online using Connect-ExchangeOnline.
- Now, run the following Exchange Online PowerShell command:
Set-MalwareFilterPolicy -Identity Default | Select-Object EnableFileFilter
3. Now, verify that EnableFileFilter is set to True.
Comments
Post a Comment