Automated investigation and response (AIR) in Microsoft Defender for Office 365

Microsoft Defender for Office 365 includes powerful automated investigation and response (AIR) capabilities that can save your security operations team time and effort. As alerts are triggered, it's up to your security operations team to review, prioritize, and respond to those alerts. Keeping up with the volume of incoming alerts can be overwhelming. Automating some of those tasks can help.

AIR enables your security operations team to operate more efficiently and effectively. AIR capabilities include automated investigation processes in response to well-known threats that exist today. Appropriate remediation actions await approval, enabling your security operations team to respond effectively to detected threats. With AIR, your security operations team can focus on higher-priority tasks without losing sight of important alerts that are triggered.

This article describes:

This article also includes next steps, and resources to learn more.

The overall flow of AIR

An alert is triggered, and a security playbook starts an automated investigation, which results in findings and recommended actions. Here's the overall flow of AIR, step by step:

  1. An automated investigation is initiated in one of the following ways:

  2. While an automated investigation runs, it gathers additional data about the email in question and entities related to that email. Such entities can include files, URLs, and recipients. The investigation's scope can increase as new and related alerts are triggered.

  3. During and after an automated investigation, details and results are available to view. Results include recommended actions that can be taken to respond to and remediate any threats that were found. In addition, a playbook log is available that tracks all investigation activity.

  4. Your security operations team reviews the investigation results and recommendations, and approves or rejects remediation actions.

  5. As pending remediation actions are approved (or rejected), the automated investigation completes.

Important

In Microsoft Defender for Office 365, no remediation actions are taken automatically. Remediation actions are taken only upon approval by your organization's security team.

AIR capabilities save your security operations team time by identifying remediation actions and providing the details needed to make an informed decision.

During and after each automated investigation, your security operations team can:

Tip

For a more detailed overview, see How AIR works.

How to get AIR

AIR capabilities are included in Microsoft Defender for Office 365, provided your policies and alerts are configured. If you would like some help with this, follow the guidance in Protect against threats to set up or configure the following protection settings:

  1. Audit logging (should be turned on)

  2. Antimalware policies

  3. Antiphishing protection

  4. Antispam protection.

  5. Safe Links and Safe Attachments.

  6. Safe Attachments for SharePoint, OneDrive, and Microsoft Teams.

  7. Zero-hour auto purge for email.

In addition, make sure to review your organization's alert policies, especially the default policies in the Threat management category.

Which alert policies trigger automated investigations?

Microsoft 365 provides many built-in alert policies that help identify Exchange admin permissions abuse, malware activity, potential external and internal threats, and information governance risks. Several of the default alert policies can trigger automated investigations. The following table describes the alerts that trigger automated investigations, their severity in the Microsoft 365 security center, and how they're generated:

Alert Severity How the alert is generated
A potentially malicious URL click was detected High This alert is generated when any of the following occurs:
  • A user protected by Safe Links in your organization clicks a malicious link
  • Verdict changes for URLs are identified by Microsoft Defender for Office 365
  • Users override Safe Links warning pages (based on your organization's Safe Links policy).

For more information on events that trigger this alert, see Set up Safe Links policies.

An email message is reported by a user as malware or phish Informational This alert is generated when users in your organization report messages as phishing email using the Report Message add-in or the Report Phishing add-in.
Email messages containing malware are removed after delivery Informational This alert is generated when any email messages containing malware are delivered to mailboxes in your organization. If this event occurs, Microsoft removes the infected messages from Exchange Online mailboxes using Zero-hour auto purge.
Email messages containing phish URLs are removed after delivery Informational This alert is generated when any messages containing phish are delivered to mailboxes in your organization. If this event occurs, Microsoft removes the infected messages from Exchange Online mailboxes using Zero-hour auto purge.
Suspicious email sending patterns are detected Medium This alert is generated when someone in your organization has sent suspicious email and is at risk of being restricted from sending email. This is an early warning for behavior that might indicate that the account is compromised, but not severe enough to restrict the user.

Although it's rare, an alert generated by this policy may be an anomaly. However, it's a good idea to check whether the user account is compromised.

A user is restricted from sending email High This alert is generated when someone in your organization is restricted from sending outbound mail. This typically results when an email account is compromised.

For more information about restricted users, see Remove blocked users from the Restricted Users portal in Microsoft 365.

Tip

To learn more about alert policies or edit the default settings, see Alert policies in the Microsoft 365 compliance center.

Required permissions to use AIR capabilities

Permissions are granted through certain roles, such as those that are described in the following table:

Task Role(s) required
Set up AIR features One of the following roles:
  • Global Administrator
  • Security Administrator

These roles can be assigned in Azure Active Directory or in the Security & Compliance Center.

Start an automated investigation

--- or ---

Approve or reject recommended actions

One of the following roles, assigned in Azure Active Directory or in the Security & Compliance Center:
  • Global Administrator
  • Security Administrator
  • Security Reader
    --- and ---
  • Search and Purge (this role is assigned only in the Security & Compliance Center. You might have to create a new role group there and add the Search and Purge role to that new role group.

Required licenses

Microsoft Defender for Office 365 Plan 2 licenses should be assigned to:

  • Security administrators (including global administrators)
  • Your organization's security operations team (including security readers and those with the Search and Purge role)
  • End users

Next steps

See also