Ground Truth field notes · defensive security

Home›Email Security›Outbound security

Deep dive + field case · outbound filtering · incident triage

Restricted from sending, nobody hit the limit

A user got blocked from sending email. The outbound policy limit was 500 an hour; he'd sent about 35 messages all day. The restriction wasn't a limit breach — it was the outbound filter deciding his calendar invites were spam. Here's how to tell the counter from the verdict, find the exact hour it happened, and prove it was benign without hand-waving.

Late on a Monday afternoon, Defender raised a High-severity incident titled "Lateral movement incident involving one user." Two alerts inside it, twenty minutes apart: Suspicious email sending patterns detected, then User restricted from sending email. MITRE tag T1534, Internal Spearphishing. The incident graph showed one user, one mailbox, one IP.

The "what happened" box read: User has been restricted from sending messages outside the organization due to potential compromised activity. That sentence is boilerplate. It appears on every one of these restrictions and tells you nothing about what the user did. The T1534 tag is Defender's default mapping for this alert type, not a finding. So you start with a High incident, a scary title, and no evidence at all.

The user — call him Bryan — works for a firm that was recently acquired. He has a mailbox in the parent tenant and still has his old mailbox at the acquired firm. Hold onto that; it's the whole story.

  • Two mechanisms, one alert. Exchange restricts a sender either by counter (recipients-per-hour/day limit) or by verdict (the outbound filter scoring the user's own mail as spam). The alert never says which.
  • One question settles it. Ask for the outbound policy limit. 500/hour against ~35 messages all day ruled out the counter in a single number.
  • The reason lives in outbound columns. ThreatTypes and DetectionMethods on his outbound rows — binned by hour — showed zero spam verdicts all day, then seven in one hour.
  • What the filter saw: seven FW: calendar invites to his other mailbox, six inside four minutes. One sender relaying near-identical corporate content to one external address. That is exactly what a compromised relay looks like.
  • Verdict: benign positive. Legitimate activity, correctly described by the filter as spam-shaped, incorrectly described by the alert as compromise.

01Start from zero evidence

The alert text is the same on every one of these. Read it, then set it aside.

"Potential compromised activity" and the T1534 tag are generated, not observed. Nothing in the incident tells you whether Bryan sent a phishing blast, tripped a counter, or forwarded a meeting invite. The title says lateral movement; the only way to know is to go to the data and reconstruct what actually left his mailbox.

02First pass: what did he actually send?

The first question for any "compromised sender" alert is whether it's a spray.

Pull everything the user sent around the alert window from EmailEvents, binned small, with recipient counts and verdicts:

// what left the mailbox around the alert — spray check
EmailEvents
| where Timestamp between (start .. end)
| where SenderFromAddress =~ user
| where EmailDirection in ("Outbound", "Intra-org")
| summarize Msgs = count(), Recipients = dcount(RecipientEmailAddress),
    ExtDomains = dcount(tostring(split(RecipientEmailAddress, "@")[1])),
    Subjects = make_set(Subject, 10), Verdicts = make_set(ThreatTypes),
    Failed = countif(DeliveryAction in ("Blocked", "Junked"))
    by bin(Timestamp, 5m), EmailDirection

Not a spray. Eleven outbound messages in the hour before the restriction, to three recipients. Every subject was a calendar item — Declined:, Accepted:, a meeting invite, and Focus time sent five times in twelve minutes to the same address. That address was Bryan's own mailbox at the acquired firm.

Then a burst of Undeliverable: messages, intra-org, all after the restriction time. Those are postmaster NDRs bouncing his calendar responses back to him once the block kicked in — effect, not cause, and easy to misread as part of the attack if you don't check the timestamps. URLs and attachments across everything he sent: signature-service tracking links, inline signature images, Teams join links, two company logos, a CPE platform. Nothing that looks like a lure.

At this point it already smelled benign. But "smells benign" isn't a finding, and the client's InfoSec team was going to ask the obvious question: if it's benign, why did Microsoft restrict him?

03Two mechanisms, one alert

Exchange Online can restrict a sender two different ways, and they have different fixes.

Mechanism A — the counterMechanism B — the verdict
What it isThe outbound anti-spam policy limits: recipients per hour (external and internal) and per dayEOP runs outbound mail through the same filtering stack as inbound and scores it for spam
TriggerBreach the recipient count. A numberEnough of the user's outbound mail gets a spam verdict. "Suspicious sending patterns"
SymptomObvious once you see the volumeMail is still delivered (the receiver decides what to junk), so nothing bounces and the user has no idea
FixA bulk-send exceptionAn exception does not override the filter — the behaviour has to change, or they're back on the list next week

My first instinct was A. I asked for the policy limit: 500 per hour. Bryan had sent about 35 messages the whole day. Mechanism A was off the table in one question — which matters, because a bulk-send exception would have "fixed" nothing and he'd have been restricted again the next time he did his calendar.

04Finding the hour

If it's the verdict, the evidence is in ThreatTypes and DetectionMethods on the outbound rows — columns almost everyone only ever reads on inbound mail.

Bin the whole day by hour and count them:

// mechanism B — find the hour the spam verdicts started
EmailEvents
| where Timestamp between (startOfDay .. endOfDay)
| where SenderFromAddress =~ user
| where EmailDirection in ("Outbound", "Intra-org")
| summarize Msgs = count(), Recips = dcount(RecipientEmailAddress),
    ToOtherFirm = countif(RecipientEmailAddress endswith "otherfirm.com"),
    Subjects = make_set(Subject, 8),
    Spam = countif(ThreatTypes has "Spam"),
    Bulk = countif(BulkComplaintLevel > 0),
    Detections = make_set(DetectionMethods)
    by bin(Timestamp, 1h), EmailDirection
| order by Timestamp asc

The result told the whole story in one table:

Hour (local)Outbound msgsTo his other mailboxSpam-tagged
8 AM310
10 AM410
2 PM100
3 PM15130
4 PM19177
5 PM750 (restricted 5:26)

Zero spam verdicts all day, then seven in the 4 PM hour, with DetectionMethods reading {"Spam":["General filter"]}. The alert fired at 5:07. The restriction landed at 5:26.

Pulling the seven: all FW: calendar invites to his other mailbox — internal training sessions, an annual tax-update series, a two-day strategy event. Six of the seven went out inside a four-minute window.

So what did the filter see? One sender, one external recipient, a run of near-identical forwarded messages seconds apart, carrying corporate event content. That's what a mailbox being used as a relay looks like. The filter was doing its job. It just had no way to know the recipient was the sender.

05Ruling out compromise

Knowing why it fired doesn't prove the account is clean. A compromised mailbox would also forward things.

Three checks before I'd call it benign.

Sign-ins. The incident graph named one IP. Fourteen days of SigninLogs summarised by IP, location and device, with the alert IP flagged. The IP had been in his history for two weeks — same metro as his other IPs, same device name every time, carrying the corporate client stack (Zscaler, Defender, Authentication Broker). All result code 0, no risk level. His phone showed up compliant and managed.

Two sign-in gotchas that look like findings

In the unified portal with a Sentinel workspace selected, AADSignInEventsBeta doesn't resolve — use SigninLogs. And an empty result for a narrow window usually means Outlook was running on an existing token, not that nobody signed in; check AADNonInteractiveUserSignInLogs before you panic.

The device showed IsCompliant = false, IsManaged = false. For a second that looked like a finding. It isn't: the laptop is managed by the acquired firm's tenant and only Entra-registered in the parent tenant, so the parent's Intune has no compliance state to report. Expected for any cross-tenant M&A user — worth knowing before it ends up in an escalation email.

Forwarding. Mailbox-level SMTP forwarding was off in EAC. The forwards weren't a rule either: the intra-org rows showed Meeting Forward Notification: entries, which Exchange generates when a user forwards an invite by hand. He was doing it himself, one invite at a time.

Content. Already covered — nothing in the URLs or attachments that a phishing kit would leave behind.

Seven days of history filled in the context. A week earlier he'd sent a reply-all to a ~110-recipient external sponsorship list; three days of out-of-office auto-replies after that; then Monday's forwarding run. None of it malicious, all of it the kind of thing that nudges an account's baseline toward "unusual."

06The handoff

As the MSSP, I can release a restricted sender in this tenant, but only with the client's InfoSec sign-off.

So the output of all this was one short email: what triggered it (seven spam-tagged calendar forwards in a 25-minute window), why it wasn't a limit breach (500/hr policy, ~35 sent), what we checked (outbound mail, content, forwarding, sign-ins), and the ask (OK to release, and someone should tell him to stop).

The user-side fix is behavioural. Bulk-forwarding invites from one tenant to a personal mailbox in another will always look like relaying. If he needs both calendars, that's a calendar-sharing or delegation problem for the integration team, not something an exception in the anti-spam policy can paper over.

Classification

Benign positive. Legitimate activity, correctly described by the filter as spam-shaped, incorrectly described by the alert as compromise. The counter was never touched; the verdict was earned honestly by behaviour that happens to be indistinguishable from a relay.

07Takeaways

The things that turn this from a two-hour scramble into a twenty-minute triage.

  1. The alert text is boilerplate. "Potential compromised activity" and the T1534 tag appear on every one of these. Start from zero evidence.
  2. Ask for the outbound policy limit first. One number tells you whether you're chasing a counter or a verdict — and the two have different fixes.
  3. Look at ThreatTypes on outbound rows. Everyone reads verdicts on inbound mail. The outbound filter writes to the same columns, and that's where the restriction reason lives.
  4. Bin by hour across the whole day. The restriction is cumulative. The alert window shows the tail; the hourly table shows the ramp and the exact hour the verdicts started.
  5. Calendar items count as sends. Accepted/Declined responses, forwarded invites, Focus-time bookings, auto-replies. A user who does nothing but calendar admin for an afternoon can look like a bot.
  6. Undeliverable: after the restriction time is noise. Check timestamps before adding NDRs to the story.
  7. Cross-tenant users look non-compliant. A device managed by another tenant and only registered in yours reports IsCompliant = false. Know this before it goes in an escalation.
  8. A bulk-send exception doesn't fix a spam verdict. If it's mechanism B, the behaviour has to change.

The six queries from this one are in my library as a runbook — placeholders only — for the next time the title says lateral movement and the data says calendar.

Sources & further reading

Filed under
Email Security › Outbound security
Browse this part of the knowledge base.
Related

Comments

Questions or corrections welcome. Sign in with GitHub to join the thread.