NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 18 min
Read a suspicious message's headers like an investigator: envelope versus header identities, the Received chain read bottom-up, and which fields you can trust.
A logistics coordinator at Halvorsen Maritime Logistics forwards a message to the security mailbox. It is a "customs notice" with a ZIP attachment, sent at 06:12 UTC on a Monday. The SOC has already blocked the attachment.
Your job as the intelligence analyst is different. You decide what the message tells you about the sender's infrastructure and habits, and whether it belongs to an activity cluster you already track (in this path, GRANITE HERON). That work starts with the headers. The body is written entirely by the attacker, but some header lines are written by servers you operate.
Always analyse the original message source (the raw RFC 5322 text, often exported as .eml), not a forwarded copy. Forwarding rewrites headers, strips the original Received lines, and can change the body encoding.
SMTP carries a message in two layers:
MAIL FROM (the envelope sender, also written RFC5321.MailFrom) and RCPT TO (the envelope recipients).From, To, Subject, Date, Message-ID, Reply-To and others.The mail client shows the header From, not the envelope sender. Nothing in core SMTP requires the two to match.
When the final server delivers the message to a mailbox, it records the envelope sender in a Return-Path header. So Return-Path is the analyst's view of the envelope sender: it is where bounces go, and it is the domain SPF checks (lesson 2).
The Reply-To header is set by the author. It tells the mail client where replies should go. A Reply-To that differs from From, especially one that points at a free or unrelated mailbox, is a classic sign of business email compromise (BEC): the attacker wants the conversation to continue in a mailbox they control.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign inCloud and Email Forensics
This learning path provides a comprehensive foundation in Cloud and Email Forensics, a critical discipline in modern Dig
ViewExploitation Fundamentals
Build an understanding of security testing and how to document a finding. The rooms cover tool concepts, SQL injection,
ViewWireless & Social Engineering
A comprehensive learning path bridging the gap between network infrastructure and human vulnerabilities. Progress from w
ViewNetwork Services Administration
This comprehensive learning path bridges the gap between foundational networking and enterprise infrastructure security.
View