# Safe attachments unknown malware response set to block messages

When Safe attachments unknown malware response set to block, Microsoft Defender for Office 365 prevents current and future messages with detected malware…

Source: https://maester.dev/docs/tests/ORCA.124

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/soulemike" title="Michael Soule · Original author"><img src="https://github.com/soulemike.png" alt="Michael Soule" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/soulemike">Michael Soule</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/orca">ORCA</a> · Defender · Safe Attachments · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId ORCA.124
```

## Overview

When Safe attachments unknown malware response set to block, Microsoft Defender for Office 365 prevents current and future messages with detected malware from proceeding and sends messages to quarantine in Office 365.

#### Remediation action

Set Safe attachments unknown malware response to block messages.

#### Related Links

* [Microsoft 365 Defender Portal - Safe attachments](https://security.microsoft.com/safeattachmentv2)
* [Recommended settings for EOP and Microsoft Defender for Office 365 security](https://aka.ms/orca-atpp-docs-7)

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | ORCA.124 |
| Severity | High |
| Suite | ORCA |
| Product | Defender |
| Related products | Exchange Online |
| Feature | Safe Attachments |
| Area | Email and collaboration protection |
| Resource type | Policy |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1566.001 Spearphishing Attachment, T1204.002 Malicious File |
| Supports controls | nist-800-53-r5:SI-3 |
| PowerShell test | [Test-ORCA124](https://github.com/maester365/maester/blob/main/tests/orca/Test.ORCA.124.ps1) |
| Services | ExchangeOnline |
| Compatible licenses | ATP_ENTERPRISE |

</details>

## Source

- Test: [`tests/orca/Test.ORCA.124.ps1`](https://github.com/maester365/maester/blob/main/tests/orca/Test.ORCA.124.ps1)
- Documentation: [`tests/orca/Test.ORCA.124.md`](https://github.com/maester365/maester/blob/main/tests/orca/Test.ORCA.124.md)
