Phishing header analyzer
Parse three real-shaped message headers, follow the Received hops, and work out why SPF, DKIM, and DMARC pass or fail for each one.
- Interactive lab
- Beginner
- 5 graded steps
- 0 of 5 solved
This lab is part of A file the email asked you to open.
Your goal
Your goalExplain why each of the three messages passes or fails DMARC, and find where the payroll message really came from.
Three messages reached the Contoso mailbox. Pick each one, read its raw headers, and use the parsed view to follow the Received chain and the authentication results.
DMARC passes only when SPF or DKIM passes for a domain that aligns with the From address. Turn on the alignment check once you have a guess.
What’s on screen
- Message
- the three buttons on the left. Each one loads a different email into the workbench.
- Check alignment
- the switch under Analysis. It adds a column saying whether each result matches the From domain.
- Raw headers
- the dark box on the right. It shows the header lines exactly as the mail server received them.
- Authentication table
- the table at the bottom. It lists SPF (which servers may send for a domain), DKIM (a signature on the message), and DMARC (the policy that ties both to the From address).
- Walkthrough
- the numbered path beside the workbench (below it on a phone). Each step says what to do and what you should see. Hints open one at a time.
Words to know
- SPF
- Sender Policy Framework, the DNS list of servers allowed to send a domain’s mail
- DKIM
- DomainKeys Identified Mail, a signature on each message
- DMARC
- Domain-based Message Authentication, Reporting and Conformance, the policy that ties SPF and DKIM to the From address
- IP
- Internet Protocol address, the number that identifies a machine on a network
Message
Analysis
Authentication-Results: mx1.contoso.example;
spf=pass (sender IP is 198.51.100.40) smtp.mailfrom=bounces.esp-mail.example;
dkim=pass (signature was verified) header.d=fabrikam.example;
dmarc=pass action=none header.from=fabrikam.example
Received: from mta-40.esp-mail.example (mta-40.esp-mail.example [198.51.100.40])
by mx1.contoso.example with ESMTPS id 7Hq2aa for <ana@contoso.example>;
Fri, 13 Mar 2026 15:02:44 +0000
Received: from app-02.fabrikam.example (app-02.fabrikam.example [10.40.0.12])
by mta-40.esp-mail.example with ESMTP id 9Kd1;
Fri, 13 Mar 2026 15:02:41 +0000
DKIM-Signature: v=1; a=rsa-sha256; d=fabrikam.example; s=esp1; h=from:to:subject:date;
bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=dGhpcyBpcyBhIGxhYiBzaWduYXR1cmU=
Return-Path: <bounce-8821@bounces.esp-mail.example>
From: Fabrikam Freight <news@fabrikam.example>
To: ana@contoso.example
Subject: March shipping schedule
Date: Fri, 13 Mar 2026 15:02:40 +0000
Message-ID: <n-20260313-8821@fabrikam.example>Addresses
- From
- Fabrikam Freight <news@fabrikam.example>
- Reply-To
- (not set)
- Return-Path
- <bounce-8821@bounces.esp-mail.example>
Received hops, first to last
- 1app-02.fabrikam.example
10.40.0.12→ mta-40.esp-mail.exampleFri, 13 Mar 2026 15:02:41 +0000 - 2mta-40.esp-mail.example
198.51.100.40→ mx1.contoso.exampleFri, 13 Mar 2026 15:02:44 +0000
Authentication
| Check | Result | Domain |
|---|---|---|
| SPF | pass | bounces.esp-mail.example |
| DKIM | pass | fabrikam.example |
| DMARC | pass | fabrikam.example |
Read first
More in Email and phishing
The whole walkthrough
Every step in order: 291 words, about 2 min. It gives away every answer, so try the steps first.