Spoof intelligence insight in EOP

Important

The improved Microsoft 365 Defender portal is now available. This new experience brings Defender for Endpoint, Defender for Office 365, Microsoft 365 Defender, and more into the Microsoft 365 security center. Learn what's new.

Applies to

Note

The features described in this article are in Preview, are subject to change, and are not available in all organizations. If your organization does not have the features described in this article, see the older spoof management experience at Manage spoofed senders using the spoof intelligence policy and spoof intelligence insight in EOP.

In Microsoft 365 organizations with mailboxes in Exchange Online or standalone Exchange Online Protection (EOP) organizations without Exchange Online mailboxes, inbound email messages are automatically protected against spoofing. EOP uses spoof intelligence as part of your organization's overall defense against phishing. For more information, see Anti-spoofing protection in EOP.

When a sender spoofs an email address, they appear to be a user in one of your organization's domains, or a user in an external domain that sends email to your organization. Attackers who spoof senders to send spam or phishing email need to be blocked. But there are scenarios where legitimate senders are spoofing. For example:

  • Legitimate scenarios for spoofing internal domains:

    • Third-party senders use your domain to send bulk mail to your own employees for company polls.
    • An external company generates and sends advertising or product updates on your behalf.
    • An assistant regularly needs to send email for another person within your organization.
    • An internal application sends email notifications.
  • Legitimate scenarios for spoofing external domains:

    • The sender is on a mailing list (also known as a discussion list), and the mailing list relays email from the original sender to all the participants on the mailing list.
    • An external company sends email on behalf of another company (for example, an automated report or a software-as-a-service company).

You can use the spoof intelligence insight in the Microsoft 365 Defender portal to quickly identify spoofed senders who are legitimately sending you unauthenticated email (messages from domains that don't pass SPF, DKIM, or DMARC checks), and manually allow those senders.

By allowing known senders to send spoofed messages from known locations, you can reduce false positives (good email marked as bad). By monitoring the allowed spoofed senders, you provide an additional layer of security to prevent unsafe messages from arriving in your organization.

Likewise, you can review spoofed senders that were allowed by spoof intelligence and manually block those senders from the spoof intelligence insight.

The rest of this article explains how to use the spoof intelligence insight in the Microsoft 365 Defender portal and in PowerShell (Exchange Online PowerShell for Microsoft 365 organizations with mailboxes in Exchange Online; standalone EOP PowerShell for organizations without Exchange Online mailboxes).

Note

  • Only spoofed senders that were detected by spoof intelligence appear in the spoof intelligence insight. When you override the allow or block verdict in the insight, the spoofed sender becomes a manual allow or block entry that appears only on the Spoof tab in the Tenant Allow/Block List. You can also manually create allow or block entries for spoofed senders before they're detected by spoof intelligence. For more information, see Manage the Tenant Allow/Block List in EOP.

  • The spoof intelligence insight and the Spoof tab in the Tenant Allow/Block list replace the functionality of the spoof intelligence policy that was available on the anti-spam policy page in the Security & Compliance Center.

  • The spoof intelligence insight shows 7 days worth of data. The Get-SpoofIntelligenceInsight cmdlet shows 30 days worth of data.

What do you need to know before you begin?

Open the spoof intelligence insight in the Microsoft 365 Defender portal

  1. In the Microsoft 365 Defender portal, go to Email & Collaboration > Policies & Rules > Threat policies > Tenant Allow/Block Lists in the Rules section.

  2. On the Tenant Allow/Block Lists page, the spoof intelligence insight looks like this:

    Spoof intelligence insight on the Anti-phishing policy page.

    The insight has two modes:

    • Insight mode: If spoof intelligence is enabled, the insight shows you how many messages were detected by spoof intelligence during the past seven days.
    • What if mode: If spoof intelligence is disabled, then the insight shows you how many messages would have been detected by spoof intelligence during the past seven days.

To view information about the spoof intelligence detections, click View spoofing activity in the spoof intelligence insight.

View information about spoofed messages

Note

Remember, only spoofed senders that were detected by spoof intelligence appear on this page. When you override the allow or block verdict in the insight, the spoofed sender becomes a manual allow or block entry that appears only on the Spoof tab in the Tenant Allow/Block List.

On the Spoof intelligence insight page that appears after you click View spoofing activity in the spoof intelligence insight, the page contains the following information:

  • Spoofed user: The domain of the spoofed user that's displayed in the From box in email clients. The From address is also known as the 5322.From address.
  • Sending infrastructure: Also known as the infrastructure. The sending infrastructure will be one of the following values:
    • The domain found in a reverse DNS lookup (PTR record) of the source email server's IP address.
    • If the source IP address has no PTR record, then the sending infrastructure is identified as <source IP>/24 (for example, 192.168.100.100/24).
  • Message count: The number of messages from the combination of the spoofed domain and the sending infrastructure to your organization within the last 7 days.
  • Last seen: The last date when a message was received from the sending infrastructure that contains the spoofed domain.
  • Spoof type: One of the following values:
    • Internal: The spoofed sender is in a domain that belongs to your organization (an accepted domain).
    • External: The spoofed sender is in an external domain.
  • Action: This value is Allowed or Blocked:
    • Allowed: The domain failed explicit email authentication checks SPF, DKIM, and DMARC). However, the domain passed our implicit email authentication checks (composite authentication). As a result, no anti-spoofing action was taken on the message.
    • Blocked: Messages from the combination of the spoofed domain and sending infrastructure are marked as bad by spoof intelligence. The action that's taken on the spoofed messages is controlled by the default anti-phishing policy or custom anti-phishing policies (the default value is Move message to Junk Email folder). For more information, see Configure anti-phishing policies in Microsoft Defender for Office 365.

You can click selected column headings to sort the results.

To filter the results, you have the following options:

  • Click the Filter button. In the Filter flyout that appears, you can filter the results by:
    • Spoof type
    • Action
  • Use the Search box to enter a comma-separated list of spoofed domain values or sending infrastructure values to filter the results.

View details about spoofed messages

When you select an entry from the list, a details flyout appears that contains the following information and features:

  • Allow to spoof or Block from spoofing: Select one of these values to override the original spoof intelligence verdict and move the entry from the spoof intelligence insight to the Tenant Allow/Block List as an allow or block entry for spoof.
  • Why we caught this.
  • What you need to do.
  • A domain summary that includes most of the same information from the main spoof intelligence page.
  • WhoIs data about the sender.
  • A link to open Threat Explorer to see additional details about the sender under View > Phish in Microsoft Defender for Office 365.
  • Similar messages we have seen in your tenant from the same sender.

About allowed spoofed senders

An allowed spoofed sender in the spoof intelligence insight or a blocked spoofed sender that you manually changed to Allow to spoof only allows messages from the combination of the spoofed domain and the sending infrastructure. It does not allow email from the spoofed domain from any source, nor does it allow email from the sending infrastructure for any domain.

For example, the following spoofed sender is allowed to spoof:

  • Domain: gmail.com
  • Infrastructure: tms.mx.com

Only email from that domain/sending infrastructure pair will be allowed to spoof. Other senders attempting to spoof gmail.com aren't automatically allowed. Messages from senders in other domains that originate from tms.mx.com are still checked by spoof intelligence, and might be blocked.

Use the spoof intelligence insight in Exchange Online PowerShell or standalone EOP PowerShell

In PowerShell, you use the Get-SpoofIntelligenceInsight cmdlet to view allowed and blocked spoofed senders that were detected by spoof intelligence. To manually allow or block the spoofed senders, you need to use the New-TenantAllowBlockListSpoofItems cmdlet. For more information, see Use PowerShell to manage spoofed sender entries to the Tenant Allow/Block List.

To view the information in the spoof intelligence insight, run the following command:

Get-SpoofIntelligenceInsight

For detailed syntax and parameter information, see Get-SpoofIntelligenceInsight.

Other ways to manage spoofing and phishing

Be diligent about spoofing and phishing protection. Here are related ways to check on senders who are spoofing your domain and help prevent them from damaging your organization:

  • Check the Spoof Mail Report. You can use this report often to view and help manage spoofed senders. For information, see Spoof Detections report.

  • Review your Sender Policy Framework (SPF) configuration. For a quick introduction to SPF and to get it configured quickly, see Set up SPF in Microsoft 365 to help prevent spoofing. For a more in-depth understanding of how Office 365 uses SPF, or for troubleshooting or non-standard deployments such as hybrid deployments, start with How Office 365 uses Sender Policy Framework (SPF) to prevent spoofing.

  • Review your DomainKeys Identified Mail (DKIM) configuration. You should use DKIM in addition to SPF and DMARC to help prevent attackers from sending messages that look like they are coming from your domain. DKIM lets you add a digital signature to email messages in the message header. For information, see Use DKIM to validate outbound email sent from your custom domain in Office 365.

  • Review your Domain-based Message Authentication, Reporting, and Conformance (DMARC) configuration. Implementing DMARC with SPF and DKIM provides additional protection against spoofing and phishing email. DMARC helps receiving mail systems determine what to do with messages sent from your domain that fail SPF or DKIM checks. For information, see Use DMARC to validate email in Office 365.