SOP-111: Mailbox Delegation & Send-As / Full-Access Permission Abuse Response | CyberHawk Threat Intel

·

Mailbox delegation abuse is the persistence half of Business Email Compromise. After an attacker phishes an admin or a mailbox owner, they do not just read the current inbox — they grant a mailbox they control FullAccess, Send-As, Send-on-Behalf, or folder-level permissions on the victim mailbox. That delegation is a separate object from the victim's credentials, so it survives a password reset, an MFA re-registration, and a session revocation. The attacker keeps reading the CFO's mail, keeps sending wire-transfer instructions "from" the executive, and keeps monitoring finance threads — long after the SOC believes the account is clean.

Key data sources: OfficeActivity (Add-MailboxPermission, Add-RecipientPermission, Set-Mailbox, Add-MailboxFolderPermission, MailItemsAccessed with a delegate LogonType), AuditLogs (admin role grants that enabled the change), and CloudAppEvents (Defender for Cloud Apps Exchange activity). This SOP is distinct from SOP-85 (malicious inbox / auto-forwarding rules) — that hides mail; this one hands the attacker a standing key to the mailbox.

☰ Table of Contents

01 Background 02 Identification 03 Containment 04 Eradication 05 Escalation
📧

01 — BACKGROUND

TECHNIQUE OVERVIEW
01
Technique Overview — Delegate Access as Persistence
MITRE T1098.002

Exchange Online mailbox permissions are designed for legitimate delegation — an assistant managing an executive's calendar, a shared team mailbox, a service desk sending on behalf of a queue. Attackers weaponise the exact same mechanism. Once they hold an admin token (via AiTM phishing, consent grant, or a compromised Exchange administrator), a single PowerShell cmdlet or Exchange admin center click gives a mailbox they own a durable foothold in the victim mailbox. Because the permission lives on the target mailbox, not on the compromised admin, cleaning up the admin account does nothing to it. This is why delegation abuse is the single most-missed persistence layer in BEC post-incident cleanup.

FieldValue
MITRE TechniqueT1098.002 — Account Manipulation: Additional Email Delegate Permissions
T1114.002 — Email Collection: Remote Email Collection
T1078 — Valid Accounts (compromised admin used to grant)
Kill-chain PhasePersistence + Collection (post-compromise)
Primary Log SourceOfficeActivity (OfficeWorkload = Exchange) — Add-MailboxPermission, Add-RecipientPermission, Set-Mailbox, Add-MailboxFolderPermission, MailItemsAccessed
Secondary Log SourcesAuditLogs (Entra role add enabling the change), CloudAppEvents (MDCA Exchange activity), SigninLogs (delegate sign-in origin)
Common ToolingExchange Online PowerShell (EXO V3 module), Exchange admin center (admin.exchange.microsoft.com), Microsoft Graph, attacker BEC scripts
Default SeveritySEV2 baseline → SEV1 when the target is an executive / finance mailbox or the grantee is external
Detection WindowQuery last 7 days for the grant event; extend to 90 days when reconstructing persistence during a confirmed BEC

A password reset does NOT remove mailbox delegation. If you close a BEC ticket after resetting the victim's password without auditing Add-MailboxPermission / Add-RecipientPermission on that mailbox, the attacker still has full read and send-as access. Delegation cleanup is mandatory, not optional.

02
Attack Paths & Severity Model
CONTEXT

Five concrete paths a SOC actually sees. The permission type tells you the attacker's intent — read-only collection versus active impersonation for fraud.

#Attack PathWhat the attacker does
A1FullAccess on the CFO mailboxCompromised Exchange admin runs Add-MailboxPermission -AccessRights FullAccess granting an attacker-owned mailbox silent read access to every folder — pure collection, no send.
A2Send-As impersonation for wire fraudAdd-RecipientPermission -AccessRights SendAs lets the attacker send mail that appears to originate from the executive with no "on behalf of" banner — the classic invoice/wire-redirect vector.
A3Send-on-Behalf persistenceSet-Mailbox -GrantSendOnBehalfTo — a quieter variant that stamps "on behalf of"; used when the attacker wants deniability or a shared-queue cover story.
A4Folder-level "Default" downgradeAdd-MailboxFolderPermission setting the Default principal on Inbox/Calendar to Reviewer — everyone in the tenant can now read the mailbox, evading per-user delegation hunts.
A5Benign delegation (false positive)IT onboards a new EA who is given FullAccess on their director's mailbox via a documented service-desk ticket during business hours — legitimate and must not be actioned.

Severity is driven by who the target is, who the grantee is, and whether a change record exists:

SeveritySignals
CRITICAL / SEV1Grant on a VIP / finance mailbox, grantee is external or a recently-created account, no change ticket, grant made outside business hours or right after a risky sign-in.
HIGH / SEV2FullAccess or SendAs grant on a standard mailbox with no matching change record; grant made by an account that itself was recently flagged risky.
MEDIUMFolder-level permission change or SendOnBehalf on a non-sensitive mailbox pending change-ticket verification.
LOW / FPDelegation matching an approved service-desk ticket, business hours, internal grantee, expected admin actor.
🔍

02 — IDENTIFICATION

5 INDICATORS
▶ Investigation Workflow
T0
Alert Triage Checklist
TRIAGE
WHY CHECK

Five yes/no questions decide whether this is a documented delegation or a live persistence event. Answer them before touching a query — they determine whether you page the on-call or queue the ticket.

  • 1Is the target a VIP / finance / executive mailbox? If yes, treat as SEV1 until proven benign.
  • 2Is the grantee external, newly created, or unrelated to the target's team? External or new grantee = strong TP signal.
  • 3Does a change ticket reference this exact mailbox, permission and grantee? No ticket = do not close as benign.
  • 4Was the grantor account flagged risky (AiTM, impossible travel) in the last 7 days? If yes, assume the admin token is stolen.
  • 5Was the grant made outside business hours or immediately after a suspicious sign-in? Off-hours grants correlate strongly with attacker activity.

Call the mailbox owner and the named grantor before you assume malice — but never let "an admin probably did it" close the ticket. A stolen admin token IS an admin doing it. The burden of proof for benign is a change record, not a plausible story.

I1
FullAccess Permission Grant (Add-MailboxPermission)
MANUAL + KQL
WHY CHECK

FullAccess is silent, read-everything collection. It lets the grantee open every folder of the target mailbox with no banner and no bounce. This is the most common delegation-abuse primitive because it needs no interaction from the victim and produces no outbound mail to trip DLP.

📍 Portal Navigation — Microsoft Purview Audit
purview.microsoft.com› Audit› Search› Activities: Added delegate mailbox permissions
  • 1Open Audit → Search. In Activities - friendly names select Added delegate mailbox permissions (this maps to the Add-MailboxPermission operation).
  • 2Set the date range to the last 7 days and run the search. Sort by the target (ObjectId / mailbox) column.
  • 3For each result open the record detail and read Parameters: confirm AccessRights = FullAccess, note the Identity (target mailbox) and User / Trustee (the grantee).
  • 4Check whether InheritanceType is All — attacker grants are almost always full inheritance across every folder.
  • 5Note the actor UPN (who ran the cmdlet) and the ClientIP — pivot both into SigninLogs in step I4.
Field / ValueMeaningAnalyst Action
Add-MailboxPermissionA delegate was granted access rights on a mailboxParse Parameters for the rights type
AccessRights = FullAccessOpen-and-read every folder of the target mailboxTP if no ticket — collection
InheritanceType = AllPermission applies to all subfoldersConfirms full-mailbox scope
Trustee = external / #EXT#Grantee is a guest or external identityCRITICAL — external delegate
ResultStatus = Success / TrueCmdlet completed and permission is liveAccess is active now
DETECTS: FullAccess grants on any mailbox in the last 7 days, excluding SELF/NT-AUTHORITY inheritance noise, surfacing grantor, grantee, target and client IP
KQL — Microsoft Sentinel / Defender XDR Advanced Hunting
OfficeActivity | where TimeGenerated > ago(7d) | where OfficeWorkload =~ "Exchange" | where Operation =~ "Add-MailboxPermission" | extend P = parse_json(Parameters) | mv-apply p = P on ( extend pn = tostring(p.Name), pv = tostring(p.Value) | summarize Params = make_bag(bag_pack(pn, pv))) | extend AccessRights = tostring(Params.AccessRights), TargetMailbox = tostring(Params.Identity), Grantee = tostring(Params.User), Inheritance = tostring(Params.InheritanceType) | where AccessRights has "FullAccess" | where Grantee !has "NT AUTHORITY" and Grantee !has "SELF" and Grantee !has "S-1-5" | project TimeGenerated, Grantor=UserId, ClientIP, TargetMailbox, Grantee, AccessRights, Inheritance, ResultStatus | order by TimeGenerated desc
DETECTS: Same FullAccess grant coverage in Splunk from the O365 management activity feed, filtering out inherited SELF/SYSTEM noise
SPL — Splunk
index=o365 sourcetype="o365:management:activity" Workload=Exchange Operation="Add-MailboxPermission" | spath input=Parameters | eval AccessRights=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"AccessRights")) | eval TargetMailbox=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"Identity")) | eval Grantee=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"User")) | search AccessRights="*FullAccess*" NOT Grantee="NT AUTHORITY*" NOT Grantee="*SELF*" NOT Grantee="S-1-5*" | table _time UserId ClientIP TargetMailbox Grantee AccessRights ResultStatus | sort -_time

Filter out the SELF and NT AUTHORITY\SYSTEM grantees or you will drown in benign inheritance noise — but never filter out results just because the grantor is a Global Admin or Exchange Admin. Those are exactly the identities an attacker steals to run this cmdlet.

I2
Send-As & Send-on-Behalf Grants
MANUAL + KQL
WHY CHECK

Where FullAccess is for reading, Send-As is for fraud. Add-RecipientPermission -AccessRights SendAs lets the attacker send mail that appears to come directly from the executive with no "on behalf of" marker — the exact primitive behind invoice-redirect and payroll-diversion BEC. Set-Mailbox -GrantSendOnBehalfTo is the quieter cousin that stamps an "on behalf of" line. Any SendAs grant on a finance or executive mailbox is a wire-fraud enabler until proven otherwise.

📍 Portal Navigation — Purview Audit / EAC
purview.microsoft.com› Audit› Search› Operations: Add-RecipientPermission, Set-Mailbox
  • 1In Audit → Search, add the raw operations Add-RecipientPermission and Set-Mailbox to the search filter (use the search box → "Add-RecipientPermission").
  • 2For Add-RecipientPermission records, confirm AccessRights = SendAs and read Trustee (the grantee) and Identity (the target).
  • 3For Set-Mailbox records, look for a GrantSendOnBehalfTo parameter being added — this is Send-on-Behalf delegation.
  • 4Cross-check the grantee against your directory: is it a mailbox the attacker controls, a newly created account, or an external identity?
  • 5To verify current state live, open admin.exchange.microsoft.com → Recipients → Mailboxes → [target] → Delegation and review the Send as and Send on behalf lists.
Field / ValueMeaningAnalyst Action
Add-RecipientPermissionA Send-As permission was grantedConfirm AccessRights = SendAs
AccessRights = SendAsGrantee can send mail as the target with no bannerTP — impersonation enabled
Set-Mailbox + GrantSendOnBehalfToSend-on-Behalf delegation addedVerify grantee & ticket
Target = finance / exec mailboxHigh-value impersonation targetEscalate SEV1
DETECTS: SendAs grants (Add-RecipientPermission) and GrantSendOnBehalfTo additions (Set-Mailbox) across all mailboxes in the last 7 days
KQL — SendAs & SendOnBehalf grants
OfficeActivity | where TimeGenerated > ago(7d) | where OfficeWorkload =~ "Exchange" | where Operation in~ ("Add-RecipientPermission","Set-Mailbox") | extend P = parse_json(Parameters) | mv-apply p = P on ( extend pn = tostring(p.Name), pv = tostring(p.Value) | summarize Params = make_bag(bag_pack(pn, pv))) | extend AccessRights = tostring(Params.AccessRights), TargetMailbox = tostring(Params.Identity), SendAsTrustee = tostring(Params.Trustee), OnBehalf = tostring(Params.GrantSendOnBehalfTo) | where (Operation =~ "Add-RecipientPermission" and AccessRights has "SendAs") or (Operation =~ "Set-Mailbox" and isnotempty(OnBehalf)) | project TimeGenerated, Grantor=UserId, ClientIP, Operation, TargetMailbox, SendAsTrustee, OnBehalf, ResultStatus | order by TimeGenerated desc
DETECTS: Splunk equivalent — SendAs and GrantSendOnBehalfTo delegation events from the O365 management feed
SPL — Splunk
index=o365 sourcetype="o365:management:activity" Workload=Exchange (Operation="Add-RecipientPermission" OR Operation="Set-Mailbox") | spath input=Parameters | eval AccessRights=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"AccessRights")) | eval Target=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"Identity")) | eval Trustee=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"Trustee")) | eval OnBehalf=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"GrantSendOnBehalfTo")) | where (AccessRights="*SendAs*") OR (isnotnull(OnBehalf) AND OnBehalf!="") | table _time UserId ClientIP Operation Target Trustee OnBehalf | sort -_time
I3
Folder-Level Permission & "Default" Downgrade
MANUAL + KQL
WHY CHECK

Per-user delegation hunts miss folder-level abuse. Add-MailboxFolderPermission / Set-MailboxFolderPermission can grant a specific folder (Inbox, Calendar, Sent Items) to an attacker mailbox — or, more insidiously, raise the Default or Anonymous principal to Reviewer/Editor so every user in the tenant can read the mailbox without any named delegation ever appearing. This is a deliberate evasion of the FullAccess hunt in I1.

📍 Portal Navigation — Purview Audit
purview.microsoft.com› Audit› Search› Operations: Add-MailboxFolderPermission, Set-MailboxFolderPermission
  • 1Search the audit log for Add-MailboxFolderPermission and Set-MailboxFolderPermission over the last 7 days.
  • 2Read the User parameter — if it is Default or Anonymous, this is a tenant-wide or internet-wide exposure, not a targeted delegation.
  • 3Read the AccessRights — Reviewer, Editor, or Owner on the Inbox or the whole store is the red flag; None or FreeBusy on a calendar is usually benign.
  • 4Note the FolderPath — the root \ (Top of Information Store) or \Inbox is high-severity; a single shared calendar is lower.
  • 5Confirm live state in EAC: admin.exchange.microsoft.com → Recipients → Mailboxes → [target] → Delegation, and via PowerShell Get-MailboxFolderPermission -Identity [target]:\Inbox.
Field / ValueMeaningAnalyst Action
User = DefaultPermission applies to every authenticated tenant userCRITICAL — tenant-wide read
User = AnonymousApplies to unauthenticated / externalCRITICAL — public exposure
AccessRights = Reviewer/Editor/OwnerRead (or read-write) access to folder contentsTP on Inbox / root
FolderPath = \ or \InboxWhole-store or inbox-level scopeHigh severity
DETECTS: Folder permission grants raising Default/Anonymous or granting named delegates read access on the Inbox / root of a mailbox
KQL — Folder-level permission grants
OfficeActivity | where TimeGenerated > ago(7d) | where OfficeWorkload =~ "Exchange" | where Operation in~ ("Add-MailboxFolderPermission","Set-MailboxFolderPermission") | extend P = parse_json(Parameters) | mv-apply p = P on ( extend pn = tostring(p.Name), pv = tostring(p.Value) | summarize Params = make_bag(bag_pack(pn, pv))) | extend TargetFolder = tostring(Params.Identity), GrantedTo = tostring(Params.User), AccessRights = tostring(Params.AccessRights) | where AccessRights has_any ("Reviewer","Editor","Owner","PublishingEditor","PublishingAuthor") | project TimeGenerated, Grantor=UserId, ClientIP, TargetFolder, GrantedTo, AccessRights, ResultStatus | order by TimeGenerated desc
DETECTS: Splunk equivalent for folder permission grants, flagging Default/Anonymous and read-capable rights
SPL — Splunk
index=o365 sourcetype="o365:management:activity" Workload=Exchange (Operation="Add-MailboxFolderPermission" OR Operation="Set-MailboxFolderPermission") | spath input=Parameters | eval TargetFolder=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"Identity")) | eval GrantedTo=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"User")) | eval AccessRights=mvindex('Parameters{}.Value', mvfind('Parameters{}.Name',"AccessRights")) | search AccessRights IN ("*Reviewer*","*Editor*","*Owner*","*Publishing*") | table _time UserId ClientIP TargetFolder GrantedTo AccessRights | sort -_time

Build a scheduled analytics rule that alerts specifically when User = Default or Anonymous is set to anything above AvailabilityOnly/None on any Inbox or root folder. This one detection catches the evasion that per-user delegation hunts structurally cannot see.

I4
Delegate Access In Use & Grantor Sign-In Origin
MANUAL + KQL
WHY CHECK

A grant proves capability; usage proves data exposure. MailItemsAccessed with a non-owner LogonType shows the delegate actually reading the mailbox — this is what turns a persistence finding into a confirmed data-collection incident and drives breach-notification decisions. In parallel, correlating the grantor UPN and ClientIP with SigninLogs tells you whether the admin who ran the cmdlet was itself compromised (AiTM, impossible travel, unfamiliar ASN).

📍 Portal Navigation — Defender Advanced Hunting + Entra Sign-in Logs
security.microsoft.com› Hunting› Advanced Hunting
  • 1Run the MailItemsAccessed query below; filter to the target mailbox and where the accessing identity is NOT the mailbox owner (delegate / admin logon).
  • 2For each delegate-access row, record the accessing UPN, ClientIP, and the count of items / folders touched — this scopes the data at risk.
  • 3Pivot the grantor UPN into Entra admin center → Users → [grantor] → Sign-in logs (or SigninLogs table) for the grant timestamp.
  • 4Look for risky sign-in, unfamiliar location/ASN, or an AiTM session token in the hours before the grant — a compromised grantor confirms the delegation is attacker-driven.
  • 5Check whether the grantee mailbox sent any mail as/for the target (Send-As usage) in EmailEvents — outbound impersonation is direct fraud evidence.
DETECTS: Non-owner (delegate/admin) access to a target mailbox's items — the delegation being actively used to read mail
KQL — Delegate mailbox access in use
OfficeActivity | where TimeGenerated > ago(7d) | where OfficeWorkload =~ "Exchange" | where Operation =~ "MailItemsAccessed" | where LogonType in ("Delegate","Admin") // 0=Owner, exclude owner access | where MailboxOwnerUPN != UserId // accessor is not the mailbox owner | summarize Items=count(), Folders=dcount(tostring(parse_json(Folders))), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by MailboxOwnerUPN, Delegate=UserId, ClientIP, LogonType | order by LastSeen desc
DETECTS: Splunk equivalent — delegate / admin (non-owner) mailbox access grouped by accessor and client IP
SPL — Splunk
index=o365 sourcetype="o365:management:activity" Workload=Exchange Operation="MailItemsAccessed" LogonType IN ("Delegate","Admin") | where MailboxOwnerUPN!=UserId | stats count AS Items dc(Folders) AS Folders min(_time) AS FirstSeen max(_time) AS LastSeen by MailboxOwnerUPN UserId ClientIP LogonType | convert ctime(FirstSeen) ctime(LastSeen) | sort -LastSeen
DETECTS: Whether the grantor account was risky at grant time — correlate the permission-change actor with risky sign-in signals
KQL — Grantor sign-in correlation
let grants = OfficeActivity | where TimeGenerated > ago(7d) | where Operation in~ ("Add-MailboxPermission","Add-RecipientPermission","Set-Mailbox","Add-MailboxFolderPermission") | project GrantTime=TimeGenerated, Grantor=UserId, GrantIP=ClientIP; grants | join kind=inner ( SigninLogs | where TimeGenerated > ago(7d) | extend Risk = tostring(RiskLevelDuringSignIn) | project SigninTime=TimeGenerated, Grantor=UserPrincipalName, IPAddress, Risk, AppDisplayName, Location=tostring(LocationDetails.city) ) on Grantor | where SigninTime between ((GrantTime - 6h) .. GrantTime) | where Risk in ("high","medium") or IPAddress != GrantIP | project GrantTime, Grantor, GrantIP, SigninTime, IPAddress, Risk, AppDisplayName, Location | order by GrantTime desc
SPL — Grantor sign-in correlation
index=o365 sourcetype="o365:management:activity" Workload=Exchange (Operation="Add-MailboxPermission" OR Operation="Add-RecipientPermission" OR Operation="Set-Mailbox" OR Operation="Add-MailboxFolderPermission") | eval Grantor=UserId | fields _time Grantor ClientIP | join Grantor [ search index=azure sourcetype="azure:aad:signin" (RiskLevelDuringSignIn=high OR RiskLevelDuringSignIn=medium) | rename UserPrincipalName AS Grantor IPAddress AS SigninIP | fields _time Grantor SigninIP RiskLevelDuringSignIn AppDisplayName ] | table _time Grantor ClientIP SigninIP RiskLevelDuringSignIn AppDisplayName | sort -_time

If MailItemsAccessed shows the delegate read hundreds of items across the mailbox, treat this as a confirmed data breach for notification purposes — the attacker has seen the contents, and password resets cannot un-see them. Scope every message subject/thread touched for regulated or sensitive data before deciding on GDPR / HIPAA / PCI obligations.

I5
IOC Extraction & FP/TP Decision Gate
DECISION
WHY CHECK

Before containment, pull every artifact you will need to remove the delegation, revoke access, and reconstruct the timeline — then make the TP/FP call explicitly against the signals below, not on gut feel.

Extract and record: target mailbox UPN(s); grantee / trustee identity (and whether external or newly created); grantor UPN + ClientIP; permission type (FullAccess / SendAs / SendOnBehalf / folder + rights); grant timestamp; MailItemsAccessed counts + client IPs of the delegate; any Send-As outbound messages; the change-ticket number (or its absence).

True-Positive SignalsFalse-Positive Signals
Grantee is external (#EXT#), newly created, or unrelated to the target's teamGrantee is a known EA / team member matching an approved service-desk ticket
No change ticket references this mailbox, permission, and granteeDocumented change record naming the exact mailbox, right, and grantee
Grantor account was risky / AiTM-flagged in the 6h before the grantGrantor is the expected Exchange admin from a known corporate IP
Grant made off-hours, from a new ASN, or right after a suspicious sign-inGrant during business hours from the normal admin workstation
Target is a VIP / finance mailbox; Default/Anonymous raised to Reviewer+Shared team mailbox or resource mailbox with expected delegation model
MailItemsAccessed by the delegate or Send-As mail observedNo delegate access observed and permission matches a shared-mailbox design

Two or more true-positive signals with no change ticket = treat as confirmed and move to Containment immediately. Do not wait for the grantor to reply to your email — the delegation is already live.

🚫

03 — CONTAINMENT

IMMEDIATE ACTION
C1
Verdict & Escalation Decision
DECISION GATE
▶ Based on Identification Findings — Select One
CONFIRMED Unauthorised FullAccess / SendAs / folder grant with no change ticket, external or new grantee, or risky grantor sign-in — execute C2 now, revoke sessions (C3), escalate to L2/IR
UNCERTAIN Grant exists but grantee is internal and no change ticket found yet; SendOnBehalf or folder permission on a non-sensitive mailbox — complete all Identification steps, contact grantor/owner, hold at SEV2, remove if unverified within 30 min
FALSE POS. Delegation matches an approved service-desk ticket, internal grantee, expected admin, business hours — document justification, close ticket, tune detection

Never accept "an admin must have set it up" without a change ticket that names this mailbox, this permission, and this grantee. Stolen admin tokens are the primary way this technique is executed — the grantor being a legitimate admin is expected, not exculpatory.

C2
Remove the Malicious Delegation
EXO ACTION
📍 Portal Navigation — Exchange Admin Center Delegation
admin.exchange.microsoft.com› Recipients› Mailboxes› [Target]› Delegation
  • 1Open the target mailbox → Delegation and remove the attacker grantee from Read and manage (Full Access), Send as, and Send on behalf as applicable.
  • 2Or via Exchange Online PowerShell, remove FullAccess: Remove-MailboxPermission -Identity [target] -User [grantee] -AccessRights FullAccess -Confirm:$false.
  • 3Remove SendAs: Remove-RecipientPermission -Identity [target] -Trustee [grantee] -AccessRights SendAs -Confirm:$false.
  • 4Remove SendOnBehalf: Set-Mailbox -Identity [target] -GrantSendOnBehalfTo @{remove="[grantee]"}.
  • 5Remove folder-level / Default abuse: Remove-MailboxFolderPermission -Identity "[target]:\Inbox" -User [grantee], and reset Default to None/AvailabilityOnly where it was raised.

Removing the delegation does NOT invalidate any Exchange session token the delegate already holds. You must also revoke sessions (C3) or the attacker's currently-open session can continue to read the mailbox until the token expires.

C3
Identity Containment — Grantor, Grantee & Sessions
ENTRA ID
📍 Portal Navigation — Entra ID User Actions
entra.microsoft.com› Identity› Users› [User]› Revoke sessions / Block sign-in
  • 1On the grantee (attacker-controlled) account: Block sign-in, Revoke sessions, and if it is a newly created rogue account, disable it pending deletion in Eradication.
  • 2On the grantor account (if its sign-in was risky/AiTM): reset the password, Revoke sessions to kill stolen refresh/session tokens, and require MFA re-registration.
  • 3Revoke the target mailbox owner's sessions too if the owner account is implicated: Revoke-MgUserSignInSession -UserId [upn].
  • 4Review and revoke any OAuth app consents the grantor granted (cross-reference SOP-21) — an app with Mail.ReadWrite app permission is delegation abuse by another route.
  • 5Block the delegate's ClientIP / ASN at the Conditional Access named-location layer if it is clearly attacker infrastructure.

Revoke sessions on BOTH the grantor and the grantee. The grantor's stolen token is how the grant was made; the grantee's token is how the mailbox is being read. Killing one without the other leaves a live path.

🗑

04 — ERADICATION

CLEANUP
E1
Full Delegation Sweep & Root-Cause Closure
ERADICATION
  • 1Tenant-wide sweep: the attacker rarely grants only one delegation. Enumerate every mailbox the grantee has rights on: Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission | Where-Object {$_.User -eq "[grantee]"} and the SendAs equivalent Get-RecipientPermission. Remove all attacker grants found.
  • 2Default/Anonymous audit: hunt for any Inbox or root folder where Default/Anonymous was raised above None/AvailabilityOnly and reset them.
  • 3Delete rogue accounts: if the grantee was a newly created mailbox/account for this operation, delete it after evidence preservation; remove any attacker-added admin role memberships (cross-reference SOP-19).
  • 4Close the entry point: the grant was made with a compromised admin token — enforce phishing-resistant MFA on all Exchange/Global Admins, restrict the ability to grant mailbox permissions via RBAC, and require admin actions from managed devices via Conditional Access.
  • 5Reconstruct the timeline: from the grant timestamp, MailItemsAccessed history, and any Send-As outbound mail, document when access started, what was read, and what data (regulated / financial) was exposed — this feeds the breach-notification decision.
  • 6Verify clean state: re-run the I1, I2, I3 and I4 queries scoped to the grantee and the target mailboxes — expected result is 0 hits. Any residual grant means the sweep was incomplete.
Eradication Complete When
  • Every FullAccess / SendAs / SendOnBehalf / folder grant tied to the grantee is removed tenant-wide (verified via I1–I3 = 0 hits)
  • All Default/Anonymous folder permissions reset to None / AvailabilityOnly
  • Grantee sessions revoked and rogue accounts disabled/deleted after evidence capture
  • Grantor password reset, sessions revoked, phishing-resistant MFA enforced
  • MailItemsAccessed re-run shows no non-owner delegate access post-cleanup
  • RBAC / Conditional Access hardening applied to close the admin-token vector
  • Timeline reconstructed and data-at-risk scoped for the notification decision
📢

05 — ESCALATION

ESCALATION PATHS
ES1
Escalation Matrix & Notification
ESCALATION
TierTrigger ConditionWho to NotifyAction
L1 → L2Cannot confirm TP/FP within 30 min; grant on any privileged mailbox; grantee unclearSOC L2 AnalystHand off with IOCs; hold delegation removal pending verdict
L2 → IRConfirmed unauthorised grant; delegate access (MailItemsAccessed) or Send-As mail observed; grantor account confirmed compromisedIncident Response TeamFull BEC response, tenant-wide delegation sweep, session revocation
IR → CISOExecutive / finance mailbox read; wire-fraud Send-As sent; regulated data (GDPR/HIPAA/PCI) in exposed mailCISO + Legal + Fraud/FinanceBreach-notification assessment, fraud hold on any pending transfers
ExternalConfirmed data exfiltration of third-party data; regulatory breach threshold met; active wire fraud with financial lossRegulators, affected third parties, bank, law enforcement, cyber-insurerEngage per legal within statutory windows (e.g. GDPR 72h)

A Send-As grant on a finance mailbox with any observed outbound impersonation is a wire-fraud incident, not just a persistence finding — loop in Finance and place a hold on pending transfers before completing technical cleanup. Money moves faster than eradication.

Bring to every escalation: incident / alert ID; target mailbox(es); grantee identity (internal/external/new); grantor UPN + ClientIP; permission type and grant timestamp; MailItemsAccessed counts and any Send-As mail; containment actions already taken (delegation removed, sessions revoked); current confidence (TP confirmed / suspected / unverified); data-at-risk assessment.

MITRE ATT&CKTechniqueWhere Seen in This SOP
T1098.002Account Manipulation: Additional Email Delegate PermissionsI1, I2, I3 — the delegation grants themselves
T1114.002Email Collection: Remote Email CollectionI4 — MailItemsAccessed by the delegate
T1078Valid AccountsI4 — compromised admin/grantor sign-in
T1534Internal Spearphishing / lateral (Send-As abuse)I2 — sending as the executive internally

Stay Threat-Ready

Follow CyberHawk Threat Intel for daily SOC analyst playbooks, detection engineering guides, and threat intelligence.

📺 YouTube 🎤 TikTok 🐦 X / Twitter 📡 Telegram
All SOPs Blog Web App (Free)
They can't exploit you if you are the Exploit.