Business email compromise: how to spot and investigate it
By Hari PatelPublished Updated
Business email compromise (BEC) is email fraud in which an attacker poses as an executive, employee or vendor, or takes over their real mailbox, to get a payment, a bank detail change, payroll data or gift cards. There is usually no malware and often no link, so the evidence is the relationship, the reply path and the mailbox.
BEC is consistently among the costliest crimes reported to the FBI's Internet Crime Complaint Center (IC3), and one of the easiest to miss, because the message is just text. The evidence is in the relationship, the reply path and the mailbox behind it.
Paste the headers to compare From, Reply-To and Return-Path and see whether the sender authenticated, in your browser.
Check the reply pathOn this page
How a vendor thread hijack unfolds
- AccessThe attacker phishes a vendor employee and signs in to their real mailbox.
- ReadThey search the mailbox for open invoices and live payment conversations with customers.
- HideAn inbox rule moves or deletes replies so the real user does not see the conversation.
- ReplyThey answer inside the genuine thread with new bank details, sometimes moving it to a lookalike domain.
- PayThe customer's finance team, seeing a familiar thread, pays the new account.
- DiscoverThe fraud surfaces when the real vendor chases the unpaid invoice, often weeks later.
What are the types of business email compromise?
- Impersonation: a lookalike domain or a free-mail account using an executive's or vendor's name. Fails the relationship test, often passes authentication for its own domain.
- Vendor email compromise: the vendor's real mailbox is compromised and replies inside an existing thread with new bank details. Passes every authentication check.
- Internal account compromise: one of your own mailboxes, used to phish colleagues and redirect invoices, with inbox rules hiding the replies.
How do you spot a BEC email?
- A Reply-To on another domain, often free mail, so the conversation leaves the real sender.
- A lookalike of a partner's domain registered days before the email.
- A request to change bank details, update payroll, make an urgent payment or buy gift cards, with pressure to keep it quiet.
- A subject that starts with
RE:with no In-Reply-To or References header: a thread that never existed. - An opener like "Are you at your desk?" that only wants a reply to start the conversation.
The email header analyzer puts From, Reply-To and Return-Path side by side and flags free-mail reply paths and lookalike domains.
The fix for the business is procedural: verify any payment change by calling a number you already have, never one from the email, and hold the payment until you do.
When the mailbox is real
If the message came from a genuine account, yours or a partner's, it is an account compromise, often the result of an earlier adversary-in-the-middle phish. Check sign-ins around the time of the email, inbox rules that delete or move messages, forwarding, OAuth app consents, newly registered MFA methods, and sent items. The BEC mailbox scoping playbook and the illicit consent grant playbook cover the logs. Tell the partner: their other customers are likely receiving the same request.
How each role works it
- SOC analyst
- Classifies the request and the sender relationship. A reply-path or domain mismatch on a finance request is enough to hold the payment and escalate.
- Incident responder
- If any mailbox is real, treats it as account compromise: revoke sessions, remove rules and forwarding, check app consents, and notify the partner whose account was used.
- DFIR
- Rebuilds the conversation from mailbox audit logs (MailItemsAccessed, Send, New-InboxRule) to show what the attacker read and sent, and when access began.
- Malware analyst
- Usually nothing to reverse. The work is on infrastructure: domain registration, sending servers and any document-sharing page used to harvest the credentials first.
What the workbench checks
Drop the reported email into the free workbench and these are checked in your browser before you read a line. Nothing is uploaded.
- Reply-To and Return-Path against From, with free-mail reply paths flagged
- Lookalike domains, and VIP names from outside addresses
- Payment, payroll, gift card and secrecy language
- Fake replies without a thread
- Writes the mailbox rule, forwarding and sign-in hunts
Hunting queries
KQL to scope the campaign and look for impact. The workbench writes these with the real sender, subject, domains and hashes filled in.
CloudAppEvents
| where Timestamp > ago(30d)
| where ActionType in ("New-InboxRule", "Set-InboxRule", "UpdateInboxRules")
| where RawEventData has_any ("DeleteMessage", "MoveToFolder", "ForwardTo", "RedirectTo", "ForwardAsAttachmentTo")
| project Timestamp, AccountDisplayName, ActionType, IPAddress, RawEventData
| sort by Timestamp desclet finance = dynamic(["[email protected]", "[email protected]"]);
let known = EmailEvents
| where Timestamp between (ago(30d) .. ago(7d))
| distinct SenderFromDomain;
EmailEvents
| where Timestamp > ago(7d) and EmailDirection == "Inbound"
| where RecipientEmailAddress in~ (finance)
| where SenderFromDomain !in (known)
| project Timestamp, SenderFromAddress, SenderFromDomain, RecipientEmailAddress, SubjectAdvanced hunting keeps 30 days, which limits how far back known senders can go.
Questions
Why didn't email security catch the BEC email?
There was nothing to detonate: no attachment, often no link, and sometimes a genuine sender. Filters score language and sender reputation, and a well-written request from a real vendor mailbox looks like business.
The email passed DMARC. Can it still be BEC?
Yes. Vendor email compromise sends from the real mailbox, so it passes. Judge the request and verify payment changes by phone, using a number you already had.
What should we do if money was already sent?
Call your bank immediately and ask for a recall; speed matters more than anything else. Report it to law enforcement and preserve the emails with full headers and the mailbox audit logs.
References
- MITRE ATT&CK T1656 Impersonation
- MITRE ATT&CK T1534 Internal Spearphishing
- MITRE ATT&CK T1114.003 Email Forwarding Rule
- MITRE ATT&CK T1564.008 Email Hiding Rules
- FBI Internet Crime Complaint Center (IC3): annual Internet Crime Reports
- Microsoft: From cookie theft to BEC (AiTM campaign)
Related on WETNav