Security Policy Errors

How to Stop Microsoft Defender from Blocking Encrypted Data-Only ZIP Archives

Aamir Naveed AkramAamir Naveed Akram Oct 7, 2026 871 views

Question details

Microsoft Defender is incorrectly flagging and blocking encrypted ZIP archives that contain only data and no executable code.

How to Stop Microsoft Defender from Blocking Encrypted Data-Only ZIP Archives
Product
Microsoft Defender
Device & OS
not provided
Scenario
Users are attempting to share, receive, or access an encrypted ZIP file containing harmless data, but the security system intercepts and removes it.
Observed behavior
The ZIP archive is blocked, quarantined, or completely removed by Microsoft Defender, requiring administrative intervention or a false-positive review to retrieve the data.
Before you start

Verify that the blocked ZIP archive truly contains only safe data and no executable files before attempting to bypass Microsoft Defender security protocols.

Solution 1Recommended

Configure the Tenant Allow/Block List in Microsoft 365

Microsoft 365 administrators can add specific file hashes to the Tenant Allow/Block List to bypass detection securely.

This is the safest and most reliable method for enterprise environments. By explicitly allowing the file hash, you prevent Microsoft Defender from blocking the specific data-only ZIP archive without lowering your overall security posture.

1
Access the Defender Portal

Log in to the Microsoft 365 Defender portal using your administrator credentials.

2
Navigate to Threat Policies

Go to 'Policies & rules' in the navigation pane, then select 'Threat policies'.

3
Open Tenant Allow/Block Lists

Under the Rules section, click on 'Tenant Allow/Block Lists'.

4
Add the File Hash

Select the 'Files' tab, click the 'Add' button, and input the SHA256 hash of the blocked ZIP archive to allow it through the security filters.

Configure the Tenant Allow/Block List in Microsoft 365
Administrator Privileges Required: Only users with global administrator or security administrator roles can modify the Tenant Allow/Block List.
Free Microsoft Office alternative

Work With Encrypted Documents Safely Using WPS Office

While resolving Microsoft Defender security blocks, consider using WPS Office to manage your documents. Instead of relying on encrypted ZIP containers that trigger security warnings, WPS Office allows you to natively encrypt your Word, Excel, and PowerPoint files with high compatibility and zero hassle.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded setup file and follow the on-screen instructions to complete the installation.
  3. 3. Encrypt Your Documents Natively: Open your document in WPS Office, go to Menu > Document Encryption, and set a secure password directly on the file.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsBuilt-in document encryption and password protection featuresLightweight application that avoids triggering heavy system security alertsFree to download and use with a highly familiar user interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Defender block encrypted ZIP files that have no malware?

Because the archive is encrypted, Defender's scanning engine cannot inspect the internal contents. By default, restrictive security policies may block these opaque files as a precaution, assuming they might hide malicious executable payloads.

What is the safest way to bypass the archive block?

The safest approach is either adding the specific file hash to your Microsoft 365 Tenant Allow List or submitting the file to Microsoft as a false positive. This allows access without lowering your local machine's security posture.

Can a standard user add a file to the Defender Allow List?

No, modifying the Tenant Allow/Block List requires Microsoft 365 administrator privileges. Standard users encountering this block must contact their IT or security department for assistance.