Email Header Analysis & Investigation: How to Examine Where a Suspicious Email Really Came From
A suspicious email can look completely legitimate.
The sender’s display name may match someone you know. The company logo may be correct. The signature may appear authentic. The message may even reference a real invoice, employee, executive or existing business conversation.
But what appears on the screen is only part of the evidence.
Behind an email is technical information describing how the message was handled and delivered. Depending on the email system, this can include routing records, mail servers, timestamps, authentication results, sending infrastructure, message identifiers and other metadata.
This information is commonly referred to as the email header.
An email header analysis examines this technical data to help determine how a suspicious message traveled, whether the visible sender information is consistent with the underlying records, whether email authentication succeeded or failed, and whether the message may involve spoofing, impersonation or another form of email fraud.
But email headers have limitations.
A header does not automatically identify the person who sent an email.
A failed authentication result does not automatically prove fraud.
And a message that passes email authentication is not automatically trustworthy.
The objective is to interpret the evidence correctly.
What Is an Email Header?
Most people see only a small portion of an email’s information.
They see:
From: John Smith
To: Accounts Department
Subject: Updated Payment Instructions
Behind that visible information can be a much larger technical header containing information generated as the message moves through email infrastructure.
Depending on the provider, the header may contain fields related to routing, timestamps, sending servers, authentication checks, message identification and reply behavior.
For investigators, those records can provide valuable context that a screenshot alone cannot.
Why Email Header Analysis Matters
Consider a company that receives an email apparently from a supplier.
The message says:
Our bank details have changed. Please use the attached instructions for all future payments.
The display name matches the supplier.
The signature looks correct.
The language resembles previous conversations.
But several possibilities exist.
The supplier’s real email account may have been compromised.
The message may have been sent from a lookalike domain.
The sender address may have been spoofed.
A legitimate mailbox may have been used by an unauthorized person.
Or the email may actually be legitimate.
Header analysis helps investigators begin distinguishing between those possibilities.
Preserve the Original Email
One of the most important steps is preserving the original message.
A screenshot can be useful for documenting what the recipient saw.
But a screenshot usually does not preserve the complete technical header.
Forwarding the email can also change the evidentiary context because a new message and new routing information may be created.
Where possible, preserve or export the original message in a format that retains its technical information.
This should be done in accordance with appropriate Digital Evidence Preservation procedures.
A Screenshot Is Not the Same as the Original Message
Suppose someone sends Cyb3rsect a screenshot showing:
From: CEO ceo@company.com
The screenshot establishes what was displayed.
It does not necessarily establish where the message originated.
The original message can contain technical information unavailable in the screenshot.
For investigations involving suspected fraud, impersonation or email compromise, preserving the original email can therefore be extremely important.
The Visible “From” Address
The From field is what users normally see as the sender.
It is important, but it should not always be treated as definitive proof of origin.
Email systems separate different aspects of message transport and presentation.
The address shown to the recipient can therefore differ from other technical identities associated with message delivery.
This is one reason suspicious emails require more than visual inspection.
Display Name Impersonation
An attacker may not need to spoof the email address itself.
They may simply copy a trusted person’s display name.
For example:
From: Sarah Williams
Address: sarah.williams.company@gmail.com
A recipient who notices only “Sarah Williams” may believe the email came from an executive or colleague.
This is called display-name impersonation.
Header analysis can help expose the actual address associated with the displayed identity.
Lookalike Domains
Another common technique is registering a domain that resembles a legitimate organization.
Suppose the real company uses:
northstarconsulting.com
An impersonator might use a visually similar variation.
At a glance, the difference can be difficult to notice.
The attacker does not necessarily need to spoof anything. They control their own domain and send email normally from it.
That distinction matters because the investigation is no longer simply about spoofing.
It may involve online identity investigation, domain infrastructure, impersonation and potentially broader fraud.
The Reply-To Field
A suspicious email may display one sender address while directing replies somewhere else.
The Reply-To field can therefore be useful.
A mismatch is not automatically malicious.
Organizations legitimately use different reply addresses for ticketing systems, marketing platforms and automated communications.
But an unexpected external reply address in a sensitive business conversation deserves examination.
Return-Path
Headers may contain a Return-Path associated with message delivery and bounce handling.
It may differ from the visible From address for legitimate reasons, particularly when third-party email services are involved.
Investigators should therefore avoid simplistic rules such as:
“Different Return-Path = scam.”
The relationship between the visible sender, sending service, authentication and organizational infrastructure needs to be understood.
Received Headers
As email travels through mail infrastructure, servers may add Received information.
These records can help reconstruct portions of the route taken by the message.
An investigator may examine:
Which servers handled the message.
When each server received it.
Which infrastructure passed it onward.
Whether the routing is consistent with the claimed sender.
And whether timestamps or infrastructure appear unusual.
But interpreting Received headers requires care.
Read Received Headers in Context
A message may pass through several legitimate services before reaching the recipient.
For example:
Sender’s email provider
→ outbound filtering service
→ cloud mail infrastructure
→ recipient’s security gateway
→ recipient’s mailbox
Seeing unfamiliar server names does not automatically indicate malicious activity.
Modern email infrastructure is complex.
The task is to determine whether the route is consistent with the systems involved.
Which Header Information Can Be Trusted?
This is an important forensic question.
Not every header field deserves equal trust.
Some information can originate from the sender or sending software.
Other information may be added by mail servers during transport.
Investigators should consider which system created each field and whether that system is within a trusted portion of the message path.
A suspicious sender may be able to fabricate some information before submitting the message.
They generally cannot retroactively control every record added by independent receiving infrastructure.
That distinction matters.
Timestamps
Email headers often contain several timestamps.
These may reflect different servers, time zones and stages of message delivery.
Investigators may normalize them to a common time reference when constructing an incident timeline.
This becomes especially important when email evidence is being correlated with authentication logs, financial transfers or other events.
SPF
SPF, or Sender Policy Framework, is one of the mechanisms used in email authentication.
In simplified terms, SPF can help receiving systems evaluate whether the infrastructure sending a message is authorized for the relevant domain used during mail delivery.
Header information may show whether SPF produced a result such as pass, fail or another status.
But SPF should not be treated as a universal “real or fake” test.
A message can pass SPF and still be malicious.
Why SPF Passing Does Not Make an Email Safe
Suppose an attacker registers their own deceptive domain.
They correctly configure SPF for that domain.
Their fraudulent emails may pass SPF.
SPF is confirming that the sending infrastructure is authorized for the domain being authenticated.
It is not confirming that the person is honest.
This distinction is critical.
DKIM
DKIM, or DomainKeys Identified Mail, uses cryptographic signatures to help verify aspects of a message and associate that signature with a domain.
A DKIM result can provide valuable evidence about whether a relevant signature validated.
But again:
DKIM pass does not mean “this email is legitimate.”
A malicious sender can properly configure DKIM on a domain they control.
A compromised legitimate email account may also send messages that pass normal authentication.
DMARC
DMARC builds on SPF and DKIM and introduces alignment and domain-policy concepts.
DMARC results can help investigators understand whether a message met the relevant authentication and alignment requirements for the visible sender domain.
A failure may be significant.
But the result still needs context.
Forwarding, mailing lists, third-party systems and configuration issues can complicate authentication.
Email authentication is evidence—not a substitute for investigation.
SPF, DKIM and DMARC Together
These mechanisms become more useful when considered together.
An investigator may examine:
What domain SPF authenticated.
What domain DKIM authenticated.
Whether those domains align appropriately with the visible From domain.
What DMARC reported.
Which infrastructure performed the evaluation.
And whether the results are consistent with legitimate sending behavior.
This is much stronger than simply seeing the word “PASS” somewhere in the header.
Authentication-Results
Many email systems insert an Authentication-Results field or equivalent information.
This may summarize SPF, DKIM, DMARC and other evaluations performed by receiving infrastructure.
Investigators should determine which mail system generated those results.
A field claiming authentication success is more meaningful when it comes from infrastructure the recipient actually trusts.
Message-ID
Emails commonly contain a Message-ID.
This identifier can sometimes help correlate messages across systems or determine whether multiple copies relate to the same underlying message.
Its structure may also provide contextual information.
However, Message-ID formats vary and can sometimes be generated or manipulated by sending software.
It should not be treated as standalone proof of origin.
Sender IP Addresses
Headers may reveal IP addresses associated with portions of message delivery.
These can help investigators identify sending infrastructure or correlate activity.
But an IP address is not automatically the physical location or identity of the sender.
The address may belong to a cloud email provider, VPN, relay, corporate gateway, compromised server or shared infrastructure.
Attribution requires more evidence.
Can an Email Header Reveal the Sender’s Location?
Sometimes headers provide network information that can be associated with a geographic region.
But this should be interpreted cautiously.
An IP geolocation database may associate an address with a city or country.
That does not prove the person who sent the message was physically located there.
Cloud infrastructure, VPNs, proxies and mail relays can make location inference unreliable.
A professional investigation should not convert approximate network information into unsupported claims about physical location.
Email Spoofing
Spoofing generally refers to manipulating sender information so a message appears to originate from another identity or domain.
Header analysis can help determine whether technical evidence is consistent with spoofing.
Authentication failures, domain mismatches, unusual routing and other indicators may contribute to the conclusion.
But investigators should distinguish spoofing from other forms of impersonation.
Spoofing vs. Lookalike Domain
These are different.
With spoofing, the attacker may attempt to make a message appear associated with a domain they do not control.
With a lookalike domain, the attacker controls a different domain designed to resemble the legitimate one.
For example:
Legitimate: company.com
Impersonator: a subtly altered domain.
A lookalike-domain email may pass SPF, DKIM and DMARC perfectly because the attacker controls that domain.
The deception is visual and contextual rather than necessarily an authentication failure.
Spoofing vs. Compromised Mailbox
There is another critical distinction.
Suppose a fraudulent email genuinely originates from the company’s legitimate Microsoft 365 or Google Workspace account.
SPF may pass.
DKIM may pass.
DMARC may pass.
The message may travel through exactly the infrastructure expected for the organization.
Yet the message can still be fraudulent if an attacker has compromised the real account.
This is why email authentication alone cannot determine whether a message is trustworthy.
A broader Email Compromise Investigation may be required.
Business Email Compromise
Header analysis becomes particularly important in Business Email Compromise Investigation cases.
Imagine an organization receives altered payment instructions in an existing email conversation.
Investigators need to determine whether the message came from the supplier’s genuine account, an employee’s compromised account, a lookalike domain, a spoofed sender or another source.
That distinction can fundamentally change the investigation.
Conversation Hijacking
A particularly convincing fraudulent email may contain genuine historical information.
The attacker may know invoice numbers, employee names, payment schedules or prior correspondence.
This can occur when an attacker gains access to a real mailbox and monitors a conversation.
Header analysis can help establish the technical origin of individual messages, but mailbox audit evidence may be necessary to determine whether an account itself was compromised.
Original Message vs. Forwarded Message
If a suspicious email is forwarded to an investigator, the forwarded copy can contain new header information related to the forwarding event.
The original message may still be embedded, attached or quoted depending on how it was forwarded.
Whenever possible, investigators should obtain the original message in a format that preserves its metadata rather than relying exclusively on a normal forward.
Attachments
Attachments can form another part of an email investigation.
Relevant information may include filename, file type, cryptographic hash, metadata and security detections.
Potentially malicious attachments should not be opened casually.
Analysis should occur in an appropriate controlled environment.
The presence of a malicious attachment does not prove that the recipient opened or executed it.
Links Inside Suspicious Emails
Phishing messages frequently contain links.
Investigators may preserve the destination and examine its relationship to the message.
But links can redirect through several services or change over time.
The page visible during later investigation may not be identical to what the victim originally encountered.
This is another reason early evidence preservation matters.
QR-Code Phishing
Some phishing emails use QR codes rather than clickable links.
The objective may still be to direct the recipient to external infrastructure.
The email itself, QR destination, authentication timeline and subsequent account activity can potentially be correlated during the investigation.
Again, receipt of the message does not establish that the recipient scanned the code.
Can Headers Prove Someone Sent an Email?
Not necessarily.
Headers can provide evidence about the systems and accounts involved in sending and transporting a message.
But there is an important distinction between:
“This message was transmitted through this account or infrastructure”
and
“This specific human personally sent this message.”
If an account was compromised, the legitimate account owner may not have authored the message.
Human attribution requires additional evidence.
Can Headers Be Forged?
Some header fields can be manipulated or supplied by the sender.
Others are added by mail infrastructure during delivery.
This is why investigators should not treat the entire header as equally trustworthy.
The analysis should identify which records came from systems that can reasonably be relied upon and where the trustworthy chain begins.
Compare the Suspicious Email With Known-Good Messages
Known legitimate messages from the same organization can provide useful context.
Investigators may compare sending infrastructure, authentication patterns, routing, domains, Message-ID formats and other characteristics.
Differences can be informative.
But legitimate organizations can use multiple mail systems, marketing platforms, ticketing services and vendors.
A difference alone does not establish fraud.
Domain Investigation
If a suspicious email uses an unfamiliar or lookalike domain, the domain itself may become an investigative lead.
Relevant questions can include when the domain was registered, how it is configured, what infrastructure it uses and whether it appears in related fraudulent activity.
This can connect email analysis with broader Online Identity Investigations.
Correlate Headers With Authentication Logs
When the suspicious message appears to originate from a real organizational mailbox, authentication records become important.
Suppose the message was sent at 10:42 AM.
Audit evidence shows an unfamiliar session began shortly before 10:42.
A suspicious mailbox rule was created earlier that morning.
The same account had unusual security changes the previous day.
Together, those events provide a much stronger evidentiary picture than the email header alone.
Correlate With Financial Events
In payment-fraud cases, investigators may also build a timeline around invoices and transfers.
For example:
08:16 — Attacker accesses mailbox
09:02 — Invoice conversation viewed
10:31 — Fraudulent payment email sent
11:07 — Recipient replies
13:24 — Payment authorized
Next day — Fraud discovered
This can help reconstruct how a Business Email Compromise unfolded.
Correlate With Other Digital Evidence
Email evidence can also be compared with account logs, mobile-device evidence, endpoint activity, cloud audit records, website activity and other relevant sources.
The strongest investigations often come from several independent evidence sources supporting the same timeline.
Common Mistakes in Email Header Analysis
A weak analysis may look at one field and declare the sender identified.
A stronger investigation avoids conclusions such as:
“SPF failed, therefore this is definitely fraud.”
“SPF passed, therefore this email is legitimate.”
“This IP belongs to a city, therefore the sender was there.”
“The From address belongs to this person, therefore they sent it.”
“DKIM passed, therefore the account wasn’t compromised.”
Those conclusions go beyond what the evidence alone can establish.
What Email Header Analysis May Determine
Depending on the available evidence, an investigation may help determine whether the visible sender is consistent with the technical message data, which mail infrastructure handled the message, whether SPF, DKIM and DMARC authentication succeeded or failed, whether a different reply address was used, whether a lookalike domain was involved, whether routing appears consistent with known legitimate messages, and whether the message is more consistent with spoofing, domain impersonation or use of a legitimate mailbox.
Header evidence may also provide infrastructure indicators that can be correlated with other suspicious messages or account activity.
What Email Headers Usually Cannot Determine Alone
An email header usually cannot, by itself, prove the real-world identity of the person operating a sending account.
It cannot automatically prove the physical location of the sender.
It cannot establish that a message is safe simply because authentication passed.
It cannot determine everything an attacker did inside a compromised mailbox.
And it cannot replace account audit records when the central question is whether a legitimate mailbox was accessed without authorization.
Those limitations should be clearly documented.
How Cyb3rsect Approaches Email Header Analysis
Cyb3rsect begins with the original suspicious message whenever available.
The visible sender information, reply address, routing records, timestamps, authentication results, Message-ID and other relevant header information can be examined.
The sending infrastructure and domain relationships are then evaluated.
SPF, DKIM and DMARC results are interpreted in context rather than treated as simple fraud indicators.
If the message uses a lookalike domain, that domain can become a separate investigative lead.
If the message appears to originate through a legitimate organizational mailbox, the investigation may expand into authentication records, mailbox audit events, forwarding rules, sessions and other evidence associated with an Email Compromise Investigation.
Where known-good emails are available, relevant characteristics can be compared.
In financial-fraud cases, email events may also be correlated with invoice changes, communications and payment activity.
The final analysis should separate:
What the header directly shows
What the evidence supports
What remains uncertain
That distinction is essential to credible email forensics.
Contact Cyb3rsect About a Suspicious Email
If you received a suspicious email involving payment instructions, executive impersonation, account-security alerts, invoices, credential requests or another potentially fraudulent communication, preserve the original message whenever possible.
Avoid relying solely on screenshots or copied text.
Cyb3rsect provides email header analysis, email compromise investigation, business email compromise investigation, account takeover investigation and digital forensics support.
Useful starting information can include the original suspicious email, approximate receipt date, sender address, recipient address, relevant conversation history, suspicious domain, attachments or links, related login alerts and whether any payment or account action occurred.
Do not send passwords, MFA codes, recovery codes, session tokens or other authentication secrets through an ordinary initial inquiry.
If fraudulent payment has already occurred, contact the relevant financial institution promptly using independently verified contact information. Time can matter when attempting to interrupt or report a fraudulent transfer.
Contact Cyb3rsect to determine what the email’s technical information can establish and whether broader mailbox, identity or account investigation may be appropriate.
An Email Address Is Not Proof of Identity
The most important principle in email header investigation is simple:
What appears in the From field is not, by itself, proof of who sent the message.
A message may involve spoofing.
It may come from a lookalike domain.
It may originate from a legitimate but compromised mailbox.
It may travel through an authorized third-party service.
Or it may be completely legitimate.
Email header analysis helps distinguish those possibilities by examining the technical evidence behind the message.
And when the header cannot answer the entire question, it helps identify what evidence needs to be examined next.