DET-077 · human · confidence Medium
Mail Flow Trace in Exchange
Message trace shows which mailboxes sent and received mail, with time, subject, and recipients.
In Exchange Online or on-prem, message trace lists each message's sender, recipient, time, subject, status, and size. It does not need the mailbox itself. Use it to find mail sent to personal addresses, large attachments leaving, or a pattern of forwarding to a single outside address. Message trace usually holds 90 days of data (historic search is slower), so start early.
- Data sources
- Exchange message traceMicrosoft 365 unified audit log
- Platforms
- Microsoft 365
Logic
Get-MessageTrace -SenderAddress user@corp.com -StartDate (Get-Date).AddDays(-10) -EndDate (Get-Date) | Where-Object { $_.RecipientAddress -notlike '*@corp.com' } | Group-Object RecipientAddress | Sort Count -Desc
Review consumer domains (gmail, proton) and unusual recipients.False positives
Customers, partners, and employees emailing their own personal address for harmless reasons.
Catches 14 techniques
- TAM-H-ACT-001Abusing Work Chat and Email
- TAM-H-ACT-010Emailing Data Out
- TAM-H-ACT-031Redirecting Company Assets to Side Uses
- TAM-H-ACT-033Rigging an Approval
- TAM-H-ACT-039Speaking for the Company Without Authority
- TAM-H-ACT-045Targeting Colleagues
- TAM-H-CVR-013Erasing Email Evidence
- TAM-H-DRV-002Acting on Belief
- TAM-H-STG-007Building Useful Friendships
- TAM-H-STG-017Gathering Email
- TAM-H-STG-040Probing the Defenses
- TAM-H-STG-045Recruiting an Accomplice
- TAM-H-STG-050Selling Inside Access
- TAM-H-STG-055Talking Their Way In