Hunting Post-Outage Phishing: Suspicious Inbox Rules, OAuth Consents & Audit Events with Graph PowerShell

✨ Hunt Brief — Post-Outage Phishing in Microsoft 365
  • The threat: Campaigns using fake Microsoft 365 service-health and outage notices aim to steal sign-ins or trick users into granting OAuth consent. Microsoft pointed Security Copilot customers to prebuilt investigation playbooks tracking OAuth grants, mailbox rule changes, and MFA changes.
  • Three artifacts to check: (1) inbox rules that forward, redirect, or delete mail, (2) tenant-wide OAuth consents with write scopes, (3) Entra directory audit events for consent and authentication changes.
  • Lab result: Scanning 25 mailboxes in our LAB 365 dev tenant found 0 suspicious inbox rules, and the audit log showed 1 consent event in the last 7 days.

After a high-profile outage, attackers know administrators and users are primed to click anything that looks like a service-health notice. Microsoft reported a high-volume phishing campaign using fake Microsoft 365 outage lures and equipped Security Copilot customers with prebuilt promptbooks to trace follow-on activity: sudden OAuth grants, mailbox rule modifications, and MFA changes.

You do not need Security Copilot to start hunting. This runbook gives you three PowerShell checks that map to those same signals, and shows the real output from our LAB 365 dev tenant (xzf58.onmicrosoft.com).


Architecture: Three Hunt Signals

Post-Outage Phishing: What Attackers Change After a Click 1. MAILBOX RULES • Forward / redirect to outside • Delete security notices Get-InboxRule (Exchange Online) 2. OAUTH CONSENTS • New tenant-wide grants • Mail.Send, *.ReadWrite scopes /oauth2PermissionGrants 3. AUDIT EVENTS • Consent to application • Authentication method changes /auditLogs/directoryAudits

Hunt 1: Inbox Rules That Forward, Redirect, or Delete

Attackers who gain mailbox access commonly create rules that hide their activity or siphon mail. Scan every mailbox with Exchange Online PowerShell v3:

POWERSHELL
Connect-ExchangeOnline `
    -AppId "c841ae33-4093-4385-8a90-6a530761f9b9" `
    -Organization "xzf58.onmicrosoft.com" `
    -CertificateThumbprint "BEAC429DE404B46FF030811C0C9DE00DE701C027" `
    -ShowBanner:$false

$Mailboxes = Get-EXOMailbox -ResultSize Unlimited

$Suspicious = foreach ($Mbx in $Mailboxes) {
    Get-InboxRule -Mailbox $Mbx.UserPrincipalName -ErrorAction SilentlyContinue |
        Where-Object { $_.ForwardTo -or $_.ForwardAsAttachmentTo -or $_.RedirectTo -or $_.DeleteMessage } |
        Select-Object @{N='Mailbox';E={$Mbx.UserPrincipalName}}, Name, Enabled, ForwardTo, RedirectTo, DeleteMessage
}

"Mailboxes scanned: $($Mailboxes.Count) | Suspicious rules: $(@($Suspicious).Count)"
$Suspicious | Format-Table -AutoSize

LAB 365 Result

TEXT
mailboxes scanned: 25; suspicious rules: 0
Tip: Get-InboxRule runs one call per mailbox, so a large tenant takes a while. Our 25-mailbox lab scan took roughly two minutes. For big tenants, run it as a scheduled job, or use Microsoft Defender XDR advanced hunting on mailbox rule events.

Hunt 2: Review Tenant-Wide OAuth Consents

Illicit consent attacks trick a user into approving an app with powerful scopes. List tenant-wide grants and flag dangerous scopes such as Mail.Send, Mail.ReadWrite, Files.ReadWrite.All, and Sites.FullControl.All. Our companion article Governing Copilot Connector Write Actions has the full audit script and the real output from this tenant, which included tenant-wide Mail.Send and Sites.FullControl.All grants.


Hunt 3: Query Entra Directory Audit Events

Look for consent and authentication changes in the recent past. AuditLog.Read.All is required:

POWERSHELL
Connect-MgGraph `
    -ClientId "c841ae33-4093-4385-8a90-6a530761f9b9" `
    -TenantId "ab85c7a1-366d-44ba-acc6-924fa0950045" `
    -CertificateThumbprint "BEAC429DE404B46FF030811C0C9DE00DE701C027" `
    -NoWelcome

$Since = (Get-Date).AddDays(-7).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")

$Events = (Invoke-MgGraphRequest -Method GET `
    -Uri "https://graph.microsoft.com/v1.0/auditLogs/directoryAudits?`$top=100&`$filter=activityDateTime ge $Since").value

$Events |
    Where-Object { $_.activityDisplayName -match 'consent|permission grant|authentication method|security info' } |
    ForEach-Object { "{0} | {1} | {2}" -f $_.activityDateTime, $_.category, $_.activityDisplayName }

LAB 365 Result (Last 7 Days)

TEXT
11/24/2026 1:41:29 PM | ApplicationManagement | Consent to application
11/24/2026 1:41:29 PM | ApplicationManagement | Remove delegated permission grant
11/24/2026 1:41:29 PM | ApplicationManagement | Add delegated permission grant

These three events share one timestamp: a single consent action that replaced a delegated grant. In a real hunt, confirm who performed it and whether it was expected.


Response Checklist

  1. Contain: For any suspicious rule, disable it and reset the user's sessions and credentials.
  2. Revoke consents: Remove unexpected OAuth grants and review the app's sign-in activity.
  3. Check MFA changes: Review new authentication methods registered for affected users.
  4. Tell users: Remind staff that Microsoft does not ask for credentials in outage notices, and point them to the Service Health dashboard instead of email links.

References & Official Microsoft Documentation

💬 Reader Comments & Feedback

Did this runbook help, or did Microsoft change a cmdlet or UI menu? Share your feedback below.